modelHeat_storage_hx

Stratified tank with an internal heat exchanger and ambient heat losses (nodal model)

Information

Nodal model of a stratified tank, with the following hypotheses:

  • No heat transfer between the different nodes
  • The internal heat exchanger is discretized in the same way as the tank: each cell of the heat exchanger corresponds to one cell of the tank and exchanges heat with that cell only.
  • Incompressible fluid in both the tank and the heat exchanger


The tank is discretized using a modified version of the incompressible Cell1Dim model adding an additional heat port. The heat exchanger is modeled using the Flow1Dim component and a wall component.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Lengthhtot1Total height of the tank
Modelica.SIunits.Lengthh10.3Height of the bottom of the heat exchanger
Modelica.SIunits.Lengthh20.6Height of the top of the heat exchanger
IntegerN15Total number of cells
IntegerN1integer(h1*N/htot)Cell corresponding to the bottom of the heat exchanger
IntegerN2integer(h2*N/htot)Cell corresponding to the top of the heat exhcanger
Modelica.SIunits.AreaA_amb2Total heat exchange area from the tank to the ambient
Modelica.SIunits.AreaA_hx1Total heat exchanger area from in the heat exchanger
Modelica.SIunits.VolumeV_tank0.3Total capacity of the tank
Modelica.SIunits.VolumeV_hx0.005Internal volume of the heat exchanger
Modelica.SIunits.MassFlowRateMdot_nom0.1Nominal mass flow rate in the heat exchanger
Modelica.SIunits.CoefficientOfHeatTransferU_amb1Heat transfer coefficient between the tank and the ambient
Modelica.SIunits.CoefficientOfHeatTransferUnom_hx4000Nominal heat transfer coefficient in the heat exchanger
Modelica.SIunits.MassM_wall_hx5Mass of the metal wall between the two fluids
Modelica.SIunits.SpecificHeatCapacityc_wall_hx500Specific heat capacity of metal wall
Initialization
Modelica.SIunits.Pressurepstart_tank1E5Tank pressure start value
Modelica.SIunits.TemperatureTstart_inlet_tank273.15 + 10Tank inlet temperature start value
Modelica.SIunits.TemperatureTstart_outlet_tank273.15 + 60Tank outlet temperature start value
Modelica.SIunits.SpecificEnthalpy[N]hstart_tanklinspace(MainFluid.specificEnthalpy_pT(pstart_tank, Tstart_inlet_tank), MainFluid.specificEnthalpy_pT(pstart_tank, Tstart_outlet_tank), N)Start value of enthalpy vector (initialized by default)
Modelica.SIunits.Pressurepstart_hx1E5Heat exchanger pressure start value
Modelica.SIunits.TemperatureTstart_inlet_hx273.15 + 70Heat exchanger inlet temperature start value
Modelica.SIunits.TemperatureTstart_outlet_hx273.15 + 50Heat exchanger outlet temperature start value
Booleansteadystate_tanktrueif true, sets the derivative of h (working fluids enthalpy in each cell) to zero during Initialization
Booleansteadystate_hxtrueif true, sets the derivative of h (working fluids enthalpy in each cell) to zero during Initialization

Connectors

TypeNameDefaultDescription
ThermoCycle.Interfaces.HeatTransfer.ThermalPortLWall_ext
ThermoCycle.Interfaces.Fluid.FlangeAMainFluid_su
ThermoCycle.Interfaces.Fluid.FlangeBSecondaryFluid_ex
ThermoCycle.Interfaces.Fluid.FlangeBMainFluid_ex
ThermoCycle.Interfaces.Fluid.FlangeASecondaryFluid_su

Components

TypeNameDefaultDescription
ThermoCycle.Components.FluidFlow.Pipes.Flow1DimIncflow1Dim
Cell1DimInc_2ports[N]cell1DimInc_hx
ThermoCycle.Interfaces.HeatTransfer.ThermalPortConverterthermalPortConverter
ThermoCycle.Components.HeatFlow.Walls.MetalWallmetalWall
SummaryClassSummary

Contents

NameDescription
MainFluid
SecondaryFluid
SummaryBase
SummaryClass