.Modelica_StateGraph2.Examples.WrongStateGraphs

Information

Examples demonstrating wrong Modelica_StateGraph2s and the error messages that appear in such cases

Contents

NameDescription
 SimpleInfiniteLoopA wrong Modelica_StateGraph2 that has an infinite loop (translates with an error)
 SeveralInfiniteLoopsSeveral loops that have wrongly only one delayed transition in one of the loops, but not in all
 InfiniteLoopA wrong Modelica_StateGraph2 with infinite looping of a composite step (translates with an error)
 ParallelWithInfiniteLoopA wrong Modelica_StateGraph2 to demonstrate parallel execution paths with infinite looping ((translates with an error))
 NoInitialStepAn initial step is missing
 AutonomousWithSuspendAndNoInitialStepAutonomous parallel with suspend/resume (either the parallel should have initialStep= true or an initial step is missing in the resume branch)
 TwoInitialStepsA wrong Modelica_StateGraph2 that has two initial steps (gives an error during initialization)
 ParallelWithTwoInitialStepsWrong Modelica_StateGraph2 with two initial steps
 UnsafeParallel1Wrong Modelica_StateGraph2 that branches out of the parallel step (gives error during initialization)
 UnsafeParallel2Wrong Modelica_StateGraph2 where not all parallel paths are synchronized (gives translation error)
 UnsafeParallel3Wrong Modelica_StateGraph2 where not all parallel paths are synchronized (gives translation error)
 UnsafeParallel4Wrong Modelica_StateGraph2 where not all parallel paths are synchronized and a wrong initial step is added to compensate for this (gives an error during initialization)
 UnsafeParallel5Wrong Modelica_StateGraph2 where an initial step is placed in a parallel (gives translation error)
 NoUnaryConnection1Two steps are wrongly connected to the same outPort of a transition
 NoUnaryConnection2Two steps are wrongly connected to one element of an entry port

Generated at 2024-11-20T19:25:51Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos