Skip to content

Commit

Permalink
change default MaxHeatingCapacity to 1e20, pipingCorrection default
Browse files Browse the repository at this point in the history
default for piping correction should be 1 (no effect)
  • Loading branch information
Yujie Xu committed Sep 4, 2024
1 parent 843d46c commit 88686c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EnergyPlus/HVACVariableRefrigerantFlow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11516,7 +11516,7 @@ void VRFCondenserEquipment::CalcVRFCondenser_FluidTCtrl(EnergyPlusData &state)

this->HeatingCapacity = 0.0; // Include the piping loss
this->PipingCorrectionHeating = 1.0; // 1 means no piping loss
state.dataHVACVarRefFlow->MaxHeatingCapacity(VRFCond) = 0.0; // yujie: might be wrong here too, should be MaxCap = 1e+20
state.dataHVACVarRefFlow->MaxHeatingCapacity(VRFCond) = Constant::MaxCap;

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

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

this->OUCondHeatRate = 0;
Expand Down

0 comments on commit 88686c0

Please sign in to comment.