Skip to content

Commit

Permalink
convert SolarShading
Browse files Browse the repository at this point in the history
  • Loading branch information
brianlball committed Oct 17, 2020
1 parent 88bd14a commit 65617ad
Show file tree
Hide file tree
Showing 9 changed files with 1,028 additions and 1,588 deletions.
1 change: 1 addition & 0 deletions src/EnergyPlus/Data/CommonIncludes.hh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
#include <EnergyPlus/Fans.hh>
#include <EnergyPlus/Pipes.hh>
#include <EnergyPlus/PlantChillers.hh>
#include <EnergyPlus/SolarShading.hh>
#include <EnergyPlus/SplitterComponent.hh>
#include <EnergyPlus/SteamBaseboardRadiator.hh>
#include <EnergyPlus/SteamCoils.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 @@ -84,6 +84,7 @@ namespace EnergyPlus {
this->dataGlobal = std::unique_ptr<DataGlobal>(new DataGlobal);
this->dataPipes = std::unique_ptr<PipesData>(new PipesData);
this->dataPlantChillers = std::unique_ptr<PlantChillersData>(new PlantChillersData);
this->dataSolarShading = std::unique_ptr<SolarShadingData>(new SolarShadingData);
this->dataSplitterComponent = std::unique_ptr<SplitterComponentData>(new SplitterComponentData);
this->dataSteamBaseboardRadiator = std::unique_ptr<SteamBaseboardRadiatorData>(new SteamBaseboardRadiatorData);
this->dataSteamCoils = std::unique_ptr<SteamCoilsData>(new SteamCoilsData);
Expand Down Expand Up @@ -149,6 +150,7 @@ namespace EnergyPlus {
this->dataGlobal->clear_state();
this->dataPipes->clear_state();
this->dataPlantChillers->clear_state();
this->dataSolarShading->clear_state();
this->dataSplitterComponent->clear_state();
this->dataSteamBaseboardRadiator->clear_state();
this->dataSteamCoils->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 @@ -93,6 +93,7 @@ struct ExteriorEnergyUseData;
struct FansData;
struct PipesData;
struct PlantChillersData;
struct SolarShadingData;
struct SplitterComponentData;
struct SteamBaseboardRadiatorData;
struct SteamCoilsData;
Expand Down Expand Up @@ -161,6 +162,7 @@ struct EnergyPlusData : BaseGlobalStruct {
std::unique_ptr<FansData> dataFans;
std::unique_ptr<PipesData> dataPipes;
std::unique_ptr<PlantChillersData> dataPlantChillers;
std::unique_ptr<SolarShadingData> dataSolarShading;
std::unique_ptr<SplitterComponentData> dataSplitterComponent;
std::unique_ptr<SteamBaseboardRadiatorData> dataSteamBaseboardRadiator;
std::unique_ptr<SteamCoilsData> dataSteamCoils;
Expand Down
6 changes: 2 additions & 4 deletions src/EnergyPlus/SimulationManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1906,8 +1906,6 @@ namespace SimulationManager {
using OutputProcessor::NumVarMeterArrays;
using OutputReportTabular::maxUniqueKeyCount;
using OutputReportTabular::MonthlyFieldSetInputCount;
using SolarShading::MAXHCArrayBounds;
using SolarShading::maxNumberOfFigures;
using namespace DataRuntimeLanguage;
using DataBranchNodeConnections::MaxNumOfNodeConnections;
using DataBranchNodeConnections::NumOfNodeConnections;
Expand Down Expand Up @@ -1953,8 +1951,8 @@ namespace SimulationManager {
print(state.files.audit, variable_fmt, "NumEnergyMeters", NumEnergyMeters);
print(state.files.audit, variable_fmt, "NumVarMeterArrays", NumVarMeterArrays);
print(state.files.audit, variable_fmt, "maxUniqueKeyCount", maxUniqueKeyCount);
print(state.files.audit, variable_fmt, "maxNumberOfFigures", maxNumberOfFigures);
print(state.files.audit, variable_fmt, "MAXHCArrayBounds", MAXHCArrayBounds);
print(state.files.audit, variable_fmt, "maxNumberOfFigures", state.dataSolarShading->maxNumberOfFigures);
print(state.files.audit, variable_fmt, "MAXHCArrayBounds", state.dataSolarShading->MAXHCArrayBounds);
print(state.files.audit, variable_fmt, "MaxVerticesPerSurface", MaxVerticesPerSurface);
print(state.files.audit, variable_fmt, "NumReportList", NumReportList);
print(state.files.audit, variable_fmt, "InstMeterCacheSize", InstMeterCacheSize);
Expand Down
Loading

5 comments on commit 65617ad

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

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

global_SteamCoils (brianlball) - x86_64-Linux-Ubuntu-18.04-gcc-7.5: OK (3024 of 3024 tests passed, 0 test warnings)

Build Badge Test Badge

@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.

global_SteamCoils (brianlball) - x86_64-MacOS-10.15-clang-11.0.0: OK (2984 of 2984 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.

global_SteamCoils (brianlball) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-UnitTestsCoverage-Debug: OK (1548 of 1548 tests passed, 0 test warnings)

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.

global_SteamCoils (brianlball) - Win64-Windows-10-VisualStudio-16: OK (2240 of 2240 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

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

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

Build Badge Test Badge Coverage Badge

Please sign in to comment.