modelWaterCooler_T

Example model for the sensible cooler with prescribed outlet temperature 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 sensible cooler model that takes as an input the leaving fluid temperature.

The model consist of a water volume with heat gain from 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_u for a model that takes the heating power 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
SensibleCooler_TcooCooler
Controls.SetPoints.TabletabTable to compute temperature set points

Revisions

  • May 8, 2017, by Michael Wetter:
    Updated heater model.
    This is for Buildings, #763.
  • May 3, 2017, by Michael Wetter:
    First implementation.