diff --git a/city_model_structure/energy_systems/water_to_water_hp.py b/city_model_structure/energy_systems/water_to_water_hp.py index 60a97cac..ab81623f 100644 --- a/city_model_structure/energy_systems/water_to_water_hp.py +++ b/city_model_structure/energy_systems/water_to_water_hp.py @@ -20,8 +20,8 @@ class WaterToWaterHP(HeatPump): self._total_cooling_capacity = None self._power_demand = None self._flow_rate = None - self._total_cooling_capacity_coff = None - self._power_demand_coff = None + self._heat_output_coff = None # b coefficients + self._power_demand_coff = None # a coefficients @property def entering_water_temp(self) -> List[float]: @@ -113,22 +113,22 @@ class WaterToWaterHP(HeatPump): self._flow_rate = value @property - def total_cooling_capacity_coff(self) -> List[float]: + def heat_output_coff(self) -> List[float]: """ Get coefficients for total cooling capacity :return: [[float]] """ - return self._total_cooling_capacity_coff + return self._heat_output_coff - @total_cooling_capacity_coff.setter - def total_cooling_capacity_coff(self, value): + @heat_output_coff.setter + def heat_output_coff(self, value): """ Set coefficients for totol cooling capacity :param value: [[float]] :return: """ - if self._total_cooling_capacity_coff is None: - self._total_cooling_capacity_coff = value + if self._heat_output_coff is None: + self._heat_output_coff = value @property def power_demand_coff(self) -> List[float]: @@ -147,5 +147,3 @@ class WaterToWaterHP(HeatPump): """ if self._power_demand_coff is None: self._power_demand_coff = value - -