lib/to_openstudio/load/people.rb in honeybee-openstudio-2.26.0 vs lib/to_openstudio/load/people.rb in honeybee-openstudio-2.27.0

- old
+ new

@@ -46,9 +46,12 @@ # create people OpenStudio object and set identifier os_people_def = OpenStudio::Model::PeopleDefinition.new(openstudio_model) os_people = OpenStudio::Model::People.new(os_people_def) os_people_def.setName(@hash[:identifier]) + unless @hash[:display_name].nil? + os_people_def.setDisplayName(@hash[:display_name]) + end os_people.setName(@hash[:identifier]) # assign people per space floor area os_people_def.setPeopleperSpaceFloorArea(@hash[:people_per_area]) \ No newline at end of file