From 48c7b773a1b526a982a4b70d9e2a075455e946a0 Mon Sep 17 00:00:00 2001 From: HOS Date: Fri, 12 May 2023 17:21:01 +0200 Subject: [PATCH] Messedup --- .../Electrical/QuasiStatic/SinglePhase/Examples/Transformer.mo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer.mo b/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer.mo index 07b5329fb4..4163f97bb3 100644 --- a/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer.mo +++ b/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer.mo @@ -60,7 +60,8 @@ equation connect(load.f, constFrequency.y) annotation (Line(points={{92,-36},{100,-36},{100,-80},{81,-80}}, color={0,0,127})); connect(sensorL.currentP, v2.pin_p) annotation (Line(points={{50,-10},{40,-10},{40,-22}}, color={85,170,255})); connect(i2.pin_n, sensorL.currentP) annotation (Line(points={{40,-10},{40,-10},{50,-10}}, color={85,170,255})); - connect(sensor0.currentN, i1.pin_p) annotation (Line(points={{-60,-10},{-60,-10}}, color={85,170,255}));85,170,255})); + connect(sensor0.currentN, i1.pin_p) annotation (Line(points={{-60,-10},{-60,-10}}, color={85,170,255})); + connect(i1.pin_n, zk.pin_p) annotation (Line(points={{-40,-10},{-35,-10},{-30,-10}}, color={85,170,255})); connect(idealTransformer.pin_p2, i2.pin_p) annotation (Line(points={{10,-20},{12,-20},{12,-10},{20,-10}}, color={85,170,255})); annotation (experiment(StopTime=1),Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics={Rectangle( extent={{50,10},{96,-60}},