macumber / openstudio-vA3C

Exporter of OpenStudio Model to vA3C JSON format
6 stars 2 forks source link

Zone Variable requests don't work - no implicit conversion from nil to integer #16

Closed DavidGoldwasser closed 9 years ago

DavidGoldwasser commented 9 years ago

I hit it on this line https://github.com/macumber/openstudio-vA3C/blob/master/ViewData/measure.rb#L196

Variable Name: Zone Air System Sensible Cooling Rate, but happens with default value as well.

Here is test file https://www.dropbox.com/s/1s9lfudvwe3dy4p/050115_clean_step_b.osm?dl=0

DavidGoldwasser commented 9 years ago

So this file also has issue with "Zone Air System Sensible Cooling Rate" as variable but not with the default value for outdoor surface temperature. https://www.dropbox.com/s/km0tbtumu5uyedw/Office_DOE%20Ref%202004_ASHRAE%20169-2006-5B.osm?dl=0

DavidGoldwasser commented 9 years ago

I hit it with these variable(s) request as well. Maybe it happens with any zone variable vs. surface?

Zone Total Internal Radiant Heating Rate Zone Electric Equipment Electric Power