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

Can't "Apply Measure Now" for HVAC System in OpenStudio [closed]

asked 2016-09-06 02:16:12 -0600

Inay's avatar

updated 2016-09-06 11:03:00 -0600

Hello, I want to input HVAC system to my model by the OpenStudio version 1.12.0 "Apply Measure Now". I'm using OpenStudio version 1.12.0 and also Sketchup 2016. I've selected VRF with DOAS as the HVAC system but when it started to load "measure now" it always ended with the message box

error: process exited with a non-zero exit code of: 1 DL is deprecated, please use Fiddle C:/Users/Abdih/AppData/Local/Temp/OpenStudio.Wm3296/ApplyMeasureNow/UserScript/resources/OsLib_HVAC.rb:126:in get': Optional not initialized (RuntimeError) from C:/Users/Abdih/AppData/Local/Temp/OpenStudio.Wm3296/ApplyMeasureNow/UserScript/resources/OsLib_HVAC.rb:126:inblock in sortZones' from C:/Users/Abdih/AppData/Local/Temp/OpenStudio.Wm3296/ApplyMeasureNow/UserScript/resources/OsLib_HVAC.rb:121:in each' from C:/Users/Abdih/AppData/Local/Temp/OpenStudio.Wm3296/ApplyMeasureNow/UserScript/resources/OsLib_HVAC.rb:121:insortZones' from C:/Users/Abdih/AppData/Local/Temp/OpenStudio.Wm3296/ApplyMeasureNow/UserScript/user_script.rb:246:in run' from in.rb:355:in<main>'

It happened with every single model I've made. Any suggestion what should I do?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by MatthewSteen
close date 2016-09-06 11:00:44.181696

Comments

Welcome @Inay. A couple suggestions for future questions.

  1. Please use existing tags whenever possible in order to categorize it correctly and notify other users.
  2. Please search for existing questions before asking new ones.

In this case see this previous question for an answer: https://unmethours.com/question/18233...

MatthewSteen's avatar MatthewSteen  ( 2016-09-06 11:00:21 -0600 )edit

I don't think this is the same error that's discussed in that question.

Adam Hilton's avatar Adam Hilton  ( 2016-09-06 11:36:38 -0600 )edit

@adhilton, if i made a mistake feel free to reopen it.

MatthewSteen's avatar MatthewSteen  ( 2016-09-06 11:52:55 -0600 )edit

@adhilton@MatthewSteen yes, I think that was a different problem. I've opened that link and also tried to apply it to my problem but it haven't solved yet because there was another error. It is true that my model wasn't fully conditioned with thermal zone so I add thermal zone for spaces with no thermal zone but this is what happened when it measured :

Inay's avatar Inay  ( 2016-09-06 22:00:15 -0600 )edit

C:/Users/Abdih/AppData/Local/Temp/OpenStudio.Ds3484/ApplyMeasureNow/UserScript/resources/OsLib_HVAC.rb:1181:in setZoneforMasterThermostatLocation': invalid null reference Expected argument 1 of type openstudio::model::ThermalZone const &, but got NilClass nil (ArgumentError) in SWIG method 'setZoneforMasterThermostatLocation' fromC:/Users/Abdih/AppData/Local/Temp/OpenStudio.Ds3484/ApplyMeasureNow/UserScript/resources/OsLib_HVAC.rb:1181:inblock in createVRFAirConditioners' fromC:/Users/Abdih/AppData/Local/Temp/OpenStudio.Ds3484/ApplyMeasureNow/UserScript/resources/OsLib_HVAC.rb:1137:in `each

Inay's avatar Inay  ( 2016-09-06 22:02:37 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-09-06 09:38:47 -0600

Adam Hilton's avatar

updated 2016-09-06 10:06:22 -0600

It looks like you have spaces that have the desired spaceType but don't have a thermal zone associated with them. This is causing space.thermalZone to return false which causes the .get function to fail.

edit flag offensive delete link more

Training Workshops

Careers

Question Tools

Stats

Asked: 2016-09-06 02:16:12 -0600

Seen: 333 times

Last updated: Sep 06 '16