diff --git a/src/EnergyPlus/SimulationManager.cc b/src/EnergyPlus/SimulationManager.cc index 3982db55c11..3623d515fd8 100644 --- a/src/EnergyPlus/SimulationManager.cc +++ b/src/EnergyPlus/SimulationManager.cc @@ -1204,6 +1204,7 @@ namespace SimulationManager { bool overrideMinNumWarmupDays(false); bool overrideBeginEnvResetSuppress(false); bool overrideMaxZoneTempDiff(false); + ZoneTempPredictorCorrector::OscillationVariablesNeeded = true; if (fields.find("override_mode") != fields.end()) { overrideModeValue = UtilityRoutines::MakeUPPERCase(fields.at("override_mode")); if (overrideModeValue == "NORMAL") { diff --git a/src/EnergyPlus/ZoneTempPredictorCorrector.cc b/src/EnergyPlus/ZoneTempPredictorCorrector.cc index 98d6b7bb91a..33395b0a8bd 100644 --- a/src/EnergyPlus/ZoneTempPredictorCorrector.cc +++ b/src/EnergyPlus/ZoneTempPredictorCorrector.cc @@ -259,7 +259,6 @@ namespace ZoneTempPredictorCorrector { // This is purposefully in an anonymous namespace so nothing outside this implementation file can use it. bool InitZoneAirSetPointsOneTimeFlag(true); bool SetupOscillationOutputFlag(true); - bool OscillationVariablesNeeded(false); } // namespace Array1D ZoneSetPointLast; Array1D TempIndZnLd; @@ -277,6 +276,7 @@ namespace ZoneTempPredictorCorrector { Real64 AnnualAnyZoneTempOscillate(0.0); Real64 AnnualAnyZoneTempOscillateDuringOccupancy(0.0); Real64 AnnualAnyZoneTempOscillateInDeadband(0.0); + bool OscillationVariablesNeeded(false); // SUBROUTINE SPECIFICATIONS: diff --git a/src/EnergyPlus/ZoneTempPredictorCorrector.hh b/src/EnergyPlus/ZoneTempPredictorCorrector.hh index 720c2afd931..1867f9adb6d 100644 --- a/src/EnergyPlus/ZoneTempPredictorCorrector.hh +++ b/src/EnergyPlus/ZoneTempPredictorCorrector.hh @@ -152,6 +152,7 @@ namespace ZoneTempPredictorCorrector { extern Real64 AnnualAnyZoneTempOscillate; extern Real64 AnnualAnyZoneTempOscillateDuringOccupancy; extern Real64 AnnualAnyZoneTempOscillateInDeadband; + extern bool OscillationVariablesNeeded; // SUBROUTINE SPECIFICATIONS: