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