modelPrescribedOutletState

Test model for prescribed outlet state

Information

Model that is used as the base class for models that demonstrates the use of an ideal heater and an ideal cooler, or an ideal humidifier and dehumidifier.

The model on the top has almost unlimited positive capacity (Q_flow_nominal = 1.0e10 Watts), and hence its outlet temperature always reaches the set points.

The model in the middle has a limited negative capacitiy (Q_flow_nominal = 1000 Watts), and hence its outlet state reaches only a limited value corresponding to its maximum negative capacity.

The model at the bottom has unlimited capacity.

At t=1000 second, the flow reverses its direction.

Each flow leg has the same mass flow rate. There are three mass flow sources as using one source only would yield a nonlinear system of equations that needs to be solved to determine the mass flow rate distribution.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flow_nominal0.1Nominal mass flow rate

Components

TypeNameDefaultDescription
Buildings.Fluid.Sources.Boundary_pTsinSink
Buildings.Fluid.Interfaces.PrescribedOutletheaHigPowSteady-state model of the heater with high capacity
Modelica.Blocks.Sources.CombiTimeTablesetHeaHigPowSetpoint heating and humidification
Buildings.Fluid.Interfaces.PrescribedOutletcooLimPowSteady-state model of the cooler with limited capacity
Modelica.Blocks.Sources.CombiTimeTablesetCooLimPowSetpoint cooling and dehumidification
Buildings.Fluid.Interfaces.PrescribedOutletheaCooUnlSteady-state model of the heater or cooler with unlimited capacity
Buildings.Fluid.Interfaces.PrescribedOutletsteStaSteady-state model of the heater or cooler with unlimited capacity
Modelica.Blocks.Sources.CombiTimeTablesetHeaCooUnlSetpoint cooling, heating, dehumidification and humidification
Modelica.Blocks.Sources.Rampm_flowMass flow rate
Buildings.Fluid.Sources.MassFlowSource_Tsou1Flow source
Buildings.Fluid.Sources.MassFlowSource_Tsou2Flow source
Buildings.Fluid.Sources.MassFlowSource_Tsou3Flow source
Buildings.Fluid.Sources.MassFlowSource_Tsou4Flow source
Buildings.Fluid.Sensors.TemperatureTwoPortTHeaHigPowInTemperature sensor at the inlet of heaHigPow
Buildings.Fluid.Sensors.TemperatureTwoPortTHeaHigPowOutTemperature sensor at the outlet of heaHigPow
Buildings.Fluid.Sensors.TemperatureTwoPortTCooLimPowInTemperature sensor at the inlet of cooLimPow
Buildings.Fluid.Sensors.TemperatureTwoPortTCooLimPowOutTemperature sensor at the outlet of cooLimPow
Buildings.Fluid.Sensors.TemperatureTwoPortTHeaCooUnlInTemperature sensor at the inlet of heaCooUnl
Buildings.Fluid.Sensors.TemperatureTwoPortTHeaCooUnlOutTemperature sensor at the outlet of heaCooUnl
Buildings.Fluid.Sensors.TemperatureTwoPortTSteStaInTemperature sensor at the inlet of steSta
Buildings.Fluid.Sensors.TemperatureTwoPortTSteStaOutTemperature sensor at the outlet of steSta

Contents

NameDescription
Medium

Revisions

  • August 5, 2024, by Hongxiang Fu:
    Added two-port temperature sensors to replace sta_*.T in reference results. This is for IBPSA #1913.
  • May 3, 2017, by Michael Wetter:
    First implementation.