modelVoltageSource
Model of a generoic DC voltage source
Extends from Buildings.Electrical.Interfaces.VariableVoltageSource (Partial model of a generic variable voltage source.).
Information
This model represents a simple DC voltage source with variable voltage.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_V_in (from VariableVoltageSource) | true | If true, the voltage is an input |
| Modelica.Units.SI.Voltage | V (from VariableVoltageSource) | 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 (from VariableVoltageSource) | Input voltage | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n | Negative pin |
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:
Added model and documentation.