echo.models.thermal.storage module
- class echo.models.thermal.storage.ThermalStorage(uid: str = NOTHING, node_name: str = NOTHING, ports: dict[str, Port] = NOTHING, objective: en.numeric_expr.NumericExpression | float = 0, charging_power_limit: float | None = None, discharging_power_limit: float | None = None, ambient_temp: dict | None = None, ambient_temp_ref: str | None = None, ins_transmittance: float = 0, surface_area: float = 0, initial_temp: float | None = None, optimised_capacity: bool = False, enforce_end_temperature_value: bool = True, energy_flow_units: Units = Units.KWT, separate_in_out_ports: bool = False, input_port_ref: str = 'input', output_port_ref: str = 'output', input_output_port_ref: str = 'input_output', *, max_temp: float, min_temp: float, storage_mass: float, specific_heat: float)
Bases:
NodeModel of sensible thermal storage with liquid or solid storage medium.
Thermal storage keeps track of its internal temperature value base. Assumes homogeneous temperature throughout the storage volume.
- add_node_to_model(model: EchoConcreteModel, profile: DataFrame) None
Add this node to a concrete model.
- Parameters:
model – The concrete model to add the node to.
profile – The data associated with this node.
- ambient_temp: dict | None
- ambient_temp_ref: str | None
- charging_power_limit: float | None
- discharging_power_limit: float | None
- property energy_units_conversion: float
- enforce_end_temperature_value: bool
- initial_temp: float | None
- input_output_port_ref: str
- input_port_ref: str
- ins_transmittance: float
- property internal_temp: str
- property lump_capacitance: float
- property lump_conductance: float
- property max_heat_storage_capacity: float
- max_temp: float
- min_temp: float
- property net_loss_gain: str
- optimised_capacity: bool
- output_port_ref: str
- separate_in_out_ports: bool
- set_flow_constraints_one_port() None
- set_flow_constraints_separate_ports() None
- set_port(input_output_port: FlexPort) None
Replaces any existing ports with a combined input output port
- set_ports(input_port: FlexSink, output_port: FlexSource) None
Replaces any existing ports with separate input and output ports
- property soc_constraint: str
- property soc_value: str
- specific_heat: float
- storage_mass: float
- surface_area: float
- update(ambient_temp: dict[tuple[int, int], float]) None