eelib.core.devices.heatpump.heatpump_model

eElib heat pump model for calculation of the thermal generation and electrical load of a heat pump. The model approximates the thermal calculations with power values and their impact on temperatures.

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

Heatpump

Models a heatpump.

Attributes

_logger

_logger
class Heatpump(eid: str, p_rated_th: float = 10000, modulation: bool = True, p_modulation_rel: float = 0.5, time_min: int = 2100, cop: float = 3.60584, cos_phi: float = 1.0, step_size: int = 60 * 15)

Models a heatpump.

_VALID_PARAMETERS
eid
p_rated_th = '10000'
p_modulation_rel = '0.5'
time_min = '2100'
time_on = '2100'
time_off = '2100'
cop = '3.60584'
modulation = 'True'
voltage_control
step_size = '900'
p_th = '0'
p_th_set
p_th_max = '0'
p_th_mod_start = '-5000.0'
p_th_min = '-10000'
state = "'off'"
p = '0'
p_min = '0'
p_mod_start = '0'
p_max = '0'
q = '0'
timestep = 'None'
classmethod get_valid_parameters() dict

Returns dictionary containing valid parameter types and values.

Returns:

valid parameters for this model

Return type:

dict

_set_state()

Set the state of the heatpump with regard to the current power on on/off time.

_calc_thermal_limits()

Calculate the thermal maximum and minimum power of the heatpump.

step(timestep: int)

Calculating of current thermal and active power values, as well as the minimum and maximal values while differentiating between modulation or on/off heatpump.

Parameters:

timestep (int) – Current simulation time