Skip to content

Commit

Permalink
fix(building): Ensure that plenum story IDs are always unique
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Feb 5, 2025
1 parent e313cd4 commit ca246d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dragonfly/building.py
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ def separate_room_2d_plenums(
else: # there is already a relevant plenum story
pln_story = self._unique_stories[pln_st_i]
if pln_story is None: # we must create a new story
pln_id = '{}_Plenum'.format(story.identifier)
pln_id = '{}_{}'.format(story.identifier, st_type)
pln_story = Story(pln_id, [plenum_room], type=st_type)
pln_story.floor_to_floor_height = story.floor_to_floor_height
pln_story.floor_height = story.floor_height
Expand Down

0 comments on commit ca246d9

Please sign in to comment.