zone_report measure

  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 .

test_HvacEquipmentPresentInOutput(ZoneReport_Test):
NoMethodError: undefined method `[]' for nil:NilClass

Why did it fail and how to overcome it ?

ngkhanh's avatar
2.2k
ngkhanh
asked 2016-01-22 09:06:37 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments