diff --git a/Buildings/Air/Systems/SingleZone/VAV/ChillerDXHeatingEconomizer.mo b/Buildings/Air/Systems/SingleZone/VAV/ChillerDXHeatingEconomizer.mo index af7cae5a84a..50622e3b66c 100644 --- a/Buildings/Air/Systems/SingleZone/VAV/ChillerDXHeatingEconomizer.mo +++ b/Buildings/Air/Systems/SingleZone/VAV/ChillerDXHeatingEconomizer.mo @@ -22,8 +22,8 @@ model ChillerDXHeatingEconomizer parameter Modelica.Units.SI.Power QCoo_flow_nominal(max=0) "Design capacity of cooling coil" annotation (Dialog(group="Cooling design")); - parameter Modelica.Units.SI.PressureDifference dp_nominal(displayUnit="Pa") - = 500 "Design pressure drop of flow leg with fan" + parameter Modelica.Units.SI.PressureDifference dp_nominal(displayUnit="Pa")= + 500 "Design pressure drop of flow leg with fan" annotation (Dialog(group="Air design")); final parameter Modelica.Units.SI.MassFlowRate mChiEva_flow_nominal=- QCoo_flow_nominal/Buildings.Utilities.Psychrometrics.Constants.cpWatLiq/4 @@ -68,32 +68,32 @@ model ChillerDXHeatingEconomizer iconTransformation(extent={{192,-30},{212,-10}}))); Modelica.Blocks.Interfaces.RealOutput PFan(final unit="W") "Electrical power consumed by the supply fan" - annotation (Placement(transformation(extent={{202,150},{222,170}}), - iconTransformation(extent={{202,150},{222,170}}))); + annotation (Placement(transformation(extent={{200,140},{220,160}}), + iconTransformation(extent={{200,140},{220,160}}))); Modelica.Blocks.Interfaces.RealOutput QHea_flow(final unit="W") "Electrical power consumed by the heating equipment" annotation (Placement( - transformation(extent={{202,130},{222,150}}), iconTransformation(extent={{202,130}, - {222,150}}))); + transformation(extent={{200,120},{220,140}}), iconTransformation(extent={{200,120}, + {220,140}}))); Modelica.Blocks.Interfaces.RealOutput PCoo(final unit="W") "Electrical power consumed by the cooling equipment" annotation (Placement( - transformation(extent={{202,110},{222,130}}),iconTransformation(extent={{202,110}, - {222,130}}))); + transformation(extent={{200,100},{220,120}}),iconTransformation(extent={{200,100}, + {220,120}}))); Modelica.Blocks.Interfaces.RealOutput PPum(final unit="W") "Electrical power consumed by the pumps" - annotation (Placement(transformation(extent={{202,90},{222,110}}), - iconTransformation(extent={{202,90},{222,110}}))); + annotation (Placement(transformation(extent={{200,80},{220,100}}), + iconTransformation(extent={{200,80},{220,100}}))); Modelica.Blocks.Interfaces.RealOutput TMix( final unit="K", displayUnit="degC", final quantity="ThermodynamicTemperature") - "Mixed air temperature" annotation (Placement(transformation(extent={{202,-70}, - {222,-50}}), iconTransformation(extent={{202,-70},{222,-50}}))); + "Mixed air temperature" annotation (Placement(transformation(extent={{200,-70}, + {220,-50}}), iconTransformation(extent={{202,-70},{222,-50}}))); Modelica.Blocks.Interfaces.RealOutput TSup( final unit="K", displayUnit="degC", final quantity="ThermodynamicTemperature") "Supply air temperature after coils" - annotation (Placement(transformation(extent={{202,-110},{222,-90}}), + annotation (Placement(transformation(extent={{200,-110},{220,-90}}), iconTransformation(extent={{202,-110},{222,-90}}))); Buildings.BoundaryConditions.WeatherData.Bus weaBus @@ -130,7 +130,7 @@ model ChillerDXHeatingEconomizer final use_inputFilter=false, redeclare package Medium = MediumA) "Supply fan" - annotation (Placement(transformation(extent={{-30,30},{-10,50}}))); + annotation (Placement(transformation(extent={{-30,32},{-10,52}}))); Buildings.Fluid.FixedResistances.PressureDrop totalRes( final m_flow_nominal=mAir_flow_nominal, final dp_nominal=dp_nominal, @@ -140,7 +140,7 @@ model ChillerDXHeatingEconomizer annotation (Placement(transformation(extent={{10,30},{30,50}}))); Modelica.Blocks.Math.Gain eff(k=1/etaHea_nominal) "Heating efficiency" - annotation (Placement(transformation(extent={{120,110},{140,130}}))); + annotation (Placement(transformation(extent={{120,100},{140,120}}))); Buildings.Fluid.Sources.Outside out( final C=fill(0.0004, 1), final nPorts=3, @@ -264,8 +264,8 @@ model ChillerDXHeatingEconomizer final unit="K", displayUnit="degC", final quantity="ThermodynamicTemperature") - "Return air temperature" annotation (Placement(transformation(extent={{202,-90}, - {222,-70}}), iconTransformation(extent={{202,-90},{222,-70}}))); + "Return air temperature" annotation (Placement(transformation(extent={{200,-90}, + {220,-70}}), iconTransformation(extent={{202,-90},{222,-70}}))); Fluid.Sensors.TraceSubstancesTwoPort senTraSub( redeclare package Medium=MediumA, final m_flow_nominal=mAir_flow_nominal, @@ -273,6 +273,8 @@ model ChillerDXHeatingEconomizer "Sensor for trace substance" annotation (Placement(transformation(extent={{40,-50},{20,-30}}))); + Modelica.Blocks.Interfaces.RealOutput y_actual "Actual supply fan speed" + annotation (Placement(transformation(extent={{200,162},{220,182}}))); protected model IdealValve extends Modelica.Blocks.Icons.Block; @@ -366,11 +368,13 @@ protected end IdealValve; equation - connect(fanSup.port_b, totalRes.port_a) annotation (Line(points={{-10,40},{10,40}}, color={0,127,255})); - connect(fanSup.P, PFan) annotation (Line(points={{-9,49},{-6,49},{-6,160},{212, - 160}}, color={0,0,127})); - connect(eff.y, QHea_flow) annotation (Line(points={{141,120},{176,120},{176,140}, - {212,140}}, color={0,0,127})); + connect(fanSup.port_b, totalRes.port_a) annotation (Line(points={{-10,42}, + {0,42},{0,40},{10,40}}, color={0,127,255})); + connect(fanSup.P, PFan) annotation (Line(points={{-9,51},{-6,51},{-6,150},{ + 210,150}}, color={0,0,127})); + connect(eff.y, QHea_flow) annotation (Line(points={{141,110},{166,110},{166, + 130},{210,130}}, + color={0,0,127})); connect(weaBus, out.weaBus) annotation (Line( points={{-180,40},{-140,40},{-140,40.2}}, color={255,204,51}, @@ -378,9 +382,10 @@ equation textString="%first", index=-1, extent={{-6,3},{-6,3}})); - connect(senTMixAir.port_b, fanSup.port_a) annotation (Line(points={{-40,40},{-30,40}}, color={0,127,255})); + connect(senTMixAir.port_b, fanSup.port_a) annotation (Line(points={{-40,40}, + {-36,40},{-36,42},{-30,42}}, color={0,127,255})); connect(heaCoi.Q_flow, eff.u) annotation (Line(points={{73,46},{80,46},{80, - 120},{118,120}}, color={0,0,127})); + 110},{118,110}}, color={0,0,127})); connect(heaCoi.port_b, cooCoi.port_a2) annotation (Line(points={{72,40},{90,40}}, color={0,127,255})); connect(cooCoi.port_b2, senTSup.port_a) annotation (Line(points={{110,40},{128,40}}, color={0,127,255})); connect(cooCoi.port_b1, ideVal.port_1) annotation (Line( @@ -393,7 +398,7 @@ equation connect(souChiWat.ports[1], chi.port_a1) annotation (Line(points={{128,-174}, {128,-174},{110,-174}}, color={0,127,255})); connect(chi.port_b1, out.ports[1]) annotation (Line(points={{90,-174},{-116, - -174},{-116,42.6667},{-120,42.6667}}, color={0,127,255})); + -174},{-116,38.6667},{-120,38.6667}}, color={0,127,255})); connect(weaBus.TDryBul, souChiWat.T_in) annotation (Line( points={{-180,40},{-180,-208},{160,-208},{160,-170},{150,-170}}, color={255,204,51}, @@ -401,10 +406,10 @@ equation textString="%first", index=-1, extent={{-6,3},{-6,3}})); - connect(pumChiWat.P, PPum) annotation (Line(points={{111,-79},{111,-52},{180,-52}, - {180,100},{212,100}}, color={0,0,127})); - connect(chi.P, PCoo) annotation (Line(points={{89,-177},{84,-177},{84,-128},{98, - -128},{98,-50},{178,-50},{178,120},{212,120}}, + connect(pumChiWat.P, PPum) annotation (Line(points={{111,-79},{111,-52},{180, + -52},{180,90},{210,90}}, color={0,0,127})); + connect(chi.P, PCoo) annotation (Line(points={{89,-177},{84,-177},{84,-128},{ + 98,-128},{98,-50},{178,-50},{178,110},{210,110}}, color={0,0,127})); connect(ideVal.port_2, chi.port_a2) annotation (Line(points={{86,0.2},{86,-162},{90,-162}}, color={0,127,255})); @@ -417,7 +422,8 @@ equation connect(totalRes.port_b, heaCoi.port_a) annotation (Line(points={{30,40},{52,40}}, color={0,127,255})); connect(senTSup.port_b, supplyAir) annotation (Line(points={{148,40},{174,40}, {174,60},{202,60}}, color={0,127,255})); - connect(gaiFan.y, fanSup.m_flow_in) annotation (Line(points={{-59,140},{-20,140},{-20,52}}, color={0,0,127})); + connect(gaiFan.y, fanSup.m_flow_in) annotation (Line(points={{-59,140},{ + -20,140},{-20,54}}, color={0,0,127})); connect(booToInt.y, pumChiWat.m_flow_in) annotation (Line(points={{81,-90},{108,-90}}, color={0,0,127})); connect(booToInt.u, chiOn) annotation (Line(points={{58,-90},{40,-90},{40,-120}, {-220,-120}}, color={255,0,255})); @@ -431,10 +437,10 @@ equation color={0,0,127})); connect(chi.TSet, TSetChi) annotation (Line(points={{112,-165},{124,-165},{124, -200},{-220,-200}}, color={0,0,127})); - connect(senTMixAir.T, TMix) annotation (Line(points={{-50,51},{-50,70},{188,70}, - {188,-60},{212,-60}}, color={0,0,127})); - connect(senTSup.T, TSup) annotation (Line(points={{138,51},{138,64},{170,64},{ - 170,-100},{212,-100}}, color={0,0,127})); + connect(senTMixAir.T, TMix) annotation (Line(points={{-50,51},{-50,70},{188, + 70},{188,-60},{210,-60}}, color={0,0,127})); + connect(senTSup.T, TSup) annotation (Line(points={{138,51},{138,64},{170,64}, + {170,-100},{210,-100}},color={0,0,127})); connect(out.ports[2], ideEco.port_1) annotation (Line(points={{-120,40},{-120, 40},{-99.8,40}}, color={0,127,255})); connect(ideEco.port_2, senTMixAir.port_a) annotation (Line(points={{-80.2,40},{-60,40}}, color={0,127,255})); @@ -443,13 +449,15 @@ equation connect(ideEco.port_3, senTRetAir.port_b) annotation (Line(points={{-90,36},{ -90,-40},{-40,-40}}, color={0,127,255})); connect(senTRetAir.port_b, out.ports[3]) annotation (Line(points={{-40,-40},{ - -112,-40},{-112,36},{-120,36},{-120,37.3333}}, color={0,127,255})); - connect(TRet, senTRetAir.T) annotation (Line(points={{212,-80},{174,-80},{174, + -112,-40},{-112,36},{-120,36},{-120,41.3333}}, color={0,127,255})); + connect(TRet, senTRetAir.T) annotation (Line(points={{210,-80},{174,-80},{174, -20},{-30,-20},{-30,-29}}, color={0,0,127})); connect(senTRetAir.port_a, senTraSub.port_b) annotation (Line(points={{-20,-40},{20,-40}}, color={0,127,255})); connect(senTraSub.port_a, returnAir) annotation (Line(points={{40,-40},{120,-40},{120,-20},{202,-20}}, color={0,127,255})); + connect(fanSup.y_actual, y_actual) annotation (Line(points={{-9,49},{0,49},{0, + 172},{210,172}}, color={0,0,127})); annotation (defaultComponentName="chiDXHeaEco", Icon(coordinateSystem(preserveAspectRatio=false, extent={{-200,-220}, {200,180}}), graphics={ diff --git a/Buildings/Air/Systems/SingleZone/VAV/Examples/Guideline36.mo b/Buildings/Air/Systems/SingleZone/VAV/Examples/Guideline36.mo index 9a09d4c6a76..fd07f77a302 100644 --- a/Buildings/Air/Systems/SingleZone/VAV/Examples/Guideline36.mo +++ b/Buildings/Air/Systems/SingleZone/VAV/Examples/Guideline36.mo @@ -8,30 +8,39 @@ model Guideline36 parameter Modelica.Units.SI.Temperature TSupChi_nominal=279.15 "Design value for chiller leaving water temperature"; - Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Controller con( + Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Controller con( + final VAreBreZon_flow=0.0144, + final VPopBreZon_flow=0.0075, + ecoHigLimCon=Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.FixedDryBulb, + ashCliZon=Buildings.Controls.OBC.ASHRAE.G36.Types.ASHRAEClimateZone.Zone_6B, + freSta=Buildings.Controls.OBC.ASHRAE.G36.Types.FreezeStat.No_freeze_stat, have_winSen=true, - TZonHeaOn=293.15, - TZonCooOff=303.15, - kCoo=4, + have_CO2Sen=false, + buiPreCon=Buildings.Controls.OBC.ASHRAE.G36.Types.BuildingPressureControlTypes.BarometricRelief, + have_locAdj=false, + ignDemLim=false, + kCoo=0.1, + TiCoo=120, + TiHea=120, + TSupDew_max=297.15, + maxHeaSpe=0.2, + maxCooSpe=1, + minSpe=0.1, kCooCoi=1, - yHeaMax=0.2, - AFlo=48, VOutMin_flow=0.0144, VOutDes_flow=0.025, - yMin=0.1, - kHea=4, + kHea=0.1, kMod=4, have_occSen=false, - TZonHeaOff=288.15, - TZonCooOn=298.15, - TSupSetMax=343.15, - TSupSetMin=286.15, - yDam_VOutMin_minSpe=0.2304, - yDam_VOutMin_maxSpe=0.02304, - yDam_VOutDes_minSpe=0.4, - yDam_VOutDes_maxSpe=0.04) + TSup_max=343.15, + TSup_min=286.15, + outDamMinFloMinSpe = 0.2304, + outDamMinFloMaxSpe=0.02304, + outDamDesFloMinSpe=0.4, + outDamDesFloMaxSpe=0.04) "VAV controller" - annotation (Placement(transformation(extent={{-120,-28},{-80,20}}))); + annotation (Placement(transformation(extent={{-120,-20},{-80,60}}))); + Buildings.Controls.OBC.CDL.Continuous.Hysteresis hysChiPla( uLow=-1, uHigh=0) @@ -40,75 +49,98 @@ model Guideline36 Modelica.Blocks.Math.Feedback errTRooCoo "Control error on room temperature for cooling" annotation (Placement(transformation(extent={{-110,-100},{-90,-80}}))); - Controls.SetPoints.OccupancySchedule occSch(occupancy=3600*{8,18}) + Buildings.Controls.SetPoints.OccupancySchedule occSch(occupancy=3600*{8,18}) "Occupancy schedule" - annotation (Placement(transformation(extent={{-180,0},{-160,20}}))); + annotation (Placement(transformation(extent={{-200,0},{-180,20}}))); Modelica.Blocks.Sources.BooleanConstant uWin(k=false) "Window opening signal" - annotation (Placement(transformation(extent={{-180,-90},{-160,-70}}))); + annotation (Placement(transformation(extent={{-200,-90},{-180,-70}}))); Buildings.Controls.OBC.CDL.Integers.Sources.Constant demLim(final k=0) "Cooling and heating demand imit level" - annotation (Placement(transformation(extent={{-180,-50},{-160,-30}}))); + annotation (Placement(transformation(extent={{-200,-30},{-180,-10}}))); Buildings.Controls.OBC.CDL.Continuous.Sources.Constant cooWarTim(final k=0) "Cooldown and warm-up time" - annotation (Placement(transformation(extent={{-180,40},{-160,60}}))); - + annotation (Placement(transformation(extent={{-200,40},{-180,60}}))); + Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TOccHeaSet(final k=293.15) + "Occupied heating setpoint" + annotation (Placement(transformation(extent={{-210,170},{-190,190}}))); + Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TOccCooSet(final k=298.15) + "Occupied cooling setpoint" + annotation (Placement(transformation(extent={{-180,150},{-160,170}}))); + Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TUnoHeaSet(final k=288.15) + "Unoccupied heating setpoint" + annotation (Placement(transformation(extent={{-210,120},{-190,140}}))); + Buildings.Controls.OBC.CDL.Continuous.Sources.Constant TUnoCooSet(final k=303.15) + "Unoccupied cooling setpoint" + annotation (Placement(transformation(extent={{-180,100},{-160,120}}))); + Modelica.Blocks.Sources.BooleanConstant freRes(k=true) + "Freeze protection reset" + annotation (Placement(transformation(extent={{-200,-130},{-180,-110}}))); protected Modelica.Blocks.Sources.Constant TSetSupChiConst(final k=TSupChi_nominal) "Set point for chiller temperature" annotation (Placement(transformation(extent={{-80,-140},{-60,-120}}))); equation - connect(con.yFan, hvac.uFan) annotation (Line(points={{-78,7.07692},{-62, - 7.07692},{-62,18},{-42,18}}, color={0,0,127})); - connect(con.yHeaCoi, hvac.uHea) annotation (Line(points={{-78,-9.53846},{-60, - -9.53846},{-60,12},{-42,12}}, color={0,0,127})); - connect(con.yOutDamPos, hvac.uEco) annotation (Line(points={{-78,-19.6923},{-56, - -19.6923},{-56,-2},{-42,-2}}, color={0,0,127})); + connect(con.yHeaCoi, hvac.uHea) annotation (Line(points={{-78,6},{-70,6},{-70, + 12},{-42,12}}, color={0,0,127})); connect(TSetSupChiConst.y, hvac.TSetChi) annotation (Line(points={{-59,-130}, - {-46,-130},{-46,-18},{-42,-18}}, - color={0,0,127})); + {-46,-130},{-46,-18},{-42,-18}}, color={0,0,127})); connect(errTRooCoo.y, hysChiPla.u) annotation (Line(points={{-91,-90},{-82,-90}}, color={0,0,127})); connect(zon.TRooAir, errTRooCoo.u1) annotation (Line(points={{81,0},{110,0},{110, -152},{-134,-152},{-134,-90},{-108,-90}}, color={0,0,127})); connect(hysChiPla.y, hvac.chiOn) annotation (Line(points={{-58,-90},{-50,-90}, {-50,-10},{-42,-10}}, color={255,0,255})); - connect(weaBus.TDryBul, con.TOut) annotation (Line( - points={{-79,80},{-79,60},{-140,60},{-140,19.0769},{-122,19.0769}}, - color={255,204,51}, - thickness=0.5), Text( - textString="%first", - index=-1, - extent={{-6,3},{-6,3}}, - horizontalAlignment=TextAlignment.Right)); connect(zon.TRooAir, con.TZon) annotation (Line(points={{81,0},{110,0},{110,-152}, - {-134,-152},{-134,8},{-122,8}}, color={0,0,127})); - connect(hvac.TSup, con.TSup) annotation (Line(points={{1.2,-8},{10,-8},{10, - -50},{-130,-50},{-130,-2.15385},{-122,-2.15385}}, color={0,0,127})); - connect(hvac.TMix, con.TMix) annotation (Line(points={{1.2,-4},{14,-4},{14, - -46},{-128,-46},{-128,-7.69231},{-122,-7.69231}}, color={0,0,127})); - connect(occSch.tNexOcc, con.tNexOcc) annotation (Line(points={{-159,16},{-150, - 16},{-150,10.7692},{-122,10.7692}}, color={0,0,127})); - connect(con.uOcc, occSch.occupied) annotation (Line(points={{-122,5.23077},{-152, - 5.23077},{-152,4},{-159,4}}, color={255,0,255})); - connect(uWin.y, con.uWin) annotation (Line(points={{-159,-80},{-136,-80},{ - -136,-13.2308},{-122,-13.2308}}, color={255,0,255})); - connect(con.TZonCooSet, errTRooCoo.u2) annotation (Line(points={{-78,-4},{-74, - -4},{-74,-40},{-120,-40},{-120,-110},{-100,-110},{-100,-98}}, color={ + {-134,-152},{-134,46},{-122,46}}, color={0,0,127})); + connect(occSch.tNexOcc, con.tNexOcc) annotation (Line(points={{-179,16},{-170, + 16},{-170,49},{-122,49}}, color={0,0,127})); + connect(con.TZonCooSet, errTRooCoo.u2) annotation (Line(points={{-78,39},{-74, + 39},{-74,-40},{-120,-40},{-120,-110},{-100,-110},{-100,-98}}, color={ 0,0,127})); - connect(hvac.TRet, con.TCut) annotation (Line(points={{1.2,-6},{12,-6},{12, - -48},{-132,-48},{-132,-4.92308},{-122,-4.92308}}, color={0,0,127})); - connect(demLim.y, con.uCooDemLimLev) annotation (Line(points={{-158,-40},{-138, - -40},{-138,2.46154},{-122,2.46154}}, color={255,127,0})); - connect(demLim.y, con.uHeaDemLimLev) annotation (Line(points={{-158,-40},{-138, - -40},{-138,0.615385},{-122,0.615385}}, color={255,127,0})); - connect(cooWarTim.y, con.warUpTim) annotation (Line(points={{-158,50},{-142, - 50},{-142,16.3077},{-122,16.3077}}, color={0,0,127})); - connect(cooWarTim.y, con.cooDowTim) annotation (Line(points={{-158,50},{-142, - 50},{-142,13.5385},{-122,13.5385}}, color={0,0,127})); - connect(con.yCooCoi, hvac.uCooVal) annotation (Line(points={{-78,-15.0769},{ - -58,-15.0769},{-58,5},{-42,5}}, color={0,0,127})); - - annotation (Diagram(coordinateSystem(extent={{-200,-160},{120,100}})), + connect(demLim.y, con.uCooDemLimLev) annotation (Line(points={{-178,-20},{-162, + -20},{-162,26},{-122,26}}, color={255,127,0})); + connect(demLim.y, con.uHeaDemLimLev) annotation (Line(points={{-178,-20},{-162, + -20},{-162,24},{-122,24}}, color={255,127,0})); + connect(cooWarTim.y, con.warUpTim) annotation (Line(points={{-178,50},{-170,50}, + {-170,54},{-122,54}}, color={0,0,127})); + connect(cooWarTim.y, con.cooDowTim) annotation (Line(points={{-178,50},{-170,50}, + {-170,56},{-122,56}}, color={0,0,127})); + connect(con.yCooCoi, hvac.uCooVal) annotation (Line(points={{-78,9},{-66,9},{-66, + 5},{-42,5}}, color={0,0,127})); + connect(TOccHeaSet.y, con.TOccHeaSet) annotation (Line(points={{-188,180},{-150, + 180},{-150,44},{-122,44}}, color={0,0,127})); + connect(TOccCooSet.y, con.TOccCooSet) annotation (Line(points={{-158,160},{-150, + 160},{-150,42},{-122,42}}, color={0,0,127})); + connect(TUnoHeaSet.y, con.TUnoHeaSet) annotation (Line(points={{-188,130},{-146, + 130},{-146,40},{-122,40}}, color={0,0,127})); + connect(TUnoCooSet.y, con.TUnoCooSet) annotation (Line(points={{-158,110},{-146, + 110},{-146,38},{-122,38}}, color={0,0,127})); + connect(weaBus.TDryBul, con.TOut) annotation (Line( + points={{-79,80},{-80,80},{-80,68},{-130,68},{-130,59},{-122,59}}, + color={255,204,51}, + thickness=0.5)); + connect(uWin.y, con.u1Win) annotation (Line(points={{-179,-80},{-158,-80},{-158, + 13},{-122,13}}, color={255,0,255})); + connect(occSch.occupied, con.u1Occ) annotation (Line(points={{-179,4},{-166,4}, + {-166,51},{-122,51}}, color={255,0,255})); + connect(hvac.TSup, con.TAirSup) annotation (Line(points={{1.2,-8},{10,-8},{10, + -50},{-154,-50},{-154,16},{-122,16}}, color={0,0,127})); + connect(hvac.TMix, con.TAirMix) annotation (Line(points={{1.2,-4},{14,-4},{14, + -52},{-150,-52},{-150,-9},{-122,-9}}, color={0,0,127})); + connect(con.ySupFan, hvac.uFan) annotation (Line(points={{-78,24},{-58,24},{ + -58,18},{-42,18}}, + color={0,0,127})); + connect(con.yCooCoi, con.uCooCoi_actual) annotation (Line(points={{-78,9},{-66, + 9},{-66,-34},{-142,-34},{-142,-17},{-122,-17}}, color={0,0,127})); + connect(con.yHeaCoi, con.uHeaCoi_actual) annotation (Line(points={{-78,6},{-70, + 6},{-70,-30},{-138,-30},{-138,-19},{-122,-19}}, color={0,0,127})); + connect(freRes.y, con.u1SofSwiRes) annotation (Line(points={{-179,-120},{-166, + -120},{-166,1},{-122,1}}, color={255,0,255})); + connect(con.yOutDam, hvac.uEco) annotation (Line(points={{-78,29},{-62,29},{ + -62,-2},{-42,-2}}, color={0,0,127})); + connect(con.ySupFan, con.uSupFan_actual) annotation (Line(points={{-78,24},{ + -58,24},{-58,-38},{-146,-38},{-146,-14},{-122,-14}}, color={0,0,127})); + annotation (Diagram(coordinateSystem(extent={{-220,-200},{120,200}})), experiment( StopTime=864000, Interval=3600, @@ -124,6 +156,10 @@ with ASHRAE Guideline 36 control sequence. ", revisions="