EngineStatus Enumeration |
Namespace: DHI.Mike1D.Engine
Member name | Value | Description | |
---|---|---|---|
Created | 0 |
The engine has just been created.
This is the initial state. All data access components are empty or uninitialized. Either load a setup, or manually set it up through the data access components. | |
Loading | 1 |
The engine is loading a setup.
This status will end in a status change to Loaded or Failed. | |
Loaded | 2 |
The engine has succesfully loaded the setup.
Changes to the data access compenent are allowed in this state. | |
Validating | 3 | The engine is validating whether it is setup properly. This status will end in a status change to the state (Valid) or Invalid. | |
Valid | 4 | The engine is in a valid state, and setup properly. At this point, the engine can be initialized | |
Invalid | 5 |
The component is in an invalid state. When updating itself not all required input will be available,
and/or it will not be able to provide the required output.
The user can try modify the setup, and then validate again. | |
Initializing | 6 |
The engine is initializing itself.
This status will end in a status change to Initialized or Failed. During the initializing state the engine will initialize the static part of the engine, set up the computational network. | |
Initialized | 7 |
The engine has succesfully initialized itself.
All static data structures have been created. It is possible to query the engine for the computational network and connect to offered/accepted quantities. | |
Preparing | 8 |
The engine is preparing itself for running the simulation.
This state will end in a status change to Paused or Failed. During the preparing state the engine will initialize the dynamic state, set up initial conditions, open input and output files. | |
Running | 9 | The engine is running. | |
Paused | 10 | The engine is paused or not yet started. | |
Done | 11 | The engine has performed the simulation | |
Finishing | 12 |
The engine is finishing, freeing and cleaning up the dynamic state and
closing output files.
When all required actions have been performed, the status changes to Finished. | |
Finished | 13 | The engine has successfully performed its finalization actions. | |
Failed | 14 | The linkable component has failed in an operation. |