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

Assertion Failed on Line 313 in ZoneHVACEquipmentList

asked 2025-09-08 13:23:10 -0500

DariusLuo's avatar

updated 2025-09-08 13:58:31 -0500

I am trying to run a measure in OpenStudio to create a baseline building for ASHRAE 90.1-2016 compliance. However, regardless of the measure I use (of which there are multiple to create a baseline building), it is unable to run and I find this message in the Advanced Output window.

[14:12:30.465932 FATAL] [BOOST_ASSERT] Assertion wo failed on line 313 of class openstudio::model::ThermalZone __cdecl openstudio::model::detail::ZoneHVACEquipmentList_Impl::thermalZone(void) const in file D:\OSN\Openstudio\src\model\ZoneHVACEquipmentList.cpp.

Looking at line 313 here, it is not obvious to me what the issue is. Does anyone have any ideas? Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2025-09-09 02:01:35 -0500

updated 2025-09-09 02:02:37 -0500

The assertion indicates that a ZoneHVACEquipmentList should always point to a ThermalZone. Somehow you ended up with an orphaned ZoneHVACEquipmentList.

I've got enough experience with the OS SDK to say that I'm 99.9% confident that the reason you ended in this situation is a user error. The ZoneHVACEquipmentList is created when the ThermalZone is instantiated, and should never be created manually. It will also be removed when the ThermalZone is removed. So either you somehow instantiated one manually (the constructor is not private in Ruby), or you edited the OSM file manually, or you called a Workspace level method (as opposed to Model level method) by mistake (eq.setString(2, "") for eg).

Anyways, look for that orphaned ZoneHVACEquipmentList and remove it. In the Ruby bindings, you can do something like:

 model.getZoneHVACEquipmentLists.select{|e| e.isEmpty(2)}
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Question Tools

1 follower

Stats

Asked: 2025-09-08 13:23:10 -0500

Seen: 951 times

Last updated: Sep 09