.. _electric_boiler_element: ================== Electric Boiler ================== .. seealso:: :ref:`Unit Systems and Conventions ` .. note:: An electric boiler consists of one element and one controller. The element defines its physical parameters, while the controller governs the operational logic. Create Controlled Function =============================== .. autofunction:: pandaprosumer.create_controlled_electric_boiler Controller =============================== .. figure:: ../elements/controller_pics/electric_boiler_controller.png :width: 30em :alt: Electric Boiler Controller logic :align: center Input Static Data ---------------------------- These are the physical parameters required for the Electric Boiler element to enable the model calculation: .. csv-table:: Input Static Data: Electric Boiler Element :header: "Parameter", "Description", "Unit" "name", "Unique name or identifier for the electric boiler element.", "N/A" "max_p_kw", "Maximum electrical power of the boiler.", "kW" "efficiency_percent", "Boiler efficiency expressed as a percentage.", "%" Input Time Series --------------------------------- No input (GenericMapping) needed for this controller Output Time Series ---------------------------- .. csv-table:: Output Time Series: Electric Boiler :header: "Parameter", "Description", "Unit" "q_kw", "The provided heat power.", "kW" "mdot_kg_per_s", "The water mass flow rate through the boiler.", "kg/s" "t_in_c", "The temperature at the inlet of the electric boiler (cold return pipe).", "Degree Celsius" "t_out_c", "The temperature at the outlet of the electric boiler (hot feed pipe).", "Degree Celsius" "p_kW", "The boiler consumed electrical power.", "kW" Mapping ----------------------- The Electric Boiler Controller can be mapped using :ref:`FluidMixMapping `. - No inputs are mapped, as the electric boiler does not act as a responder. - The following outputs are mapped: - ``mdot_kg_per_s`` - ``t_out_c`` Model ======================= .. autoclass:: pandaprosumer.controller.models.ElectricBoilerController :members: The electric boiler model calculate the power consumption of the boiler to heat up the fluid to the demand power. It is a tankless electric water heater that heats water on demand. .. math:: :nowrap: \begin{align*} P_\text{el} = \frac{Q}{\eta} &= \frac{\dot{m} * Cp * (T_\text{feed} - T_\text{return})}{\eta} \\ \end{align*} If the power consumption is higher than the maximum power of the boiler P_{\text{el}_\text{max}}, the power consumption is set to the maximum power, and the actual output temperature :math:`T_\text{feed}` that can be reached is calculated based on the maximum power.