This tutorial provides an introduction into the Modelica_StateGraph2 package (which is often abbreviated as StateGraph2). A StateGraph2 model is a state diagram/state machine to model discrete event, reactive and hybrid systems. It is inspired by Grafcet/Sequential Function Charts (SFC), Statecharts, Safe State Machines (SSM) and Mode Automata, and utilizes Modelica as action language. This tutorial consists of the following sections:
| Name | Description |
|---|---|
| StepsAndTransitions | Steps and Transitions |
| Parallel | Parallel |
| Actions | Actions |
| SafeStateGraphs | Safe StateGraphs |
| VectorsOfConnectors | Vectors of Connectors |
| ApplicationExample | Application example |