Model structure#
Models can be spread over multiple files. The root element in each file is Lems.
Generated on 03/05/23. Please file any issues or questions at the issue tracker here.
Lems#
Root element for any lems content
Target#
A lems file can contain many component definitions. A Target elements specifies that a components should be treated as the entry point for simulation or other processing
component |
String |
Reference to the entry point component |
reportFile |
String |
Optional attribute specifying file in which to save short report of simulation |
timesFile |
String |
Optional attribute specifying file in which to save times used in simulation |
Constant#
A constant quantity: like a parameter for which the value is supplied in the class definition itself rather than when a component is defined.
name |
String |
A readable name for the constant. |
symbol |
String |
The symbol used in expressions to refer to this constant. |
value |
String |
The value of a constant must be a plain number (no units) giving the SI magnitude of the quantity or an expression involving only plain numbers or other constants. |
dimension |
String |
Include#
Include LEMS files in other LEMS files. Files are included where the Include declaration occurs. The enclosing Lems block is stripped off and the rest of the content included as is
file |
String |
the name or relative path of a file to be included |