From e6c0adf83b574eabdb1202f70c825afc7707c06c Mon Sep 17 00:00:00 2001 From: AHaumer Date: Mon, 21 Oct 2024 16:06:38 +0200 Subject: [PATCH 1/3] MSL 4.1.0 Regressions: set FundamentalWave..SymmetricPolyphaseWinding.ZeroInductor.i0(nominal=10) to avoid timeout during regression test --- .../BasicMachines/Components/SymmetricPolyphaseWinding.mo | 4 ++-- .../Examples/BasicMachines/InductionMachines/IMC_YD.mo | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Modelica/Magnetic/FundamentalWave/BasicMachines/Components/SymmetricPolyphaseWinding.mo b/Modelica/Magnetic/FundamentalWave/BasicMachines/Components/SymmetricPolyphaseWinding.mo index 381084ed0a..3e46d938ef 100644 --- a/Modelica/Magnetic/FundamentalWave/BasicMachines/Components/SymmetricPolyphaseWinding.mo +++ b/Modelica/Magnetic/FundamentalWave/BasicMachines/Components/SymmetricPolyphaseWinding.mo @@ -76,8 +76,8 @@ model SymmetricPolyphaseWinding final Lsigma=(1 - ratioCommonLeakage)*Lsigma) "Symmetric winding" annotation (Placement(transformation(extent={{-10,-20},{10,0}}))); - Modelica.Electrical.Polyphase.Basic.ZeroInductor zeroInductor(final m=m, final Lzero=Lzero) if - mBase<>2 "Zero sequence inductance of winding" + Modelica.Electrical.Polyphase.Basic.ZeroInductor zeroInductor(final m=m, final Lzero=Lzero, + i0(nominal=10)) if mBase<>2 "Zero sequence inductance of winding" annotation (Placement(transformation( origin={-70,-30}, extent={{10,-10},{-10,10}}, diff --git a/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo b/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo index e3f6fca3e5..072c93774d 100644 --- a/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo +++ b/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo @@ -112,8 +112,9 @@ equation points={{40,20},{50,20}})); annotation (experiment( StopTime=2.5, - Interval=1E-4, - Tolerance=1e-06), Documentation( + Interval=0.0001, + Tolerance=1e-06, + __Dymola_Algorithm="Dassl"), Documentation( info="

At start time tStart three-phase voltage is supplied to the induction machine with squirrel cage, first star-connected, then delta-connected; the machine starts from standstill, From a1871e9c1464f9df0b4eeffe1d7a84b7de3adab0 Mon Sep 17 00:00:00 2001 From: AHaumer Date: Mon, 21 Oct 2024 18:22:57 +0200 Subject: [PATCH 2/3] removed vendor-specific annotation --- .../Examples/BasicMachines/InductionMachines/IMC_YD.mo | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo b/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo index 072c93774d..6f47402103 100644 --- a/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo +++ b/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo @@ -113,8 +113,7 @@ equation annotation (experiment( StopTime=2.5, Interval=0.0001, - Tolerance=1e-06, - __Dymola_Algorithm="Dassl"), Documentation( + Tolerance=1e-06), Documentation( info="

At start time tStart three-phase voltage is supplied to the induction machine with squirrel cage, first star-connected, then delta-connected; the machine starts from standstill, From 633ad626ae36b5f436feceaa46903cd6d5c8d0ca Mon Sep 17 00:00:00 2001 From: AHaumer Date: Tue, 22 Oct 2024 20:51:01 +0200 Subject: [PATCH 3/3] moved the modifier zeroInductor.i0(nominal=10) from Modelica/Magnetic/FundamentalWave/BasicMachines/Components/SymmetricPolyphaseWinding 7to Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD --- .../BasicMachines/Components/SymmetricPolyphaseWinding.mo | 4 ++-- .../Examples/BasicMachines/InductionMachines/IMC_YD.mo | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Modelica/Magnetic/FundamentalWave/BasicMachines/Components/SymmetricPolyphaseWinding.mo b/Modelica/Magnetic/FundamentalWave/BasicMachines/Components/SymmetricPolyphaseWinding.mo index 3e46d938ef..b34ead7c14 100644 --- a/Modelica/Magnetic/FundamentalWave/BasicMachines/Components/SymmetricPolyphaseWinding.mo +++ b/Modelica/Magnetic/FundamentalWave/BasicMachines/Components/SymmetricPolyphaseWinding.mo @@ -76,8 +76,8 @@ model SymmetricPolyphaseWinding final Lsigma=(1 - ratioCommonLeakage)*Lsigma) "Symmetric winding" annotation (Placement(transformation(extent={{-10,-20},{10,0}}))); - Modelica.Electrical.Polyphase.Basic.ZeroInductor zeroInductor(final m=m, final Lzero=Lzero, - i0(nominal=10)) if mBase<>2 "Zero sequence inductance of winding" + Modelica.Electrical.Polyphase.Basic.ZeroInductor zeroInductor(final m=m, final Lzero=Lzero) + if mBase<>2 "Zero sequence inductance of winding" annotation (Placement(transformation( origin={-70,-30}, extent={{10,-10},{-10,10}}, diff --git a/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo b/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo index 6f47402103..09a8c9fd8a 100644 --- a/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo +++ b/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo @@ -37,7 +37,8 @@ model IMC_YD TsOperational=293.15, effectiveStatorTurns=aimcData.effectiveStatorTurns, alpha20r=aimcData.alpha20r, - TrOperational=293.15) + TrOperational=293.15, + stator(zeroInductor(i0(nominal=10)))) annotation (Placement(transformation(extent={{20,10},{40,30}}))); Modelica.Electrical.Machines.Sensors.CurrentQuasiRMSSensor currentQuasiRMSSensor annotation (Placement(transformation(