lib/from_openstudio/load/infiltration.rb in honeybee-openstudio-2.29.0 vs lib/from_openstudio/load/infiltration.rb in honeybee-openstudio-2.29.1

- old
+ new

@@ -36,21 +36,19 @@ class InfiltrationAbridged def self.from_load(load) # create an empty hash hash = {} - hash[:type] = 'InfiltrationaAridged' + hash[:type] = 'InfiltrationAbridged' # set hash values from OpenStudio Object hash[:identifier] = clean_name(load.nameString) unless load.displayName.empty? hash[:display_name] = (load.displayName.get).force_encoding("UTF-8") end hash[:flow_per_exterior_area] = load.flowperExteriorSurfaceArea.get unless load.schedule.empty? schedule = load.schedule.get - if schedule.to_ScheduleFixedInterval.is_initialized or schedule.to_ScheduleRuleset.is_initialized - hash[:schedule] = schedule.nameString - end + hash[:schedule] = schedule.nameString end hash[:constant_coefficient] = load.constantTermCoefficient hash[:temperature_coefficient] = load.temperatureTermCoefficient hash[:velocity_coefficient] = load.velocityTermCoefficient