WOLFRAM SYSTEM MODELER

defaultComponentPrefixes

defaultComponentPrefixes

Wolfram Language

In[1]:=
SystemModel["ModelicaReference.Annotations.defaultComponentPrefixes"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Default prefixes when dragging component

Examples

annotation(defaultComponentPrefixes="inner",
           defaultComponentName="world")

Syntax

   annotation"(" defaultComponentPrefixes "=" STRING ")"

Description

The following prefixes may be included in the string prefixes: inner, outer, replaceable, constant, parameter, discrete. In combination with defaultComponentName it can be used to make it easy for users to create inner components matching the outer declarations.