Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Error in UserDefined HVAC Objects assembled [closed]

asked 2024-05-08 18:29:57 -0500

efrainpuerto's avatar

updated 2024-05-08 19:17:01 -0500

Hi everybody. I try to emulate a complex heating solar system with experimental equipment so I decided to initially use two ZoneHVAC:ForcedAir:UserDefined and use a AirTerminal:SingleDuct:UserDefined (this is because the two systems has after mixing air a gas burner in case is not enough with solar heaters) and this Air Terminal is finally connected to the zone. My code is:

!-   ===========  ALL OBJECTS IN CLASS: ZONEHVAC:AIRDISTRIBUTIONUNIT ===========

ZoneHVAC:AirDistributionUnit,
  TunnelTerminal,          !- Name
  TunnelInlet,             !- Air Distribution Unit Outlet Node Name
  AirTerminal:SingleDuct:UserDefined,  !- Air Terminal Object Type
  AirMixer;                !- Air Terminal Name


!-   ===========  ALL OBJECTS IN CLASS: ZONEHVAC:EQUIPMENTLIST ===========

ZoneHVAC:EquipmentList,
  SolarHeatingSystem,      !- Name
  SequentialLoad,          !- Load Distribution Scheme
  ZoneHVAC:AirDistributionUnit,  !- Zone Equipment 1 Object Type
  TunnelTerminal,          !- Zone Equipment 1 Name
  3,                       !- Zone Equipment 1 Cooling Sequence
  3,                       !- Zone Equipment 1 Heating or No-Load Sequence
  ,                        !- Zone Equipment 1 Sequential Cooling Fraction Schedule Name
  ,                        !- Zone Equipment 1 Sequential Heating Fraction Schedule Name
  ZoneHVAC:ForcedAir:UserDefined,  !- Zone Equipment 2 Object Type
  IndirectSolarAirHeater,  !- Zone Equipment 2 Name
  2,                       !- Zone Equipment 2 Cooling Sequence
  2,                       !- Zone Equipment 2 Heating or No-Load Sequence
  ,                        !- Zone Equipment 2 Sequential Cooling Fraction Schedule Name
  ,                        !- Zone Equipment 2 Sequential Heating Fraction Schedule Name
  ZoneHVAC:ForcedAir:UserDefined,  !- Zone Equipment 3 Object Type
  DirectSolarAirHeater,    !- Zone Equipment 3 Name
  1,                       !- Zone Equipment 3 Cooling Sequence
  1;                       !- Zone Equipment 3 Heating or No-Load Sequence


!-   ===========  ALL OBJECTS IN CLASS: ZONEHVAC:EQUIPMENTCONNECTIONS ===========

ZoneHVAC:EquipmentConnections,
  ThermalZone,             !- Zone Name
  SolarHeatingSystem,      !- Zone Conditioning Equipment List Name
  TunnelInlet,             !- Zone Air Inlet Node or NodeList Name
  ,                        !- Zone Air Exhaust Node or NodeList Name
  TunnelZoneNode;          !- Zone Air Node Name


!-   ===========  ALL OBJECTS IN CLASS: OUTDOORAIR:NODE ===========

OutdoorAir:Node,
  OA_DSAH_Node;            !- Name

OutdoorAir:Node,
  OA_ISAH_Node;            !- Name


!-   ===========  ALL OBJECTS IN CLASS: ZONEHVAC:FORCEDAIR:USERDEFINED ===========

ZoneHVAC:ForcedAir:UserDefined,
  DirectSolarAirHeater,    !- Name
  DirectSolarHeatingEMS,   !- Overall Model Simulation Program Calling Manager Name
  ,                        !- Model Setup and Sizing Program Calling Manager Name
  OA_DSAH_Node,            !- Primary Air Inlet Node Name
  DSAHOutletNode,          !- Primary Air Outlet Node Name
  ,                        !- Secondary Air Inlet Node Name
  ,                        !- Secondary Air Outlet Node Name
  0;                       !- Number of Plant Loop Connections

