This model represents a generic variable voltage source. The model has a boolean
flag use_V_in
, when this flag is equal to true
the voltage of the source is imposed by the input variable V_in
.
When the flag is equal to false
the voltage source is equal to the parameter V
.
In case the phase system adopted has PhaseSystem.m > 0
and
thus the connectors are over determined,
the source can be selected to serve as reference point.
The parameters potentialReference
and definiteReference
are used to define if the
source model should be selected as source for the reference angles or not.
More information about overdetermined connectors can be found
in Olsson Et Al. (2008).
Hans Olsson, Martin Otter, Sven Erik Mattson and Hilding Elmqvist.
Balanced Models in Modelica 3.0 for Increased Model Quality.
Proc. of the 7th Modelica Conference, Bielefeld, Germany, March 2008.