:py:mod:`eelib.data.dataclass.devices` ====================================== .. py:module:: eelib.data.dataclass.devices .. autoapi-nested-parse:: Dataclasses for devices' data used in eELib. | Author: elenia@TUBS | Copyright 2024 elenia | This file is part of eELib, which is free software under the terms of the GNU GPL Version 3. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: eelib.data.dataclass.devices.BaseDeviceData eelib.data.dataclass.devices.BSSData eelib.data.dataclass.devices.EVData eelib.data.dataclass.devices.CSData eelib.data.dataclass.devices.HPData eelib.data.dataclass.devices.PVData .. py:class:: BaseDeviceData Bases: :py:obj:`eelib.data.dataclass._base.BaseData` Baseclass for Dataclasses of the devices. p (float): current active power p_min (float): minimum active power limit p_max (float): maximum active power limit .. py:attribute:: p :type: float .. py:attribute:: p_min :type: float .. py:attribute:: p_max :type: float .. py:class:: BSSData Bases: :py:obj:`BaseDeviceData` Dataclass for eELib BSS model. e_bat_rated (float): rated energy amount of bss p_rated_charge_max (float): maximum charge power of bss p_rated_discharge_max (float): maximum discharge power of bss loss_rate (float): self-discharge (per month) of bss self_discharge_step (float): self-discharge rate (per simulation step) of bss dod_max (float): maximum depth of discharge status_aging (float): whether to account for aging of battery soh_cycles_max (float): state of health at end of lifetime bat_cycles_max (float): maximum cycles to reach end of lifetime soc_min (float): lower soc level of bss bat2ac_efficiency (list[float]): exponential discharging efficiency values ac2bat_efficiency (list[float]): exponential charging efficiency values charge_efficiency (float): charging efficiency discharge_efficiency (float): discharging efficiency soh (float): state of health bat_cycles (int): number of cycles accumulated by the battery e_bat (float): current energy amount stored e_bat_usable (float): usable energy amount of bss considering ageing .. py:attribute:: e_bat_rated :type: int .. py:attribute:: p_rated_discharge_max :type: int .. py:attribute:: p_rated_charge_max :type: int .. py:attribute:: loss_rate :type: float .. py:attribute:: self_discharge_step :type: float .. py:attribute:: dod_max :type: float .. py:attribute:: status_aging :type: bool .. py:attribute:: soh_cycles_max :type: float .. py:attribute:: bat_cycles_max :type: int .. py:attribute:: soc_min :type: float .. py:attribute:: bat2ac_efficiency :type: list[float] | None .. py:attribute:: ac2bat_efficiency :type: list[float] | None .. py:attribute:: charge_efficiency :type: float .. py:attribute:: discharge_efficiency :type: float .. py:attribute:: soh :type: float .. py:attribute:: bat_cycles :type: int .. py:attribute:: e_bat :type: float .. py:attribute:: e_bat_usable :type: float .. py:class:: EVData Bases: :py:obj:`BaseDeviceData` Dataclass for eELib EV model. soc_min (float): minimum soc level of car e_max (float): rated energy level of car battery p_nom_charge_max (float): maximum charging power of car p_nom_discharge_max (float): maximum discharging power of car charge_efficiency (float): charge efficiency of car dcharge_efficiency (float): discharge efficiency of car e_bat (float): energy amount of the car appearance (bool): where car is available at charging point or not .. py:attribute:: soc_min :type: float .. py:attribute:: e_max :type: float .. py:attribute:: p_nom_discharge_max :type: float .. py:attribute:: p_nom_charge_max :type: float .. py:attribute:: dcharge_efficiency :type: float .. py:attribute:: charge_efficiency :type: float .. py:attribute:: e_bat :type: float .. py:attribute:: appearance :type: bool .. py:class:: CSData Bases: :py:obj:`BaseDeviceData` Dataclass for eElib charging station model. charge_efficiency (float): charge efficiency of charging station discharge_efficiency (float): discharge efficiency of charging station p_rated (float): rated power of charging station ev_data (dict): information about all the connected electric vehicles q (float): current reactive power .. py:attribute:: discharge_efficiency :type: float .. py:attribute:: charge_efficiency :type: float .. py:attribute:: p_rated :type: float .. py:attribute:: ev_data :type: dict[str:EVData] .. py:attribute:: q :type: float .. py:class:: HPData Bases: :py:obj:`BaseDeviceData` Dataclass for eElib heatpump model. p_rated (float): rated thermal power of heatpumps p_min_th_rel (float): relative minimum power (of rated power) for modulating heatpumps time_min (int): minimum on/off-time for heatpumps time_on (int): current on-time for heatpumps time_off (int): current off-time for heatpumps state (str): current state of heatpumps (on, off, must-on or must-off) cop (float): current coefficient of power for heatpumps p_th (float): current thermal power p_th_min (float): minimum thermal power limit p_th_min_on (float): minimum thermal power limit in on-state p_min_on (float): minimum electrical power limit in on-state p_th_max (float): maximum thermal power limit q (float): current reactive power .. py:attribute:: p_rated_th :type: float .. py:attribute:: p_min_th_rel :type: float .. py:attribute:: time_min :type: int .. py:attribute:: time_on :type: int .. py:attribute:: time_off :type: int .. py:attribute:: state :type: str .. py:attribute:: cop :type: float .. py:attribute:: p_th :type: float .. py:attribute:: p_th_min :type: float .. py:attribute:: p_th_min_on :type: float .. py:attribute:: p_min_on :type: float .. py:attribute:: p_th_max :type: float .. py:attribute:: q :type: float .. py:class:: PVData Bases: :py:obj:`BaseDeviceData` Dataclass for eElib pv(lib) model. p_rated (float): rated power of system q (float): current reactive power .. py:attribute:: p_rated :type: float .. py:attribute:: q :type: float