modelTraceSubstanceConservationSteadyState

This test checks if trace substance mass flow rates are conserved when steady state

Extends from IDEAS.Fluid.MixingVolumes.Validation.BaseClasses.TraceSubstanceConservation.

Information

This test checks if the trace substance flow rate is conserved when adding moisture to a mixing volume that is configured to steady state.
The trace substance flow rate at the inlet and outlet should be equal since the trace substance concentration should not be affected by the independent mass fraction concentration.

Note, however, that there is some approximation error because in its default configuration, the conservation balance models simplify the treatment of the water that is added to the fluid. See IDEAS.Fluid.Interfaces.StaticTwoPortConservationEquation and IDEAS.Fluid.Interfaces.StaticTwoPortConservationEquation for a discussion.

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.AddcheEquTra2Check for equality of trace substances
Modelica.Blocks.Math.AddcheEquTra1Check for equality of trace substances
Modelica.Blocks.Sources.ConstantconstSet point of trace substance concentration

Revisions

  • 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.
  • May 22 2015 by Filip Jorissen:
    First implementation.