ZoneHVAC:ForcedAir:UserDefined,
  IndirectSolarAirHeater,  !- Name
  IndirectSolarHeatingEMS, !- Overall Model Simulation Program Calling Manager Name
  ,                        !- Model Setup and Sizing Program Calling Manager Name
  OA_ISAH_Node,            !- Primary Air Inlet Node Name
  ISAHOutletNode,          !- Primary Air Outlet Node Name
  ,                        !- Secondary Air Inlet Node Name
  ,                        !- Secondary Air Outlet Node Name
  0;                       !- Number of Plant Loop Connections


!-   ===========  ALL OBJECTS IN CLASS: AIRTERMINAL:SINGLEDUCT:USERDEFINED ===========

AirTerminal:SingleDuct:UserDefined,
  AirMixer,                !- Name
  AirMixingEMS,            !- Overall Model Simulation Program Calling Manager Name
  ,                        !- Model Setup and Sizing Program Calling Manager Name
  DSAHOutletNode,          !- Primary Air Inlet Node Name
  TunnelInlet,             !- Primary Air Outlet Node Name
  ISAHOutletNode,          !- Secondary Air Inlet Node Name
  ,                        !- Secondary Air Outlet Node Name
  0,                       !- Number of Plant Loop Connections
  AMXRPlantInletNode,      !- Plant Connection 1 Inlet Node Name
  AMXRPlantOutletNode;     !- Plant Connection 1 Outlet Node Name

But it throws the following error:

** Severe  ** GetUserDefinedComponents: No matching Air Distribution Unit for AirTerminal:SingleDuct:UserDefined = AIRMIXER

But as you can see, I'm using "TunnelInlet" in Primayr Air Outlet Node Name. So I don't know the origin of the error. Something I missing?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by efrainpuerto
close date 2024-05-16 13:07:14.276960

Comments

I have never connected user defined components before but if you send me the input file I could investigate what is tripping that severe warning.

rraustad's avatar rraustad  ( 2024-05-08 20:13:31 -0500 )edit

Thank you @rraustad. In the link you can find the files.

efrainpuerto's avatar efrainpuerto  ( 2024-05-09 14:25:52 -0500 )edit

You should just email me the file to the address in my profile. I would rather not install the file transfer app.

rraustad's avatar rraustad  ( 2024-05-15 07:44:24 -0500 )edit

No, you don't have to, just click in download and it download the files. It doesn't need an app to download. But certainly you could give me a mail and I send the files too.

efrainpuerto's avatar efrainpuerto  ( 2024-05-16 10:38:47 -0500 )edit

I posted issue 10507 to get this fixed.

rraustad's avatar rraustad  ( 2024-05-16 11:30:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2024-05-16 11:23:49 -0500

The program is comparing the AirTerminal:SingleDuct:UserDefined Primary Air Outlet Node Name to the ZoneHVAC:AirDistributionUnit Air Distribution Unit Outlet Node Name BEFORE the air distribution unit node names are read in. So the UserDefined component reports the error. The program does find the correct node name after the warning is issued so it looks like this is a false warning. It's no surprise the program did not stop executing so I suspect someone has seen this warning before (i.e., the line of code ErrorsFound = true is commented out). I think you can safely disregard this warning.

ZoneHVAC:AirDistributionUnit,
    TunnelTerminal,          !- Name
    TunnelInlet,             !- Air Distribution Unit Outlet Node Name
    AirTerminal:SingleDuct:UserDefined,  !- Air Terminal Object Type
    AirMixer;                !- Air Terminal Name

AirTerminal:SingleDuct:UserDefined,
    AirMixer,                !- Name
    AirMixingEMS,            !- Overall Model Simulation Program Calling Manager Name
    ,                        !- Model Setup and Sizing Program Calling Manager Name
    DSAHOutletNode,          !- Primary Air Inlet Node Name
    TunnelInlet,             !- Primary Air Outlet Node Name

image description

edit flag offensive delete link more

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 2024-05-08 18:29:57 -0500

Seen: 145 times

Last updated: May 16