@@ -7684,7 +7684,7 @@ void SizeVRF(EnergyPlusData &state, int const VRFTUNum)
7684
7684
state.dataHVACVarRefFlow->VRFTU(VRFTUNum).MaxCoolAirVolFlow = sizingCoolingAirFlow.size(state, TempSize, errorsFound);
7685
7685
7686
7686
} else if (SAFMethod == FlowPerCoolingCapacity) {
7687
- SizingMethod = CoolingCapacitySizing;
7687
+ SizingMethod = CoolingCapacitySizing; // either this isn't needed or needs to be assigned to EqSizing
7688
7688
TempSize = AutoSize;
7689
7689
PrintFlag = false;
7690
7690
state.dataSize->DataScalableSizingON = true;
@@ -7769,7 +7769,7 @@ void SizeVRF(EnergyPlusData &state, int const VRFTUNum)
7769
7769
sizingHeatingAirFlow.initializeWithinEP(state, CompType, CompName, PrintFlag, RoutineName);
7770
7770
state.dataHVACVarRefFlow->VRFTU(VRFTUNum).MaxHeatAirVolFlow = sizingHeatingAirFlow.size(state, TempSize, errorsFound);
7771
7771
} else if (SAFMethod == FlowPerHeatingCapacity) {
7772
- SizingMethod = HeatingCapacitySizing;
7772
+ SizingMethod = HeatingCapacitySizing; // either this isn't needed or needs to be assigned to EqSizing
7773
7773
TempSize = AutoSize;
7774
7774
PrintFlag = false;
7775
7775
state.dataSize->DataScalableSizingON = true;
@@ -7783,7 +7783,7 @@ void SizeVRF(EnergyPlusData &state, int const VRFTUNum)
7783
7783
sizerHeatingCapacity.initializeWithinEP(state, CompType, CompName, PrintFlag, RoutineName);
7784
7784
state.dataSize->DataAutosizedHeatingCapacity = sizerHeatingCapacity.size(state, TempSize, errorsFound);
7785
7785
state.dataSize->DataFlowPerHeatingCapacity = state.dataSize->ZoneHVACSizing(zoneHVACIndex).MaxHeatAirVolFlow;
7786
- SizingMethod = HeatingAirflowSizing;
7786
+ SizingMethod = HeatingAirflowSizing; // either this isn't needed or needs to be assigned to EqSizing
7787
7787
PrintFlag = true;
7788
7788
TempSize = AutoSize;
7789
7789
errorsFound = false;
@@ -8011,7 +8011,7 @@ void SizeVRF(EnergyPlusData &state, int const VRFTUNum)
8011
8011
8012
8012
FieldNum = 3; // N3, \field Supply Air Flow Rate During Heating Operation
8013
8013
SizingString = state.dataHVACVarRefFlow->VRFTUNumericFields(VRFTUNum).FieldNames(FieldNum) + " [m3/s]";
8014
- int SizingMethod = HeatingAirflowSizing;
8014
+ int SizingMethod = HeatingAirflowSizing; // either this isn't needed or needs to be assigned to EqSizing
8015
8015
TempSize = state.dataHVACVarRefFlow->VRFTU(VRFTUNum).MaxHeatAirVolFlow;
8016
8016
errorsFound = false;
8017
8017
HeatingAirFlowSizer sizingHeatingAirFlow;
@@ -8366,7 +8366,6 @@ void SizeVRF(EnergyPlusData &state, int const VRFTUNum)
8366
8366
} else {
8367
8367
SizingString = "Supplemental Heating Coil Nominal Capacity [W]";
8368
8368
if (TempSize == DataSizing::AutoSize) {
8369
- IsAutoSize = true;
8370
8369
bool errorsFound = false;
8371
8370
HeatingCapacitySizer sizerHeatingCapacity;
8372
8371
sizerHeatingCapacity.overrideSizingString(SizingString);
@@ -8882,9 +8881,8 @@ void VRFCondenserEquipment::SizeVRFCondenser(EnergyPlusData &state)
8882
8881
if (this->CondenserType == DataHeatBalance::RefrigCondenserType::Water) {
8883
8882
8884
8883
bool ErrorsFound = false;
8885
- int PltSizCondNum = 0;
8886
-
8887
8884
if (this->WaterCondVolFlowRate == DataSizing::AutoSize) {
8885
+ int PltSizCondNum = 0;
8888
8886
if (this->SourcePlantLoc.loopNum > 0) PltSizCondNum = state.dataPlnt->PlantLoop(this->SourcePlantLoc.loopNum).PlantSizNum;
8889
8887
if (PltSizCondNum > 0) {
8890
8888
rho = FluidProperties::GetDensityGlycol(state,
@@ -9613,8 +9611,6 @@ void ReportVRFTerminalUnit(EnergyPlusData &state, int const VRFTUNum) // index t
9613
9611
9614
9612
using namespace DataSizing;
9615
9613
9616
- int DXCoolingCoilIndex; // - index to DX cooling coil
9617
- int DXHeatingCoilIndex; // - index to DX heating coil
9618
9614
Real64 TotalConditioning; // - sum of sensible and latent rates
9619
9615
Real64 SensibleConditioning; // - sensible rate
9620
9616
Real64 LatentConditioning; // - latent rate
@@ -9625,8 +9621,6 @@ void ReportVRFTerminalUnit(EnergyPlusData &state, int const VRFTUNum) // index t
9625
9621
bool HRHeatRequestFlag; // - indicates TU could be in heat mode
9626
9622
bool HRCoolRequestFlag; // - indicates TU could be in cool mode
9627
9623
9628
- DXCoolingCoilIndex = state.dataHVACVarRefFlow->VRFTU(VRFTUNum).CoolCoilIndex;
9629
- DXHeatingCoilIndex = state.dataHVACVarRefFlow->VRFTU(VRFTUNum).HeatCoilIndex;
9630
9624
VRFCond = state.dataHVACVarRefFlow->VRFTU(VRFTUNum).VRFSysNum;
9631
9625
TUListIndex = state.dataHVACVarRefFlow->VRF(VRFCond).ZoneTUListPtr;
9632
9626
IndexToTUInTUList = state.dataHVACVarRefFlow->VRFTU(VRFTUNum).IndexToTUInTUList;
@@ -10010,7 +10004,6 @@ void InitializeOperatingMode(EnergyPlusData &state,
10010
10004
Real64 SPTempHi; // thermostat setpoint high
10011
10005
Real64 SPTempLo; // thermostat setpoint low
10012
10006
int NumTU; // loop counter, number of TU's in list
10013
- int TUIndex; // index to TU
10014
10007
Real64 ZoneLoad; // current zone load (W)
10015
10008
Real64 LoadToCoolingSP; // thermostat load to cooling setpoint (W)
10016
10009
Real64 LoadToHeatingSP; // thermostat load to heating setpoint (W)
@@ -10040,7 +10033,7 @@ void InitializeOperatingMode(EnergyPlusData &state,
10040
10033
for (NumTU = 1; NumTU <= state.dataHVACVarRefFlow->TerminalUnitList(TUListNum).NumTUInList; ++NumTU) {
10041
10034
// make sure TU's have been sized before looping through each one of them to determine operating mode
10042
10035
if (any(state.dataHVACVarRefFlow->TerminalUnitList(TUListNum).TerminalUnitNotSizedYet)) break;
10043
- TUIndex = state.dataHVACVarRefFlow->TerminalUnitList(TUListNum).ZoneTUPtr(NumTU);
10036
+ int TUIndex = state.dataHVACVarRefFlow->TerminalUnitList(TUListNum).ZoneTUPtr(NumTU);
10044
10037
10045
10038
// check to see if coil is present
10046
10039
if (state.dataHVACVarRefFlow->TerminalUnitList(TUListNum).CoolingCoilPresent(NumTU)) {
@@ -13990,10 +13983,7 @@ void VRFCondenserEquipment::VRFOU_CalcCompC(EnergyPlusData &state,
13990
13983
Real64 CondHeat = Q_evap_req * C_cap_operation0 / this->RatedEvapCapacity; // 150130 To be confirmed
13991
13984
int CAPFT = this->OUCoolingCAPFT(CounterCompSpdTemp);
13992
13985
13993
- // Update Te' (SmallLoadTe) to meet the required evaporator capacity
13994
- MinOutdoorUnitTe = 6;
13995
13986
P_discharge = this->refrig->getSatPressure(state, T_discharge, RoutineName);
13996
-
13997
13987
MinRefriPe = this->refrig->getSatPressure(state, -15, RoutineName);
13998
13988
MinOutdoorUnitPe = max(P_discharge - this->CompMaxDeltaP, MinRefriPe);
13999
13989
MinOutdoorUnitTe = this->refrig->getSatTemperature(state, max(min(MinOutdoorUnitPe, RefPHigh), RefPLow), RoutineName);
0 commit comments