diff --git a/src/EnergyPlus/HVACVariableRefrigerantFlow.cc b/src/EnergyPlus/HVACVariableRefrigerantFlow.cc index 3eb483c026f..cc072c94c80 100644 --- a/src/EnergyPlus/HVACVariableRefrigerantFlow.cc +++ b/src/EnergyPlus/HVACVariableRefrigerantFlow.cc @@ -8537,7 +8537,7 @@ namespace HVACVariableRefrigerantFlow { for (int i = 1; i <= TerminalUnitList(TUListNum).NumTUInList; i++) { int VRFTUNum = TerminalUnitList(TUListNum).ZoneTUPtr(i); // analyze the conditions of each IU - VRFTU(VRFTUNum).CalcVRFIUVariableTeTc(VRFTUNum, EvapTemp(i), CondTemp(i)); + VRFTU(VRFTUNum).CalcVRFIUVariableTeTc(EvapTemp(i), CondTemp(i)); // select the Te/Tc that can satisfy all the zones IUMinEvapTemp = min(IUMinEvapTemp, EvapTemp(i), this->IUEvapTempHigh); @@ -8554,8 +8554,7 @@ namespace HVACVariableRefrigerantFlow { } } - void VRFTerminalUnitEquipment::CalcVRFIUVariableTeTc(int const VRFTUNum, // Index to VRF terminal unit - Real64 &EvapTemp, // evaporating temperature + void VRFTerminalUnitEquipment::CalcVRFIUVariableTeTc(Real64 &EvapTemp, // evaporating temperature Real64 &CondTemp // condensing temperature ) { @@ -8599,10 +8598,8 @@ namespace HVACVariableRefrigerantFlow { // na // SUBROUTINE LOCAL VARIABLE DECLARATIONS: - int const Mode(1); // Performance mode for MultiMode DX coil. Always 1 for other coil types int CoolCoilNum; // index to the VRF Cooling DX coil to be simulated int HeatCoilNum; // index to the VRF Heating DX coil to be simulated - int OAMixNode; // index to the mix node of OA mixer int IndexToTUInTUList; // index to TU in specific list for the VRF system int TUListIndex; // index to TU list for this VRF system int VRFNum; // index to VRF that the VRF Terminal Unit serves diff --git a/src/EnergyPlus/HVACVariableRefrigerantFlow.hh b/src/EnergyPlus/HVACVariableRefrigerantFlow.hh index 36288925dce..11f787decc2 100644 --- a/src/EnergyPlus/HVACVariableRefrigerantFlow.hh +++ b/src/EnergyPlus/HVACVariableRefrigerantFlow.hh @@ -729,8 +729,7 @@ namespace HVACVariableRefrigerantFlow { // Note: the argument VRFTUNum should be removed later in the deeper OO re-factor. Now this argument may be used by other functions that are // not member functions of this class. - void CalcVRFIUVariableTeTc(int const VRFTUNum, // Index to VRF terminal unit - Real64 &EvapTemp, // evaporating temperature + void CalcVRFIUVariableTeTc(Real64 &EvapTemp, // evaporating temperature Real64 &CondTemp // condensing temperature );