27 lines
640 B
Python
27 lines
640 B
Python
|
"""
|
||
|
XlsxHeatPumpParameters import the heat pump information
|
||
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
||
|
Copyright © 2020 Project Author
|
||
|
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
|