Skip to content

Commit

Permalink
change default value of MaxHeat(Cool)ingCapacity to MaxCap
Browse files Browse the repository at this point in the history
  • Loading branch information
Yujie Xu committed Sep 4, 2024
1 parent f4c425b commit 1c35238
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/EnergyPlus/HVACVariableRefrigerantFlow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11491,7 +11491,7 @@ void VRFCondenserEquipment::CalcVRFCondenser_FluidTCtrl(EnergyPlusData &state, c

this->HeatingCapacity = 0.0; // Include the piping loss
this->PipingCorrectionHeating = 1.0; // 1 means no piping loss
state.dataHVACVarRefFlow->MaxHeatingCapacity(VRFCond) = 0.0;
state.dataHVACVarRefFlow->MaxHeatingCapacity(VRFCond) = MaxCap;

this->OUCondHeatRate = Q_h_OU;
this->OUEvapHeatRate = 0;
Expand Down Expand Up @@ -11722,8 +11722,8 @@ void VRFCondenserEquipment::CalcVRFCondenser_FluidTCtrl(EnergyPlusData &state, c
this->HeatingCapacity; // for report, maximum condensing capacity the system can provide

this->CoolingCapacity = 0.0; // Include the piping loss
this->PipingCorrectionCooling = 0.0;
state.dataHVACVarRefFlow->MaxCoolingCapacity(VRFCond) = 0.0; // for report
this->PipingCorrectionCooling = 1.0;
state.dataHVACVarRefFlow->MaxCoolingCapacity(VRFCond) = MaxCap; // for report

this->OUCondHeatRate = 0;
this->OUEvapHeatRate = Q_c_OU;
Expand Down

0 comments on commit 1c35238

Please sign in to comment.