""" heat_pump module defines a heat pump SPDX - License - Identifier: LGPL - 3.0 - or -later Copyright © 2020 Project Author Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca """ from typing import Union class HeatPump: """ HeatPump class """ 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 @property def model(self): """ Get model name :return: str """ return self._model @property def cooling_pf(self): """ Get cooling capacity in kW :return: [[float]] """ return self._cooling_pf @cooling_pf.setter def cooling_pf(self, value): """ Set cooling capacity in kW :param value: [[float]] """ if self._cooling_pf is None: self._cooling_pf = value