Skip to content

Commit

Permalink
Fix NREL#10902 - Report CoolingTower:VariableSpeed:Merkel to Equipmen…
Browse files Browse the repository at this point in the history
…t Summary
  • Loading branch information
jmarrec committed Feb 6, 2025
1 parent ee606a7 commit 0017a05
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/EnergyPlus/CondenserLoopTowers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4286,6 +4286,41 @@ namespace CondenserLoopTowers {
}
}
}

if (state.dataPlnt->PlantFinalSizesOkayToReport) {
// create predefined report
OutputReportPredefined::PreDefTableEntry(
state, state.dataOutRptPredefined->pdchMechType, this->Name, DataPlant::PlantEquipTypeNames[static_cast<int>(this->TowerType)]);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchMechNomCap, this->Name, this->TowerNominalCapacity);

// create std 229 new table for cooling towers and fluid coolers
OutputReportPredefined::PreDefTableEntry(
state, state.dataOutRptPredefined->pdchCTFCType, this->Name, DataPlant::PlantEquipTypeNames[static_cast<int>(this->TowerType)]);
OutputReportPredefined::PreDefTableEntry(state,
state.dataOutRptPredefined->pdchCTFCCondLoopName,
this->Name,
this->plantLoc.loopNum > 0 ? state.dataPlnt->PlantLoop(this->plantLoc.loopNum).Name : "N/A");
OutputReportPredefined::PreDefTableEntry(
state,
state.dataOutRptPredefined->pdchCTFCCondLoopBranchName,
this->Name,
this->plantLoc.loopNum > 0
? state.dataPlnt->PlantLoop(plantLoc.loopNum).LoopSide(plantLoc.loopSideNum).Branch(plantLoc.branchNum).Name
: "N/A");
OutputReportPredefined::PreDefTableEntry(
state,
state.dataOutRptPredefined->pdchCTFCFluidType,
this->Name,
state.dataPlnt->PlantLoop(this->plantLoc.loopNum).glycol->Name); // Fluid Name more reasonable than FluidType
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchCTFCRange, this->Name, this->DesignRange);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchCTFCApproach, this->Name, this->DesignApproach);
OutputReportPredefined::PreDefTableEntry(
state, state.dataOutRptPredefined->pdchCTFCDesFanPwr, this->Name, this->HighSpeedFanPower); // equivalent to Design Fan Power?
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchCTFCDesInletAirWBT, this->Name, this->DesignInletWB);
OutputReportPredefined::PreDefTableEntry(
state, state.dataOutRptPredefined->pdchCTFCDesWaterFlowRate, this->Name, this->DesignWaterFlowRate, 6);
OutputReportPredefined::PreDefTableEntry(state, state.dataOutRptPredefined->pdchCTFCLevWaterSPTemp, this->Name, this->DesOutletWaterTemp);
}
} // namespace CondenserLoopTowers

void CoolingTower::calculateSingleSpeedTower(EnergyPlusData &state, Real64 &MyLoad, bool RunFlag)
Expand Down

0 comments on commit 0017a05

Please sign in to comment.