mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Get floor number from floor name 🟩
This commit is contained in:
parent
78773ca633
commit
5fb2f421dd
1 changed files with 1 additions and 0 deletions
|
|
@ -1422,6 +1422,7 @@ def _map_floor_dimensions(floors: List[FloorMeasurement]) -> List[SapFloorDimens
|
|||
total_floor_area_m2=floor.area_m2,
|
||||
party_wall_length_m=floor.pwl_m,
|
||||
heat_loss_perimeter_m=floor.heat_loss_perimeter_m,
|
||||
floor=int(floor.name.split()[-1]),
|
||||
)
|
||||
for floor in floors
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue