2

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

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?

Inay's avatar
71
Inay
asked 2016-09-06 02:16:12 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2016-09-06 11:03:00 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "duplicate question" by MatthewSteen 2016-09-06 11:00:44 -0500

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 -0500) 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 -0500) edit

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

MatthewSteen's avatar MatthewSteen (2016-09-06 11:52:55 -0500) 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 -0500) 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 -0500) edit
add a comment see more comments

1 Answer

1

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.

Adam Hilton's avatar
3.5k
Adam Hilton
answered 2016-09-06 09:38:47 -0500, updated 2016-09-06 10:06:22 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments