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

VoltageSource, CurrentSource, VariableCurrentSource

Connectors

TypeNameDefaultDescription
PositivePinpin_p (from TwoPinElementary)Positive quasi-static single-phase pin
NegativePinpin_n (from TwoPinElementary)Negative quasi-static single-phase pin
Modelica.Blocks.Interfaces.RealInputf
Modelica.ComplexBlocks.Interfaces.ComplexInputV

Components

TypeNameDefaultDescription
SI.AngularVelocityomega (from TwoPinElementary)Angular velocity of reference frame
SI.ComplexVoltagev (from TwoPin)Complex voltage
SI.Voltageabs_v (from TwoPin)Modelica.ComplexMath.abs(v)Magnitude of complex voltage
SI.Anglearg_v (from TwoPin)Modelica.ComplexMath.arg(v)Argument of complex voltage
SI.ComplexCurrenti (from TwoPin)Complex current
SI.Currentabs_i (from TwoPin)Modelica.ComplexMath.abs(i)Magnitude of complex current
SI.Anglearg_i (from TwoPin)Modelica.ComplexMath.arg(i)Argument of complex current
SI.ActivePowerP (from TwoPin)Modelica.ComplexMath.real(v*Modelica.ComplexMath.conj(i))Active power
SI.ReactivePowerQ (from TwoPin)Modelica.ComplexMath.imag(v*Modelica.ComplexMath.conj(i))Reactive power
SI.ApparentPowerS (from TwoPin)Modelica.ComplexMath.abs(v*Modelica.ComplexMath.conj(i))Magnitude of complex apparent power
Realpf (from TwoPin)cos(Modelica.ComplexMath.arg(Complex(P, Q)))Power factor
SI.Anglegamma (from Source)pin_p.reference.gamma