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

TypeNameDefaultDescription
BooleanhomotopyInitializationtrue= true, use homotopy method
Modelica.Units.SI.Efficiencyeta1Effciency of electrical heater
Modelica.Units.SI.HeatFlowRateQMax_flowModelica.Constants.infMaximum heat flow rate for heating (positive)
Initialization
Modelica.Units.SI.TemperatureT_startMedium.T_defaultStart value of temperature
Dynamics › Conservation equations
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.SteadyStateType of energy balance: dynamic (3 initialization options) or steady state
Dynamics
Modelica.Units.SI.Timetau10Time constant at nominal flow rate (used if energyDynamics or massDynamics not equal Modelica.Fluid.Types.Dynamics.SteadyState)

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputQ_flowHeat flow rate added to the fluid (if flow is from port_a to port_b)
Modelica.Blocks.Interfaces.RealOutputPElectrical power consumed
Modelica.Blocks.Interfaces.BooleanInputonSet to true to enable heater, or false to disable heater
Modelica.Blocks.Interfaces.RealInputTSetSet point temperature of the fluid that leaves port_b
Buildings.Fluid.HeatExchangers.Heater_TheaHeater with prescribed temperature
Modelica.Blocks.Math.GaingaiEffGain 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:
    Changed homotopyInitialization to a constant.
    This is for IBPSA, #1341.
  • May 11, 2017 by Yangyang Fu:
    First implementation.