Code Generation from JGrafchart to Modelica
Isolde Dressler · Lund University Publications Student Papers (Lund University) · 2004
In this thesis the possibility to use the discrete-event modelling tool JGrafchart as a front end to the object-oriented modelling language Modelica has been studied. In this context, a code generator from JGrafchart to Modelica has been implemented. The code generator includes the basic JGrafchart objects like steps, transitions and variables, but also hierarchical elements like macrosteps and inlined procedure documents. The generated Modelica model imitates the JGrafchart execution model in an algorithm section. The code generator is finally tested on an example of a controller or at tank system.