Entry point of the simulation.
This function initializes and runs the simulation based on the provided command line parameters. Finally, the storage is cleaned up again.
- Parameters
-
| argc | Number of command line arguments. |
| argv | Array of command line argument strings. |
- Returns
- Return code indicating the execution result of the program:
- 0 Normal execution, no errors occurred
- 1 Wrong parameters
- 2 Required file not found / error during database connections
- 3 Errors during the simulation
- 4 Erroneous input files
- 5 No simulation executed (e.g., help displayed)