OpenModelica Users Guide

These can for example be model, connector, block, record, or function. When you have selected your desired class type, you can select modifiers that add code blocks to the generated code. ‘Include initial code block’ will for example add the line ‘initial equation’ to the class. Figure 5 29. Creating a new Modelica class. Syntax Checking ................
................