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
IDEAS.Fluid.Sources.Boundary_pTsou_1
IDEAS.Fluid.Sources.MassFlowSource_Tsin_1
IDEAS.Fluid.Storage.StratifiedEnhancedtanEnhTank
IDEAS.Fluid.Sources.MassFlowSource_Tsin_2
IDEAS.Fluid.Storage.StratifiedtanTank
Modelica.Blocks.Sources.Pulsepulse
IDEAS.Fluid.Sensors.EnthalpyFlowRateHIn_flowEnthalpy flow rate
IDEAS.Fluid.Sensors.EnthalpyFlowRateHOut_flowEnthalpy flow rate
IDEAS.Fluid.Sensors.EnthalpyFlowRateHInEnh_flowEnthalpy flow rate
IDEAS.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.