Merge branch 'heat_pump' into 'master'

Changed return type

See merge request Guille/libs!10
This commit is contained in:
Guillermo Gutierrez Morote 2022-04-11 22:59:25 +00:00
commit c876e3d74b
4 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -4,4 +4,4 @@
/development_tests/
/data/energy_systems/heat_pumps/*.csv
/data/energy_systems/heat_pumps/*.insel
.DS_Store
.DS_Store

View File

@ -27,7 +27,7 @@ class AirSourceHPExport(HeatPumpExport):
template_path = (base_path / tmp_file)
super().__init__(base_path, city, output_path, template_path)
def _extract_model_coff(self, hp_model: str, data_type='heat') -> Union[Tuple[List, List], None]:
def _extract_model_coff(self, hp_model: str, data_type='heat') -> Union[List, None]:
"""
Extracts heat pump coefficient data for a specific
model. e.g 012, 140