Added method for importing water to water source. Made some modifications to reflect data source

This commit is contained in:
Peter Yefi 2021-12-15 09:25:37 +00:00
parent 93160912c3
commit f6354586d6

View File

@ -2,9 +2,11 @@
EnergySystemsFactory retrieve the energy system module for the given region EnergySystemsFactory retrieve the energy system module for the given region
SPDX - License - Identifier: LGPL - 3.0 - or -later SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Pilar Monsalvete pilar.monsalvete@concordi.ca Copyright © 2020 Project Author Pilar Monsalvete pilar.monsalvete@concordi.ca
Contributor Peter Yefi peteryefi@gmail.com
""" """
from pathlib import Path from pathlib import Path
from imports.energy_systems.xlsx_heat_pump_parameters import XlsxHeatPumpParameters from imports.energy_systems.air_source_hp_parameters import AirSourceHeatPumpParameters
from imports.energy_systems.water_to_water_hp_parameters import WaterToWaterHPParameters
class EnergySystemsFactory: class EnergySystemsFactory:
@ -19,11 +21,17 @@ class EnergySystemsFactory:
self._city = city self._city = city
self._base_path = base_path self._base_path = base_path
def _xlsx_heat_pump(self): def _air_source_hp(self):
""" """
Enrich the city by using xlsx heat pump information Enrich the city by using xlsx heat pump information
""" """
XlsxHeatPumpParameters(self._city, self._base_path).enrich_city() AirSourceHeatPumpParameters(self._city, self._base_path).enrich_city()
def _water_to_water_hp(self):
"""
Enrich the city by using water to water heat pump information
"""
WaterToWaterHPParameters(self._city, self._base_path).enrich_city()
def enrich(self): def enrich(self):
""" """