modelPolyphaseInitialization

Demonstrate initialization of inductances in 3 and 4 wire system

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

Information

Proper initialization of polyphase systems requires an analysis of the circuit, helping to decide how many states and which states should be initialized with fixed=true (or fixed=false).

This example demonstrates the initialization of three-phase inductances in a 3 wire and a 4 wire system:

In the 3 wire system the implicit equation i11 + i12 + i13 = 0 has to be taken into account.
Therefore only 2 of the 3 currents may be initialized with fixed=true. With the polyphase component, the initial values have to be set accordingly. e.g.:
Inductor inductor(m=3, iL(start={0, 0, 0}, fixed={true, true, false}));

In the 4 wire system the implicit equation i21 + i22 + i23 = i20 has to be taken into account.
Therefore all 3 currents may be initialized with fixed=true. With the polyphase component, the initial values have to be set accordingly, e.g.:
Inductor inductor(m=3, iL(start={0, 0, 0}, fixed={true, true, true }));

It depends on the tool whether you have to set the fixed attribute textually, or if it is possible to do it graphically.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
SI.VoltageV230RMS voltage line to neutral
SI.Frequencyf50Source frequency
SI.ImpedanceZ10Total impedance
SI.ResistanceRZ/sqrt(2)Resistive component
SI.InductanceLZ/sqrt(2)/(2*pi*f)Inductive component

Components

TypeNameDefaultDescription
Modelica.Electrical.Analog.Sources.SineVoltagesineVoltage11
Modelica.Electrical.Analog.Sources.SineVoltagesineVoltage12
Modelica.Electrical.Analog.Sources.SineVoltagesineVoltage13
Modelica.Electrical.Analog.Basic.Groundground1
Modelica.Electrical.Analog.Basic.Resistorresistor11
Modelica.Electrical.Analog.Basic.Resistorresistor12
Modelica.Electrical.Analog.Basic.Resistorresistor13
Modelica.Electrical.Analog.Basic.Inductorinductor11
Modelica.Electrical.Analog.Basic.Inductorinductor12
Modelica.Electrical.Analog.Basic.Inductorinductor13
Modelica.Electrical.Analog.Sources.SineVoltagesineVoltage21
Modelica.Electrical.Analog.Sources.SineVoltagesineVoltage22
Modelica.Electrical.Analog.Sources.SineVoltagesineVoltage23
Modelica.Electrical.Analog.Basic.Groundground2
Modelica.Electrical.Analog.Basic.Resistorresistor21
Modelica.Electrical.Analog.Basic.Resistorresistor22
Modelica.Electrical.Analog.Basic.Resistorresistor23
Modelica.Electrical.Analog.Basic.Inductorinductor21
Modelica.Electrical.Analog.Basic.Inductorinductor22
Modelica.Electrical.Analog.Basic.Inductorinductor23
Modelica.Electrical.Polyphase.Sources.SineVoltagesineVoltage3
Modelica.Electrical.Polyphase.Basic.Starstar3S
Modelica.Electrical.Analog.Basic.Groundground3
Modelica.Electrical.Polyphase.Basic.Resistorresistor3
Modelica.Electrical.Polyphase.Basic.Inductorinductor3
Modelica.Electrical.Polyphase.Basic.Starstar3L
Modelica.Electrical.Polyphase.Sources.SineVoltagesineVoltage4
Modelica.Electrical.Polyphase.Basic.Starstar4S
Modelica.Electrical.Analog.Basic.Groundground4
Modelica.Electrical.Polyphase.Basic.Resistorresistor4
Modelica.Electrical.Polyphase.Basic.Inductorinductor4
Modelica.Electrical.Polyphase.Basic.Starstar4L
Modelica.Electrical.Analog.Sensors.CurrentSensori11
Modelica.Electrical.Analog.Sensors.CurrentSensori12
Modelica.Electrical.Analog.Sensors.CurrentSensori13
Modelica.Electrical.Analog.Sensors.CurrentSensori21
Modelica.Electrical.Analog.Sensors.CurrentSensori22
Modelica.Electrical.Analog.Sensors.CurrentSensori23
Modelica.Electrical.Analog.Sensors.CurrentSensori20
Modelica.Electrical.Polyphase.Sensors.CurrentSensori3
Modelica.Electrical.Polyphase.Sensors.CurrentSensori4
Modelica.Electrical.Analog.Sensors.CurrentSensori40