modelVariableVoltageSource

Partial model of a generic variable voltage source.

Extends from Buildings.Electrical.Interfaces.Source (Partial model of a generic source.).

Information

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).

References

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.

Parameters

TypeNameDefaultDescription
Booleanuse_V_intrueIf true, the voltage is an input
Modelica.Units.SI.VoltageV1Value of constant voltage
Reference Parameters
BooleanpotentialReference (from Source)trueServe as potential root for the reference angle theta
BooleandefiniteReference (from Source)falseServe as definite root for the reference angle theta

Connectors

TypeNameDefaultDescription
Buildings.Electrical.Interfaces.Terminalterminal (from Source)Generalized terminal
Modelica.Blocks.Interfaces.RealInputV_inInput voltage

Components

TypeNameDefaultDescription
Modelica.Units.SI.Power[PhaseSystem.n]S (from Source)PhaseSystem.phasePowers_vi(terminal.v, terminal.i)Complex power S[1] = P, S[2]= Q
Modelica.Units.SI.Anglephi (from Source)PhaseSystem.phase(terminal.v) - PhaseSystem.phase(-terminal.i)Phase shift with respect to reference angle

Revisions

  • October 14, 2014, by Marco Bonvini:
    Model included into the Buildings library, added documentation.