modelSimpleResistiveHeater

Extends from SolarTherm.Interfaces.Models.SimpleResistiveHeater.

Information

SimpleResistiveHeater models the behavior of a resistive heater used in fluid heating systems. It calculates the outlet enthalpy of a fluid based on the input parameters and the status of the grid. The model takes into account the specified efficiency of the electric heater and the inlet fluid temperature to determine the outlet temperature.

The SimpleResistiveHeater model has the following connectors:

  • A port_a and a port_b for fluid inflow and outflow. These connectors have variables such as mass flow rates and pressures.
  • A on_renewable input signal that determines whether the grid is on or off.

The model requires the Medium package from the Media library for fluid properties. The default medium package is MoltenSalt_ph.

The following parameters must be defined:

  • T_cold_set: Inlet fluid temperature at design, in Kelvin. Default: 290 Celsius.
  • T_hot_set: Outlet fluid temperature at design, in Kelvin. Default: 565 Celsius.
  • heater_efficiency: Electric heater efficiency. Default: 0.99.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.TemperatureT_cold_setfrom_degC(290)Inlet fluid temperature at design
Modelica.SIunits.TemperatureT_hot_setfrom_degC(565)Outlet fluid temperature at design
Modelica.SIunits.Efficiencyheater_efficiency0.99Electric heater efficiency
Medium.ThermodynamicStatestate_cold_setMedium.setState_pTX(Medium.p_default, T_cold_set)Cold fluid thermodynamic state at design
Medium.ThermodynamicStatestate_hot_setMedium.setState_pTX(Medium.p_default, T_hot_set)Hot fluid thermodynamic state at design
Modelica.SIunits.SpecificEnthalpyh_cold_setMedium.specificEnthalpy(state_cold_set)Cold fluid specific enthalpy at design
Modelica.SIunits.SpecificEnthalpyh_hot_setMedium.specificEnthalpy(state_hot_set)Hot fluid specific enthalpy at design
Assumptions
BooleanallowFlowReversal (from PartialTwoPort)system.allowFlowReversal= true to allow flow reversal, false restricts to design direction (port_a -> port_b)

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a (from PartialTwoPort)Fluid connector a (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_b (from PartialTwoPort)Fluid connector b (positive design flow direction is from port_a to port_b)
Modelica.Blocks.Interfaces.RealInputP_elec_in (from SimpleResistiveHeater)Electrical power input
Modelica.Blocks.Interfaces.BooleanInputon_renewablegrid on/off signal

Components

TypeNameDefaultDescription
Modelica.Fluid.Systemsystem (from PartialTwoPort)System wide properties
Modelica.SIunits.SpecificEnthalpyh_inInlet fluid enthalpy
Modelica.SIunits.SpecificEnthalpyh_outOutlet fluid enthalpy

Revisions

  • September 2023 by Armando Fontalvo:
    Created documentation for SimpleResistiveHeater.