modelMixingVolumeAdiabaticCooling

Validation model for mixing volume with adiabatic cooling

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model validates the use of the mixing volume with adiabatic cooling. Water in liquid form at room temperature is added to the volume, which decreases its temperature. The instance volSim uses a simplified implementation of the mass balance that ignores the mass of the water added to the volume, whereas the instance volExa uses the exact formulation. The output of the instance relErr shows that the relative error on the temperature difference between these two options is less than 0.1%.

Components

TypeNameDefaultDescription
MixingVolumeMoistAirvolSimMixing volume with water vapor input and simplified water balance
MixingVolumeMoistAirvolExaMixing volume with water vapor input and exact water balance
Modelica.Blocks.Sources.ConstantmWatFloWater mass flow rate
Modelica.Blocks.Sources.RealExpressionrelErrRelative error in the temperature difference
Buildings.Fluid.Sources.Boundary_pTbouFixed pressure boundary condition

Contents

NameDescription
MediumMedium model

Revisions

  • May 2, 2019, by Jianjun Hu:
    Replaced fluid source. This is for #1072.
  • April 12, 2017, by Michael Wetter:
    Removed temperature connection that is no longer needed.
    This is for issue Buildings #704.
  • May 2, 2016, by Michael Wetter:
    First implementation.