VRF with DOAS Measure Error from BCL
Got the following error while trying to run the measure:
/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'
Followed the instructions from this page: https://unmethours.com/question/18233... "Error Applying BCL VRF w/ DOAS Measure"
But still got the same error above.
Can't seem to resolve after deleting the existing HVAC system entirely.
Any help would be appreciated
This error is occurring because in the measure the setZoneforMasterThermostatLocation method requires a thermal zone, and you aren't passing a thermal zone to it. There could be several reasons why it isn't passing a thermal zone. How many thermal zones are in your model? Could you link to a copy of your model so I can take a look at it?
I went through the model and I have 22 thermal zones assigned to 22 spaces on 7 floors.
Is the measure looking for a master zone for each VRF system? Is that something I can assign prior to running the measure?
perhaps you have an extra vrf terminal without a thermal zone assigned to it? Could you send a link to download the model on dropbox or some other file sharing site? That'd make it easier to help debug.