Skip to content

Commit 7d3063a

Browse files
committed
Set evapmassflow to zero
1 parent 4f9f8b1 commit 7d3063a

File tree

5 files changed

+23
-3
lines changed

5 files changed

+23
-3
lines changed

src/EnergyPlus/ChillerAbsorption.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,6 +1729,8 @@ void BLASTAbsorberSpecs::calculate(EnergyPlusData &state, Real64 &MyLoad, bool R
17291729
this->CondMassFlowRate = 0.0;
17301730
this->QCondenser = 0.0;
17311731
MyLoad = 0.0;
1732+
this->EvapMassFlowRate = 0.0;
1733+
PlantUtilities::SetComponentFlowRate(state, this->EvapMassFlowRate, this->EvapInletNodeNum, this->EvapOutletNodeNum, this->CWPlantLoc);
17321734
return;
17331735
// V7 plant upgrade, no longer fatal here anymore, set some things and return
17341736
}

src/EnergyPlus/ChillerElectricASHRAE205.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,6 +1341,8 @@ void ASHRAE205ChillerSpecs::calculate(EnergyPlusData &state, Real64 &MyLoad, boo
13411341
MyLoad = 0.0;
13421342
this->Power = standbyPower;
13431343
this->AmbientZoneGain = standbyPower;
1344+
this->EvapMassFlowRate = 0.0;
1345+
PlantUtilities::SetComponentFlowRate(state, this->EvapMassFlowRate, this->EvapInletNodeNum, this->EvapOutletNodeNum, this->CWPlantLoc);
13441346
return;
13451347
}
13461348
}

src/EnergyPlus/ChillerIndirectAbsorption.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,6 +2000,8 @@ void IndirectAbsorberSpecs::calculate(EnergyPlusData &state, Real64 MyLoad, bool
20002000
this->CondMassFlowRate = 0.0;
20012001
this->QCondenser = 0.0;
20022002
MyLoad = 0.0;
2003+
this->EvapMassFlowRate = 0.0;
2004+
PlantUtilities::SetComponentFlowRate(state, this->EvapMassFlowRate, this->EvapInletNodeNum, this->EvapOutletNodeNum, this->CWPlantLoc);
20032005
return;
20042006
// V7 plant upgrade, no longer fatal here anymore... set some things and return
20052007
}

src/EnergyPlus/ChillerReformulatedEIR.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,6 +2149,8 @@ void ReformulatedEIRChillerSpecs::calculate(EnergyPlusData &state, Real64 &MyLoa
21492149

21502150
if (this->CondMassFlowRate < DataBranchAirLoopPlant::MassFlowTolerance) {
21512151
MyLoad = 0.0;
2152+
this->EvapMassFlowRate = 0.0;
2153+
PlantUtilities::SetComponentFlowRate(state, this->EvapMassFlowRate, this->EvapInletNodeNum, this->EvapOutletNodeNum, this->CWPlantLoc);
21522154
return;
21532155
}
21542156
}

src/EnergyPlus/PlantChillers.cc

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -964,9 +964,9 @@ namespace PlantChillers {
964964
}
965965
}
966966
} // IF (.NOT. AnyEnergyManagementSystemInModel) THEN
967-
} // IF(THeatRecSetpoint == DataLoopNode::SensedNodeFlagValue)THEN
968-
} // IF(ElectricChiller(ChillNum)%HeatRecSetpointNodeNum > 0)THEN
969-
} // IF (ElectricChiller(ChillNum)%HeatRecActive) THEN
967+
} // IF(THeatRecSetpoint == DataLoopNode::SensedNodeFlagValue)THEN
968+
} // IF(ElectricChiller(ChillNum)%HeatRecSetpointNodeNum > 0)THEN
969+
} // IF (ElectricChiller(ChillNum)%HeatRecActive) THEN
970970

971971
this->MyEnvrnFlag = false;
972972
}
@@ -1470,6 +1470,9 @@ namespace PlantChillers {
14701470
state, this->CWPlantLoc, this->CondMassFlowIndex, this->CDPlantLoc, DataPlant::CriteriaType::MassFlowRate, this->CondMassFlowRate);
14711471
if (this->CondMassFlowRate < DataBranchAirLoopPlant::MassFlowTolerance) {
14721472
MyLoad = 0.0;
1473+
this->EvapMassFlowRate = 0.0;
1474+
PlantUtilities::SetComponentFlowRate(
1475+
state, this->EvapMassFlowRate, this->EvapInletNodeNum, this->EvapOutletNodeNum, this->CWPlantLoc);
14731476
return;
14741477
}
14751478
}
@@ -3598,6 +3601,9 @@ namespace PlantChillers {
35983601
state, this->CWPlantLoc, this->CondMassFlowIndex, this->CDPlantLoc, DataPlant::CriteriaType::MassFlowRate, this->CondMassFlowRate);
35993602
if (this->CondMassFlowRate < DataBranchAirLoopPlant::MassFlowTolerance) {
36003603
MyLoad = 0.0;
3604+
this->EvapMassFlowRate = 0.0;
3605+
PlantUtilities::SetComponentFlowRate(
3606+
state, this->EvapMassFlowRate, this->EvapInletNodeNum, this->EvapOutletNodeNum, this->CWPlantLoc);
36013607
return;
36023608
}
36033609
}
@@ -5613,6 +5619,9 @@ namespace PlantChillers {
56135619

56145620
if (this->CondMassFlowRate < DataBranchAirLoopPlant::MassFlowTolerance) {
56155621
MyLoad = 0.0;
5622+
this->EvapMassFlowRate = 0.0;
5623+
PlantUtilities::SetComponentFlowRate(
5624+
state, this->EvapMassFlowRate, this->EvapInletNodeNum, this->EvapOutletNodeNum, this->CWPlantLoc);
56165625
return;
56175626
}
56185627
}
@@ -7324,6 +7333,9 @@ namespace PlantChillers {
73247333

73257334
if (this->CondMassFlowRate < DataBranchAirLoopPlant::MassFlowTolerance) {
73267335
MyLoad = 0.0;
7336+
this->EvapMassFlowRate = 0.0;
7337+
PlantUtilities::SetComponentFlowRate(
7338+
state, this->EvapMassFlowRate, this->EvapInletNodeNum, this->EvapOutletNodeNum, this->CWPlantLoc);
73277339
return;
73287340
}
73297341
}

0 commit comments

Comments
 (0)