From d7787b64ed35b24c20473b14010502cd7203b98b Mon Sep 17 00:00:00 2001 From: Francesco Casella Date: Tue, 7 Jan 2025 11:30:19 +0100 Subject: [PATCH] Added missing experiment annotations. Fixes #4510 --- ModelicaTest/Electrical/QuasiStatic/Polyphase.mo | 1 + ModelicaTest/Electrical/QuasiStatic/SinglePhase.mo | 1 + 2 files changed, 2 insertions(+) diff --git a/ModelicaTest/Electrical/QuasiStatic/Polyphase.mo b/ModelicaTest/Electrical/QuasiStatic/Polyphase.mo index 6ad080eece..3e9ebb3c64 100644 --- a/ModelicaTest/Electrical/QuasiStatic/Polyphase.mo +++ b/ModelicaTest/Electrical/QuasiStatic/Polyphase.mo @@ -226,5 +226,6 @@ package Polyphase "Polyphase quasi-static package" connect(starI.plug_p,currentSource. plug_p) annotation (Line(points={{-20,-80},{-20,-50}}, color={85,170,255})); connect(currentSource.plug_p, capacitor.plug_n) annotation (Line(points={{-20,-50},{-10,-50},{-10,-20},{-20,-20}}, color={85,170,255})); connect(capacitor.plug_p,currentSource. plug_n) annotation (Line(points={{-40,-20},{-50,-20},{-50,-50},{-40,-50}}, color={85,170,255})); + annotation(experiment(StopTime = 1.0, Interval = 0.0002)); end FrequencySweep; end Polyphase; diff --git a/ModelicaTest/Electrical/QuasiStatic/SinglePhase.mo b/ModelicaTest/Electrical/QuasiStatic/SinglePhase.mo index e5e84015d3..36aa52898f 100644 --- a/ModelicaTest/Electrical/QuasiStatic/SinglePhase.mo +++ b/ModelicaTest/Electrical/QuasiStatic/SinglePhase.mo @@ -265,5 +265,6 @@ package SinglePhase "Single-phase quasi-static package" connect(currentCurrent.pin_p, impedanceC.pin_n) annotation (Line(points={{20,-50},{20,-60},{50,-60},{50,-50}}, color={85,170,255})); connect(groundI1.pin, currentCurrent.pin_p) annotation (Line(points={{0,-60},{20,-60},{20,-50}}, color={85,170,255})); connect(complexRampC.y, impedanceC.Z_ref) annotation (Line(points={{69,-40},{62,-40}}, color={85,170,255})); + annotation(experiment(StopTime = 1.0, Interval = 0.0002)); end FrequencySweep; end SinglePhase;