modelVoltageSource
Constant polyphase AC voltage
Extends from Interfaces.Source (Partial voltage / current source).
Information
This model describes m constant voltage sources, specifying the complex voltages by the RMS voltages and the phase shifts (defaults are -symmetricOrientation). m single-phase VoltageSources are used.
See also
SinglePhase.VoltageSource, VariableVoltageSource, CurrentSource, VariableCurrentSource
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m (from OnePort) | 3 | Number of phases |
| SI.Angle | pi (from Source) | Modelica.Constants.pi | |
| SI.Frequency | f | Frequency of the source | |
| SI.Voltage[m] | V | RMS voltage of the source | |
| SI.Angle[m] | phi | -Modelica.Electrical.Polyphase.Functions.symmetricOrientation(m) | Phase shift of the source |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePlug | plug_p (from OnePort) | Positive quasi-static polyphase plug | |
| NegativePlug | plug_n (from OnePort) | Negative quasi-static polyphase plug |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.ComplexVoltage[m] | v (from OnePort) | Complex voltage | |
| SI.Voltage[m] | abs_v (from OnePort) | Modelica.ComplexMath.abs(v) | Magnitude of complex voltage |
| SI.Angle[m] | arg_v (from OnePort) | Modelica.ComplexMath.arg(v) | Argument of complex voltage |
| SI.ComplexCurrent[m] | i (from OnePort) | Complex current | |
| SI.Current[m] | abs_i (from OnePort) | Modelica.ComplexMath.abs(i) | Magnitude of complex current |
| SI.Angle[m] | arg_i (from OnePort) | Modelica.ComplexMath.arg(i) | Argument of complex current |
| SI.ActivePower[m] | P (from OnePort) | {Modelica.ComplexMath.real(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m} | Active power |
| SI.ActivePower | P_total (from OnePort) | sum(P) | Total active power |
| SI.ReactivePower[m] | Q (from OnePort) | {Modelica.ComplexMath.imag(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m} | Reactive power |
| SI.ReactivePower | Q_total (from OnePort) | sum(Q) | Total reactive power |
| SI.ApparentPower[m] | S (from OnePort) | {Modelica.ComplexMath.abs(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m} | Magnitude of complex apparent power |
| SI.ApparentPower | S_total (from OnePort) | sqrt(P_total^2 + Q_total^2) | Magnitude of total complex apparent power |
| Real[m] | pf (from OnePort) | {cos(Modelica.ComplexMath.arg(Complex(P[k], Q[k]))) for k in 1:m} | Power factor |
| SI.AngularVelocity | omega (from OnePort) | Angular velocity of reference frame | |
| SI.Angle | gamma (from Source) | plug_p.reference.gamma |