Skip to content

Commit

Permalink
corrected condition for enabling returning air temperature input
Browse files Browse the repository at this point in the history
  • Loading branch information
JayHuLBL committed Sep 20, 2023
1 parent 3e8cc69 commit 4ed0089
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ block Controller "Multizone VAV air handling unit controller"
annotation (__cdl(ValueInReference=false),
Dialog(group="Economizer design",
enable=buiPreCon==Buildings.Controls.OBC.ASHRAE.G36.Types.BuildingPressureControlTypes.ReliefFan));
parameter Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer ecoHigLimCon=
Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.FixedDryBulb
parameter Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer ecoHigLimCon=Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.
FixedDryBulb
"Economizer high limit control device"
annotation (__cdl(ValueInReference=false),
Dialog(group="Economizer design"));
Expand Down Expand Up @@ -641,8 +641,8 @@ block Controller "Multizone VAV air handling unit controller"
Buildings.Controls.OBC.CDL.Interfaces.RealInput TAirRet(
final unit="K",
displayUnit="degC",
final quantity="ThermodynamicTemperature")
if ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.DifferentialDryBulb
final quantity="ThermodynamicTemperature") if (ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.DifferentialDryBulb
or ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.FixedDryBulbWithDifferentialDryBulb)
"Used only for fixed plus differential dry bulb temperature high limit cutoff"
annotation (Placement(transformation(extent={{-400,-100},{-360,-60}}),
iconTransformation(extent={{-240,-100},{-200,-60}})));
Expand Down Expand Up @@ -1289,7 +1289,8 @@ annotation (
extent={{-196,-70},{-160,-90}},
textColor={0,0,0},
textString="TAirRet",
visible=ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.DifferentialDryBulb),
visible=(ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.DifferentialDryBulb
or ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.FixedDryBulbWithDifferentialDryBulb)),
Text(
extent={{-196,-90},{-160,-108}},
textColor={0,0,0},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ block Controller
Buildings.Controls.OBC.CDL.Interfaces.RealInput TAirRet(
final unit="K",
displayUnit="degC",
final quantity="ThermodynamicTemperature")
if ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.DifferentialDryBulb
final quantity="ThermodynamicTemperature") if (ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.DifferentialDryBulb
or ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.FixedDryBulbWithDifferentialDryBulb)
"Used only for fixed plus differential dry bulb temperature high limit cutoff"
annotation (Placement(transformation(extent={{-280,-120},{-240,-80}}),
iconTransformation(extent={{-140,-80},{-100,-40}})));
Expand Down Expand Up @@ -589,7 +589,9 @@ annotation (defaultComponentName="ecoCon",
extent={{-100,-52},{-58,-66}},
textColor={0,0,127},
pattern=LinePattern.Dash,
visible=ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.DifferentialDryBulb,
visible=(ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.DifferentialDryBulb
or ecoHigLimCon == Buildings.Controls.OBC.ASHRAE.G36.Types.ControlEconomizer.FixedDryBulbWithDifferentialDryBulb),
textString="TAirRet"),
Text(
extent={{-100,-82},{-58,-98}},
Expand Down

0 comments on commit 4ed0089

Please sign in to comment.