modelMutualInductor

Linear mutual inductor

Extends from QuasiStatic.Polyphase.Interfaces.OnePort (Two plugs, reference connection and declaration of voltage and current).

Information

Model of a polyphase inductor providing a mutual inductance matrix model.

Implementation

v[1] = j*omega*L[1,1]*i[1] + j*omega*L[1,2]*i[2] + ... + j*omega*L[1,m]*i[m]
v[2] = j*omega*L[2,1]*i[1] + j*omega*L[2,2]*i[2] + ... + j*omega*L[2,m]*i[m]
   :              :                     :                           :
v[m] = j*omega*L[m,1]*i[1] + j*omega*L[m,2]*i[2] + ... + j*omega*L[m,m]*i[m]

Parameters

TypeNameDefaultDescription
Integerm (from OnePort)3Number of phases
Realepsilon1e-9Relative accuracy tolerance of matrix symmetry
SI.Inductance[m,m]LMutual inductance matrix

Connectors

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

Components

TypeNameDefaultDescription
SI.ComplexVoltage[m]v (from OnePort)Complex voltage
SI.Voltage[m]abs_v (from OnePort)Modelica.ComplexMath.abs(v)Magnitude of complex voltage
SI.Angle[m]arg_v (from OnePort)Modelica.ComplexMath.arg(v)Argument of complex voltage
SI.ComplexCurrent[m]i (from OnePort)Complex current
SI.Current[m]abs_i (from OnePort)Modelica.ComplexMath.abs(i)Magnitude of complex current
SI.Angle[m]arg_i (from OnePort)Modelica.ComplexMath.arg(i)Argument of complex current
SI.ActivePower[m]P (from OnePort){Modelica.ComplexMath.real(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m}Active power
SI.ActivePowerP_total (from OnePort)sum(P)Total active power
SI.ReactivePower[m]Q (from OnePort){Modelica.ComplexMath.imag(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m}Reactive power
SI.ReactivePowerQ_total (from OnePort)sum(Q)Total reactive power
SI.ApparentPower[m]S (from OnePort){Modelica.ComplexMath.abs(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m}Magnitude of complex apparent power
SI.ApparentPowerS_total (from OnePort)sqrt(P_total^2 + Q_total^2)Magnitude of total complex apparent power
Real[m]pf (from OnePort){cos(Modelica.ComplexMath.arg(Complex(P[k], Q[k]))) for k in 1:m}Power factor
SI.AngularVelocityomega (from OnePort)Angular velocity of reference frame