Zone Equipment array is not always initialized (causes exception/crash) #10459
Labels
Defect
Includes code to repair a defect in EnergyPlus
LowComplexityApproved
Used for subcontractor defect complexity requests
Issue overview
The zone equipment array (
state.dataZoneEquip->ZoneEquipConfig
) is not consistently initialized before its use.Paths through the code that calculate internal heat gains, for example, initialize zone equipment there, so subsequent iterations over zone equipment in other classes such as VRF "accidentally" work. When internal heat gains (e.g. lights) are omitted from such VRF-containing models, the array is unsized and throws an exception.
Details
Some additional details for this issue (if relevant):
Water-VariableRefrigerantFlow_5Zone_wAirloop.zip
The text was updated successfully, but these errors were encountered: