Partial model of a stratified tank for thermal energy storage
This is a partial model of a stratified storage tank.
See the AixLib.Fluid.Storage.UsersGuide
for more information.
Implementation
This model does not include the ports that connect to the fluid
from the outside, because these ports cannot be used for the models
that contain the AixLib.Fluid.Storage.BaseClasses.ThirdOrderStratifier.
- March 7, 2022, by Michael Wetter:
Set final massDynamics=energyDynamics.
This is for #1542.
- November 13, 2019 by Jianjun Hu:
Added parameter TFlu_start and changed the initial
tank segments temperature to TFlu_start so each
segment could have different temperature. This is for #1246.
- June 7, 2018 by Filip Jorissen:
Copied model from Buildings and update the model accordingly. This
is for #314.
- June 1, 2018, by Michael Wetter:
Refactored model to allow a fluid port in the tank that do not have
the enhanced stratification model.
This is for issue
1182.
- July 29, 2017, by Michael Wetter:
Removed medium declaration, which is not needed and inconsistent
with the declaration in the base class. This is for issue
544.
- March 28, 2015, by Filip Jorissen:
Propagated allowFlowReversal and
m_flow_small and set mSenFac=1.
- January 26, 2015, by Michael Wetter:
Renamed hA_flow to H_a_flow,
hB_flow to H_b_flow and
hVol_flow to H_vol_flow as they output
enthalpy flow rate, and not specific enthalpy. Made various models
protected.
- January 25, 2015, by Michael Wetter:
Added final to tau = 0 in
EnthalpyFlowRate. These sensors do not need dynamics
as the enthalpy flow rate is used to compute a heat flow which is
then added to the volume of the tank. Thus, if there were high
frequency oscillations of small mass flow rates, then they have a
small effect on H_flow, and they are not used in any
control loop. Rather, the oscillations are further damped by the
differential equation of the fluid volume.
- January 25, 2015, by Filip Jorissen:
Set tau = 0 in EnthalpyFlowRate sensors
for increased simulation speed.
- August 29, 2014, by Michael Wetter:
Replaced the use of Medium.lambda_const with
Medium.thermalConductivity(sta_default) as
lambda_const is not declared for all media. This
avoids a translation error if certain media are used.
- June 18, 2014, by Michael Wetter:
Changed the default value for the energy balance initialization to
avoid a dependency on the global system
declaration.
- July 29, 2011, by Michael Wetter:
Removed use_T_start and h_start.
- February 18, 2011, by Michael Wetter:
Changed default start values for temperature and pressure.
- October 25, 2009 by Michael Wetter:
Changed computation of heat transfer through top (and bottom) of
tank. Now, the thermal resistance of the fluid is not taken into
account, i.e., the top (and bottom) element is assumed to be
mixed.
- October 23, 2009 by Michael Wetter:
Fixed bug in computing heat conduction of top and bottom segment.
In the previous version, for computing the heat conduction between
the top (or bottom) segment and the outside, the whole thickness of
the water volume was used instead of only half the thickness.
- February 19, 2009 by Michael Wetter:
Changed declaration that constrains the medium. The earlier
declaration caused the medium model to be not shown in the
parameter window.
- October 31, 2008 by Michael Wetter:
Added heat conduction.
- October 23, 2008 by Michael Wetter:
First implementation.
Generated at 2026-04-05T18:18:26Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos