modelVoltageSource
Constant AC voltage
Extends from Interfaces.Source (Partial voltage / current source).
Information
This is a constant voltage source, specifying the complex voltage by the RMS voltage and the phase shift.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Frequency | f | Frequency of the source | |
| SI.Voltage | V | RMS voltage of the source | |
| SI.Angle | phi | Phase shift of the source |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePin | pin_p (from TwoPinElementary) | Positive quasi-static single-phase pin | |
| NegativePin | pin_n (from TwoPinElementary) | Negative quasi-static single-phase pin |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.AngularVelocity | omega (from TwoPinElementary) | Angular velocity of reference frame | |
| SI.ComplexVoltage | v (from TwoPin) | Complex voltage | |
| SI.Voltage | abs_v (from TwoPin) | Modelica.ComplexMath.abs(v) | Magnitude of complex voltage |
| SI.Angle | arg_v (from TwoPin) | Modelica.ComplexMath.arg(v) | Argument of complex voltage |
| SI.ComplexCurrent | i (from TwoPin) | Complex current | |
| SI.Current | abs_i (from TwoPin) | Modelica.ComplexMath.abs(i) | Magnitude of complex current |
| SI.Angle | arg_i (from TwoPin) | Modelica.ComplexMath.arg(i) | Argument of complex current |
| SI.ActivePower | P (from TwoPin) | Modelica.ComplexMath.real(v*Modelica.ComplexMath.conj(i)) | Active power |
| SI.ReactivePower | Q (from TwoPin) | Modelica.ComplexMath.imag(v*Modelica.ComplexMath.conj(i)) | Reactive power |
| SI.ApparentPower | S (from TwoPin) | Modelica.ComplexMath.abs(v*Modelica.ComplexMath.conj(i)) | Magnitude of complex apparent power |
| Real | pf (from TwoPin) | cos(Modelica.ComplexMath.arg(Complex(P, Q))) | Power factor |
| SI.Angle | gamma (from Source) | pin_p.reference.gamma |