WOLFRAM SYSTEM MODELER
'model'model |
SystemModel["ModelicaReference.Classes.'model'"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Define specialized class model
model SlidingMass parameter Modelica.Units.SI.Mass m=1; parameter Modelica.Units.SI.Force f=1; Modelica.Units.SI.Position s; Modelica.Units.SI.Velocity v; Modelica.Units.SI.Acceleration a; equation der(s) = v; der(v) = a; m*a = f; end SlidingMass;
[ encapsulated ][ partial] model IDENT class_specifier class_specifier : string_comment composition end IDENT | "=" base_prefix name [ array_subscripts ] [ class_modification ] comment | "=" enumeration "(" ( [enum_list] | ":" ) ")" comment
See Modelica Grammar for further details.
The keyword model is identical to the keyword class, i.e., no restrictions and no enhancements.