From 045df2e12a34d0cffa12f27207af968abdc22457 Mon Sep 17 00:00:00 2001 From: AHaumer Date: Wed, 7 Jan 2026 18:52:47 +0100 Subject: [PATCH 1/6] Demonstrate PolyphaseInitialization --- .../Electrical/Polyphase/Basic/Capacitor.mo | 3 + .../Electrical/Polyphase/Basic/Inductor.mo | 3 + .../Examples/PolyphaseInitialization.mo | 249 ++++++++++++++++++ .../Polyphase/Examples/package.order | 1 + .../comparisonSignals.txt | 15 ++ 5 files changed, 271 insertions(+) create mode 100644 Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo create mode 100644 Modelica/Resources/Reference/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization/comparisonSignals.txt diff --git a/Modelica/Electrical/Polyphase/Basic/Capacitor.mo b/Modelica/Electrical/Polyphase/Basic/Capacitor.mo index 65d6b2e689..1f66fd2649 100644 --- a/Modelica/Electrical/Polyphase/Basic/Capacitor.mo +++ b/Modelica/Electrical/Polyphase/Basic/Capacitor.mo @@ -32,5 +32,8 @@ equation

Contains m capacitors (Modelica.Electrical.Analog.Basic.Capacitor)

+

+For demonstration and hints regarding initialization see Examples.PolyphaseInitialization. +

")); end Capacitor; diff --git a/Modelica/Electrical/Polyphase/Basic/Inductor.mo b/Modelica/Electrical/Polyphase/Basic/Inductor.mo index 278055ff9d..4a168e0a17 100644 --- a/Modelica/Electrical/Polyphase/Basic/Inductor.mo +++ b/Modelica/Electrical/Polyphase/Basic/Inductor.mo @@ -41,5 +41,8 @@ equation

Contains m inductors (Modelica.Electrical.Analog.Basic.Inductor)

+

+For demonstration and hints regarding initialization see Examples.PolyphaseInitialization. +

