Skip to content

Commit

Permalink
Merge pull request #8368 from NREL/global_dataTimings
Browse files Browse the repository at this point in the history
Global DataTiming
  • Loading branch information
mitchute authored Nov 6, 2020
2 parents 649ab48 + 40518b1 commit 6015b8d
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 237 deletions.
1 change: 1 addition & 0 deletions src/EnergyPlus/Data/CommonIncludes.hh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
#include <EnergyPlus/DataAirLoop.hh>
#include <EnergyPlus/DataGlobals.hh>
#include <EnergyPlus/DataWater.hh>
#include <EnergyPlus/DataTimings.hh>
#include <EnergyPlus/ExteriorEnergyUse.hh>
#include <EnergyPlus/Fans.hh>
#include <EnergyPlus/Pipes.hh>
Expand Down
2 changes: 2 additions & 0 deletions src/EnergyPlus/Data/EnergyPlusData.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ namespace EnergyPlus {
this->dataThermalChimneys = std::unique_ptr<ThermalChimneysData>(new ThermalChimneysData);
this->dataThermalComforts = std::unique_ptr<ThermalComfortsData>(new ThermalComfortsData);
this->dataTranspiredCollector = std::unique_ptr<TranspiredCollectorData>(new TranspiredCollectorData);
this->dataTimingsData = std::unique_ptr<DataTimingsData>(new DataTimingsData);
this->dataUFADManager = std::unique_ptr<UFADManagerData>(new UFADManagerData);
this->dataUnitarySystems = std::unique_ptr<UnitarySystemsData>(new UnitarySystemsData);
this->dataUnitHeaters = std::unique_ptr<UnitHeatersData>(new UnitHeatersData);
Expand Down Expand Up @@ -161,6 +162,7 @@ namespace EnergyPlus {
this->dataSurfaceGroundHeatExchangers->clear_state();
this->dataSwimmingPools->clear_state();
this->dataSystemAvailabilityManager->clear_state();
this->dataTimingsData->clear_state();
this->dataThermalChimneys->clear_state();
this->dataThermalComforts->clear_state();
this->dataTranspiredCollector->clear_state();
Expand Down
2 changes: 2 additions & 0 deletions src/EnergyPlus/Data/EnergyPlusData.hh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ struct CTElectricGeneratorData;
struct CurveManagerData;
struct DataAirLoopData;
struct DataGlobal;
struct DataTimingsData;
struct DataWaterData;
struct ExteriorEnergyUseData;
struct FansData;
Expand Down Expand Up @@ -178,6 +179,7 @@ struct EnergyPlusData : BaseGlobalStruct {
std::unique_ptr<ThermalChimneysData> dataThermalChimneys;
std::unique_ptr<ThermalComfortsData> dataThermalComforts;
std::unique_ptr<TranspiredCollectorData> dataTranspiredCollector;
std::unique_ptr<DataTimingsData> dataTimingsData;
std::unique_ptr<UFADManagerData> dataUFADManager;
std::unique_ptr<UnitarySystemsData> dataUnitarySystems;
std::unique_ptr<UnitHeatersData> dataUnitHeaters;
Expand Down
1 change: 0 additions & 1 deletion src/EnergyPlus/DataSystemVariables.hh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ namespace DataSystemVariables {
extern int const iASCII_CR; // endline value when just CR instead of CR/LF
extern int const iUnicode_end; // endline value when Unicode file
extern char const tabchar;
extern int const MaxTimingStringLength; // string length for timing string array

extern std::string const DDOnlyEnvVar; // Only run design days
extern std::string const ReverseDDEnvVar; // Reverse DD during run
Expand Down
Loading

5 comments on commit 6015b8d

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (mitchute) - x86_64-MacOS-10.15-clang-11.0.0: OK (2272 of 2272 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (mitchute) - x86_64-Linux-Ubuntu-18.04-gcc-7.5: OK (2292 of 2292 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (mitchute) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-UnitTestsCoverage-Debug: OK (1553 of 1553 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (mitchute) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-IntegrationCoverage-Debug: OK (721 of 722 tests passed, 0 test warnings)

Failures:\n

integration Test Summary

  • Passed: 721
  • Timeout: 1

Build Badge Test Badge Coverage Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (mitchute) - Win64-Windows-10-VisualStudio-16: OK (2245 of 2245 tests passed, 0 test warnings)

Build Badge Test Badge

Please sign in to comment.