modelWaterHeater_u

Example model for the heater with prescribed heat input and water as the medium

Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Fluid.HeatExchangers.Examples.BaseClasses.Heater (Base class for example model for the heater and cooler).

Information

This example illustrates how to use the heater model that takes as an input the heat added to the medium.

The model consist of a water volume with heat loss to the ambient. The set point of the water temperature is different between night and day. The heater tracks the set point temperature, except for the periods in which the water temperature is above the set point.

See Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T for a model that takes the leaving water temperature as an input.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.VolumeV (from Heater)6*6*2.7Volume
Modelica.Units.SI.MassFlowRatem_flow_nominal (from Heater)V*1.2*6/3600Nominal mass flow rate
Modelica.Units.SI.HeatFlowRateQ_flow_nominal (from Heater)30*6*6Nominal heat loss of the room

Components

TypeNameDefaultDescription
Buildings.Fluid.MixingVolumes.MixingVolumevol (from Heater)
Modelica.Thermal.HeatTransfer.Components.ThermalConductortheCon (from Heater)Thermal conductance to the outside
Buildings.HeatTransfer.Sources.PrescribedTemperatureTBou (from Heater)Fixed temperature boundary condition
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensorTVol (from Heater)Sensor for volume temperature
Buildings.Fluid.Movers.FlowControlled_m_flowmov (from Heater)Fan or pump
Modelica.Blocks.Sources.RealExpressionTOut (from Heater)Outdoor temperature
Modelica.Blocks.Sources.PulseTSet (from Heater)Setpoint for room temperature
Controls.Continuous.LimPIDconPI (from Heater)Controller
Modelica.Blocks.Sources.ConstantmFan_flow (from Heater)Mass flow rate of the fan
Buildings.Fluid.Sources.Boundary_pTbou (from Heater)Fixed pressure boundary condition, required to set a reference pressure
Sensors.TemperatureTwoPortTHeaOut (from Heater)Outlet temperature of the heater
FixedResistances.PressureDropres (from Heater)Flow resistance to decouple pressure state from boundary
HeaterCooler_uheaHeater

Revisions

  • May 8, 2017, by Michael Wetter:
    Updated heater model.
    This is for Buildings, #763.
  • January 27, 2016, by Michael Wetter;
    Removed algorithm specification in experiment annotation.
  • January 6, 2015, by Michael Wetter:
    Revised implementation.
  • March 16, 2015, by Michael Wetter:
    First implementation.