Professional Documents
Culture Documents
Hamdan 2014
Hamdan 2014
Abstract: An artificial neural network (ANN) model was developed to study the heat transfer analysis in an unglazed flat-plate solar
collector with air passing behind the absorbing plate. The construction of the solar air collector included the absorber plate, the structural
Downloaded from ascelibrary.org by New York University on 05/12/15. Copyright ASCE. For personal use only; all rights reserved.
layer under the plate, the air channel, and the back insulation layer. The mean inside temperature at each surface of the solar collector and
the heat added to the airflow were estimated by a nonlinear autoregressive exogenous (NARX) model. The obtained results were verified
against the mathematical calculation that was used to find the aforementioned values by the optimization technique. It was found that the
NARX model may be used to estimate the mean inside temperature at each surface of the flat-plate collector with excellent accuracy with a
coefficient of determination of 0.99997. The advantages of the ANN model compared to the conventional testing methods are speed,
simplicity, and the capacity of the ANN to learn from examples. DOI: 10.1061/(ASCE)IS.1943-555X.0000213. © 2014 American Society
of Civil Engineers.
Author keywords: Flat-plate; Solar air collector; Artificial neural network; Nonlinear autoregressive exogenous (NARX) model.
J. Infrastruct. Syst.
the ANN technique was developed to determine the solar thermal In this study, the NARX studied the heat transfer analysis in an
system parameters. unglazed type of flat-plate solar collector with air passing behind
Sozen et al. (2008) developed a new formula based on ANN the absorbing plate. This model has exogenous inputs, which help it
technique to determine the efficiency of flat-plate solar collectors. to learn to predict one time series given past values of the same time
Meteorological data for Ankara were used as training data to train series. The external or exogenous time series is the feedback input
the neural network. Surface temperature in the collector, date, time,
solar radiation, declination angle, azimuth angle, and tilt angle were
used in the input layer of the network. The efficiency of the flat-
plate solar collector was in the output layer. The results show that
the maximum and minimum deviations were found as 2.558484
and 0.001969, respectively.
In this study, an artificial neural network model was developed
to study the heat transfer analysis in an unglazed flat-plate solar
collector with air passing behind the absorbing plate. The construc-
Downloaded from ascelibrary.org by New York University on 05/12/15. Copyright ASCE. For personal use only; all rights reserved.
tion of the solar air collector included the absorber plate, the struc-
tural layer under the plate, the air channel, and the back insulation
layer. The mean inside temperature at each surface of the solar
collector and the heat added to the airflow was estimated by a non-
linear autoregressive exogenous (NARX) model. The obtained
results were verified against the mathematical calculation, which
was used to find the aforementioned values by the optimization
technique.
Mathematical Model
J. Infrastruct. Syst.
mean inside surface temperature of collector back insulation T 2i ,
initial guess of mean collector back surface temperature T 3i , initial
guess of mean temperature of absorber plate T pi , and the total solar
radiation incident upon the collector top surface Gt ) are used in
training the NARX network, and five output variables (the mean
inside surface temperature of the structural layer under the absorber
plate T 1 , the mean inside surface temperature of collector back
insulation T 2 , the collector back surface temperature T 3 , the mean
temperature of absorber plate T p , and heat added to the airflow
stream by the collector Qadd ) are used.
Fig. 3. Typical neural network autoregressive with exogenous inputs
The purpose of constructing the NARX network is to replace the
mathematical model of the optimization technique as shown in
Fig. 3 by the ANN to estimate the mean temperatures of each
surface on the flat-plate solar collectors and the heat, which is
Downloaded from ascelibrary.org by New York University on 05/12/15. Copyright ASCE. For personal use only; all rights reserved.
and another time series in NARX. The NARX, with exogenous added to the airflow stream by the collector.
inputs, is suitable to model nonlinear systems and time series. The performance of the NARX model has been carried out using
The architecture of NARX is shown in Fig. 3. The defining equa- three global statistics: coefficient of determination (R2 ), root mean
tion for the NARX model is as follows: squared error (RMSE), and mean bias error (MBE). The RMSE
is a quadratic scoring rule that measures the average magnitude
yðtÞ ¼ f½yðt − 1Þ; yðt − 2Þ; : : : ; yðt − ny Þ; uðt − 2Þ; : : : ; uðt − nu Þ of the error (Caner et al. 2011). The RMSE is given by Eq. (2),
where tj is the target value, oj is the output value, and p is the
ð1Þ
pattern (Sozen et al. 2008)
where the next value of the dependent output signal yðtÞ is re- sffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
P ffi
ðt − o Þ2
gressed on previous values of the output signal and previous values j j j
RMSE ¼ ð2Þ
of an independent (exogenous) input signal (Moghaddamnia p
et al. 2009).
Three layers of the network structure are shown in Fig. 4. Five
input variables (initial guess of mean inside surface temperature of The coefficient of determination (R2 ) is a measure used in
the structural layer under the absorber plate T 1i , initial guess of statistical model analysis to assess how well a model explains
and predicts future outcomes, which is given by Eq. (3). The more
the value of R2 , the more accurate the model is
P
− oj Þ 2
j ðtj
R2 ¼ 1 − P ð3Þ
ðoj Þ2
j
J. Infrastruct. Syst.
Results and Discussions
The NARX network with neuron numbers (5, 20, and 5) was con-
structed and tested by MATLAB software. Total data consisting of
2,509 samples were obtained from the optimization technique
by using MATLAB software. The obtained samples were used
as the input to the NARX network. Of this data, 70% is used
for training, 15% is used for validation, and 15% is used for testing.
In this network, a resilient back propagation (Rprop) algorithm
function was used, and the number of the selected hidden layer
was 20. Hyperbolic tansig function was applied for the hidden
layer, and the linear transfer function was used in the output layer.
Training parameters used in Rprop algorithm are shown in Table 2
with their values.
Downloaded from ascelibrary.org by New York University on 05/12/15. Copyright ASCE. For personal use only; all rights reserved.
The network was trained for 100 epochs with the Rprop func-
tion. The RMSE of the training period was 1.1872, and the RMSE
of the validation period was 1.0757.
Variation of the gradient error, the value of μ, and validation
Fig. 5. Variation of gradient error and validation checks checks at each epoch are shown in Fig. 5. As indicated in this fig-
ure, the gradient error is 3.0616, and the number of validation
checks are 0 at 100 epochs.
A scatter plot of training, validation, test, and experimental
The coefficient of determination (R2 ), the RMSE, and the data are shown in Fig. 6. As may be noticed in this figure, it
MBE from the aforementioned findings are represented in Table 1, was found that the values of R in the training period, validation
which represents the comparison of the performance of the three period, and testing period are 0.99997, 0.99998, and 0.99996,
models used in this study. respectively.
J. Infrastruct. Syst.
38.35 38.5
T2
38.2
38.2
38.1
38.15
38
38.1 37.9
Downloaded from ascelibrary.org by New York University on 05/12/15. Copyright ASCE. For personal use only; all rights reserved.
0 5 10 15 20 25 30 0 5 10 15 20 25 30
(a) Day (b) Day
25.85
38.6
25.845
38.55
25.84 Mathematical data Mathematical data
38.5 Estimated data
Estimated data
25.835
38.45
25.83
38.4
T3
Tp
25.825
38.35
25.82 38.3
25.815 38.25
25.81 38.2
25.805 38.15
25.8 38.1
0 5 10 15 20 25 30 0 5 10 15 20 25 30
(c) Day (d) Day
540
480
Qadd
460
440
420
400
380
0 5 10 15 20 25 30 35
(e) Day
Fig. 7. Comparison between ANN data and optimization technique for (a) average daily mean inside surface temperature of the structural layer
under the absorber plate distribution for the month of July 2008; (b) average daily mean inside surface temperature of collector back insulation
distribution for the month of July 2008; (c) average daily mean collector back surface temperature distribution for the month of July 2008; (d) average
daily mean temperature of absorber plate distribution for the month of July 2008; (e) average daily heat added to the airflow stream by the collector
distribution for the month of July 2008
Fig. 7 shows a comparison between the obtained and estimated As shown, the differences range between 0.005 and 0.078 for
values of T 1 , T 2 , T 3 , T p , and Qadd as indicated in these figures. the temperatures values, whereas the difference in Qadd ranges
The agreement between the obtained and estimated values is very between 1 and 44.
good. Table 2 shows the values of RMSE, MBE, and R for this model
The differences between the obtained and estimated values of during the validation and training periods. It may be noticed that
T 1 , T 2 , T 3 , T p , and Qadd are presented as a bar chart in Fig. 8. the value of the MBE during the training and validation period is
J. Infrastruct. Syst.
0.06 0.08
0.04 0.06
0.02 0.04
0.02
0
error
error
0
-0.02
-0.02
-0.04
-0.04
-0.06 -0.06
-0.08 -0.08
0 5 10 15 20 25 30 35 0 5 10 15 20 25 30 35
(a) Samples (b) Samples
Downloaded from ascelibrary.org by New York University on 05/12/15. Copyright ASCE. For personal use only; all rights reserved.
-3
x 10
4
0.08
3
0.06
2
0.04
1
0 0.02
error
error
-1
0
-2
-0.02
-3
-0.04
-4
-5 -0.06
0 5 10 15 20 25 30 35 0 5 10 15 20 25 30 35
(c) Samples (d) Samples
50
40
30
20
10
error
-10
-20
-30
-40
-50
0 5 10 15 20 25 30 35
(e) Samples
Fig. 8. Individual errors to NARX network for (a) mean inside surface temperature of the structural layer under the absorber plate; (b) mean
inside surface temperature of collector back insulation; (c) mean collector back surface temperature; (d) mean temperature of absorber plate; (e) heat
added to the airflow stream by the collector
rather close to zero. This indicates the ability of this model to The NARX model is of high accuracy to estimate the required
estimate the expected values. parameters compared with the conventional methods.
Conclusion Notation
In this study, ANN models using the Rprop learning algorithm The following symbols are used in this paper:
were successfully used to estimate the values of T 1 , T 2 , T 3 , T p , hr;bk = linearized radiation heat transfer coefficient from the back
and Qadd . Such parameters are considered to be of high importance surface of the collector;
in the design of flat-plate collectors. This ANN technique may be hr;top = linearized radiation heat transfer coefficient from the top
used as a good alternative to the conventional optimization tech- surface of the collector;
nique because of its simplicity and less computational time it hr;1→2 = linearized radiation heat transfer coefficient from the top
requires. surface to the bottom surface of the air channel;
J. Infrastruct. Syst.
Qabs =heat absorbed by the solar air collector; Fong, K. F., Chow, T. T., Lin, Z., and Chan, L. S. (2010). “Simulation–
Qadd =heat added to the airflow stream by the collector; optimization of solar-assisted desiccant cooling system for subtropical
Qc;bk =convection heat loss from the back of the collector; Hong Kong.” Appl. Therm. Eng., 30(2–3), 220–228.
Qc;top =convection heat loss from the top of the collector; Grossman, G., Shitzer, A., and Zvirin, Y. (1977). “Heat transfer analysis
Qr;bk =radiation heat loss from the back of the collector; of a flat-plate solar energy collector.” Solar Energy, 19(5), 493–502.
Qr;top =radiation heat loss from the top of the collector; Kalogirou, S. A. (2000). “Applications of artificial neural-networks for
Ta =mean air temperature in the collector; energy systems.” Appl. Energy, 67(1–2), 17–35.
Kalogirou, S. A. (2001). “Artificial neural networks in renewable energy
Tp =mean temperature of the absorber plate;
systems applications: A review.” Renew. Sustain. Energy Rev., 5(4),
T1 =mean inside surface temperature of the structural layer
373–401.
under the absorber plate;
Kalogirou, S. A. (2004a). “Optimization of solar systems using artificial
T 2 = mean inside surface temperature of the collector back neural-networks and genetic algorithms.” Appl. Energy, 77(4),
insulation; and 383–405.
T 3 = mean collector back surface temperature. Kalogirou, S. A. (2004b). “Solar thermal collectors and applications.”
Prog. Energy Combust. Sci., 30(3), 231–295.
Downloaded from ascelibrary.org by New York University on 05/12/15. Copyright ASCE. For personal use only; all rights reserved.
J. Infrastruct. Syst.