@@ -38,6 +38,11 @@ model Supervisory
3838 final unit= "K" ,
3939 displayUnit= "degC" )
4040 "Minimum value of chilled water supply temperature set point" ;
41+ parameter Real TChiWatSupSetMax(
42+ final quantity= "ThermodynamicTemperature" ,
43+ final unit= "K" ,
44+ displayUnit= "degC" )
45+ "Maximum value of chilled water supply temperature set point" ;
4146
4247 Buildings.Controls.OBC.CDL.Interfaces.RealInput yValIsoCon_actual(
4348 final unit= "1" )
@@ -67,51 +72,61 @@ model Supervisory
6772 Buildings.Controls.OBC.CDL.Reals.Max max1[nSouAmb]
6873 "Maximum of output control signals"
6974 annotation (Placement(transformation(extent={{50,-10},{70,10}})));
70- Buildings.DHC.ETS.Combined.Controls.Reset resTSup (
71- final THeaWatSupSetMin = THeaWatSupSetMin)
72- "Supply temperature reset"
75+ Buildings.DHC.ETS.Combined.Controls.Reset resTHeaSup (
76+ final TWatSupSetMinMax = THeaWatSupSetMin)
77+ "Heating water supply temperature reset"
7378 annotation (Placement(transformation(extent={{-70,10},{-50,30}})));
79+ Buildings.DHC.ETS.Combined.Controls.Reset resTCooSup(
80+ final TWatSupSetMinMax= TChiWatSupSetMax)
81+ "Chilled water supply temperature reset"
82+ annotation (Placement(transformation(extent={{-70,-40},{-50,-20}})));
7483equation
7584 connect (conHot.yAmb,max1.u1)
7685 annotation (Line(points={{22,34},{40,34},{40,6},{48,6}},color={0,0,127}));
7786 connect (conCol.yAmb,max1.u2)
7887 annotation (Line(points={{22,-28},{40,-28},{40,-6},{48,-6}},color={0,0,127}));
7988 connect (conHot.yCol,conCol.uCol)
8089 annotation (Line(points={{22,26},{30,26},{30,0},{-14,0},{-14,-32.2},{-2,-32.2}},color={0,0,127}));
81- connect (resTSup.THeaWatSupSet, conHot.TSet)
82- annotation (Line(points={{-48,20},{- 30,20},{-30,34.2 },{-2,34.2 }},color={0,0,127}));
90+ connect (resTHeaSup.TWatSupSet, conHot.TSet) annotation (Line(points={{-48,20},
91+ {- 30,20},{-30,32 },{-2,32 }}, color={0,0,127}));
8392 connect (THeaWatTop,conHot.TTop)
84- annotation (Line(points={{-140,0},{-26,0},{-26,30 },{-2,30 }},color={0,0,127}));
93+ annotation (Line(points={{-140,0},{-26,0},{-26,28 },{-2,28 }},color={0,0,127}));
8594 connect (max1.y,yAmb)
8695 annotation (Line(points={{72,0},{90,0},{90,-20},{140,-20}},color={0,0,127}));
8796 connect (TChiWatBot,conCol.TBot)
8897 annotation (Line(points={{-140,-60},{-40,-60},{-40,-40.4},{-2,-40.4}},color={0,0,127}));
89- connect (THeaWatSupPreSet,resTSup.THeaWatSupPreSet)
90- annotation (Line(points={{ -140,20},{-80,20},{-80,15 },{-72,15 }},color={0,0,127}));
98+ connect (THeaWatSupPreSet, resTHeaSup.TWatSupPreSet) annotation (Line(points={{
99+ -140,20},{-80,20},{-80,14 },{-72,14 }}, color={0,0,127}));
91100 connect (conHot.yValIso,yValIsoCon)
92101 annotation (Line(points={{22,30},{60,30},{60,20},{140,20}},color={0,0,127}));
93102 connect (conCol.yValIso,yValIsoEva)
94103 annotation (Line(points={{22,-32},{100,-32},{100,0},{140,0}},color={0,0,127}));
95- connect (resTSup.THeaWatSupSet, THeaWatSupSet)
96- annotation (Line(points={{-48,20},{- 30,20},{-30,-60},{140,-60}},color={0,0,127}));
104+ connect (resTHeaSup.TWatSupSet, THeaWatSupSet) annotation (Line(points={{-48,20},
105+ {- 30,20},{-30,-60},{140,-60}}, color={0,0,127}));
97106 connect (conCol.TChiWatSupSet,TChiWatSupSet)
98107 annotation (Line(points={{22,-36},{100,-36},{100,-80},{140,-80}},color={0,0,127}));
99- connect (TChiWatSupPreSet,conCol.TSet)
100- annotation (Line(points={{-140,-40},{-44,-40},{-44,-36.2},{-2,-36.2}},color={0,0,127}));
101- connect (uHeaHol.y,conHot.uHeaCoo)
102- annotation (Line(points={{-88,100},{-20,100},{-20,38},{-2,38}},color={255,0,255}));
108+ connect (uHeaHol.y, conHot.uHea) annotation (Line(points={{-88,100},{-20,100},
109+ {-20,40},{-2,40}}, color={255,0,255}));
103110 connect (uCooHol.y,conCol.uHeaCoo)
104111 annotation (Line(points={{-88,60},{-40,60},{-40,-24},{-2,-24}},color={255,0,255}));
105- connect (uHeaHol.y,resTSup.uHea)
106- annotation (Line(points={{-88,100},{- 80,100},{-80, 26},{-72,26}},color={255,0,255}));
112+ connect (uHeaHol.y, resTHeaSup.u) annotation (Line(points={{-88,100},{-80,100},
113+ {- 80,26},{-72,26}}, color={255,0,255}));
107114 connect (uHeaHol.y,yHea)
108115 annotation (Line(points={{-88,100},{140,100}},color={255,0,255}));
109116 connect (uCooHol.y,yCoo)
110117 annotation (Line(points={{-88,60},{140,60}},color={255,0,255}));
111118 connect (yValIsoCon_actual,conHot.yValIsoCon_actual)
112- annotation (Line(points={{-140,-80},{-22,-80},{-22,26 },{-2,26 }},color={0,0,127}));
119+ annotation (Line(points={{-140,-80},{-22,-80},{-22,24 },{-2,24 }},color={0,0,127}));
113120 connect (yValIsoEva_actual,conHot.yValIsoEva_actual)
114- annotation (Line(points={{-140,-100},{-18,-100},{-18,22},{-2,22}},color={0,0,127}));
121+ annotation (Line(points={{-140,-100},{-18,-100},{-18,20},{-2,20}},color={0,0,127}));
122+ connect (conHot.uCoo, uCooHol.y) annotation (Line(points={{-2,36},{-40,36},{
123+ -40,60},{-88,60}}, color={255,0,255}));
124+ connect (TChiWatSupPreSet, resTCooSup.TWatSupPreSet) annotation (Line(points={{-140,
125+ -40},{-80,-40},{-80,-36},{-72,-36}}, color={0,0,127}));
126+ connect (uCooHol.y, resTCooSup.u) annotation (Line(points={{-88,60},{-40,60},{-40,
127+ -10},{-80,-10},{-80,-24},{-72,-24}}, color={255,0,255}));
128+ connect (resTCooSup.TWatSupSet, conCol.TSet) annotation (Line(points={{-48,-30},
129+ {-40,-30},{-40,-36},{-22,-36},{-22,-36.2},{-2,-36.2}}, color={0,0,127}));
115130 annotation (
116131 Icon(
117132 coordinateSystem(
@@ -125,6 +140,20 @@ equation
125140 revisions="<html>
126141<ul>
127142<li>
143+ March 6, 2025, by Hongxiang Fu:<br/>
144+ <ul>
145+ <li>
146+ Added reset to the chilled water set point.
147+ </li>
148+ <li>
149+ Added <code>uCoo</code> as an additional input
150+ to <code>conHot</code>.
151+ </li>
152+ </ul>
153+ These are for
154+ <a href=\" https://github.com/lbl-srg/modelica-buildings/issues/4133\">#4133</a>.
155+ </li>
156+ <li>
128157July 31, 2020, by Antoine Gautier:<br/>
129158First implementation.
130159</li>
0 commit comments