Main Page: Difference between revisions

From Mechanomy Composer Wiki
Jump to navigation Jump to search
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 5: Line 5:


== Composer Reference ==
== Composer Reference ==
[[Experiment Options]]
* [[__Mechanomy_analyze]]
[[Analyze Plot2D Options]]


== [[Common Errors]] ==
== Common Errors ==
[[Common Errors]]


== [[Modelica Format Reference]] ==
 
== Modelica Language Reference ==
Models are formatted according to [https://www.modelica.org/documents/ModelicaSpec34.pdf 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.
 
* [[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 ==
A quick reference to the Modelica Standard Library, see also [https://build.openmodelica.org/Documentation/Modelica.html]
* Modelica.[[Mechanics]]
* Modelica.Mechanics.MultiBody.[[Interfaces]]
* Modelica.Mechanics.MultiBody.Joints.[[Revolute]]
* Modelica.Mechanics.MultiBody.Parts.[[BodyBox]]
* Modelica.Mechanics.MultiBody.Parts.[[BodyShape]]
* Modelica.[[SIunits]]

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]