Skip to content

Commit

Permalink
Avoid bad line-breaks in connect-annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Jan 11, 2024
1 parent 2b643d4 commit 7b1aab4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ equation
connect(currentSource.p, ground.p)
annotation (Line(points={{-40,-10},{-20,-10}}, color={0,0,255}));
connect(ground.p, capacitor.n)
annotation (Line(points={{-20,-10},{0,-10}},
color={0,0,255}));
annotation (Line(points={{-20,-10},{0,-10}}, color={0,0,255}));
connect(currentSource.n, capacitor.p)
annotation (Line(points={{-40,10},{0,10}},
color={0,0,255}));
annotation (Line(points={{-40,10},{0,10}}, color={0,0,255}));
annotation (Icon(coordinateSystem(
preserveAspectRatio=false, extent={{-100,-100},{100,100}}),
graphics={Text(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ equation
connect(dcpm.flange, loadInertia.flange_a) annotation (Line(
points={{20,-20},{40,-20}}));
connect(dcpm.pin_an, ground.p)
annotation (Line(points={{4,-10},{4,0},{-8,0}},
color={0,0,255}));
annotation (Line(points={{4,-10},{4,0},{-8,0}},color={0,0,255}));
connect(signalVoltage.p, currentSensor.p)
annotation (Line(points={{20,30},{20,20}}, color={0,0,255}));
connect(currentSensor.n, dcpm.pin_ap)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ equation
connect(ToSpacePhasor1.y, ToPolar1.u) annotation (Line(
points={{0,-1},{0,-18}}, color={0,0,127}));
connect(ToPolar1.y[1], Gain1.u) annotation (Line(
points={{0,-41},{0,-50.5},{0,-58}},
color={0,0,127}));
points={{0,-41},{0,-50.5},{0,-58}}, color={0,0,127}));
connect(Gain1.y, I) annotation (Line(
points={{0,-81},{0,-110}}, color={0,0,127}));
annotation (defaultComponentName="currentRMSSensor",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ equation
connect(multiSensor.pc, multiSensor.pv)
annotation (Line(points={{-10,40},{-10,50},{0,50}}, color={0,0,255}));
connect(multiSensor.nv,star2. plug_p)
annotation (Line(points={{0,30},{0,10}},
color={0,0,255}));
annotation (Line(points={{0,30},{0,10}}, color={0,0,255}));
connect(terminalBox.plug_sn, imc.plug_sn)
annotation (Line(points={{14,10},{14,10}}, color={0,0,255}));
connect(terminalBox.plug_sp, imc.plug_sp)
Expand Down

0 comments on commit 7b1aab4

Please sign in to comment.