A Convolution Model of Rock Bed Thermal Storage Units: (Received July Accepted December
A Convolution Model of Rock Bed Thermal Storage Units: (Received July Accepted December
441--449
Pc~amoa Press Ltd., I~0. Pdated in Great Britain
Abstraet--A method is presented whereby a packed-bed thermal storage unit is dynamically modeled for
bi-directional flow and arbitrary input flow stream temperature variations. The method is based on the principle of
calculating the output temperature as the sum of earlier input temperatures, each multiplied by a predetermined
"response factor", i.e. discrete convolution. A computer implementationof the scheme, in the form of a subroutine
for a widely used solar simulation program (TRNSYS) is described and numerical results compared with other
models. Also, a method for efficientcomputationof the required response factors is described; this solution is for a
triangular input pulse, previously unreported, although the solution method is also applicable for other input
functions. This solution requires a single integration of a known function which is easily carried out numericallyto
the required precision.
INTRODUCTION and
The transfer of heat to and from fluids flowing through ~ = p~ALCb/(rhC~). (4)
packed beds has been of industrial importance for some
time, and has therefore been the subject of numerous The widely known model described by Duffle[6], for
investigations[l--A]. Moreover, it is well known that example, reduces (1) and (2) to a set of simultaneous
identical partial differential equations govern a number first-order, ordinary differential equations by segmenting
of other physicalphenomena, such as transient heating the bed. This model is known to require a large number
of duct walls,' and the processes within chemical of segments and short-time step for reasonable accuracy,
reactors[5]. However, most of the solutions to these which leads to excessive solution times for long-term
equations presented in the literature are for the bed and simulation[7]. The Solar Energy Laboratory at the Uni-
exit fluid temperature in response to a step change in the versity of Wisconsin simplified the problem by assuming
inlet fluid temperature. infinite fluid-bed heat transfer (NTU-+~), and thus
More recently, there has been a need for general arrived at a more efficient model for incorporation in the
mathematical models, suitable for computer simulation TRNSYS program[8] (this model is referred to here as
of systems which include packed beds. Such models the Hughes-Klein-Close model). Hughes et al.[9] show
present a more challenging problem, since they must that this model may be accurate enough for long-term
predict outflow fluid temperature for arbitrary, temporal simulation studies of some systems with finite NTU. The
variations in inlet temperature. In many .system simula- principal problem with this model is that it can be
tions, such as of solar heating systems, the model must misleading for simulations of systems which are sensitive
also allow for flow reversal at arbitrary times. Addition- to the sharpness of bed stratification; the actual smearing
ally, there is great importance placed on computational of input temperature profiles is lost completely and sup-
efficiency and accuracy, since often simulations are car- planted with artificial distortion related to discretization
ried out for exceedingly long times (several thousand error rather than physical factors. Hughes discusses
hours). From this point of view, the mathematical solu- several other models in[10], including one in which the
tions presented in the literature are only the beginning of fluid temperature is allowed to vary while flowing
a suitable simulation algorithm. through a uniform bed segment. Later, Mumma and
All simulation algorithms for packed beds presented to Marvin [7] reported detailed numerical experiments with
date are based on finite-difference representation of the this model (referred to here as the Hughes/Mumma-
governing equations, which are Marvin model) and were impressed with the relatively
large time and distance steps which it allowed without
OT
O(--X[L)= NTU(Tb - T) (1) appreciable loss of accuracy for the step response.
Hughes reports even superior performance of a variation
aT~ in which the bed segment temperature is allowed to vary
~(--~) = N T U f T - Tb) (2)
linearly as it exchanges energy with the fluid, von
Fuchs[ll] has carried out numerical studies with an
where
improved version of this model and has shown it to be
N T U = h~AL/(mC/), (3) considerably better with respect to prediction of the bed
profile several hours after a step change in the input.
These models have several attractive features and
tEngineering Division. have many applications. For example, they allow arbi-
~Mathematics Department. trary inlet flow variations, arbitrary initial bed profiles,
441
442 E. F. SOWELLand R. L. CURRY
and variable, bidirectional flow• However, they still factors ri of the bed. They depend upon the physical
require the solution of a set of differential equations properties of the bed, and the mass flowrate. The actual
during the simulation, and it develops that computation shape of the response curve, and hence the r/s, can be
time is controlled by stability and accuracy con- found by solution of eqns (1) and (2), but will be deferred
siderations. In this connection it should be noted that the until the use of these factors is explained.
tests reported by Hughes and Mumma were for a step Since eqns (1) and (2) constitute a linear, invariant
change in inlet temperature. In this work it has been system (provided mass flowrate is constant), super-
found that a more realistic sequence, such as inlet tem- position applies, and it is apparent that the outlet tem-
perature varying as the daily insolation profile, followed perature due to any number of sequential inlet pulses is
by flow reversal for heat extraction, is a more severe test the sum of their individual effects. For example, the
and usually requires smaller time steps than suggested by output at time 28 due to an input unit pulse centered at
Mumma. time 0 and followed by another at time 8 is
It is the purpose of this paper to present an alternative
simulation model for packed beds which is potentially Ti(28) = Tbi + r, + r2.
more accurate and efficient than any of the models
reported to date. Its accuracy derives from the fact that This is so since r~ is the output effect of an input unit
it employs a predetermined solution to the partial pulse 8 earlier, and r2 is the effect due to one 28 earlier.
differential equations, which can be determined with The linearity property also ensures that a pulse of
great precision. Its efficiency derives from the fact that height "a" will result in an outlet effect of (ar3 at i8 time
differentials are effectively removed from the simulation units later. It is therefore evident that a series of over-
equations• However, it must be observed that this model lapping triangular pulses at the inlet of height Tk.i-~ and
is based upon the convolution principle from linear sys- widths 28 at times k = 0, 1,2... results in outlet tem-
tem theory[12], and therefore has certain limitations• For peratures at 8 times increments of
example, in its simplest form, it is restricted to constant,
unidirectional flow in an initially-relaxed bed. On the
T~.i = T~ + ~, r~(T~_~.j_, - T~j). (5)
other hand, it is shown that by coupling the method with i=o
bed segmentation, flow reversal can be accommodated
while retaining most of the computational efficiency. It is The summation continues until the rl becomes negligibly
notable that this technique, applied to conduction in small. Mathematically, this process is the discrete form
solids, has virtually replaced finite-difference for- of the convolution integral[12].
mulations in building heat transfer simulations in recent As can be seen in Fig. 2, a series of overlapping
years [13-15]. triangular pulses constitute a continuous input tem-
perature profile composed of straight line segments. It is
THE CONVOLUTIONPRINCIPLE therefore evident that eqn (5) represents the exact solu-
The convolution model is based on the principle of tion to eqns (1) and (2) at discrete times for an initial bed
linear super-position, which suggests that the outlet temperature of Tbj and an inlet temperature profile con-
temperature at any instant is the sum of effects of all sisting of a piecewiseqinear curve, provided only that the
earlier inlet temperature disturbances. The process can r~'s are exact. This is the basic convolution model.
be most easily understood after first considering the It is notable that the convolution model is free from
response of the bed to a single inlet temperature dis- discretization error during the simulation process. Also,
turbance, usually taken as a unit triangular pulse. Figure there is no question of stability; the simulation time step,
I shows the bed with a constant flow and an initially which must equal 8, can be as large as desired, provided
uniform temperature, Tbj. The inlet flow temperature is only that 8 must be short enough to allow satisfactory
then disturbed in the form of a triangular pulse of unit representation of input profiles using a piecewise linear
height above Tbi.t It is apparent that the output tem- curve with breakpoints at this interval. This is in contrast
perature will also rise and fall, although this response to the finite-difference models which require selection of
will be later in time and somewhat "smeared". The time step based on stability considerations, often neces-
amplitudes of the output response curve at intervals of 8, sitating short time steps even for smooth expected in-
the half-width of the input pulse, are called the response puts.
For unidirectional flow, eqn (5) is all that is required. It
fThe index j is introduced for consistency of nomenclature, is suitable for computer programming, or hand cal-
since it is required for segmented beds. culations once the r,'s are known. One improvement,
T/-I
Rock bed
/
-~ o 0 ~ 26B 3B
t---> t--->
Fig. I. Response of bed to unit triangular pulse.
A convolution model of rock bed thermal storage units 443
IA+'C ~*00 t~.+0 11,.00 F~. I0 .U0 10, ~0 ~,00 ~.00 I~,00
,J
~rl o11~377E-16 .4970|6E')1 .k?A~?6F*OB *?~4p~qE-~2 *L~71PqF-~0 *P~3|~7E-14 .000000F~0] *~SPT~F-30 *7173~g-;1
~TU 1.00 |*~0 1.00 ~*~,0 ;~,00 ?.~+0 "~*00 ~.00 "~,~0
Table 1. (Contd)
GSUM |*OOflO~OOOO OsqqqOQQQO94 OeQqO~Q~PR5 ]*C~OflOOOOlO r*qqqqq9~9~] ]*O000OO00NO |*O00000OO00 0.OOQqq~qq~g I*NODO000O~I
true in the context of the TRNSYS program which is times. If flow is from top to bottom, the elements in the
oriented toward differential equation solving. The com- selected row are updated left-to-right; reverse indexing is
plications encountered include allowing for flow reversal, done for bottom to top flow. The last calculated tem-
time-step size smaller than the response factor base and perature is transferred to the appropriate TRNSYS out-
multiple calls within a time step. An approach to these put element.
difficulties is discussed below. There are several conditions for which the above
The TRNSYS subroutine employs two basic arrays, T sequence must be modified. On the first call in the
for the fluid temperature and TB for the bed tem- simulation, all calculations are skipped to get the routine
peratures. T is 2-dimensional with each column in step with the TRNSYS time variable. Also, on calls
representing a bed segment and each row representing a for which time is not a multiple of the response factor
time in increments of 8. The first and last columns are time base 8, inlet temperatures are averaged and control
used to store inlet and outlet fluid temperatures. The returned to the calling routine, skipping the rock bed
column indexing convention is such that the ,/th column updating. Thus, the TRNSYS time step can be anything
of T always contain~ the temperature of the fluid leaving smaller than 8 and energy will not be lost; however, the
the segment whose bed temperature is stored in TB]. bed outlet temperature remains unchanged over several
Row indexing is done by a "wrap-around" pointer whose TRNSYS time steps.
value is decremented when time advances by 8; this The most perplexing problem derives from the
allows programming of eqn (6) without moving data in TRNSYS policy of multiple calls in a time step. Consider
the T array. the case when the first call in a time step indicates a flow
Before the T array is recalculated on a call, a flow reversal. This precipitates the recalculation of TB, and
check is made. On a call in which the flow is detected to reinitialization of the T array. Now if on a subsequent
be the reverse of the last calculation, the bed tem- call in the same time step the flow shows to be back in
perature vector TB is updated using eqn (8) and the T the original direction, the data from the previous time
values from the previous calculations. These TB values step, needed for properly proceeding, has been lost. This
are then loaded into all elements of the corresponding is a likely circumstance often occurring as the TRNSYS
columns of the T array, thus properly initializing the bed simulator attempts to converge the entire system. To
for the new flow direction. deal with this, the entire T array and current pointer
After all conditions are checked and adjustments made values are copied into auxiliary variables, so that T can
for reversal, the row pointer is decremented and the fluid be restored if required. This greatly complicates the
outlet temperatures are calculated by applying eqn (6) N logic, increases running time due to data transfer, and
Length , L 4.0 m
reasonable accuracy of each model. In all cases, 15 Fig. 4. Response of finite-differencerock bed models to reverse
divisions seemed to adequately represent the bed. The flow test sequence.
Hughes/Mumma-Marvin and Hughes-Klein-Close
models both require a time step of about 0.05 hr with this the Hughes/Mumma-Marvin model is compared with the
segment size. It is seen, however, that the Convolution Hughes-Klein-Close model, with various segmentation
model does quite well with 0.5 hr time step. For com- and time step. First it is observed that with a given
parison, the most accurate solution attempted, using the segmentation, e.g. 15, the Hughes/Mumma-Marvin
Hughes/Mumma-Marvin model with N = 150 and t = model will predict above or below the correct profile
0.005, is also shown. It will be observed that any of the depending on the time step. Second it is observed that
models are within 2-4°C of this solution throughout the when segmentation is too coarse, the predicted profile is
interval. The close agreement is highly dependent upon flatter than it should be; this is an artificial "smearing" of
! ; TO
choice of number of segments and time step for the finite the temperature fronts introduced by the model. That
difference models. This is demonstrated in Fig. 5, where Hughes was able to show good long term simulation
results with such a model is probably an indication that
his system was insensitive to the discharge temperature.
Current results suggest that the finite difference models
should be used with caution, especially in the study of
temperature-sensitive components such as heat pumps
and control elements.
20 , i i J , i i • i i i I I i I I I I I I I i I )
12 24 Table 3 gives an indication of model relative efficien-
Time, hr cies. The numbers presented are estimates of execution
time, derived by subtracting the machine time for a
1512 I zero-hour simulation run from that for the 72-hr simula-
Topf l o w tion. To the extent possible, printing was equalized for
kg/hr I
, l l t l l l I I 3 I I I ] I At
00~ , , , , ~ i 12 N (hrs)
24
1 Hughes/Murnma- 150 0005
Marvin
2 HughestMumma- 15 0005
Marvin
20 3 Hughes/Mumma- 15 0050
Bottom temperature ioo Marvin
4 Hughes/Mumrna- 15 0500
/-3 Marvin
C ~ //-5 5 Hughes- 50 0010
80 ~ . _ ~ . ~ / / ~ - I Klein-
~. ~ ~ r 2 Close
O ~ ~ , ~ , ~ , = , , , = ~ , ~ , , = , , , t = I . f ~-~/~../-4 6 Hughes- 5 0.050
, , i i i , i , i i i , i i i I I I I I I I i 1 , t i
0 12 24 15 20 25 30
51 44 35
HKC 66 48 36
C
290 51 43 35
15 HKC 603 89 61 33
C 70 60
HMM 243 78
SO HKC 71S
C
each model. From these run times, one can draw ten- of energy, this method will be preferred over the finite
tative conclusions about the model efficiencies. For low difference methods.
accuracy, i.e. small numbers of segments and long step
sizes, the Hughes/Mumma-Marvin and Hughes-Klein-
Close models are about equivalent, and more efficient Acknowledgements--This work has been supported by the Solar
than the current Convolution implementation. As the Heating and Cooling Research and Development Branch, Office
of Conservation and Solar Applications, U.S. Dept. of Energy.
accuracy requirement goes up, however, the convolution Programming has been done by Donald K. Bell, Sharon Kouns
model is superior; this is so since its accuracy is depen- and Nina Hostetler. Computations were carried out with the
dent upon the pre-determined response factors, rather facilities of California State University, Fullerton, Computer
than on reduction of time step size during the simulation. Center.
It is notable that even if other parts of a system simula-
tion necessitate reduction of step size, the Convolution
NOMENCLATURE
model solution time goes up only slightly. It is also true
A bed frontal area, m2
that the Convolution model will not lose accuracy under b see eqn (9)
these circumstances. Cb bed solid particle specific beat, kJ/kg-°C
C! fluidspecific beat, IO/kr°C
CR common ratio of successive terms for large t
CONCLUSIONS h~ volumetric heat transfer coefficient, kJ/hr-m3-°C
/ dummy index for convolution procedure
A method has been presented whereby the outlet j subscript representing bed segment
temperature from a rock bed storage unit is calculated k subscript representing time increments of
exactly for piecewise linear variation of inlet tem- L bed length, m
perature, without integration of finite difference equa- rh fluidmass flow rate, kg/m
N number of bed segments
tions. This is done by a discrete convolution process NTU number of transfer units (see eqn 3)
between historical values of the inlet temperature and ri response factor: fraction of input pulse which appears at
the curve which represents bed response to a unit trian- outlet i8 later
gular pulse. An efficient method of pre-calculating this modified response factor (see eqn 7)
response at discrete points has also been presented. The T fluidtemperature, °C
Tb bed solid particle temperature, °C
Convolution method will find application in long-term t time, hr
simulation of systems involving packed beds as well as U(t) unit step function at time t
other devices represented by the same equations. To this X bed position coordinate, m
end, an implementation as a TRNSYS subroutine has 8 response factor time base, hr (see Fig. I)
dummy variable of integration
been discussed. Results presented suggest that in simu- Pe bed effective density, kg/m3
lations which require economical, accurate prediction of 7 dimensionless time, (t + 8)/~',.
bed exit temperatures, as opposed to simple conservation r~ bed time constant hr (see eqn 4)
448 E.F. SOWELLand R. L. CURRY
Appendix (where different from the text) Substituting into (AI)-(A4) yields
c number of transfer units (NTU)
[ input temperature profile, C Ou
--= cv, (A7)
Ii modified Bessers function of order 1 Ox
t dimensionless time (tire) Ov
U modified fluid temperature, C = cu, (A8)
Ux partial derivative of U with respect to X
v modified bed temperature, C u(x, 0) = 0, (A9)
x dimensionless distance (x/L)
y, z, r dummy variables of integration u(O, t) = [(t) exp (ct). {AIO)
5. W. M. Kays and A. L. London. Compact Heat Exchangers, For u sufficiently smooth, (A9) implies that
Chap. 3. McGraw-Hill, New York (1955).
6. J. A. Duffle and W. A. Beckman, Solar Energy Thermal ux(x,O) =0. (Al3)
Processes. Wiley, New York (1974).
7. S. A. Mumma and W. C. Marvin, A method of simulating the Equation (AI3) is used in (Al2) to obtain
performance of a pebble bed thermal energy storage and
recovery system. ASME paper 76-HT-73, presented at
ASME-AICHE Heat Transfer Conf., St. Louis, Aug. 1976.
8. TRNSYS--A transient simulation program. Sol Energy Lab,
ux(x, t) = c z
I/ J
u{x, y) dy. (A141
Univ. of Wisconsin, Engr. Expt. Station Rep. 38, March Equation (AI4) is integrated from 0 to x to obtain
1975, as revised 10175.
9. P. J. Hughes, S. Klein and D. J. Close, Packed bed thermal
storage models for solar air heating and cooling systems. J.
Heat Transfer, ASME Trans. C98, 336-338 (1976).
u(x,t)-u(O,t)=c
2
fo fo
x t
u(z,y)dydz. (A15)
10. P. J. Hughes, The design and predicted performance of Equation (AI0) is used in (AI5) to obtain
Arlington House. M.S. Thesis, Univ. of Wisconsin-Madison,
Dept. Mechanical Engineering (1975).
u(x,t)=/(t)exp(ct)+c 2
II. G. F. yon Fuchs, A rock bed computer model. Presented at
the Solar Energy Storage Options Conf., Trinity Univ., San fo fo ' u(z,y)dydz. (AI6)
Antonio, TX, 18--22 March 1979. The unique solution to (AI6) may be expressed in terms of the
12. W. T. Thompson, Laplace Trans[ormation, pp. 38--39. Pren-
Neumann series as
tice-Hall, Englewood Cliffs, N.J. (1960).
13. D.G. Stephenson and G. P. Mitalas, Cooling load calculation C2n+2 /'x t
by thermal response factor method. ASHRAE Trans. 73,
111.1.1-1.7, Pt. I (i%7).
a(x't)=t")exp(ct)+ o Jo fo (x-z).
14. T. Kusuda, Thermal response factors for multilayer struc- × (t - y)"[(y) exp (cy) dy dz. (AI7)
tures of various heat conduction systems. ASHRAE Trans.
75,246--271, Pt. I (1%9). The integration in (AI7) is performed with respect to z to obtain
15. B. A. Peary, A note on response factors and conduction
transfer functions. Paper presented at ASHRAE Semi- x 2n+2 n+l
+ C X
annual Meeting, Atlanta, 1968, AT-78-6 No. 3; also in u(x,t)=/(t)exp(ct) ~, t ~ v .
n=o[n.) (nt I!
ASHRAE Trans. 84, Pt. I (1978).
APPENDIX
x
fo' (t - y)"/(y) exp (cy) dy. (AI81
and it is assumed that f(t) is continuous and /(0)=0. The a,x. ,) :(,) oxp (ct) + .2 ,. ,.. l) fo
solution is facilitated by a change of variables defined by
×[ t r2 2 exp ct r2 r2 " r d r (A21)
T = u(x, t) exp (- cx - ct), (A5)
Tb = v(x, t) exp (- cx - ct). (A6) Following common notation we let It(Z) denote the modified
A convolution model of rock bed thermal storage units 449
Bessers function of order one, where At the end of the bed, where x = l, (A24) simplifies to