modelStratified

Test model for stratified tank

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

Information

This test model compares two tank models. The only difference between the two tank models is that one uses the third order upwind discretization scheme that reduces numerical diffusion that is induced when connecting volumes in series.

Components

TypeNameDefaultDescription
AixLib.Fluid.Storage.StratifiedtanSimTank
Modelica.Blocks.Sources.TimeTableTWatWater temperature
AixLib.Fluid.Sources.Boundary_pTsou_1
AixLib.Fluid.Sources.Boundary_pTsin_1
AixLib.Fluid.FixedResistances.PressureDropres_1
AixLib.Fluid.Storage.StratifiedEnhancedtanEnhTank
AixLib.Fluid.FixedResistances.PressureDropres_2
AixLib.Fluid.Sensors.EnthalpyFlowRateHOut_flowEnthalpy flow rate
AixLib.Fluid.Sensors.EnthalpyFlowRateHOut_flow1Enthalpy flow rate
Modelica.Blocks.Continuous.IntegratordHDifferenz in enthalpy (should be zero at steady-state)
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Sources.TimeTablePPressure boundary condition
Modelica.Blocks.Sources.Sinesine
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureTBCSid2Boundary condition for tank
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureTBCSid1Boundary condition for tank
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureTBCTop1Boundary condition for tank
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureTBCTop2Boundary condition for tank

Contents

NameDescription
MediumMedium model

Revisions

  • June 7, 2018 by Filip Jorissen:
    Copied model from Buildings and update the model accordingly. This is for #314.