modelTwoPlug

Two plugs with pin-adapter, reference connection and declaration of voltage and current

Extends from Modelica.Electrical.QuasiStatic.Polyphase.Interfaces.TwoPlugElementary (Two plugs with pin-adapter and reference connection, without declaration of voltage and current).

Information

This partial model uses a positive and negative plug, but no complex voltage and complex current. A positive and a negative adapter are used to give easy access to the single pins of both plugs. Additionally, the angular velocity of the quasi-static system is explicitly defined as variable. This model is mainly intended to be used with graphical representation of user models.

See also

PositivePlug, NegativePlug, TwoPlugElementary, OnePort

Parameters

TypeNameDefaultDescription
Integerm (from TwoPlugElementary)3Number of phases

Connectors

TypeNameDefaultDescription
PositivePlugplug_p (from TwoPlugElementary)Positive quasi-static polyphase plug
NegativePlugplug_n (from TwoPlugElementary)Negative quasi-static polyphase plug

Components

TypeNameDefaultDescription
SI.AngularVelocityomega (from TwoPlugElementary)Angular velocity of reference frame
Basic.PlugToPins_pplugToPins_p (from TwoPlugElementary)
Basic.PlugToPins_nplugToPins_n (from TwoPlugElementary)
SI.ComplexVoltage[m]vComplex voltage
SI.Voltage[m]abs_vModelica.ComplexMath.abs(v)Magnitude of complex voltage
SI.Angle[m]arg_vModelica.ComplexMath.arg(v)Argument of complex voltage
SI.ComplexCurrent[m]iComplex current
SI.Current[m]abs_iModelica.ComplexMath.abs(i)Magnitude of complex current
SI.Angle[m]arg_iModelica.ComplexMath.arg(i)Argument of complex current
SI.ActivePower[m]P{Modelica.ComplexMath.real(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m}Active power
SI.ActivePowerP_totalsum(P)Total active power
SI.ReactivePower[m]Q{Modelica.ComplexMath.imag(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m}Reactive power
SI.ReactivePowerQ_totalsum(Q)Total reactive power
SI.ApparentPower[m]S{Modelica.ComplexMath.abs(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m}Magnitude of complex apparent power
SI.ApparentPowerS_totalsqrt(P_total^2 + Q_total^2)Magnitude of total complex apparent power
Real[m]pf{cos(Modelica.ComplexMath.arg(Complex(P[k], Q[k]))) for k in 1:m}Power factor