modelTransformerYY

Test example with polyphase components

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Test example with polyphase components:

Star-connected voltage source feeds via a Y-Y-transformer with internal impedance (RT, LT) a load resistor RT.

Using f=5 Hz LT=3mH defines nominal voltage drop of approximately 10 %.

Simulate for 1 second (2 periods) and compare voltages and currents of source, transformer and load.

Note

From the m currents m-1 have to be initialized with fixed = true, one of the m currents with fixed = false, due to the fact that the star connection enforces sum of the currents = 0.

Tools are expected to present a proper initialization section of the menu of transformerL which allows to set the start values of the m currents and the fixed attributes individually, i.e. as an array. Especially, a checkbox for the fixed attributes should be avoided.

If this is not the case, you have to write the code manually:

Modelica.Electrical.PolyPhase.Basic.Inductor transformerL(m=m, L=fill(LT, m), iL(start=zeros(m), fixed=cat(1,fill(true,m-1),{false})));

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
SI.VoltageV1Amplitude of Star-Voltage
SI.Frequencyf5Frequency
SI.InductanceLm1Transformer main inductance
SI.InductanceLT0.003Transformer stray inductance
SI.ResistanceRT0.05Transformer resistance
SI.ResistanceRL1Load Resistance
RealnT1Transformer ratio

Components

TypeNameDefaultDescription
Sources.SineVoltagesineVoltage
Basic.StarstarS
Modelica.Electrical.Analog.Basic.GroundgroundS
Ideal.IdealTransformeridealTransformer
Basic.StarstarT1
Basic.StarstarT2
Modelica.Electrical.Analog.Basic.GroundgroundT2
Basic.ResistortransformerR
Basic.InductortransformerL
Basic.ResistorloadR
Basic.StarstarL
Modelica.Electrical.Analog.Basic.GroundgroundT1