modelVariableIdealTransformer
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.
Fraunhofer ISE, Freiburg
email: matthias.vetter@ise.fraunhofer.de
Fraunhofer IIS/EAS, Dresden
email: olaf.enge@eas.iis.fraunhofer.de
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PosComplexPin | p1 (from TwoPort) | Positive complex pin no.1 | |
| PosComplexPin | p2 (from TwoPort) | Positive complex pin no.2 | |
| NegComplexPin | n1 (from TwoPort) | Negative complex pin no.1 | |
| NegComplexPin | n2 (from TwoPort) | Negative complex pin no.2 | |
| Modelica.Blocks.Interfaces.RealOutput | activePwr1 (from TwoPort) | Active power of port no.1 | |
| Modelica.Blocks.Interfaces.RealOutput | reactivePwr1 (from TwoPort) | Reactive power of port no.1 | |
| Modelica.Blocks.Interfaces.RealOutput | activePwr2 (from TwoPort) | Active power of port no.2 | |
| Modelica.Blocks.Interfaces.RealOutput | reactivePwr2 (from TwoPort) | Reactive power of port no.2 | |
| ComplexLib.Interfaces.ComplexOutput | complexPwr1 (from TwoPort) | Complex value of power of port no.1 | |
| ComplexLib.Interfaces.ComplexOutput | complexPwr2 (from TwoPort) | Complex value of power of port no.2 | |
| Modelica.Blocks.Interfaces.RealInput | n | Turns ratio via input signal | |
| Modelica.Blocks.Interfaces.RealInput | phase | Phase shift between primary and secondary part via input signal [rad] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v1 (from TwoPort) | Voltage phasor of port no.1 | |
| SI.Voltage | v1Re (from TwoPort) | Active part of voltage phasor of port no.1 | |
| SI.Voltage | v1Im (from TwoPort) | Reactive part of voltage phasor of port no.1 | |
| SI.Voltage | v2 (from TwoPort) | Voltage phasor of port no.2 | |
| SI.Voltage | v2Re (from TwoPort) | Active part of voltage phasor of port no.2 | |
| SI.Voltage | v2Im (from TwoPort) | Reactive part of voltage phasor of port no.2 | |
| SI.Current | i1 (from TwoPort) | Current phasor of port no.1 | |
| SI.Current | i1Re (from TwoPort) | Active part of current phasor of port no.1 | |
| SI.Current | i1Im (from TwoPort) | Reactive part of current phasor of port no.1 | |
| SI.Current | i2 (from TwoPort) | Current phasor of port no.2 | |
| SI.Current | i2Re (from TwoPort) | Active part of current phasor of port no.2 | |
| SI.Current | i2Im (from TwoPort) | Reactive part of current phasor of port no.2 | |
| SI.Angle | phi1 (from TwoPort) | Angle between voltage and current phasors of port no.1 | |
| SI.Angle | phi_v1 (from TwoPort) | Angle of voltage phasor of port no.1 | |
| SI.Angle | phi_i1 (from TwoPort) | Angle of current phasor of port no.1 | |
| SI.Angle | phi2 (from TwoPort) | Angle between voltage and current phasors of port no.2 | |
| SI.Angle | phi_v2 (from TwoPort) | Angle of voltage phasor of port no.2 | |
| SI.Angle | phi_i2 (from TwoPort) | Angle of current phasor of port no.2 |