Skip to content

Commit

Permalink
Changing static variables to namesake variables
Browse files Browse the repository at this point in the history
Partial fix to #7729
  • Loading branch information
jmythms committed Oct 12, 2020
1 parent 75fcd72 commit 67f7d23
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/EnergyPlus/HVACVariableRefrigerantFlow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ namespace HVACVariableRefrigerantFlow {
Array1D<Real64> MinDeltaT; // minimum zone temperature difference from setpoint
Array1D<Real64> SumCoolingLoads; // sum of cooling loads
Array1D<Real64> SumHeatingLoads; // sum of heating loads
Real64 CurrentEndTime; // end time of current time step
Real64 CurrentEndTimeLast; // end time of last time step
Real64 TimeStepSysLast; // system time step on last time step

// Object Data
Array1D<VRFCondenserEquipment> VRF; // AirConditioner:VariableRefrigerantFlow object
Expand Down Expand Up @@ -516,9 +519,6 @@ namespace HVACVariableRefrigerantFlow {
Real64 HREIRFTConst; // stead-state EIR fraction
Real64 HRInitialEIRFrac; // Fractional cooling degradation at the start of heat recovery from cooling mode
Real64 HREIRTC; // Time constant used to recover from initial degradation in cooling heat recovery
static Real64 CurrentEndTime; // end time of current time step
static Real64 CurrentEndTimeLast; // end time of last time step
static Real64 TimeStepSysLast; // system time step on last time step
Real64 SUMultiplier; // multiplier for simulating mode changes
Real64 CondPower; // condenser power [W]
Real64 CondCapacity; // condenser heat rejection [W]
Expand Down Expand Up @@ -5106,9 +5106,6 @@ namespace HVACVariableRefrigerantFlow {
int TUListIndex; // pointer to TU list for this VRF system
int IndexToTUInTUList; // index to TU in TerminalUnilList
Real64 RhoAir; // air density at InNode
static Real64 CurrentEndTime; // end time of current time step
static Real64 CurrentEndTimeLast; // end time of last time step
static Real64 TimeStepSysLast; // system time step on last time step
Real64 TempOutput; // Sensible output of TU
Real64 LoadToCoolingSP; // thermostat load to cooling setpoint (W)
Real64 LoadToHeatingSP; // thermostat load to heating setpoint (W)
Expand Down Expand Up @@ -10210,9 +10207,6 @@ namespace HVACVariableRefrigerantFlow {
Real64 HRCapTC; // Time constant used to recover from initial degradation in cooling heat recovery
Real64 HRInitialEIRFrac; // Fractional cooling degradation at the start of heat recovery from cooling mode
Real64 HREIRTC; // Time constant used to recover from initial degradation in cooling heat recovery
static Real64 CurrentEndTime; // end time of current time step
static Real64 CurrentEndTimeLast; // end time of last time step
static Real64 TimeStepSysLast; // system time step on last time step
Real64 SUMultiplier; // multiplier for simulating mode changes
Real64 CondPower; // condenser power [W]
Real64 CondCapacity; // condenser heat rejection [W]
Expand Down

0 comments on commit 67f7d23

Please sign in to comment.