Main Page: Difference between revisions

From Mechanomy Composer Wiki
Jump to navigation Jump to search
 
Line 32: Line 32:
* [[keywords]]
* [[keywords]]


Multiple models can be defined in one file through the [[packages]].
Multiple models can be defined in one file through the [[package]] format.  Package files are also used to construct libraries of models, in a structured hierarchy.


== Modelica Standard Library Reference ==
== Modelica Standard Library Reference ==

Latest revision as of 15:47, 10 June 2020

Welcome to the Composer Wiki

Composer Tutorials

coming soon

Composer Reference

Common Errors

Common Errors


Modelica Language Reference

Models are formatted according to Modelica language specification 3.4

model ModelName
  //declarations

equation
  //equations

annotation(
  experiment(StartTime=0, StopTime=1, Tolerance=0.01, Interval=0.1),
  __Mechanomy_analyze(plot2D={x:time, y: varName})
);
end ModelName;

Each declaration or equation line should be terminated with a semicolon, with arguments separated by commas.

Multiple models can be defined in one file through the package format. Package files are also used to construct libraries of models, in a structured hierarchy.

Modelica Standard Library Reference

A quick reference to the Modelica Standard Library, see also [1]