Skip to content

map common floor-area type#132

Merged
kflemin merged 2 commits intodevelopfrom
common-floor-area
Sep 11, 2021
Merged

map common floor-area type#132
kflemin merged 2 commits intodevelopfrom
common-floor-area

Conversation

@kflemin
Copy link
Contributor

@kflemin kflemin commented Sep 10, 2021

Fixes #131

@kflemin kflemin requested a review from nllong September 10, 2021 18:56
Copy link
Member

@nllong nllong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does look like if there is both a Conditioned floor area and a Common floor area in the same block of BuildingSync, then it will only grab the last one, correct?

elsif floor_area_type == 'Footprint'
@footprint_floor_area = OpenStudio.convert(validate_positive_number_excluding_zero('@footprint_floor_area', floor_area), 'ft^2', 'm^2').get
elsif floor_area_type == 'Conditioned'
elsif floor_area_type == 'Conditioned' || floor_area_type == 'Common'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

@kflemin kflemin merged commit f5c5fd0 into develop Sep 11, 2021
@kflemin kflemin deleted the common-floor-area branch September 11, 2021 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

floor area type processing does not handle some of the buildingsync enums

2 participants