States

Objects implementing states have the following keywords and outputs.

States Inputs

Keyword

Description

StateGraphics

A list of state/DisplayEntity pairs.  For each state, the graphics will be changed to those for the corresponding DisplayEntity.

States Outputs

Output Name

Description

State

The present state for this object, used for statistics collection.  Typical states are:

·      Working.  The object is performing its normal process.

·      Idle.  The object is available for work, but has work to perform.

·      Stopped.  One or more of the Thresholds are closed and there is no maintenance being performed or breakdown being repaired.

·      Maintenance.  One of the DowntimeEntities entered to the MaintenanceList keywords is active.

·      Breakdown.  One of the DowntimeEntities entered to the BreakdownList keywords is active.

Additional states can be defined for some objects.

WorkingState

Set to true if the present state is one of the pre-defined working states.

WorkingTime

Total time spent in any one of the working states.

StateTimes

Total time spent in each of the states.

TotalTime

Total time the entity has spent in the model after the completion of the initialisation period.  It is equal to the sum of the state times.