Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 ?