modelMixingVolumeMFactor

A check for verifying the implementation of the parameter mSenFac

Extends from Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow (Test model for mass flow into and out of volume).

Information

This model contains two verifications for the implementation of mSenFac:

  1. The mixingVolume temperature vol.T should be constant. This is to check the correct implementation of the parameter mSenFac for moist air media.
  2. The temperature response of volMFactor.T and vol1.T should be nearly identical. Furthermore the response of the species concentration Xi demonstrates the difference between using an mSenFac = 10 and multiplying volume by 10.

See Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow for the rational of the selected initial conditions for the volumes.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.PressureDifferencedp_nominal (from MixingVolumeMassFlow)10Nominal pressure drop
Modelica.Units.SI.MassFlowRatem_flow_nominal (from MixingVolumeMassFlow)0.5Nominal mass flow rate

Components

TypeNameDefaultDescription
Modelica.Fluid.Sources.MassFlowSource_Tsou (from MixingVolumeMassFlow)Flow source and sink
Sources.Boundary_pTbou (from MixingVolumeMassFlow)Boundary condition
Buildings.Fluid.MixingVolumes.MixingVolumevol (from MixingVolumeMassFlow)
Buildings.Fluid.MixingVolumes.MixingVolumevolMFactorMixing volume using mSenFac = 10
Buildings.Fluid.MixingVolumes.MixingVolumevol1MixingVolume with V = 10 instead of mSenFac = 10
Buildings.Fluid.Sources.MassFlowSource_TboundaryMFactorFlow source for mixing volume using mSenFac
Buildings.Fluid.Sources.MassFlowSource_TboundaryFlow source for mixing volume using larger volume

Revisions

  • March 27, 2015 by Michael Wetter:
    Set the mass dynamics of the volume to Modelica.Fluid.Types.Dynamics.DynamicFreeInitial to avoid an overspecified but consistent initial value problem. The previous implementation caused a warning in Dymola 2015 FD01, and caused in Dymola 2016 beta 2 to not translate the model. The problem was that the boundary condition and the volume both declared an equation for the initial pressure.
  • December, 2014 by Filip Jorissen:
    Added temperature verification.
  • November 25, 2014 by Filip Jorissen:
    First implementation.