diff --git a/hub/exports/building_energy/idf.py b/hub/exports/building_energy/idf.py index 76e93c89..0270d866 100644 --- a/hub/exports/building_energy/idf.py +++ b/hub/exports/building_energy/idf.py @@ -12,6 +12,7 @@ from geomeppy import IDF import hub.helpers.constants as cte from hub.city_model_structure.attributes.schedule import Schedule from hub.city_model_structure.building_demand.thermal_zone import ThermalZone +from hub.helpers.configuration_helper import ConfigurationHelper class Idf: @@ -633,6 +634,8 @@ class Idf: self._city.lower_corner) shading.setcoords(coordinates) solar_reflectance = surface.short_wave_reflectance + if solar_reflectance is None: + solar_reflectance = ConfigurationHelper().short_wave_reflectance self._idf.newidfobject(self._SHADING_PROPERTY, Shading_Surface_Name=f'{surface.name}', Diffuse_Solar_Reflectance_of_Unglazed_Part_of_Shading_Surface=solar_reflectance,