Added attributes for heatpump coefficients
This commit is contained in:
parent
12f8beb0d2
commit
c221c9876f
|
@ -6,6 +6,7 @@ Contributor Peter Yefi peteryefi@gmail.com
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from typing import List
|
from typing import List
|
||||||
|
from typing import Dict
|
||||||
|
|
||||||
|
|
||||||
class HeatPump:
|
class HeatPump:
|
||||||
|
@ -17,10 +18,12 @@ class HeatPump:
|
||||||
self._model = None
|
self._model = None
|
||||||
self._cooling_capacity = None
|
self._cooling_capacity = None
|
||||||
self._cooling_comp_power = None
|
self._cooling_comp_power = None
|
||||||
self._cooling_water_flow = None
|
self._cooling_capacity_coff = None
|
||||||
|
self._cooling_comp_power_coff = None
|
||||||
self._heating_capacity = None
|
self._heating_capacity = None
|
||||||
self._heating_comp_power = None
|
self._heating_comp_power = None
|
||||||
self._heating_water_flow = None
|
self._heating_capacity_coff = None
|
||||||
|
self._heating_comp_power_coff = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def model(self) -> str:
|
def model(self) -> str:
|
||||||
|
@ -75,22 +78,42 @@ class HeatPump:
|
||||||
self._cooling_comp_power = value
|
self._cooling_comp_power = value
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cooling_water_flow(self) -> List[float]:
|
def cooling_capacity_coff(self) -> List[float]:
|
||||||
"""
|
"""
|
||||||
Get Water flow in m3/h
|
Get cooling capacity coefficients
|
||||||
:return: [[float]]
|
:return: [float]
|
||||||
"""
|
"""
|
||||||
return self._cooling_water_flow
|
return self._cooling_capacity_coff
|
||||||
|
|
||||||
@cooling_water_flow.setter
|
@cooling_capacity_coff.setter
|
||||||
def cooling_water_flow(self, value):
|
def cooling_capacity_coff(self, value):
|
||||||
"""
|
"""
|
||||||
Set water flow in m3/h
|
Set the value for cooling capacity coefficients
|
||||||
:param value: [[float]]
|
:param value: [float]
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
if self._cooling_water_flow is None:
|
if self._cooling_capacity_coff is None:
|
||||||
self._cooling_water_flow = value
|
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
|
@property
|
||||||
def heating_capacity(self) -> List[float]:
|
def heating_capacity(self) -> List[float]:
|
||||||
|
@ -129,19 +152,39 @@ class HeatPump:
|
||||||
self._heating_comp_power = value
|
self._heating_comp_power = value
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def heating_water_flow(self) -> List[float]:
|
def heating_comp_power_coff(self) -> List[float]:
|
||||||
"""
|
"""
|
||||||
Get heating water flow in m3/h
|
Get heating compressor power coefficients
|
||||||
:return: [[float]]
|
:return: [float]
|
||||||
"""
|
"""
|
||||||
return self._heating_water_flow
|
return self._heating_comp_power_coff
|
||||||
|
|
||||||
@heating_water_flow.setter
|
@heating_comp_power_coff.setter
|
||||||
def heating_water_flow(self, value):
|
def heating_comp_power_coff(self, value):
|
||||||
"""
|
"""
|
||||||
Set the heating water flow in m3/h
|
Set the value for heating compressor power coefficients
|
||||||
:param value: [[float]]
|
:param value: [float]
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
if self._heating_water_flow is None:
|
if self._heating_comp_power_coff is None:
|
||||||
self._heating_water_flow = value
|
self._heating_comp_power_coff = value
|
||||||
|
|
||||||
|
@property
|
||||||
|
def heating_capacity_coff(self) -> List[float]:
|
||||||
|
"""
|
||||||
|
Get heating capacity coefficients
|
||||||
|
:return: [float]
|
||||||
|
"""
|
||||||
|
return self._heating_capacity_coff
|
||||||
|
|
||||||
|
@heating_capacity_coff.setter
|
||||||
|
def heating_capacity_coff(self, value):
|
||||||
|
"""
|
||||||
|
Set the value for heating capacity coefficients
|
||||||
|
:param value: [float]
|
||||||
|
:return:
|
||||||
|
"""
|
||||||
|
if self._heating_capacity_coff is None:
|
||||||
|
self._heating_capacity_coff = value
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user