diff --git a/hub_api/mockup/building.py b/hub_api/mockup/building.py index 7e98a71..8925a69 100644 --- a/hub_api/mockup/building.py +++ b/hub_api/mockup/building.py @@ -12,7 +12,7 @@ class Building: """ Building class """ - def __init__(self, building_info, result, catalog_archetype): + def __init__(self, building_info, results, catalog_archetype): self._function = building_info.function self._area = building_info.area self._volume = building_info.volume @@ -23,12 +23,12 @@ class Building: self._total_pv_area = building_info.total_pv_area self._heating_consumption = heating_consumption self._cooling_consumption = cooling_consumption - self._domestic_hot_water_consumption = building_info.domestic_hot_water_consumption - self._lighting_electrical_demand = building_info.lighting_electrical_demand - self._appliances_electrical_demand = building_info.appliances_electrical_demand - self._heating_peak_load = building_info.heating_peak_load - self._cooling_peak_load = building_info.cooling_peak_load - self._onsite_electrical_production = building_info.onsite_electrical_production + self._domestic_hot_water_consumption = domestic_hot_water_consumption + self._lighting_electrical_demand = lighting_electrical_demand + self._appliances_electrical_demand = appliances_electrical_demand + self._heating_peak_load = heating_peak_load + self._cooling_peak_load =cooling_peak_load + self._onsite_electrical_production = onsite_electrical_production self._catalog_archetype = catalog_archetype @property