Main Page: Difference between revisions
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
== Modelica | == Modelica Language Reference == | ||
Models are formatted according to [https://www.modelica.org/documents/ModelicaSpec34.pdf Modelica language specification 3.4] | Models are formatted according to [https://www.modelica.org/documents/ModelicaSpec34.pdf Modelica language specification 3.4] | ||
Line 28: | Line 28: | ||
Each declaration or equation line should be terminated with a semicolon, with arguments separated by commas. | Each declaration or equation line should be terminated with a semicolon, with arguments separated by commas. | ||
[[functions]] | * [[arrays]] | ||
* [[functions]] | |||
* [[keywords]] | |||
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
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]