zone_report measure

asked 2016-01-22 09:06:37 -0600

ngkhanh's avatar
  1. in zone_report measure has those code that i can't understand their syntax and arguments : vals[:va] = getDetailsData( "LightingSummary", "Entire Facility", "Interior Lighting", "#{zoneMetrics[:name]}%", "Lighting Power Density", "W/m2", "W/ft^2").round(2) How getDetailData works ?

2.When i run a measure_test.rb in zone report folder by notepad++, it gets this error .

NoMethodError: undefined method `[]' for nil:NilClass

Why did it fail and how to overcome it ?

edit retag flag offensive close merge delete