modelMixingVolume
Test model for mixing volumes
Extends from Modelica.Icons.Example (Icon for runnable examples).
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 Annex60
library.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.Ramp | P | ||
| Annex60.Fluid.Sources.Boundary_pT | sou | ||
| Annex60.Fluid.Sources.Boundary_pT | sin | ||
| Annex60.Fluid.FixedResistances.PressureDrop | res1 | ||
| MixingVolumes.MixingVolume | vol1 | ||
| Annex60.Fluid.FixedResistances.PressureDrop | res2 | ||
| Annex60.Fluid.FixedResistances.PressureDrop | res11 | ||
| Annex60.Fluid.FixedResistances.PressureDrop | res12 | ||
| Modelica.Fluid.Vessels.ClosedVolume | vol | ||
| Modelica.Blocks.Math.Add | cheEqu1 | Check for equality of results | |
| Annex60.Fluid.Sensors.EnthalpyFlowRate | entFloRat | Enthalpy flow rate | |
| Annex60.Fluid.Sensors.EnthalpyFlowRate | entFloRat1 | Enthalpy flow rate | |
| Annex60.Fluid.MixingVolumes.MixingVolumeMoistAir | vol2 | ||
| Annex60.Fluid.FixedResistances.PressureDrop | res21 | ||
| Annex60.Fluid.FixedResistances.PressureDrop | res22 | ||
| Modelica.Blocks.Math.Add | cheEqu2 | Check for equality of results | |
| Annex60.Fluid.Sensors.EnthalpyFlowRate | entFloRat2 | Enthalpy flow rate | |
| Modelica.Blocks.Sources.Constant | zero | ||
| Modelica.Blocks.Sources.Constant | TLiq | ||
| Modelica.Fluid.System | system |
Contents
| Name | Description |
|---|---|
| Medium model |
Revisions
-
November 4, 2016, by Michael Wetter:
Removed wrong use ofeachkeyword.
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:
Setvol(h_start=45300.945). This avoids a cyclic assignment ofvol.T_startandvol.h_startinModelica.Fluid.Vessels.ClosedVolume. -
October 12, 2009 by Michael Wetter:
First implementation.