Checking status of Engine:
To determine if engine is running or not, one can use the work_status parameter in init_params_0 table. Value_float column indicates if the current or the last engine run was in batch mode or simulation mode.
- 99 => Simulation Run
- 1=> Batch Run
Value_date reflects the current state of engine. If the value_date changes every 22 sec then it would mean that Engine is running currently.
As Engine can only run in one mode at a time, it helps to be aware of the current state of engine prior to launching engine run.