modelStratifiedLoadingUnloading

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.

Parameters

TypeNameDefaultDescription
IntegernSeg7Number of segments in tank
Modelica.Units.SI.MassFlowRatem_flow_nominal1*1000/3600/4

Components

TypeNameDefaultDescription
AixLib.Fluid.Sources.Boundary_pTsou_1
AixLib.Fluid.Sources.MassFlowSource_Tsin_1
AixLib.Fluid.Storage.StratifiedEnhancedtanEnhTank
AixLib.Fluid.Sources.MassFlowSource_Tsin_2
AixLib.Fluid.Storage.StratifiedtanTank
Modelica.Blocks.Sources.Pulsepulse
AixLib.Fluid.Sensors.EnthalpyFlowRateHIn_flowEnthalpy flow rate
AixLib.Fluid.Sensors.EnthalpyFlowRateHOut_flowEnthalpy flow rate
AixLib.Fluid.Sensors.EnthalpyFlowRateHInEnh_flowEnthalpy flow rate
AixLib.Fluid.Sensors.EnthalpyFlowRateHOutEnh_flowEnthalpy flow rate
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Continuous.IntegratordHTanEnhDifference in enthalpy (should be zero at steady-state)
Modelica.Blocks.Math.Addadd1
Modelica.Blocks.Continuous.IntegratordHTanDifference in enthalpy (should be zero at steady-state)

Contents

NameDescription
MediumMedium model

Revisions

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