diff --git a/src/EnergyPlus/GroundHeatExchangers/Slinky.cc b/src/EnergyPlus/GroundHeatExchangers/Slinky.cc index 96278bd073e..3b2c3578d76 100644 --- a/src/EnergyPlus/GroundHeatExchangers/Slinky.cc +++ b/src/EnergyPlus/GroundHeatExchangers/Slinky.cc @@ -51,6 +51,7 @@ #include #include #include +#include #include #include #include @@ -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(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(this->numTrenches)); } void GLHESlinky::getAnnualTimeConstant() diff --git a/src/EnergyPlus/GroundHeatExchangers/Vertical.cc b/src/EnergyPlus/GroundHeatExchangers/Vertical.cc index 0db4fe6c11f..a85d898016f 100644 --- a/src/EnergyPlus/GroundHeatExchangers/Vertical.cc +++ b/src/EnergyPlus/GroundHeatExchangers/Vertical.cc @@ -60,6 +60,7 @@ #include #include #include +#include #include #include #include @@ -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(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(this->myRespFactors->numBoreholes)); } void GLHEVert::simulate(EnergyPlusData &state, diff --git a/src/EnergyPlus/OutputReportPredefined.cc b/src/EnergyPlus/OutputReportPredefined.cc index 4646047ecd2..304a7a5bcaf 100644 --- a/src/EnergyPlus/OutputReportPredefined.cc +++ b/src/EnergyPlus/OutputReportPredefined.cc @@ -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 diff --git a/src/EnergyPlus/OutputReportPredefined.hh b/src/EnergyPlus/OutputReportPredefined.hh index a788585720c..ee5a3fb3c25 100644 --- a/src/EnergyPlus/OutputReportPredefined.hh +++ b/src/EnergyPlus/OutputReportPredefined.hh @@ -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;