Skip to content

Commit

Permalink
Fix set bldg and system type
Browse files Browse the repository at this point in the history
  • Loading branch information
haneslinger committed Oct 12, 2023
1 parent e5c6b97 commit 255d48a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/buildingsync/model_articulation/building_section.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def prepare_final_xml

# set building and system type
def set_bldg_and_system_type
super(xget_text('OccupancyClassification'), @total_floor_area, @number_floors, false)
super(xget_text('OccupancyClassification'), @total_floor_area, @num_stories, false)
end

# get peak occupancy
Expand Down
2 changes: 1 addition & 1 deletion spec/files/v2.4.0/building_151.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<auc:YearOfLastMajorRemodel>2003</auc:YearOfLastMajorRemodel>
<auc:Sections>
<auc:Section ID="Default_Section">
<auc:OccupancyClassification>Retail</auc:OccupancyClassification>
<auc:OccupancyClassification>Multifamily</auc:OccupancyClassification>
<auc:TypicalOccupantUsages>
<auc:TypicalOccupantUsage>
<auc:TypicalOccupantUsageValue>40.0</auc:TypicalOccupantUsageValue>
Expand Down

0 comments on commit 255d48a

Please sign in to comment.