modelVariableVoltageSource
Variable AC voltage
Extends from Interfaces.Source (Partial voltage / current source).
Information
This is a voltage source with a complex signal input, specifying the complex voltage by the complex RMS voltage components. Additionally, the frequency of the voltage source is defined by a real signal input.
See also
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 | |
| Modelica.Blocks.Interfaces.RealInput | f | ||
| Modelica.ComplexBlocks.Interfaces.ComplexInput | V |
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 |