modelStratifiedNonUniformInitial

Test model for stratified tank with non-uniform initial temperature

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This test model validates Buildings.Fluid.Storage.Stratified by specifying a non-uniform initial temperature.

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_1Mass flow source
Buildings.Fluid.Storage.StratifiedheaTanTank that will be heated up
Buildings.Fluid.Sources.MassFlowSource_Tsin_2Mass flow source
Buildings.Fluid.Storage.StratifiedcooTanTank that will be cooled down
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.AddaddAdder for enthalpy difference
Modelica.Blocks.Continuous.IntegratordHTanEnhDifference in enthalpy (should be zero at steady-state)
Modelica.Blocks.Math.Addadd1Adder for enthalpy difference
Modelica.Blocks.Continuous.IntegratordHTanDifference in enthalpy (should be zero at steady-state)

Contents

NameDescription
MediumMedium model

Revisions

  • November 13, 2019 by Jianjun Hu:
    Changed the uniform initial tank temperature to be non-uniform.
    This is for #1246.