The following Modelica code corresponds to Figure 28. It has a type Force, which extends Real, and the unit symbol N assigned to it.

Icon class
icon_class
fas fa-quote-left
icon_class_computed
fas fa-quote-left
Related content
Source
Snippet kind
Modelica keywords
Keywords
Full quote
Modelica data types can be subtyped to add a unit symbol. The interpretation of this symbol is not defined in Modelica.
Next snippet
Related snippets
Related snippets (backlinks)
Visit also
Visit also (backlinks)