")); end Inductor; diff --git a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo new file mode 100644 index 0000000000..3c14518148 --- /dev/null +++ b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo @@ -0,0 +1,249 @@ +within Modelica.Electrical.Polyphase.Examples; +model PolyphaseInitialization + "Demonstrate initialization of inductances in 3 and 4 wire system" + extends Modelica.Icons.Example; + import Modelica.Constants.pi; + constant Integer m=3 "Number of phases"; + parameter SI.Voltage V=230 "RMS voltage line to neutral"; + parameter SI.Frequency f=50 "Source frequency"; + parameter SI.Impedance Z=10 "Total impedance"; + parameter SI.Resistance R=Z/sqrt(2) "Resistive component"; + parameter SI.Inductance L=Z/sqrt(2)/(2*pi*f) "Inductive component"; + Modelica.Electrical.Analog.Sources.SineVoltage sineVoltage11(V=sqrt(2)*V, f=f, + phase=0) + annotation (Placement(transformation(extent={{-70,70},{-90,90}}))); + Modelica.Electrical.Analog.Sources.SineVoltage sineVoltage12(V=sqrt(2)*V, f=f, + phase=-2*pi/3) + annotation (Placement(transformation(extent={{-70,50},{-90,70}}))); + Modelica.Electrical.Analog.Sources.SineVoltage sineVoltage13(V=sqrt(2)*V, f=f, + phase=-4*pi/3) + annotation (Placement(transformation(extent={{-70,30},{-90,50}}))); + Modelica.Electrical.Analog.Basic.Ground ground1 + annotation (Placement(transformation(extent={{-100,0},{-80,20}}))); + Modelica.Electrical.Analog.Basic.Resistor resistor11(R=R) + annotation (Placement(transformation(extent={{-30,70},{-10,90}}))); + Modelica.Electrical.Analog.Basic.Resistor resistor12(R=R) + annotation (Placement(transformation(extent={{-30,50},{-10,70}}))); + Modelica.Electrical.Analog.Basic.Resistor resistor13(R=R) + annotation (Placement(transformation(extent={{-30,30},{-10,50}}))); + Modelica.Electrical.Analog.Basic.Inductor inductor11(L=L, i(start=0, fixed=true)) + annotation (Placement(transformation(extent={{0,70},{20,90}}))); + Modelica.Electrical.Analog.Basic.Inductor inductor12(L=L, i(start=0, fixed=true)) + annotation (Placement(transformation(extent={{0,50},{20,70}}))); + Modelica.Electrical.Analog.Basic.Inductor inductor13(L=L, i(start=0, fixed=false)) + annotation (Placement(transformation(extent={{0,30},{20,50}}))); + Modelica.Electrical.Analog.Sources.SineVoltage sineVoltage21(V=sqrt(2)*V, f=f, + phase=0) + annotation (Placement(transformation(extent={{-70,-30},{-90,-10}}))); + Modelica.Electrical.Analog.Sources.SineVoltage sineVoltage22(V=sqrt(2)*V, f=f, + phase=-2*pi/3) + annotation (Placement(transformation(extent={{-70,-50},{-90,-30}}))); + Modelica.Electrical.Analog.Sources.SineVoltage sineVoltage23(V=sqrt(2)*V, f=f, + phase=-4*pi/3) + annotation (Placement(transformation(extent={{-70,-70},{-90,-50}}))); + Modelica.Electrical.Analog.Basic.Ground ground2 + annotation (Placement(transformation(extent={{-100,-100},{-80,-80}}))); + Modelica.Electrical.Analog.Basic.Resistor resistor21(R=R) + annotation (Placement(transformation(extent={{-30,-30},{-10,-10}}))); + Modelica.Electrical.Analog.Basic.Resistor resistor22(R=R) + annotation (Placement(transformation(extent={{-30,-50},{-10,-30}}))); + Modelica.Electrical.Analog.Basic.Resistor resistor23(R=R) + annotation (Placement(transformation(extent={{-30,-70},{-10,-50}}))); + Modelica.Electrical.Analog.Basic.Inductor inductor21(L=L, i(start=0, fixed=true)) + annotation (Placement(transformation(extent={{0,-30},{20,-10}}))); + Modelica.Electrical.Analog.Basic.Inductor inductor22(L=L, i(start=0, fixed=true)) + annotation (Placement(transformation(extent={{0,-50},{20,-30}}))); + Modelica.Electrical.Analog.Basic.Inductor inductor23(L=L, i(start=0, fixed=true)) + annotation (Placement(transformation(extent={{0,-70},{20,-50}}))); + Modelica.Electrical.Polyphase.Sources.SineVoltage sineVoltage3(m=m, + V=fill(sqrt(2)*V, m), f=fill(f, m)) annotation (Placement(transformation( + extent={{-10,-10},{10,10}}, + rotation=270, + origin={40,70}))); + Modelica.Electrical.Polyphase.Basic.Star star3S(m=m) annotation (Placement( + transformation( + extent={{-10,-10},{10,10}}, + rotation=270, + origin={40,40}))); + Modelica.Electrical.Analog.Basic.Ground ground3 + annotation (Placement(transformation(extent={{30,0},{50,20}}))); + Modelica.Electrical.Polyphase.Basic.Resistor resistor3(m=m, R=fill(R, m)) + annotation (Placement(transformation(extent={{80,70},{100,90}}))); + Modelica.Electrical.Polyphase.Basic.Inductor + inductor3(m=m, L=fill(L, m), + iL(start={0,0,0}, fixed={true,true,false})) + annotation (Placement(transformation(extent={{-10,-10},{10,10}}, + rotation=270, + origin={110,70}))); + Modelica.Electrical.Polyphase.Basic.Star star3L(m=m) annotation (Placement( + transformation( + extent={{-10,-10},{10,10}}, + rotation=270, + origin={110,40}))); + Modelica.Electrical.Polyphase.Sources.SineVoltage sineVoltage4(m=m, + V=fill(sqrt(2)*V, m), f=fill(f, m)) annotation (Placement(transformation( + extent={{-10,-10},{10,10}}, + rotation=270, + origin={40,-30}))); + Modelica.Electrical.Polyphase.Basic.Star star4S(m=m) annotation (Placement( + transformation( + extent={{-10,-10},{10,10}}, + rotation=270, + origin={40,-60}))); + Modelica.Electrical.Analog.Basic.Ground ground4 + annotation (Placement(transformation(extent={{30,-100},{50,-80}}))); + Modelica.Electrical.Polyphase.Basic.Resistor resistor4(m=m, R=fill(R, m)) + annotation (Placement(transformation(extent={{80,-30},{100,-10}}))); + Modelica.Electrical.Polyphase.Basic.Inductor + inductor4(m=m, L=fill(L, m), + iL(start={0,0,0}, fixed={true,true,true})) + annotation (Placement(transformation(extent={{-10,-10},{10,10}}, + rotation=270, + origin={110,-30}))); + Modelica.Electrical.Polyphase.Basic.Star star4L(m=m) annotation (Placement( + transformation( + extent={{-10,-10},{10,10}}, + rotation=270, + origin={110,-60}))); + Modelica.Electrical.Analog.Sensors.CurrentSensor i11 + annotation (Placement(transformation(extent={{-58,72},{-42,88}}))); + Modelica.Electrical.Analog.Sensors.CurrentSensor i12 + annotation (Placement(transformation(extent={{-58,52},{-42,68}}))); + Modelica.Electrical.Analog.Sensors.CurrentSensor i13 + annotation (Placement(transformation(extent={{-58,32},{-42,48}}))); + Modelica.Electrical.Analog.Sensors.CurrentSensor i21 + annotation (Placement(transformation(extent={{-58,-28},{-42,-12}}))); + Modelica.Electrical.Analog.Sensors.CurrentSensor i22 + annotation (Placement(transformation(extent={{-58,-48},{-42,-32}}))); + Modelica.Electrical.Analog.Sensors.CurrentSensor i23 + annotation (Placement(transformation(extent={{-58,-68},{-42,-52}}))); + Modelica.Electrical.Analog.Sensors.CurrentSensor i20 + annotation (Placement(transformation(extent={{-42,-88},{-58,-72}}))); + Modelica.Electrical.Polyphase.Sensors.CurrentSensor i3(m=m) + annotation (Placement(transformation(extent={{50,70},{70,90}}))); + Modelica.Electrical.Polyphase.Sensors.CurrentSensor i4(m=m) + annotation (Placement(transformation(extent={{50,-30},{70,-10}}))); + Modelica.Electrical.Analog.Sensors.CurrentSensor i40 + annotation (Placement(transformation(extent={{70,-80},{50,-60}}))); +equation + connect(resistor13.n, inductor13.p) + annotation (Line(points={{-10,40},{0,40}}, color={0,0,255})); + connect(resistor12.n, inductor12.p) + annotation (Line(points={{-10,60},{0,60}}, color={0,0,255})); + connect(resistor11.n, inductor11.p) + annotation (Line(points={{-10,80},{0,80}}, color={0,0,255})); + connect(inductor11.n, inductor12.n) annotation (Line(points={{20,80},{20,60}}, + color={0,0,255})); + connect(inductor13.n, inductor12.n) annotation (Line(points={{20,40},{20,60}}, + color={0,0,255})); + connect(ground1.p, sineVoltage12.n) + annotation (Line(points={{-90,20},{-90,60}}, color={0,0,255})); + connect(resistor23.n, inductor23.p) + annotation (Line(points={{-10,-60},{0,-60}}, color={0,0,255})); + connect(resistor22.n, inductor22.p) + annotation (Line(points={{-10,-40},{0,-40}}, color={0,0,255})); + connect(resistor21.n, inductor21.p) + annotation (Line(points={{-10,-20},{0,-20}}, color={0,0,255})); + connect(resistor3.plug_n, inductor3.plug_p) + annotation (Line(points={{100,80},{110,80}}, + color={0,0,255})); + connect(inductor3.plug_n, star3L.plug_p) + annotation (Line(points={{110,60},{110,50}}, color={0,0,255})); + connect(sineVoltage3.plug_n, star3S.plug_p) + annotation (Line(points={{40,60},{40,50}}, color={0,0,255})); + connect(star3S.pin_n, ground3.p) + annotation (Line(points={{40,30},{40,20}}, color={0,0,255})); + connect(resistor4.plug_n,inductor4. plug_p) + annotation (Line(points={{100,-20},{110,-20}}, + color={0,0,255})); + connect(inductor4.plug_n, star4L.plug_p) + annotation (Line(points={{110,-40},{110,-50}}, color={0,0,255})); + connect(sineVoltage4.plug_n, star4S.plug_p) + annotation (Line(points={{40,-40},{40,-50}}, color={0,0,255})); + connect(star4S.pin_n, ground4.p) + annotation (Line(points={{40,-70},{40,-80}}, color={0,0,255})); + connect(sineVoltage11.p, i11.p) + annotation (Line(points={{-70,80},{-58,80}}, color={0,0,255})); + connect(i11.n, resistor11.p) + annotation (Line(points={{-42,80},{-30,80}}, color={0,0,255})); + connect(sineVoltage13.p, i13.p) + annotation (Line(points={{-70,40},{-58,40}}, color={0,0,255})); + connect(i13.n, resistor13.p) + annotation (Line(points={{-42,40},{-30,40}}, color={0,0,255})); + connect(sineVoltage12.p, i12.p) + annotation (Line(points={{-70,60},{-58,60}}, color={0,0,255})); + connect(i12.n, resistor12.p) + annotation (Line(points={{-42,60},{-30,60}}, color={0,0,255})); + connect(sineVoltage21.p, i21.p) + annotation (Line(points={{-70,-20},{-58,-20}}, color={0,0,255})); + connect(i21.n, resistor21.p) + annotation (Line(points={{-42,-20},{-30,-20}}, color={0,0,255})); + connect(sineVoltage22.p, i22.p) + annotation (Line(points={{-70,-40},{-58,-40}}, color={0,0,255})); + connect(i22.n, resistor22.p) + annotation (Line(points={{-42,-40},{-30,-40}}, color={0,0,255})); + connect(sineVoltage23.p, i23.p) + annotation (Line(points={{-70,-60},{-58,-60}}, color={0,0,255})); + connect(i23.n, resistor23.p) + annotation (Line(points={{-42,-60},{-30,-60}}, color={0,0,255})); + connect(ground2.p, i20.n) + annotation (Line(points={{-90,-80},{-58,-80}}, color={0,0,255})); + connect(i20.p, inductor22.n) + annotation (Line(points={{-42,-80},{20,-80},{20,-40}}, color={0,0,255})); + connect(resistor3.plug_p, i3.plug_n) + annotation (Line(points={{80,80},{70,80}}, color={0,0,255})); + connect(i3.plug_p, sineVoltage3.plug_p) + annotation (Line(points={{50,80},{40,80}}, color={0,0,255})); + connect(resistor4.plug_p, i4.plug_n) + annotation (Line(points={{80,-20},{70,-20}}, color={0,0,255})); + connect(i4.plug_p, sineVoltage4.plug_p) + annotation (Line(points={{50,-20},{40,-20}}, color={0,0,255})); + connect(star4S.pin_n, i40.n) + annotation (Line(points={{40,-70},{50,-70}}, color={0,0,255})); + connect(i40.p, star4L.pin_n) + annotation (Line(points={{70,-70},{110,-70}}, color={0,0,255})); + connect(ground1.p, sineVoltage11.n) + annotation (Line(points={{-90,20},{-90,80}}, color={0,0,255})); + connect(i20.p, inductor23.n) + annotation (Line(points={{-42,-80},{20,-80},{20,-60}}, color={0,0,255})); + connect(i20.p, inductor21.n) + annotation (Line(points={{-42,-80},{20,-80},{20,-20}}, color={0,0,255})); + connect(ground2.p, sineVoltage21.n) + annotation (Line(points={{-90,-80},{-90,-20}}, color={0,0,255})); + connect(ground2.p, sineVoltage22.n) + annotation (Line(points={{-90,-80},{-90,-40}}, color={0,0,255})); + connect(ground2.p, sineVoltage23.n) + annotation (Line(points={{-90,-80},{-90,-60}}, color={0,0,255})); + connect(ground1.p, sineVoltage13.n) + annotation (Line(points={{-90,20},{-90,40}}, color={0,0,255})); + annotation (preferredView="info", + Diagram(coordinateSystem(extent={{-100,-100},{120,100}})), + experiment( + StopTime=0.1, + Interval=0.0001), + Documentation(info=" +

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

