From 99a0ac0bce29ddd9486fbbdc46b6e9ea0ae582e2 Mon Sep 17 00:00:00 2001 From: Peter Yefi Date: Thu, 10 Mar 2022 12:42:12 -0500 Subject: [PATCH] Removed unneeded attributes --- .gitignore | 24 ------------ .../energy_systems/air_source_hp.py | 38 ------------------- 2 files changed, 62 deletions(-) diff --git a/.gitignore b/.gitignore index 2a704b0d..10a17b31 100644 --- a/.gitignore +++ b/.gitignore @@ -4,28 +4,4 @@ /development_tests/ /data/energy_systems/heat_pumps/*.csv /data/energy_systems/heat_pumps/*.insel -unittests/__pycache__ -city_model_structure/attributes/__pycache__/ -city_model_structure/building_demand/__pycache__/ -city_model_structure/energy_systems/__pycache__/ -city_model_structure/iot/__pycache__/ -exports/__pycache__/ -exports/formats/__pycache__/ -helpers/__pycache__/ -imports/__pycache__/ -imports/construction/__pycache__/ -imports/construction/data_classes/__pycache__/ -imports/construction/helpers/__pycache__/ -imports/geometry/__pycache__/ -imports/geometry/citygml_classes/__pycache__/ -imports/geometry/helpers/__pycache__/ -imports/life_cycle_assessment/__pycache__/ -imports/schedules/__pycache__/ -imports/schedules/helpers/__pycache__/ -imports/usage/__pycache__/ -imports/usage/data_classes/__pycache__/ -imports/usage/helpers/__pycache__/ -imports/weather/__pycache__/ -city_model_structure/__pycache__/ -imports/energy_systems/__pycache__/ .DS_Store \ No newline at end of file diff --git a/city_model_structure/energy_systems/air_source_hp.py b/city_model_structure/energy_systems/air_source_hp.py index 9b219a16..4f9695c7 100644 --- a/city_model_structure/energy_systems/air_source_hp.py +++ b/city_model_structure/energy_systems/air_source_hp.py @@ -19,11 +19,9 @@ class AirSourceHP(HeatPump): self._cooling_capacity = None self._cooling_comp_power = None self._cooling_capacity_coff = None # a coefficients for insel - self._cooling_comp_power_coff = None # b coefficients for insel self._heating_capacity = None self._heating_comp_power = None self._heating_capacity_coff = None - self._heating_comp_power_coff = None @property def cooling_capacity(self) -> List[float]: @@ -78,24 +76,6 @@ class AirSourceHP(HeatPump): if self._cooling_capacity_coff is None: self._cooling_capacity_coff = value - @property - def cooling_comp_power_coff(self) -> List[float]: - """ - Get cooling compressor power coefficients - :return: [float] - """ - return self._cooling_comp_power_coff - - @cooling_comp_power_coff.setter - def cooling_comp_power_coff(self, value): - """ - Set the value for cooling compressor power coefficients - :param value: [float] - :return: - """ - if self._cooling_comp_power_coff is None: - self._cooling_comp_power_coff = value - @property def heating_capacity(self) -> List[float]: """ @@ -132,24 +112,6 @@ class AirSourceHP(HeatPump): if self._heating_comp_power is None: self._heating_comp_power = value - @property - def heating_comp_power_coff(self) -> List[float]: - """ - Get heating compressor power coefficients - :return: [float] - """ - return self._heating_comp_power_coff - - @heating_comp_power_coff.setter - def heating_comp_power_coff(self, value): - """ - Set the value for heating compressor power coefficients - :param value: [float] - :return: - """ - if self._heating_comp_power_coff is None: - self._heating_comp_power_coff = value - @property def heating_capacity_coff(self) -> List[float]: """