modelSource

Partial voltage / current source

Extends from OnePort (Two pins, current through).

Information

The source partial model relies on the OnePort and contains a proper icon.

See also

VoltageSource, VariableVoltageSource, CurrentSource, VariableCurrentSource, Polyphase.Interfaces.Source.

Connectors

TypeNameDefaultDescription
PositivePinpin_p (from TwoPinElementary)Positive quasi-static single-phase pin
NegativePinpin_n (from TwoPinElementary)Negative quasi-static single-phase pin

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.Anglegammapin_p.reference.gamma