WOLFRAM SYSTEM MODELER
'Connections.rooted()'Connections.rooted() |
SystemModel["ModelicaReference.Operators.'Connections.rooted()'"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Returns which node of a connection branch is closer to root.
b = Connections.rooted(A.R); b = rooted(A.R); // deprecated
If the operator Connections.rooted(A.R)
is used, or the equivalent but deprecated operator rooted(A.R)
, then there must be exactly one statement Connections.branch(A.R,B.R)
involving A.R
(the argument of Connections.rooted
must be the first argument of Connections.branch
).
In that case Connections.rooted(A.R)
returns true, if A.R
is closer to the root of the spanning tree than B.R
; otherwise false is returned.
This operator can be used to avoid equation systems by providing analytic inverses, see Modelica.Mechanics.MultiBody.Parts.FixedRotation.