Skip to content

Autosized ZoneHVAC:LowTemperatureRadiant:VariableFlow with no Design Object throws allocation error #11111

@mjwitte

Description

@mjwitte

Issue overview

User file with ZoneHVAC:LowTemperatureRadiant:VariableFlow but no ZoneHVAC:LowTemperatureRadiant:VariableFlow:Design object throws a fatal allocation error with no message about the missing object.

ZoneHVAC:LowTemperatureRadiant:VariableFlow,
    LozaRadiante_Zona1,      !- Name
    ,                        !- Design Object
    Constant,                !- Availability Schedule Name
    NORTH PERIMETER,         !- Zone Name
    GrupoSuperficies_Zona1,  !- Surface Name or Radiant Surface Group Name
    autosize,                !- Hydronic Tubing Length {m}
    autosize,                !- Heating Design Capacity {W}
    ,                        !- Maximum Hot Water Flow {m3/s}
    Nodo_Demand_Inlet,       !- Heating Water Inlet Node Name
    Nodo_Demand_Outlet,      !- Heating Water Outlet Node Name
    ,                        !- Cooling Design Capacity {W}
    ,                        !- Maximum Cold Water Flow {m3/s}
    ,                        !- Cooling Water Inlet Node Name
    ,                        !- Cooling Water Outlet Node Name
    OnePerSurface,           !- Number of Circuits
    106.7;                   !- Circuit Length {m}

Program Version,EnergyPlus, Version 25.1.0-68a4a7c774, YMD=2025.06.25 00:08,

   ** Severe  ** bad allocation
   ************* Warning:  Node connection errors not checked - most system input has not been read (see previous warning).
   ************* Fatal error -- final processing.  Program exited before simulations began.  See previous error messages.

Subscript error occurs here in GetLowTempRadiantSystem:

            thisRadSys.designObjectName = Alphas(2);
            thisRadSys.DesignObjectPtr = Util::FindItemInList(thisRadSys.designObjectName, VarFlowRadDesignNames);
            VarFlowRadDesignData variableFlowDesignDataObject{state.dataLowTempRadSys->HydronicRadiantSysDesign(
                thisRadSys.DesignObjectPtr)}; // Contains the data for variable flow hydronic systems
  1. This does not check for blank. Should this be a required field?
  2. There is no protection here if a bad design object name is entered.

Operating System (Multiple choices)

Any

Operating System Version

any

Version of EnergyPlus

25.1

Unmethours link or helpdesk ticket number

Helpdesk ticket 16915

Defect file

EnergyPlusDevSupport\DefectFiles

Metadata

Metadata

Assignees

Labels

DefectIncludes code to repair a defect in EnergyPlus

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions