modelStratifiedLoadingUnloading

Test model for stratified tank

Extends from Modelica.Icons.Example.

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