openstudiocoalition / OpenStudioApplication

The OpenStudio Application is a fully featured graphical interface to OpenStudio models including envelope, loads, schedules, and HVAC.
https://openstudiocoalition.org
Other
137 stars 25 forks source link

Crash when defining horizontal ground heat exchanger #649

Open RuthUrban opened 11 months ago

RuthUrban commented 11 months ago

Issue overview

We created an OpenStudio model with a horizontal ground heat exchanger, but OpenStudio isn’t allowing input of “Undisturbed Ground Temperature Model” in the object “OS:GroundHeatExchanger:HorizontalTrench”. The field is greyed-out and can’t be selected.

Current Behavior

The simulation crashes with this message:

“[BOOST_ASSERT] <2> Assertion modelObject failed on line 175 of class openstudio::model::ModelObject __cdecl openstudio::model::detail::GroundHeatExchangerHorizontalTrench_Impl::undisturbedGroundTemperatureModel(void) const in file D:\OSN\src\model\GroundHeatExchangerHorizontalTrench.cpp.”

Expected Behavior

Steps to Reproduce

See discussion on unmet hours: https://unmethours.com/question/97673/horizontal-ground-heat-exchanger/

Possible Solution

See discussion on unmet hours: https://unmethours.com/question/97673/horizontal-ground-heat-exchanger/ We (with help) developed a work around, but this should be properly fixed.

Details

Environment

See discussion on unmet hours: https://unmethours.com/question/97673/horizontal-ground-heat-exchanger/

Context

jmarrec commented 10 months ago

See also Reported by @brgix here https://github.com/openstudiocoalition/OpenStudioApplication/issues/653#issuecomment-1872964638

jmarrec commented 10 months ago

This seems like a NREL/OpenStudio SDK issue. I'm guessing it's the clone method that's messed up.

jmarrec commented 10 months ago

Yup, filed at https://github.com/NREL/OpenStudio/issues/5074

brgix commented 3 months ago

Mentioned in this recent UMH post.