Merge pull request 'Correct small bug in merge city' (#1) from bug_in_merge_city into main
Reviewed-on: https://nextgenerations-cities.encs.concordia.ca/gitea/CERC/hub/pulls/1
This commit is contained in:
commit
385d5a07e7
|
@ -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