Defines a potential root node.
Connections.potentialRoot(A.R); Connections.potentialRoot(A.R, priority = p);
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.
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.