modelMixingVolume

Test model for mixing volumes

Extends from Modelica.Icons.Example.

Information

This model tests the implementation of the mixing volumes. It compares the results from the mixing volume of the Modelica Standard Library with the implementation in the Buildings library.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.RampP
AixLib.Fluid.Sources.Boundary_pTsou
AixLib.Fluid.Sources.Boundary_pTsin
AixLib.Fluid.FixedResistances.PressureDropres1
MixingVolumes.MixingVolumevol1
AixLib.Fluid.FixedResistances.PressureDropres2
AixLib.Fluid.FixedResistances.PressureDropres11
AixLib.Fluid.FixedResistances.PressureDropres12
Modelica.Fluid.Vessels.ClosedVolumevol
AixLib.Utilities.Diagnostics.CheckEqualitycheEqu1Check for equality of results
AixLib.Fluid.Sensors.EnthalpyFlowRateentFloRatEnthalpy flow rate
AixLib.Fluid.Sensors.EnthalpyFlowRateentFloRat1Enthalpy flow rate
AixLib.Fluid.MixingVolumes.MixingVolumeMoistAirvol2
AixLib.Fluid.FixedResistances.PressureDropres21
AixLib.Fluid.FixedResistances.PressureDropres22
AixLib.Utilities.Diagnostics.CheckEqualitycheEqu2Check for equality of results
AixLib.Fluid.Sensors.EnthalpyFlowRateentFloRat2Enthalpy flow rate
Modelica.Blocks.Sources.Constantzero
Modelica.Fluid.Systemsystem

Contents

NameDescription
MediumMedium model

Revisions

  • January 10, 2025, by Michael Wetter:
    Changed tolerance of assertion blocks.
    This is for issue IBPSA #1952.
  • April 12, 2017, by Michael Wetter:
    Removed temperature connection that is no longer needed.
    This is for issue Buildings #704.
  • January 12, 2017, by Thierry S. Nouidui:
    Refactored difference blocks for checking integration errors. This is needed for the JModelica verification tests.
  • November 4, 2016, by Michael Wetter:
    Removed wrong use of each keyword.
    This is for issue 575.
  • November 2, 2016, by Michael Wetter:
    Changed assertions to blocks that compute the difference, and added the difference to the regression results.
    This is for issue 564.
  • October 24, 2013, by Michael Wetter:
    Set vol(h_start=45300.945). This avoids a cyclic assignment of vol.T_start and vol.h_start in Modelica.Fluid.Vessels.ClosedVolume.
  • October 12, 2009 by Michael Wetter:
    First implementation.