.Modelica_StateGraph2.UsersGuide.Tutorial.SafeStateGraphs.ValidGraphStructures

Information

Contrary to Modelica.StateGraph (version 1 of the library which is distributed with the Modelica Standard Library since 2004), only valid graph structures are accepted for the Modelica_StateGraph2 library. Wrong graph structures result in translation errors of the model.

For example, the model of the next Figure gives a translation error, because it has two initial steps:

Also, the model of the next Figure gives a translation error, because a branch of the Parallel component branches wrongly out of the component.

More examples of wrong StateGraph2 models that result in translation errors are available here.


Generated at 2024-03-28T19:15:55Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos