Correct small bug in merge city
This commit is contained in:
parent
658c44389e
commit
5637f219f8
|
@ -459,6 +459,7 @@ class City:
|
|||
for surface in city_object.surfaces:
|
||||
radiation = surface.global_irradiance
|
||||
if 'year' not in radiation and 'month' not in radiation:
|
||||
|
||||
continue
|
||||
elif "year" in radiation:
|
||||
building_radiation += radiation["year"].iloc[0]
|
||||
|
|
Loading…
Reference in New Issue
Block a user