modelIdealTransformer

Ideal transformer

Information

The ideal transformer is a two-port circuit element without magnetization. Voltages and currents are ideally transformed:

v1 =  v2*n;
i2 = -i1*n;

where n is a real number called the turns ratio.

Parameters

TypeNameDefaultDescription
Realn1Ratio of primary to secondary voltage

Connectors

TypeNameDefaultDescription
QuasiStatic.SinglePhase.Interfaces.PositivePinpin_p1Primary positive pin
QuasiStatic.SinglePhase.Interfaces.PositivePinpin_p2Secondary positive pin
QuasiStatic.SinglePhase.Interfaces.NegativePinpin_n1Primary negative pin
QuasiStatic.SinglePhase.Interfaces.NegativePinpin_n2Secondary negative pin

Components

TypeNameDefaultDescription
SI.ComplexVoltagev1pin_p1.v - pin_n1.vVoltage drop of side 1
SI.ComplexCurrenti1pin_p1.iCurrent into side 1
SI.ComplexVoltagev2pin_p2.v - pin_n2.vVoltage drop of side 2
SI.ComplexCurrenti2pin_p2.iCurrent into side 2
SI.Voltageabs_v1Modelica.ComplexMath.abs(v1)Magnitude of complex voltage v1
SI.Anglearg_v1Modelica.ComplexMath.arg(v1)Argument of complex voltage v1
SI.Currentabs_i1Modelica.ComplexMath.abs(i1)Magnitude of complex current i1
SI.Anglearg_i1Modelica.ComplexMath.arg(i1)Argument of complex current i1
SI.ActivePowerP1Modelica.ComplexMath.real(v1*Modelica.ComplexMath.conj(i1))Active power, side 1
SI.ReactivePowerQ1Modelica.ComplexMath.imag(v1*Modelica.ComplexMath.conj(i1))Reactive power, side 1
SI.ApparentPowerS1Modelica.ComplexMath.abs(v1*Modelica.ComplexMath.conj(i1))Magnitude of complex apparent power, side 1
Realpf1cos(Modelica.ComplexMath.arg(Complex(P1, Q1)))Power factor, side 1
SI.Voltageabs_v2Modelica.ComplexMath.abs(v2)Magnitude of complex voltage v2
SI.Anglearg_v2Modelica.ComplexMath.arg(v2)Argument of complex voltage v2
SI.Currentabs_i2Modelica.ComplexMath.abs(i2)Magnitude of complex current i2
SI.Anglearg_i2Modelica.ComplexMath.arg(i2)Argument of complex current i2
SI.ActivePowerP2Modelica.ComplexMath.real(v2*Modelica.ComplexMath.conj(i2))Active power, side 2
SI.ReactivePowerQ2Modelica.ComplexMath.imag(v2*Modelica.ComplexMath.conj(i2))Reactive power, side 2
SI.ApparentPowerS2Modelica.ComplexMath.abs(v2*Modelica.ComplexMath.conj(i2))Magnitude of complex apparent power, side 2
Realpf2cos(Modelica.ComplexMath.arg(Complex(P2, Q2)))Power factor, side 2

Revisions

2014-01-02, Christian Kral
  • Initial implementation of ideal transformer model