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