Skip to content

Commit

Permalink
Removed duplicate connection in ETS model (maint 11.x) (#4060)
Browse files Browse the repository at this point in the history
This removes a duplicate signal connection
  • Loading branch information
mwetter authored Nov 23, 2024
1 parent e16e162 commit da1cec1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions Buildings/DHC/ETS/Combined/Examples/ChillerOnly.mo
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ equation
annotation (Line(points={{-266,60},{-252,60}},color={0,0,127}));
connect(loaNorCoo.y,loaCooNor.u)
annotation (Line(points={{286,60},{272,60}},color={0,0,127}));
connect(TDisWatSup.y[1],disWat.T_in)
annotation (Line(points={{-309,-140},{-140,-140},{-140,-136},{-122,-136}},color={0,0,127}));
annotation (
__Dymola_Commands(
file="modelica://Buildings/Resources/Scripts/Dymola/DHC/ETS/Combined/Examples/ChillerOnly.mos" "Simulate and plot"),
Expand All @@ -66,6 +64,10 @@ equation
revisions="<html>
<ul>
<li>
November 22, 2024, by Michael Wetter:<br/>
Removed duplicate connection.
</li>
<li>
July 31, 2020, by Antoine Gautier:<br/>
First implementation.
</li>
Expand Down
6 changes: 4 additions & 2 deletions Buildings/DHC/ETS/Combined/Validation/ChillerOnly.mo
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ model ChillerOnly
"District water supply temperature"
annotation (Placement(transformation(extent={{-330,-150},{-310,-130}})));
equation
connect(TDisWatSup.y[1],disWat.T_in)
annotation (Line(points={{-309,-140},{-140,-140},{-140,-136},{-122,-136}},color={0,0,127}));
connect(loa.y[2],heaLoaNor.u)
annotation (Line(points={{-309,160},{-300,160},{-300,60},{-252,60}},color={0,0,127}));
connect(loa.y[1],loaCooNor.u)
Expand All @@ -33,6 +31,10 @@ equation
revisions="<html>
<ul>
<li>
November 22, 2024, by Michael Wetter:<br/>
Removed duplicate connection.
</li>
<li>
July 31, 2020, by Antoine Gautier:<br/>
First implementation.
</li>
Expand Down
6 changes: 4 additions & 2 deletions Buildings/DHC/ETS/Combined/Validation/ChillerWSE.mo
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ model ChillerWSE
"District water supply temperature"
annotation (Placement(transformation(extent={{-330,-150},{-310,-130}})));
equation
connect(TDisWatSup.y[1],disWat.T_in)
annotation (Line(points={{-309,-140},{-140,-140},{-140,-136},{-122,-136}},color={0,0,127}));
connect(loa.y[2],heaLoaNor.u)
annotation (Line(points={{-309,160},{-300,160},{-300,60},{-252,60}},color={0,0,127}));
connect(loa.y[1],loaCooNor.u)
Expand All @@ -36,6 +34,10 @@ equation
revisions="<html>
<ul>
<li>
November 22, 2024, by Michael Wetter:<br/>
Removed duplicate connection.
</li>
<li>
July 31, 2020, by Antoine Gautier:<br/>
First implementation.
</li>
Expand Down

0 comments on commit da1cec1

Please sign in to comment.