2021-10-18 11:37:20 -04:00
|
|
|
"""
|
|
|
|
XlsxHeatPumpParameters import the heat pump information
|
|
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
2021-10-19 13:17:11 -04:00
|
|
|
Copyright © 2020 Project Author Peter Yefi peteryefi@gmail.com
|
2021-10-18 11:37:20 -04:00
|
|
|
Contributor Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
class XlsxHeatPumpParameters:
|
|
|
|
"""
|
|
|
|
XlsxHeatPumpParameters class
|
|
|
|
"""
|
|
|
|
def __init__(self, city, base_path):
|
|
|
|
self._city = city
|
|
|
|
self._base_path = (base_path / 'heat_pumps/Air source.xlsx')
|
|
|
|
|
|
|
|
def _read_file(self):
|
|
|
|
"""
|
|
|
|
reads xlsx file containing the heat pump information
|
|
|
|
"""
|
|
|
|
|
|
|
|
def enrich_city(self):
|
|
|
|
"""
|
|
|
|
Enriches the city with information from file
|
|
|
|
"""
|
|
|
|
return self._city
|