From f4b4d0551f07a0ad0aee64fc5df1c6bb79c16208 Mon Sep 17 00:00:00 2001 From: s_ranjbar Date: Wed, 27 Nov 2024 18:16:40 +0100 Subject: [PATCH] fix: total_installed_capacity attribute added to PvGeneration class, idf modified, redundant palma file removed --- .../energy_systems/pv_generation_system.py | 34 +- .../palma_archetypes_modified.json | 774 ------------------ hub/exports/building_energy/idf.py | 2 +- 3 files changed, 9 insertions(+), 801 deletions(-) delete mode 100644 hub/data/construction/palma_archetypes_modified.json diff --git a/hub/city_model_structure/energy_systems/pv_generation_system.py b/hub/city_model_structure/energy_systems/pv_generation_system.py index f6567c98..66ca7196 100644 --- a/hub/city_model_structure/energy_systems/pv_generation_system.py +++ b/hub/city_model_structure/energy_systems/pv_generation_system.py @@ -28,9 +28,7 @@ class PvGenerationSystem(GenerationSystem): self._height = None self._electricity_power_output = {} self._tilt_angle = None - self._surface_azimuth = None - self._solar_altitude_angle = None - self._solar_azimuth_angle = None + self._installed_capacity = None @property def nominal_electricity_output(self): @@ -225,33 +223,17 @@ class PvGenerationSystem(GenerationSystem): self._electricity_power_output = value @property - def tilt_angle(self): + def installed_capacity(self): """ - Get tilt angle of PV system in degrees + Get the total installed nominal capacity in W :return: float """ - return self._tilt_angle + return self._installed_capacity - @tilt_angle.setter - def tilt_angle(self, value): + @installed_capacity.setter + def installed_capacity(self, value): """ - Set PV system tilt angle in degrees + Set the total installed nominal capacity in W :param value: float """ - self._tilt_angle = value - - @property - def surface_azimuth(self): - """ - Get surface azimuth angle of PV system in degrees. 0 is North - :return: float - """ - return self._surface_azimuth - - @surface_azimuth.setter - def surface_azimuth(self, value): - """ - Set PV system tilt angle in degrees - :param value: float - """ - self._surface_azimuth = value + self._installed_capacity = value diff --git a/hub/data/construction/palma_archetypes_modified.json b/hub/data/construction/palma_archetypes_modified.json deleted file mode 100644 index 24c171ad..00000000 --- a/hub/data/construction/palma_archetypes_modified.json +++ /dev/null @@ -1,774 +0,0 @@ -{ - "archetypes": [ - { - "function": "Large multifamily building", - "period_of_construction": "2021_2050", - "climate_zone": "B3", - "average_storey_height": 3.57, - "thermal_capacity": 83.018, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "PA1_PA2_2021_2050_FACEXT", - "transparent_surface_name": "PA1_PA2_2021_2050_WIN1", - "transparent_ratio": { - "north": "60", - "east": "5", - "south": "60", - "west": "5" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "PA1_PA2_2021_2050_ROOF", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "PA1_PA2_2021_2050_FLOOR" - }, - "GroundWall": { - "opaque_surface_name": "PA1_PA2_2021_2050_FACEXT" - }, - "GroundRoofCeiling": { - "opaque_surface_name": "PA1_PA2_2021_2050_FLOORINT" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Medium multifamily building", - "period_of_construction": "2021_2050", - "climate_zone": "B3", - "average_storey_height": 3.57, - "thermal_capacity": 83.018, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "PA1_PA2_2021_2050_FACEXT", - "transparent_surface_name": "PA1_PA2_2021_2050_WIN1", - "transparent_ratio": { - "north": "60", - "east": "5", - "south": "60", - "west": "5" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "PA1_PA2_2021_2050_ROOF", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "PA1_PA2_2021_2050_FLOOR" - }, - "GroundWall": { - "opaque_surface_name": "PA1_PA2_2021_2050_FACEXT" - }, - "GroundRoofCeiling": { - "opaque_surface_name": "PA1_PA2_2021_2050_FLOORINT" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Small multifamily building", - "period_of_construction": "2021_2050", - "climate_zone": "B3", - "average_storey_height": 3.57, - "thermal_capacity": 83.018, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "PA1_PA2_2021_2050_FACEXT", - "transparent_surface_name": "PA1_PA2_2021_2050_WIN1", - "transparent_ratio": { - "north": "60", - "east": "5", - "south": "60", - "west": "5" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "PA1_PA2_2021_2050_ROOF", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "PA1_PA2_2021_2050_FLOOR" - }, - "GroundWall": { - "opaque_surface_name": "PA1_PA2_2021_2050_FACEXT" - }, - "GroundRoofCeiling": { - "opaque_surface_name": "PA1_PA2_2021_2050_FLOORINT" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Single-family building", - "period_of_construction": "2021_2050", - "climate_zone": "B3", - "average_storey_height": 3.57, - "thermal_capacity": 83.018, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "PA1_PA2_2021_2050_FACEXT", - "transparent_surface_name": "PA1_PA2_2021_2050_WIN1", - "transparent_ratio": { - "north": "60", - "east": "5", - "south": "60", - "west": "5" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "PA1_PA2_2021_2050_ROOF", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "PA1_PA2_2021_2050_FLOOR" - }, - "GroundWall": { - "opaque_surface_name": "PA1_PA2_2021_2050_FACEXT" - }, - "GroundRoofCeiling": { - "opaque_surface_name": "PA1_PA2_2021_2050_FLOORINT" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Large multifamily building", - "period_of_construction": "1961_1980", - "climate_zone": "B3", - "average_storey_height": 3.57, - "thermal_capacity": 3000, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "PA1_PA2_1961_1980_FACEXT1", - "transparent_surface_name": "PA1_PA2_1961_1980_WIN1", - "transparent_ratio": { - "north": "60", - "east": "60", - "south": "60", - "west": "60" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "PA1_PA2_1961_1980_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "PA1_PA2_1961_1980_FLOOR1" - }, - "GroundWall": { - "opaque_surface_name": "PA1_PA2_1961_1980_FACEXT1" - }, - "GroundRoofCeiling": { - "opaque_surface_name": "PA1_PA2_1961_1980_FLOOR4" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Large multifamily building", - "period_of_construction": "1981_2007", - "climate_zone": "B3", - "average_storey_height": 3.2, - "thermal_capacity": 3179, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "E_1981_2007_FACEXT1", - "transparent_surface_name": "E_1981_2007_WIN1", - "transparent_ratio": { - "north": "45", - "east": "45", - "south": "45", - "west": "45" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "E_1981_2007_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "E_1981_2007_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Medium multifamily building", - "period_of_construction": "1800_1900", - "climate_zone": "B3", - "average_storey_height": 4.39, - "thermal_capacity": 3330, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "A_B1900_FACEXT1", - "transparent_surface_name": "A_B1900_WIN2", - "transparent_ratio": { - "north": "20", - "east": "20", - "south": "20", - "west": "20" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "A_B1900_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "A_B1900_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Medium multifamily building", - "period_of_construction": "1901_1940", - "climate_zone": "B3", - "average_storey_height": 3.65, - "thermal_capacity": 3420, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "B_1901_1940_FACEXT1", - "transparent_surface_name": "B_1901_1940_WIN1", - "transparent_ratio": { - "north": "40", - "east": "40", - "south": "40", - "west": "40" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "B_1901_1940_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "B_1901_1940_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Medium multifamily building", - "period_of_construction": "1941_1960", - "climate_zone": "B3", - "average_storey_height": 3.6, - "thermal_capacity": 3000, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": " C_1941_1960_FACEXT1", - "transparent_surface_name": "C_1941_1960_WIN1", - "transparent_ratio": { - "north": "30", - "east": "30", - "south": "30", - "west": "30" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "C_1941_1960_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "C_1941_1960_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Medium multifamily building", - "period_of_construction": "1961_1980", - "climate_zone": "B3", - "average_storey_height": 4.5, - "thermal_capacity": 3540, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "PA1_PA2_1961_1980_FACEXT1", - "transparent_surface_name": "PA1_PA2_1961_1980_WIN1", - "transparent_ratio": { - "north": "55", - "east": "55", - "south": "55", - "west": "55" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "PA1_PA2_1961_1980_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "PA1_PA2_1961_1980_FLOOR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Medium multifamily building", - "period_of_construction": "1981_2007", - "climate_zone": "B3", - "average_storey_height": 3.2, - "thermal_capacity": 3179, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "E_1981_2007_FACEXT1", - "transparent_surface_name": "E_1981_2007_WIN1", - "transparent_ratio": { - "north": "45", - "east": "45", - "south": "45", - "west": "45" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "E_1981_2007_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "E_1981_2007_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Medium multifamily building", - "period_of_construction": "2008_2014", - "climate_zone": "B3", - "average_storey_height": 2.75, - "thermal_capacity": 3290, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "F_2008_2014_FACEXT1", - "transparent_surface_name": "F_2008_2014_WIN1", - "transparent_ratio": { - "north": "40", - "east": "40", - "south": "40", - "west": "40" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "F_2008_2014_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "F_2008_2014_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Small multifamily building", - "period_of_construction": "1800_1980", - "climate_zone": "B3", - "average_storey_height": 3.8, - "thermal_capacity": 3527.9, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "PA3_PA4_1901_1940_FACEXT1", - "transparent_surface_name": "PA3_PA4_1901_1940_WIN1", - "transparent_ratio": { - "north": "40", - "east": "40", - "south": "40", - "west": "40" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "PA3_PA4_1901_1940_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "PA3_PA4_1901_1940_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Small multifamily building", - "period_of_construction": "1981_2007", - "climate_zone": "B3", - "average_storey_height": 3.2, - "thermal_capacity": 3179, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "E_1981_2007_FACEXT1", - "transparent_surface_name": "E_1981_2007_WIN1", - "transparent_ratio": { - "north": "45", - "east": "45", - "south": "45", - "west": "45" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "E_1981_2007_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "E_1981_2007_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Small multifamily building", - "period_of_construction": "2008_2014", - "climate_zone": "B3", - "average_storey_height": 2.75, - "thermal_capacity": 3290, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "F_2008_2014_FACEXT1", - "transparent_surface_name": "F_2008_2014_WIN1", - "transparent_ratio": { - "north": "40", - "east": "40", - "south": "40", - "west": "40" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "F_2008_2014_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "F_2008_2014_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Small multifamily building", - "period_of_construction": "2015_2019", - "climate_zone": "B3", - "average_storey_height": 2.75, - "thermal_capacity": 3290, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "G_2015_2019_FACEXT1", - "transparent_surface_name": "G_2015_2019_WIN1", - "transparent_ratio": { - "north": "40", - "east": "40", - "south": "40", - "west": "40" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "G_2015_2019_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "G_2015_2019_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Single-family building", - "period_of_construction": "1800_1980", - "climate_zone": "B3", - "average_storey_height": 3.68, - "thermal_capacity": 4400, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "PA3_PA4_1901_1940_FACEXT1", - "transparent_surface_name": "PA3_PA4_1901_1940_WIN1", - "transparent_ratio": { - "north": "40", - "east": "40", - "south": "40", - "west": "40" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "PA3_PA4_1901_1940_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "PA3_PA4_1901_1940_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Single-family building", - "period_of_construction": "1981_2007", - "climate_zone": "B3", - "average_storey_height": 3.2, - "thermal_capacity": 3179, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "E_1981_2007_FACEXT1", - "transparent_surface_name": "E_1981_2007_WIN1", - "transparent_ratio": { - "north": "45", - "east": "45", - "south": "45", - "west": "45" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "E_1981_2007_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "E_1981_2007_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Single-family building", - "period_of_construction": "2008_2014", - "climate_zone": "B3", - "average_storey_height": 3.75, - "thermal_capacity": 3200, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "F_2008_2014_FACEXT1", - "transparent_surface_name": "F_2008_2014_WIN1", - "transparent_ratio": { - "north": "60", - "east": "60", - "south": "60", - "west": "60" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "F_2008_2014_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "F_2008_2014_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - }, - { - "function": "Single-family building", - "period_of_construction": "2015_2019", - "climate_zone": "B3", - "average_storey_height": 3.75, - "thermal_capacity": 3200, - "extra_loses_due_thermal_bridges": 0.1, - "infiltration_rate_for_ventilation_system_on": 0, - "infiltration_rate_for_ventilation_system_off": 0.9, - "constructions": { - "OutdoorsWall": { - "opaque_surface_name": "G_2015_2019_FACEXT1", - "transparent_surface_name": "G_2015_2019_WIN1", - "transparent_ratio": { - "north": "60", - "east": "60", - "south": "60", - "west": "60" - } - }, - "OutdoorsRoofCeiling": { - "opaque_surface_name": "G_2015_2019_ROOF1", - "transparent_surface_name": null, - "transparent_ratio": { - "north": null, - "east": null, - "south": null, - "west": null - } - }, - "GroundFloor": { - "opaque_surface_name": "G_2015_2019_FLOORGR1" - } - }, - "infiltration_rate_area_for_ventilation_system_on": 0, - "infiltration_rate_area_for_ventilation_system_off": 0 - } - ] -} \ No newline at end of file diff --git a/hub/exports/building_energy/idf.py b/hub/exports/building_energy/idf.py index aa2d0d5e..ecb12e8b 100644 --- a/hub/exports/building_energy/idf.py +++ b/hub/exports/building_energy/idf.py @@ -467,7 +467,7 @@ class Idf: def _add_infiltration_surface(self, thermal_zone, zone_name): schedule = f'INF_CONST schedules {thermal_zone.usage_name}' - _infiltration = thermal_zone.infiltration_rate_area_system_off*1 + _infiltration = thermal_zone.infiltration_rate_area_system_off* cte.INFILTRATION_75PA_TO_4PA self._idf.newidfobject(self._INFILTRATION, Name=f'{zone_name}_infiltration', Zone_or_ZoneList_or_Space_or_SpaceList_Name=zone_name, -- 2.39.5