lib/from_openstudio/simulation/design_day.rb in honeybee-openstudio-2.23.5 vs lib/from_openstudio/simulation/design_day.rb in honeybee-openstudio-2.23.6
- old
+ new
@@ -35,10 +35,10 @@
class DesignDay
def self.from_design_day(design_day)
hash = {}
hash[:type] = 'DesignDay'
- hash[:name] = design_day.nameString
+ hash[:name] = clean_identifier(design_day.nameString)
hash[:day_type] = day_type_from_design_day(design_day)
hash[:dry_bulb_condition] = dry_bulb_condition_from_design_day(design_day)
hash[:humidity_condition] = humidity_condition_from_design_day(design_day)
hash[:wind_condition] = wind_condition_from_design_day(design_day)
hash[:sky_condition] = sky_condition_from_design_day(design_day)