From 41cf280aab10cdd231c9d1b82a9bc5480ac7c8e9 Mon Sep 17 00:00:00 2001 From: Saeed Ranjbar Date: Mon, 18 Sep 2023 15:55:50 -0400 Subject: [PATCH] work started on generation_system.py and generic_generation_system.py --- .../generic_generation_system.py | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/hub/city_model_structure/energy_systems/generic_generation_system.py b/hub/city_model_structure/energy_systems/generic_generation_system.py index fa885a3c..f5737fee 100644 --- a/hub/city_model_structure/energy_systems/generic_generation_system.py +++ b/hub/city_model_structure/energy_systems/generic_generation_system.py @@ -228,3 +228,74 @@ class GenericGenerationSystem: :param value: string """ self._supply_medium = value + + # self._heat_output_curve = None + # self._heat_fuel_consumption_curve = None + # self._heat_efficiency_curve = None + # self._cooling_output_curve = None + # self._cooling_fuel_consumption_curve = None + # self._cooling_efficiency_curve = None + + @property + def maximum_heat_supply_temperature(self): + """ + Get maximum heating supply temperature in degree Celsius + :return: float + """ + return self._maximum_heat_supply_temperature + + @maximum_heat_supply_temperature.setter + def maximum_heat_supply_temperature(self, value): + """ + Set maximum heating supply temperature in degree Celsius + :param value: float + """ + self._maximum_heat_supply_temperature = value + + @property + def minimum_heat_supply_temperature(self): + """ + Get minimum heating supply temperature in degree Celsius + :return: float + """ + return self._minimum_heat_supply_temperature + + @minimum_heat_supply_temperature.setter + def minimum_heat_supply_temperature(self, value): + """ + Set minimum heating supply temperature in degree Celsius + :param value: float + """ + self._minimum_heat_supply_temperature = value + + @property + def maximum_cooling_supply_temperature(self): + """ + Get maximum cooling supply temperature in degree Celsius + :return: float + """ + return self._maximum_cooling_supply_temperature + + @maximum_cooling_supply_temperature.setter + def maximum_cooling_supply_temperature(self, value): + """ + Set maximum cooling supply temperature in degree Celsius + :param value: float + """ + self._maximum_cooling_supply_temperature = value + + @property + def minimum_cooling_supply_temperature(self): + """ + Get minimum cooling supply temperature in degree Celsius + :return: float + """ + return self._minimum_cooling_supply_temperature + + @minimum_cooling_supply_temperature.setter + def minimum_cooling_supply_temperature(self, value): + """ + Set minimum cooling supply temperature in degree Celsius + :param value: float + """ + self._minimum_cooling_supply_temperature = value