+

+This examples demonstrates the initialization of threephase 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 graphically. +

+"), + Icon(coordinateSystem(extent={{-100,-100},{120,100}}))); +end PolyphaseInitialization; diff --git a/Modelica/Electrical/Polyphase/Examples/package.order b/Modelica/Electrical/Polyphase/Examples/package.order index 3ea2a3a3d1..d964316d6d 100644 --- a/Modelica/Electrical/Polyphase/Examples/package.order +++ b/Modelica/Electrical/Polyphase/Examples/package.order @@ -3,4 +3,5 @@ TransformerYD Rectifier TestSensors PolyphaseRectifier +PolyphaseInitialization Utilities diff --git a/Modelica/Resources/Reference/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization/comparisonSignals.txt b/Modelica/Resources/Reference/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization/comparisonSignals.txt new file mode 100644 index 0000000000..003fadf7be --- /dev/null +++ b/Modelica/Resources/Reference/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization/comparisonSignals.txt @@ -0,0 +1,15 @@ +time +i11.i +i12.i +i13.i +i21.i +i22.i +i23.i +i20.i +i3.i[1] +i3.i[2] +i3.i[3] +i4.i[1] +i4.i[2] +i4.i[3] +i40.i From 7c3780581493e719f7c1ed30c442e7e23a69021a Mon Sep 17 00:00:00 2001 From: Anton Haumer Date: Thu, 8 Jan 2026 16:44:13 +0100 Subject: [PATCH 2/6] Update Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo Co-authored-by: Malte Lenz --- .../Electrical/Polyphase/Examples/PolyphaseInitialization.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo index 3c14518148..96aef11053 100644 --- a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo +++ b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo @@ -227,7 +227,7 @@ Proper initialization of polyphase systems require an analysis of the circuit, h how many states and which states should be initialized with fixed=true (or fixed=false).

