Sync with cerc hub and overall code improvements
This commit is contained in:
parent
6e5441e9d2
commit
56538e803b
|
@ -50,7 +50,9 @@ class CityObject(Models):
|
|||
self.volume = building.volume
|
||||
self.area = building.floor_area
|
||||
self.roof_area = sum(roof.solid_polygon.area for roof in building.roofs)
|
||||
self.total_pv_area = sum(roof.solid_polygon.area * roof.solar_collectors_area_reduction_factor for roof in building.roofs)
|
||||
self.total_pv_area = sum(
|
||||
roof.solid_polygon.area * roof.solar_collectors_area_reduction_factor for roof in building.roofs
|
||||
)
|
||||
storeys = building.storeys_above_ground
|
||||
wall_area = 0
|
||||
window_ratio = 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user