modelVariableIdealTransformer

Ideal electrical transformer with variable parameters

Extends from ComplexLib.SinglePhase.Interfaces.TwoPort (Component having four ComplexPins p1, p2, n1, n2 (two ports) and using current phasor balance).

Information

The VariableIdealTransformer is a two port with variable turns ratio n and phase shift angle φ=phase. The left port voltage phasor v1, the left port current phasor i1, the right port voltage phasor v2, and the right port current phasor i2 are connected by the following relations:

      v1 = n*v2*e^(jφ),
      i2 = n*i1*e^(j(π+φ)), 

where n is the ratio between primary and secondary winding and φ stands for the phase shift angle phase.
Both n and phase are specified by input signals.

Attention!!!
To ensure that the phasor domain-based model works in a quasi-stationary mode, the ratio of primary and secondary windings n may alter only very slowly in comparison with both the nominal frequency f=ω/(2π) and the dominant time constant of the phasor domain-based model.

Main Authors:
Matthias Vetter, Simon Schwunk
Fraunhofer ISE, Freiburg
email: matthias.vetter@ise.fraunhofer.de
and
Olaf Enge-Rosenblatt
Fraunhofer IIS/EAS, Dresden
email: olaf.enge@eas.iis.fraunhofer.de

Connectors

TypeNameDefaultDescription
PosComplexPinp1 (from TwoPort)Positive complex pin no.1
PosComplexPinp2 (from TwoPort)Positive complex pin no.2
NegComplexPinn1 (from TwoPort)Negative complex pin no.1
NegComplexPinn2 (from TwoPort)Negative complex pin no.2
Modelica.Blocks.Interfaces.RealOutputactivePwr1 (from TwoPort)Active power of port no.1
Modelica.Blocks.Interfaces.RealOutputreactivePwr1 (from TwoPort)Reactive power of port no.1
Modelica.Blocks.Interfaces.RealOutputactivePwr2 (from TwoPort)Active power of port no.2
Modelica.Blocks.Interfaces.RealOutputreactivePwr2 (from TwoPort)Reactive power of port no.2
ComplexLib.Interfaces.ComplexOutputcomplexPwr1 (from TwoPort)Complex value of power of port no.1
ComplexLib.Interfaces.ComplexOutputcomplexPwr2 (from TwoPort)Complex value of power of port no.2
Modelica.Blocks.Interfaces.RealInputnTurns ratio via input signal
Modelica.Blocks.Interfaces.RealInputphasePhase shift between primary and secondary part via input signal [rad]

Components

TypeNameDefaultDescription
SI.Voltagev1 (from TwoPort)Voltage phasor of port no.1
SI.Voltagev1Re (from TwoPort)Active part of voltage phasor of port no.1
SI.Voltagev1Im (from TwoPort)Reactive part of voltage phasor of port no.1
SI.Voltagev2 (from TwoPort)Voltage phasor of port no.2
SI.Voltagev2Re (from TwoPort)Active part of voltage phasor of port no.2
SI.Voltagev2Im (from TwoPort)Reactive part of voltage phasor of port no.2
SI.Currenti1 (from TwoPort)Current phasor of port no.1
SI.Currenti1Re (from TwoPort)Active part of current phasor of port no.1
SI.Currenti1Im (from TwoPort)Reactive part of current phasor of port no.1
SI.Currenti2 (from TwoPort)Current phasor of port no.2
SI.Currenti2Re (from TwoPort)Active part of current phasor of port no.2
SI.Currenti2Im (from TwoPort)Reactive part of current phasor of port no.2
SI.Anglephi1 (from TwoPort)Angle between voltage and current phasors of port no.1
SI.Anglephi_v1 (from TwoPort)Angle of voltage phasor of port no.1
SI.Anglephi_i1 (from TwoPort)Angle of current phasor of port no.1
SI.Anglephi2 (from TwoPort)Angle between voltage and current phasors of port no.2
SI.Anglephi_v2 (from TwoPort)Angle of voltage phasor of port no.2
SI.Anglephi_i2 (from TwoPort)Angle of current phasor of port no.2