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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Temperature | T_cold_set | from_degC(290) | Inlet fluid temperature at design |
| Modelica.SIunits.Temperature | T_hot_set | from_degC(565) | Outlet fluid temperature at design |
| Modelica.SIunits.Efficiency | heater_efficiency | 0.99 | Electric heater efficiency |
| Medium.ThermodynamicState | state_cold_set | Medium.setState_pTX(Medium.p_default, T_cold_set) | Cold fluid thermodynamic state at design |
| Medium.ThermodynamicState | state_hot_set | Medium.setState_pTX(Medium.p_default, T_hot_set) | Hot fluid thermodynamic state at design |
| Modelica.SIunits.SpecificEnthalpy | h_cold_set | Medium.specificEnthalpy(state_cold_set) | Cold fluid specific enthalpy at design |
| Modelica.SIunits.SpecificEnthalpy | h_hot_set | Medium.specificEnthalpy(state_hot_set) | Hot fluid specific enthalpy at design |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialTwoPort) | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a (from PartialTwoPort) | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b (from PartialTwoPort) | Fluid connector b (positive design flow direction is from port_a to port_b) | |
| Modelica.Blocks.Interfaces.RealInput | P_elec_in (from SimpleResistiveHeater) | Electrical power input | |
| Modelica.Blocks.Interfaces.BooleanInput | on_renewable | grid on/off signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system (from PartialTwoPort) | System wide properties | |
| Modelica.SIunits.SpecificEnthalpy | h_in | Inlet fluid enthalpy | |
| Modelica.SIunits.SpecificEnthalpy | h_out | Outlet fluid enthalpy |
Revisions
- September 2023 by Armando Fontalvo:
Created documentation for SimpleResistiveHeater.