Do you have an example of a state machine in DSL?
Category:
Dynamic Simulation
Answer
An example is provided in the project attached. The state machine is implemented in the block definition "StateMachine" and it is based on DSL statements. It represents a generic example of how the controller of a generic equipment would change states from the initialisation to the shut-down operation modes. Refer to the snapshot attached for a conceptual overview of the implemented state machine.
The example is functional in PowerFactory 2020 onwards. Older versions of PowerFactory are not supported.