-This examples demonstrates the initialization of threephase inductances in a 3 wire and a 4 wire system: +This examples 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.
From 8699cc9787e65d5f9df428788b1710d4b5c9f7ce Mon Sep 17 00:00:00 2001 From: Anton Haumer Date: Thu, 8 Jan 2026 16:44:29 +0100 Subject: [PATCH 3/6] Update Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo Co-authored-by: Malte Lenz --- .../Electrical/Polyphase/Examples/PolyphaseInitialization.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo index 96aef11053..9491a01fbb 100644 --- a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo +++ b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo @@ -233,7 +233,7 @@ This examples demonstrates the initialization of three-phase inductances in a 3 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})) + 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.
From 2ae10dbcd778a0e6725fc761815fa086af0a1ad6 Mon Sep 17 00:00:00 2001 From: Anton Haumer Date: Thu, 8 Jan 2026 16:44:59 +0100 Subject: [PATCH 4/6] Update Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo Co-authored-by: Malte Lenz --- .../Electrical/Polyphase/Examples/PolyphaseInitialization.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo index 9491a01fbb..442643f346 100644 --- a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo +++ b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo @@ -217,7 +217,7 @@ equation connect(ground1.p, sineVoltage13.n) annotation (Line(points={{-90,20},{-90,40}}, color={0,0,255})); annotation (preferredView="info", - Diagram(coordinateSystem(extent={{-100,-100},{120,100}})), + Diagram(coordinateSystem(extent={{-100,-100},{125,100}})), experiment( StopTime=0.1, Interval=0.0001), From 2d15fa1df1849d842874696adb3e096a276dfec3 Mon Sep 17 00:00:00 2001 From: AHaumer Date: Thu, 8 Jan 2026 16:53:12 +0100 Subject: [PATCH 5/6] Paying attention to reviews --- .../Polyphase/Examples/PolyphaseInitialization.mo | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo index 442643f346..0776684247 100644 --- a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo +++ b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo @@ -217,17 +217,18 @@ equation connect(ground1.p, sineVoltage13.n) annotation (Line(points={{-90,20},{-90,40}}, color={0,0,255})); annotation (preferredView="info", + Icon(coordinateSystem(extent={{-100,-100},{100,100}})), Diagram(coordinateSystem(extent={{-100,-100},{125,100}})), experiment( StopTime=0.1, Interval=0.0001), Documentation(info="

-Proper initialization of polyphase systems require an analysis of the circuit, helping to decide +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 examples demonstrates the initialization of three-phase inductances in a 3 wire and a 4 wire system: +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.
@@ -244,6 +245,5 @@ With the polyphase component, the initial values have to be set accordingly, e.g

It depends on the tool whether you have to set the fixed attribute textually or graphically.

-"), - Icon(coordinateSystem(extent={{-100,-100},{120,100}}))); +")); end PolyphaseInitialization; From 93b44c4f76fce8e3b04d5d1c8c4413a466a16d50 Mon Sep 17 00:00:00 2001 From: Christian Kral Date: Thu, 29 Jan 2026 09:15:52 +0100 Subject: [PATCH 6/6] Apply suggestion from @HansOlsson I very much agree and I hope @ahaumer agrees as well Co-authored-by: Hans Olsson --- .../Electrical/Polyphase/Examples/PolyphaseInitialization.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo index 0776684247..90cf70f585 100644 --- a/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo +++ b/Modelica/Electrical/Polyphase/Examples/PolyphaseInitialization.mo @@ -243,7 +243,7 @@ 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 graphically. +It depends on the tool whether you have to set the fixed attribute textually, or if it is possible to do it graphically.

")); end PolyphaseInitialization;