Skip to content

Commit 00da99c

Browse files
Revert program changes in RetailPackagedTESCoil.idf; instead just initialize Troof along with the other global vars.
1 parent 7ab44a1 commit 00da99c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

testfiles/RetailPackagedTESCoil.idf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7949,7 +7949,8 @@
79497949
SET SumReliefMCT = SumReliefMCT + (h_Relief_4 * mdotRelief_4 ); !- <none>
79507950

79517951
EnergyManagementSystem:Program,
7952-
IntializeParameters, !- Name
7952+
InitializeParameters, !- Name
7953+
Set Troof = 0.0, !- <none>
79537954
Set CV_Height = 1.0, !- Program Line 1
79547955
Set CV_effWidth = 40.0, !- Program Line 2
79557956
Set CV_crossSectArea = CV_Height * CV_effWidth, !- <none>
@@ -8101,7 +8102,7 @@
81018102
EnergyManagementSystem:ProgramCallingManager,
81028103
Model Flat Roof Microclimate, !- Name
81038104
BeginTimestepBeforePredictor, !- EnergyPlus Model Calling Point
8104-
IntializeParameters, !- Program Name 1
8105+
InitializeParameters, !- Program Name 1
81058106
ModelFlatRoofMicroClime, !- Program Name 2
81068107
ApplyMicroClimeActuators;!- Program Name 3
81078108

@@ -8114,13 +8115,13 @@
81148115
Run SumIntakeMassFlowHeatCap, !- <none>
81158116
Run SumReliefAirMCTterm, !- <none>
81168117
Run CalcWindTerms, !- <none>
8117-
IF Ta < 2.0, !- <none>
8118-
Set Troof = Ta, !- <none>
8119-
ENDIF, !- <none>
81208118
Run CalcBouyancyTerms, !- <none>
81218119
Set Numerator = WindMCT + NatBouyMCT + SumHATroof + QdotCond + SumReliefMCT, !- <none>
81228120
Set Denominator = WindMC + NatBouyMC + SumHAroof + SumIntakeMdotCp, !- <none>
81238121
Set Troof = Numerator / Denominator, !- <none>
8122+
IF Ta < 2.0, !- <none>
8123+
Set Troof = Ta, !- <none>
8124+
ENDIF, !- <none>
81248125
IF Troof < Twb, !- <none>
81258126
Set Twb = Troof - 0.2, !- <none>
81268127
ENDIF; !- <none>

0 commit comments

Comments
 (0)