-
Notifications
You must be signed in to change notification settings - Fork 460
Closed
Labels
DefectIncludes code to repair a defect in EnergyPlusIncludes code to repair a defect in EnergyPlus
Description
Issue overview
Testing of example file DOAToPTAC shows that report variable Zone Packaged Terminal Air Conditioner Compressor Part Load Ratio is non-zero for Coil:Heating:Fuel. Since a gas heating coil does not have a compressor this report should be 0 for this heating coil type.
The offending line in code is in SimPTUnit where PartLoadFrac is the fraction of time the coil operates. For a DX cooling coil this is the same as compressor part-load ratio, for a gas heating coil a compressor is not operating.
// report variables
if (state.dataPTHP->PTUnit(PTUnitNum).UnitType_Num == PTHPType::PTACUnit) {
state.dataPTHP->PTUnit(PTUnitNum).CompPartLoadRatio = PartLoadFrac;
} else {
state.dataPTHP->PTUnit(PTUnitNum).CompPartLoadRatio = state.dataPTHP->SaveCompressorPLR;
}
ZoneHVAC:PackagedTerminalAirConditioner,
SPACE1-1 PTAC, !- Name
FanAvailSched, !- Availability Schedule Name
SPACE1-1 PTAC Inlet, !- Air Inlet Node Name
SPACE1-1 Supply Inlet, !- Air Outlet Node Name
, !- Outdoor Air Mixer Object Type
, !- Outdoor Air Mixer Name
Autosize, !- Cooling Supply Air Flow Rate {m3/s}
Autosize, !- Heating Supply Air Flow Rate {m3/s}
, !- No Load Supply Air Flow Rate {m3/s}
0, !- Cooling Outdoor Air Flow Rate {m3/s}
0, !- Heating Outdoor Air Flow Rate {m3/s}
0, !- No Load Outdoor Air Flow Rate {m3/s}
Fan:OnOff, !- Supply Air Fan Object Type
SPACE1-1 Supply Fan, !- Supply Air Fan Name
Coil:Heating:Fuel, !- Heating Coil Object Type
SPACE1-1 Heating Coil, !- Heating Coil Name
Coil:Cooling:DX:SingleSpeed, !- Cooling Coil Object Type
SPACE1-1 PTAC CCoil, !- Cooling Coil Name
BlowThrough, !- Fan Placement
ContsFanSch; !- Supply Air Fan Operating Mode Schedule Name
Details
Some additional details for this issue (if relevant):
- Platform (Operating system, version)
- Version of EnergyPlus (if using an intermediate build, include SHA)
- Unmethours link or helpdesk ticket number
Checklist
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
- Defect file added (list location of defect file here)
- Ticket added to Pivotal for defect (development team task)
- Pull request created (the pull request will have additional tasks related to reviewing changes that fix this defect)
Metadata
Metadata
Assignees
Labels
DefectIncludes code to repair a defect in EnergyPlusIncludes code to repair a defect in EnergyPlus
