Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/EnergyPlus/GroundHeatExchangers/Slinky.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
#include <EnergyPlus/GroundHeatExchangers/Slinky.hh>
#include <EnergyPlus/GroundHeatExchangers/State.hh>
#include <EnergyPlus/NodeInputManager.hh>
#include <EnergyPlus/OutputReportPredefined.hh>
#include <EnergyPlus/Plant/DataPlant.hh>
#include <EnergyPlus/PlantUtilities.hh>
#include <EnergyPlus/UtilityRoutines.hh>
Expand Down Expand Up @@ -192,6 +193,18 @@ GLHESlinky::GLHESlinky(EnergyPlusData &state, std::string const &objName, nlohma
if (errorsFound) {
ShowFatalError(state, EnergyPlus::format("Errors found in processing input for {}", this->moduleName));
}

OutputReportPredefined::PreDefTableEntry(state,
state.dataOutRptPredefined->pdchGLHEType,
objName,
DataPlant::PlantEquipTypeNames[static_cast<int>(DataPlant::PlantEquipmentType::GrndHtExchgSlinky)]);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchGLHETubeLength, objName, this->totalTubeLength);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchGLHEVolFlow, objName, this->designFlow, 6);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchGLHEbhDepth, objName, this->coilDepth);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchGLHEbhDiam, objName, this->coilDiameter);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchGLHEbhLeng, objName, this->trenchLength);
OutputReportPredefined::PreDefTableEntry(
state, state.dataOutRptPredefined->pdchGLHENumHolesTrenches, objName, static_cast<Real64>(this->numTrenches));
}

void GLHESlinky::getAnnualTimeConstant()
Expand Down
13 changes: 13 additions & 0 deletions src/EnergyPlus/GroundHeatExchangers/Vertical.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
#include <EnergyPlus/GroundHeatExchangers/State.hh>
#include <EnergyPlus/GroundHeatExchangers/Vertical.hh>
#include <EnergyPlus/InputProcessing/InputProcessor.hh>
#include <EnergyPlus/OutputReportPredefined.hh>
#include <EnergyPlus/Plant/DataPlant.hh>
#include <EnergyPlus/PlantUtilities.hh>
#include <EnergyPlus/WeatherManager.hh>
Expand Down Expand Up @@ -394,6 +395,18 @@ GLHEVert::GLHEVert(EnergyPlusData &state, std::string const &objName, nlohmann::
if (errorsFound) {
ShowFatalError(state, EnergyPlus::format("Errors found in processing input for {}", moduleName));
}

OutputReportPredefined::PreDefTableEntry(state,
state.dataOutRptPredefined->pdchGLHEType,
this->name,
DataPlant::PlantEquipTypeNames[static_cast<int>(DataPlant::PlantEquipmentType::GrndHtExchgSystem)]);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchGLHETubeLength, this->name, this->totalTubeLength);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchGLHEVolFlow, this->name, this->designFlow, 6);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchGLHEbhDepth, this->name, this->myRespFactors->props->bhTopDepth);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchGLHEbhDiam, this->name, this->myRespFactors->props->bhDiameter);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchGLHEbhLeng, this->name, this->myRespFactors->props->bhLength);
OutputReportPredefined::PreDefTableEntry(
state, state.dataOutRptPredefined->pdchGLHENumHolesTrenches, this->name, static_cast<Real64>(this->myRespFactors->numBoreholes));
}

void GLHEVert::simulate(EnergyPlusData &state,
Expand Down
10 changes: 10 additions & 0 deletions src/EnergyPlus/OutputReportPredefined.cc
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,16 @@ namespace OutputReportPredefined {
s->pdchMechIPLVSI = newPreDefColumn(state, s->pdstMech, "IPLV in SI Units [W/W]");
s->pdchMechIPLVIP = newPreDefColumn(state, s->pdstMech, "IPLV in IP Units [Btu/W-h]");

s->pdstGLHE = newPreDefSubTable(state, s->pdrEquip, "Ground Loop Heat Exchangers");

s->pdchGLHEType = newPreDefColumn(state, s->pdstGLHE, "Type");
s->pdchGLHETubeLength = newPreDefColumn(state, s->pdstGLHE, "Total Tube Length [m]");
s->pdchGLHEVolFlow = newPreDefColumn(state, s->pdstGLHE, "Design Volume Flow Rate [m3/s]");
s->pdchGLHEbhDepth = newPreDefColumn(state, s->pdstGLHE, "Depth [m]");
s->pdchGLHEbhDiam = newPreDefColumn(state, s->pdstGLHE, "Diameter [m]");
s->pdchGLHEbhLeng = newPreDefColumn(state, s->pdstGLHE, "Length [m]");
s->pdchGLHENumHolesTrenches = newPreDefColumn(state, s->pdstGLHE, "Number of Holes/Trenches");

// Ok Constant Object Name Module Example File
// -- ------------------------------- -------------------------------------- ------------------------ -----------------
// o CoilDX_CoolingSingleSpeed Coil:Cooling:DX:SingleSpeed DXCoil FurnaceWithDXSystem
Expand Down
10 changes: 10 additions & 0 deletions src/EnergyPlus/OutputReportPredefined.hh
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,16 @@ struct OutputReportPredefinedData : BaseGlobalStruct
int pdchMechIPLVSI = 0;
int pdchMechIPLVIP = 0;

// ground loop heat exchanger report
int pdstGLHE = 0;
int pdchGLHEType = 0;
int pdchGLHETubeLength = 0;
int pdchGLHEVolFlow = 0;
int pdchGLHEbhDepth = 0;
int pdchGLHEbhDiam = 0;
int pdchGLHEbhLeng = 0;
int pdchGLHENumHolesTrenches = 0;

// Fan subtable
int pdstFan = 0;
int pdchFanType = 0;
Expand Down
Loading