@@ -1962,6 +1962,8 @@ void ElectricEIRChillerSpecs::calculate(EnergyPlusData &state, Real64 &MyLoad, b
19621962 state, this ->CWPlantLoc , this ->CondMassFlowIndex , this ->CDPlantLoc , DataPlant::CriteriaType::MassFlowRate, this ->CondMassFlowRate );
19631963
19641964 if (this ->CondMassFlowRate < DataBranchAirLoopPlant::MassFlowTolerance) {
1965+ // Shut chiller off if there is no condenser water flow
1966+ MyLoad = 0.0 ;
19651967 if (this ->EvapMassFlowRate < DataBranchAirLoopPlant::MassFlowTolerance) {
19661968 // Use PlantUtilities::SetComponentFlowRate to decide actual flow
19671969 PlantUtilities::SetComponentFlowRate (
@@ -2583,23 +2585,6 @@ void ElectricEIRChillerSpecs::update(EnergyPlusData &state, Real64 const MyLoad,
25832585 Real64 ReportingConstant = state.dataHVACGlobal ->TimeStepSysSec ;
25842586
25852587 if (MyLoad >= 0 || !RunFlag) { // Chiller not running so pass inlet states to outlet states
2586- // if (MyLoad >= 0 || !RunFlag || this->QEvaporator <= 0.0) { // Chiller not running so pass inlet states to outlet states
2587- // if ((MyLoad < 0 && RunFlag) && (this->CondMassFlowRate >= DataBranchAirLoopPlant::MassFlowTolerance ||
2588- // this->EvapMassFlowRate >= DataBranchAirLoopPlant::MassFlowTolerance)) {
2589- // if (!state.dataGlobal->WarmupFlag && !state.dataGlobal->DoingHVACSizingSimulations &&
2590- // state.dataPlnt->PlantLoop(this->CWPlantLoc.loopNum).LoopSide(this->CWPlantLoc.loopSideNum).FlowLock == DataPlant::FlowLock::Locked)
2591- // { ShowWarningError(state, "Chiller off due to this->QEvaporator <= 0.0 rule"); ShowContinueErrorTimeStamp(
2592- // state,
2593- // format("MyLoad={}, RunFlag={}, this->QEvaporator={}, this->QCondenser={}, this->EvapMassFlowRate={},
2594- // this->CondMassFlowRate={}",
2595- // MyLoad,
2596- // RunFlag,
2597- // this->QEvaporator,
2598- // this->QCondenser,
2599- // this->EvapMassFlowRate,
2600- // this->CondMassFlowRate));
2601- // }
2602- // }
26032588 // Set node conditions
26042589 state.dataLoopNodes ->Node (this ->EvapOutletNodeNum ).Temp = state.dataLoopNodes ->Node (this ->EvapInletNodeNum ).Temp ;
26052590 state.dataLoopNodes ->Node (this ->CondOutletNodeNum ).Temp = state.dataLoopNodes ->Node (this ->CondInletNodeNum ).Temp ;
0 commit comments