modelTransformerYY
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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m | 3 | Number of phases |
| SI.Voltage | V | 1 | Amplitude of Star-Voltage |
| SI.Frequency | f | 5 | Frequency |
| SI.Inductance | Lm | 1 | Transformer main inductance |
| SI.Inductance | LT | 0.003 | Transformer stray inductance |
| SI.Resistance | RT | 0.05 | Transformer resistance |
| SI.Resistance | RL | 1 | Load Resistance |
| Real | nT | 1 | Transformer ratio |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Sources.SineVoltage | sineVoltage | ||
| Basic.Star | starS | ||
| Modelica.Electrical.Analog.Basic.Ground | groundS | ||
| Ideal.IdealTransformer | idealTransformer | ||
| Basic.Star | starT1 | ||
| Basic.Star | starT2 | ||
| Modelica.Electrical.Analog.Basic.Ground | groundT2 | ||
| Basic.Resistor | transformerR | ||
| Basic.Inductor | transformerL | ||
| Basic.Resistor | loadR | ||
| Basic.Star | starL | ||
| Modelica.Electrical.Analog.Basic.Ground | groundT1 |