modelElectricHeater
Model for electric heater
Extends from Buildings.Fluid.Interfaces.PartialTwoPortInterface, Buildings.Fluid.Interfaces.TwoPortFlowResistanceParameters.
Information
Model for an ideal heater that controls its outlet temperature to a prescribed outlet temperature with constant efficiency.
The switch model swi is used to turn on/off the heater,
which is accomplished by commanding it to heat the incoming fluid to 0°C.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | homotopyInitialization | true | = true, use homotopy method |
| Modelica.Units.SI.Efficiency | eta | 1 | Effciency of electrical heater |
| Modelica.Units.SI.HeatFlowRate | QMax_flow | Modelica.Constants.inf | Maximum heat flow rate for heating (positive) |
| Initialization | |||
| Modelica.Units.SI.Temperature | T_start | Medium.T_default | Start value of temperature |
| Dynamics › Conservation equations | |||
| Modelica.Fluid.Types.Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamics.SteadyState | Type of energy balance: dynamic (3 initialization options) or steady state |
| Dynamics | |||
| Modelica.Units.SI.Time | tau | 10 | Time constant at nominal flow rate (used if energyDynamics or massDynamics not equal Modelica.Fluid.Types.Dynamics.SteadyState) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | Q_flow | Heat flow rate added to the fluid (if flow is from port_a to port_b) | |
| Modelica.Blocks.Interfaces.RealOutput | P | Electrical power consumed | |
| Modelica.Blocks.Interfaces.BooleanInput | on | Set to true to enable heater, or false to disable heater | |
| Modelica.Blocks.Interfaces.RealInput | TSet | Set point temperature of the fluid that leaves port_b | |
| Buildings.Fluid.HeatExchangers.Heater_T | hea | Heater with prescribed temperature | |
| Modelica.Blocks.Math.Gain | gaiEff | Gain for efficiency |
Revisions
-
March 6, 2024, by Michael Wetter:
Changed setpoint if component is off to avoid confusing result.
This is for #3681. -
April 14, 2020, by Michael Wetter:
ChangedhomotopyInitializationto a constant.
This is for IBPSA, #1341. - May 11, 2017 by Yangyang Fu:
First implementation.