lib/openstudio-standards/standards/necb/ECMS/ecms.rb in openstudio-standards-0.3.0 vs lib/openstudio-standards/standards/necb/ECMS/ecms.rb in openstudio-standards-0.3.1.rc1

- old
+ new

@@ -37,10 +37,15 @@ super() @standards_data = load_standards_database_new @standards_data['curves'] = standards_data['tables']['curves']['table'] end - def apply_system_ecm(model:, ecm_system_name: nil, template_standard:, runner: nil, primary_heating_fuel: nil, ecm_system_zones_map_option: 'NECB_Default') + def apply_system_ecm(model:, + ecm_system_name: nil, + template_standard:, + runner: nil, + primary_heating_fuel: nil, + ecm_system_zones_map_option: 'NECB_Default') # Do nothing if nil or other usual suspects.. covering all bases for now. return if ecm_system_name.nil? || ecm_system_name == 'none' || ecm_system_name == 'NECB_Default' ecm_system_zones_map_option = 'NECB_Default' if ecm_system_zones_map_option.nil? || ecm_system_zones_map_option == 'none' ecm_std = Standard.build('ECMS')