WOLFRAM SYSTEM MODELER

'Connections.potentialRoot()'

Connection.potentialRoot()

Wolfram Language

In[1]:=
SystemModel["ModelicaReference.Operators.'Connections.potentialRoot()'"]
Out[1]:=

Information

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

Defines a potential root node.

Syntax

Connections.potentialRoot(A.R);
Connections.potentialRoot(A.R, priority = p);

Description

The overdetermined type or record instance R in connector instance A is a potential root node in a virtual connection graph with priority p (with p ≥ 0). If no second argument is provided, the priority is zero. p shall be a parameter expression of type Integer. In a virtual connection subgraph without a Connections.root() definition, one of the potential roots with the lowest priority number is selected as root.

Examples

This definition may be used if in a model with connector A the overdetermined record A.R appears differentiated, der(A.R), together with the constraint equations of A.R, i.e., a non-redundant subset of A.R maybe used as states.