Renamed variables, changed indentation to 2 spaces
This commit is contained in:
parent
e0924cf45f
commit
ca191ab480
|
@ -15,12 +15,12 @@ class HeatPump:
|
|||
|
||||
def __init__(self):
|
||||
self._model = None
|
||||
self._cooling_pf = None
|
||||
self._cooling_pa = None
|
||||
self._cooling_qw = None
|
||||
self._heating_pf = None
|
||||
self._heating_pa = None
|
||||
self._heating_qw = None
|
||||
self._cooling_capacity = None
|
||||
self._cooling_comp_power = None
|
||||
self._cooling_water_flow = None
|
||||
self._heating_capacity = None
|
||||
self._heating_comp_power = None
|
||||
self._heating_water_flow = None
|
||||
|
||||
@property
|
||||
def model(self) -> str:
|
||||
|
@ -40,108 +40,108 @@ class HeatPump:
|
|||
self._model = value
|
||||
|
||||
@property
|
||||
def cooling_pf(self) -> List[float]:
|
||||
def cooling_capacity(self) -> List[float]:
|
||||
"""
|
||||
Get cooling capacity in kW
|
||||
:return: [[float]]
|
||||
"""
|
||||
return self._cooling_pf
|
||||
return self._cooling_capacity
|
||||
|
||||
@cooling_pf.setter
|
||||
def cooling_pf(self, value):
|
||||
@cooling_capacity.setter
|
||||
def cooling_capacity(self, value):
|
||||
"""
|
||||
Set cooling capacity in kW
|
||||
:param value: [[float]]
|
||||
"""
|
||||
if self._cooling_pf is None:
|
||||
self._cooling_pf = value
|
||||
if self._cooling_capacity is None:
|
||||
self._cooling_capacity = value
|
||||
|
||||
@property
|
||||
def cooling_pa(self) -> List[float]:
|
||||
def cooling_comp_power(self) -> List[float]:
|
||||
"""
|
||||
Get cooling compressor power input in kW
|
||||
:return: [[float]]
|
||||
"""
|
||||
return self._cooling_pa
|
||||
return self._cooling_comp_power
|
||||
|
||||
@cooling_pa.setter
|
||||
def cooling_pa(self, value):
|
||||
@cooling_comp_power.setter
|
||||
def cooling_comp_power(self, value):
|
||||
"""
|
||||
Set the cooling compressor in kW
|
||||
:param value: [[float]]
|
||||
:return:
|
||||
"""
|
||||
if self._cooling_pa is None:
|
||||
self._cooling_pa = value
|
||||
if self._cooling_comp_power is None:
|
||||
self._cooling_comp_power = value
|
||||
|
||||
@property
|
||||
def cooling_qw(self) -> List[float]:
|
||||
def cooling_water_flow(self) -> List[float]:
|
||||
"""
|
||||
Get Water flow in m3/h
|
||||
:return: [[float]]
|
||||
"""
|
||||
return self._cooling_qw
|
||||
return self._cooling_water_flow
|
||||
|
||||
@cooling_qw.setter
|
||||
def cooling_qw(self, value):
|
||||
@cooling_water_flow.setter
|
||||
def cooling_water_flow(self, value):
|
||||
"""
|
||||
Set water flow in m3/h
|
||||
:param value: [[float]]
|
||||
:return:
|
||||
"""
|
||||
if self._cooling_qw is None:
|
||||
self._cooling_qw = value
|
||||
if self._cooling_water_flow is None:
|
||||
self._cooling_water_flow = value
|
||||
|
||||
@property
|
||||
def heating_pf(self) -> List[float]:
|
||||
def heating_capacity(self) -> List[float]:
|
||||
"""
|
||||
Get heating capacity kW
|
||||
:return: [[float]]
|
||||
"""
|
||||
return self._heating_pf
|
||||
return self._heating_capacity
|
||||
|
||||
@heating_pf.setter
|
||||
def heating_pf(self, value):
|
||||
@heating_capacity.setter
|
||||
def heating_capacity(self, value):
|
||||
"""
|
||||
Set the heating capacity in kW
|
||||
:param value: [[float]]
|
||||
:return:
|
||||
"""
|
||||
if self._heating_pf is None:
|
||||
self._heating_pf = value
|
||||
if self._heating_capacity is None:
|
||||
self._heating_capacity = value
|
||||
|
||||
@property
|
||||
def heating_pa(self) -> List[float]:
|
||||
def heating_comp_power(self) -> List[float]:
|
||||
"""
|
||||
Get heating compressor power kW
|
||||
:return: [[float]]
|
||||
"""
|
||||
return self._heating_pa
|
||||
return self._heating_comp_power
|
||||
|
||||
@heating_pa.setter
|
||||
def heating_pa(self, value):
|
||||
@heating_comp_power.setter
|
||||
def heating_comp_power(self, value):
|
||||
"""
|
||||
Set the heating compressor power in kW
|
||||
:param value: [[float]]
|
||||
:return:
|
||||
"""
|
||||
if self._heating_pa is None:
|
||||
self._heating_pa = value
|
||||
if self._heating_comp_power is None:
|
||||
self._heating_comp_power = value
|
||||
|
||||
@property
|
||||
def heating_qw(self) -> List[float]:
|
||||
def heating_water_flow(self) -> List[float]:
|
||||
"""
|
||||
Get heating water flow in m3/h
|
||||
:return: [[float]]
|
||||
"""
|
||||
return self._heating_qw
|
||||
return self._heating_water_flow
|
||||
|
||||
@heating_qw.setter
|
||||
def heating_qw(self, value):
|
||||
@heating_water_flow.setter
|
||||
def heating_water_flow(self, value):
|
||||
"""
|
||||
Set the heating water flow in m3/h
|
||||
:param value: [[float]]
|
||||
:return:
|
||||
"""
|
||||
if self._heating_qw is None:
|
||||
self._heating_qw = value
|
||||
if self._heating_water_flow is None:
|
||||
self._heating_water_flow = value
|
||||
|
|
Loading…
Reference in New Issue
Block a user