modelVariableVoltageSource
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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_V_in | true | If true, the voltage is an input |
| Modelica.Units.SI.Voltage | V | 1 | Value of constant voltage |
| Reference Parameters | |||
| Boolean | potentialReference (from Source) | true | Serve as potential root for the reference angle theta |
| Boolean | definiteReference (from Source) | false | Serve as definite root for the reference angle theta |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Electrical.Interfaces.Terminal | terminal (from Source) | Generalized terminal | |
| Modelica.Blocks.Interfaces.RealInput | V_in | Input voltage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| 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.Angle | phi (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.