echo.models.thermal.parameterised_heatpump module

class echo.models.thermal.parameterised_heatpump.ParameterisedHeatPump(uid: str = NOTHING, node_name: str = NOTHING, ports: dict[str, Port] = NOTHING, objective: en.numeric_expr.NumericExpression | float = 0, nominal_heating_cop: float = 1, nominal_cooling_cop: float = 1, partial_load_cop_heating: dict = {0: 0, 0.25: 0.8, 0.5: 0.9, 0.75: 1, 1: 0.85}, partial_load_cop_cooling: dict = {0: 0, 0.25: 0.8, 0.5: 0.9, 0.75: 1, 1: 0.85}, temperature_dependent_cop_heating: dict = {-10: 0.4, 0: 0.6, 10: 0.7, 20: 0.9, 30: 1, 45: 1}, temperature_dependent_cop_cooling: dict = {0: 0.7, 10: 1, 20: 0.5, 30: 0.35, 45: 0.2}, ambient_temperature_dict: dict = NOTHING, ambient_temperature_ref: str | None = None, constant_ambient_temperature: float = 10, heat_intake_rejection_port: bool = False, heat_intake_rejection_coefficient: float = 1, input_points_cooling: dict | None = None, output_points_cooling: dict | None = None, input_points_heating: dict | None = None, output_points_heating: dict | None = None, electrical_input_port_ref: str = 'input', thermal_output_port_ref: str = 'output', heat_intake_rejection_port_ref: str = 'heat_intake_rejection', *, max_heating_capacity: float, max_cooling_capacity: float)

Bases: Node

A Parameterised heat pump model.

This model is different to simple heatpump model in that it uses piecewise linear partial load COP factor (coefficient of performance) and piecewise linear temperature COP factor to calculate actual values for heating and cooling at each step.

HeatPumpTwoPipe has one input electrical port and one bidirectional thermal port. The heat pump can do heating or cooling, but not both simultaneously.

The conversion of input electrical energy to heating or cooling output depends on calculated coefficients of performance (COP) at each time step.

add_node_to_model(model: EchoConcreteModel, profile: DataFrame) → None

Set up variables and parameters associated with the node

ambient_temperature_dict: dict
ambient_temperature_ref: str | None
apply_node_constraints(model: EchoConcreteModel) → None

Set up constraints associated with the node

constant_ambient_temperature: float
create_ports() → None
electrical_input_port_ref: str
heat_intake_rejection_coefficient: float
heat_intake_rejection_port: bool
heat_intake_rejection_port_ref: str
input_points_cooling: dict | None
input_points_heating: dict | None
max_cooling_capacity: float
max_heating_capacity: float
nominal_cooling_cop: float
nominal_heating_cop: float
output_points_cooling: dict | None
output_points_heating: dict | None
partial_load_cop_cooling: dict
partial_load_cop_heating: dict
property power_to_cool: str
property power_to_heat: str
set_ports(electrical_input_port: FlexSink, thermal_output_port: FlexPort, heat_intake_rejection_port: FlexPort | None = None) → None
property temperature_cop_cooling_param: str
property temperature_cop_heating_param: str
temperature_dependent_cop_cooling: dict
temperature_dependent_cop_heating: dict
thermal_output_port_ref: str
update(ambient_temperature_dict: dict[float, float]) → None