You are on page 1of 8

VOL. 14, NO.

19, OCTOBER 2019 ISSN 1819-6608


ARPN Journal of Engineering and Applied Sciences
©2006-2019 Asian Research Publishing Network (ARPN). All rights reserved.

www.arpnjournals.com

ARTIFICIAL NEURAL NETWORK MODELLING APPROACH


FOR ASSESSMENT OF STRATIFIED THERMAL ENERGY
STORAGE TANK
Mohd. Amin Abd Majid, Afzal Ahmed Soomro and Ainul Akmar
Department of Mechanical Engineering, Universiti Teknologi PETRONAS, Malaysia
E-Mail: mamin_amajid@utp.edu.my

ABSTRACT
Thermal energy storage (TES) tank plays an important role in the energy management of large buildings such as
military bases and university campus. Hence, the TES performance is important to be monitored. Various methods to
measure the performance of the TES covering both numerical and analytical have been published. In this paper artificial
neural network (ANN) is used to measure the performance of the TES tank in terms of thermocline thickness and half-
cycle figure of merit. The ANN with 14 temperature sensor data as input and the thermocline thickness and half cycle
figure of merit as the outputs is proposed. The model is based on 14-90-2 configuration using backpropagation Lavenberg-
Marquadt. The data of one year has been used in modelling. Based on the trial and error the number of neurons were used
and the optimum numbers of the neurons found were 90. The overall 𝑅2 for the model was 0.99 and predictions compared
with the actual data gave a 0.94𝑅2 .

Keywords: stratified thermal energy storage tank; thermocline thickness; artificial neural network modelling.

Nomenclature attention in the system modelling and simulation field due


𝑇 Reference temperature to their learning ability and versatile mapping capabilities
𝑇𝑐 Average cold temperature [6]. ANNs have been applied to various building energy
𝑇ℎ Average hot temperature system modelling including TES [7]. Farkas and Geczy-
𝐶𝑖𝑛𝑡 Integrated capacity Vig [8] developed ANN models for three different types of
𝑚 Mass flow rate solar thermal collectors to predict the outlet temperature of
C Specific heat capacity the solar collectors based on to the inlet temperature and
the global solar radiation. In the work of Wahiba [9]
∆𝑡 Time increment
predicted the performance of hot domestic water storage
𝑀 Total mass in the tank
tank using artificial neural network. F.J Diez [10] used
𝑥 Original value ANN to predict the temperature distribution in the TES
𝑥𝑚𝑖𝑛 Minimum value tank of solar thermal system.
𝑥𝑚𝑎𝑥 Maximum value An ANN learns the relationship between the
𝑤 Weight controlled and uncontrolled variables by studying
𝑏 Bias previously recorded data hence there is no need of
𝑌 Output of the model physical based modelling [11]. It maps the input and
𝑇 Target value output patterns and predicts the output for required input
𝛿 Error pattern [12]. In this paper the ANN approach using
𝜂 Learning rate backpropagation (BP) with Lavenberg-Marquadt (LM)
[13] is used to predict the performance of the TES tank of
INTRODUCTION Gas District Cooling(GDC) plant installed at university
Stratified thermal energy storage (TES) have technology PETRONS, Malaysia.
become increasingly popular in recent years from view
point of heating and air-conditioning [1]. The benefit of Data collection
using TES for comfort process and cooling application are TES tank installed at gas district cooling plant
due to eliminated concern of energy cost. The actual (GDC) of University Technology PETRONAS (UTP) for
performance of TES depends upon several factors such as energy storage is considered in this study to compare with
mixing at inlet of the tank, mixing between hot and cold the developed ANN model. Table-1 shows the general
water, heat loss to the environment and aspect details of the TES tank.
ratio[2].Hence detailed physical based modelling is
required for predicting the performance of the TES tank
considering the above-mentioned factors. Yoo et al [3]
used analytical approach to analyse performance of TES
tank. Steward [4] conducted the steady state model for
stratified TES. Musser and Behnfleth [5]analysed the
performance of TES tank using numerical method. The
artificial neural network (ANN) has received increased

3371
VOL. 14, NO. 19, OCTOBER 2019 ISSN 1819-6608
ARPN Journal of Engineering and Applied Sciences
©2006-2019 Asian Research Publishing Network (ARPN). All rights reserved.

www.arpnjournals.com

Table-1. Specifications of the TES tank. shows the input parameters of TES used for training of
ANN.
No Parameter Value Unit
1 Height 15 𝑚 Table-2. Input parameters of ANN model.
2 Diameter 22.3 𝑚 Input parameter Description
3
3 Volume 5400 𝑚 T1 Temperature at RTD 1
3
4 Mass flow rate 393 𝑚 /ℎ T2 Temperature at RTD 2
4 Material Steel - T3 Temperature at RTD 3
Numbers of T4 Temperature at RTD 4
5 14 Nos
RTD
T5 Temperature at RTD 5
The performance of the tank was calculated from T6 Temperature at RTD 6
the temperature readings from the built in RTD installed in
the tank as shown in the Figure-1. The performance of the T7 Temperature at RTD 7
tank was calculated by using equation 1 for FOM1/2 and T8 Temperature at RTD 8
dimensionless temperature approach by using equation 2 T9 Temperature at RTD 9
for thermocline thickness as proposed by Musser and
Behnfleth [5]. T10 Temperature at RTD 10
T11 Temperature at RTD 11
𝐶𝑖𝑛𝑡
𝐹𝑂𝑀1/2 = (1)
𝐶𝑚𝑎𝑥 T12 Temperature at RTD 12
(𝑇−𝑇𝑐 ) T13 Temperature at RTD 13
𝜃= (2)
(𝑇ℎ −𝑇𝑐) T14 Temperature at RTD 14

Using the above expressions, the performance of The input parameters are the ones that are easily
the TES is measured for one-year data and the values are measurable. The input data needs to be preprocessed [15]
used to train the ANN model. by data normalization before used for the modeling. The
control parameters for obtaining best neural network are:

Learning rate
One of the main parameters affecting the
prediction accuracy of the model is learning rate [16]. The
learning rate impacts on the speed of the model , higher
the learning rate lower the learning time [6]. In this model
learning rate used is 0.1.

Weighs and biases


The selection of the weighs and biases is also
considered as the major factor the weights decide the
relative importance of the inputs. The biasing technique is
used to skew the output obtained from the sigmoid
function [17] where a weights decide the steepness [18]
Nguen-Widrow [19] method is used in this study for
initialization of the weights and biases.

Hidden layers and hidden neurons


Figure-1. Schematic diagram of TES tank. The decision of the network architecture is
decided based on the numbers of the hidden layers and
ARTIFICIAL NEURAL NETWORKS numbers of the hidden neurons [20]. The authenticate rule
The best example of artificial neural network is to decide the numbers of hidden layers and the numbers of
the human brain [14]. ANNtries to mimic this biological hidden neurons is not available. Therefore, the method of
network in order to learn the solution to a physical trial and error [21] is used in this study.
problem from a given set of training sets. ANN has the
ability to learn and predict the performance of the system.
For training MATLAB 2017a toolbox was used. Table-2

3372
VOL. 14, NO. 19, OCTOBER 2019 ISSN 1819-6608
ARPN Journal of Engineering and Applied Sciences
©2006-2019 Asian Research Publishing Network (ARPN). All rights reserved.

www.arpnjournals.com

Figure-2. ANN model for TES tank.

CALCULATION PROCEDURE

Figure-3. Architecture of the proposed Feed forward backpropagation with Levenberg-Marquardt.

ANN backpropagation with LM method has been sigmoid as shown in equation 4 due to its non-linear
performed using MATLAB 2017a toolbox, the basic behaviour
calculation is as follow:
1
(4)
1+𝑒 −𝑥
Step 1 Preprocessing of data
The data is normalized using minmax approach
Step 4 Calculation of output of the output layer
as used in [22] before feeding into the model by using
The same logic involving multiplication of
equation
weights with inputs followed by summation and its
𝑥−𝑥𝑚𝑖𝑛 application to the activation function as in step 2.
𝑥𝑛𝑜𝑟𝑚 = (3)
𝑥𝑚𝑎𝑥 −𝑥𝑚𝑖𝑛
Step 5 Calculation of error of ANN
The back propagation algorithm[23]steps are The output of the error layer is compared with the
presented below. desired output for each training pattern, and the difference
between them is the error, which is calculated using
Step 2 Calculation of output of the input layer
The output of the input layer is nothing but the 𝐸 = 𝑇−𝑌 (5)
normalized input value.
Where T is the target value and Y is the predicted value.
Step 3 Calculation of output of the hidden layer
The corresponding normalized input value is Step 6Calculation of square of the error
multiplied with the corresponding initial weight and these The square of the error is calculated by squaring the error
products are summed. This summation is again added with E.
the variable bias. The resulting sum is applied to activation
function. The activation function used in this study is log 𝑬𝟐 = (𝑻 − 𝒀)𝟐 (6)

3373
VOL. 14, NO. 19, OCTOBER 2019 ISSN 1819-6608
ARPN Journal of Engineering and Applied Sciences
©2006-2019 Asian Research Publishing Network (ARPN). All rights reserved.

www.arpnjournals.com

Step 7 Calculation of error in the node in the hidden Step 10 determine if the training should continue or
layer not
The error is calculated by multiplying the The step 1 to 8 are repeated until the specified
derivative of the activation function with error number of iterations exceeds or the minimum error is
achieved.
𝛿2 = 𝑌 ∗ (1 − 𝑌) ∗ (𝑌 − 𝑇) (7)
Step 11 De-normalization of the obtained outputs
The derivative of the activation function is This step is important to get the values back to
represented by 𝑌 ∗ (1 − 𝑌) the un-normalized form by the following equation.

Step 8 Calculation of error in the node of the input 𝑋 = 𝑋𝑛𝑜𝑟𝑚 ∗ (𝑋𝑚𝑎𝑥 − 𝑋𝑚𝑖𝑛 ) + 𝑋𝑚𝑖𝑛 (9)
layer
The error is calculated by multiplication of the RESULTS AND DISCUSSIONS
derivation of activation function with error. The best ANN configuration is achieved at 14-
90-02, which is based on the control parameters such as
𝛿1 = 𝑌 ∗ (1 − 𝑌) ∗ (𝑌 − 𝑇) (8) numbers of hidden neurons, numbers of hidden layers and
learning rate. The learning algorithm employed here is
Step 9 Adjustment of the weights back-propagation algorithm. The network is trained with
Weight and bias adjustment are performance by 371 training data set. The numbers of the neurons impact
LM algorithm on the model performance it can be seen from the Figure-4
that the numbers of the neurons have impact on the r-
square of the model at 90 neurons the best results achieved
and after that model started to overtrain such as mentioned
in [24].

Figure-4. ANN performance on different numbers of neurons.

The inputs are normalized between 0 and 1. and half cycle figure of merit respectively. The closeness
Figure-5 and Figure-6 shows the comparison between of the data to the central line indicates the accuracy of the
actual and predicted values of the thermocline thickness prediction of the model.

3374
VOL. 14, NO. 19, OCTOBER 2019 ISSN 1819-6608
ARPN Journal of Engineering and Applied Sciences
©2006-2019 Asian Research Publishing Network (ARPN). All rights reserved.

www.arpnjournals.com

Figure-5. Comparison of actual and ANN predicted thermocline thickness of overall data.

Figure-6. Comparison of actual and ANN predicted half cycle figure of merit overall data

In Figure-7 and Figure-8 thermocline thickness published work results [26]. The model predicts the
decreased with respect to charging time as expected also performance of the system in good agreement with the
half cycle figure of merit increases with respect to time as actual values.
per behavior found in the numerical studies of [5, 25] and

3375
VOL. 14, NO. 19, OCTOBER 2019 ISSN 1819-6608
ARPN Journal of Engineering and Applied Sciences
©2006-2019 Asian Research Publishing Network (ARPN). All rights reserved.

www.arpnjournals.com

Figure-7. Comparison of actual and ANN predicted half cycle figure of merit.

Figure-8. Comparison of actual and ANN predicted half cycle figure of merit.

CONCLUSIONS ACKNOWLEDGMENT
In this paper, an approach to predict the The author is thankful to University Technology
performance of TES tank using neural network has been Petronas (UTP) and YUTP for support of this research.
presented and compared with the actual values. This paper
shows that the values predicted with the ANN with REFERENCES
backpropagation can be used to predict the performance of
the TES tank accurately. The results are promising as R- [1] I. Dincer and M. Rosen. 2002. Thermal energy
square approaches 99. The neural network predicted the storage: systems and applications: John Wiley &
thermocline thickness with 0.94 𝑅2 and half cycle figure Sons.
of merit with 0.90 𝑅2 . Though mapping can be done
between any input and outputs, providing relevant [2] A. Karim, A. Burnett and S. Fawzia. 2018.
information can improve the network accuracy. Future Investigation of stratified thermal storage tank
studies will concentrate on applications to predict
performance on more input variables. performance for heating and cooling applications.
Energies. 11: 1049-1051.

3376
VOL. 14, NO. 19, OCTOBER 2019 ISSN 1819-6608
ARPN Journal of Engineering and Applied Sciences
©2006-2019 Asian Research Publishing Network (ARPN). All rights reserved.

www.arpnjournals.com

[3] J. Yoo, M. Wildin and C. Truman. 1986. Initial [14] A. H. Elsheikh, S. W. Sharshir, M. A. Elaziz, A.
formation of a thermocline in stratified thermal Kabeel, W. Guilan and Z. Haiou. 2018. Modeling of
storage tanks. ASHRAE Trans.; (United States). 92. solar energy systems using artificial neural network:
A comprehensive review. Solar Energy. 180: 622-
[4] W. Stewart. 1992. Downwardly impinging flows for 639.
stratified chilled water storage. in Proceedings of
1992 National Heat Transfer Conference. [15] M. Yahya, T. Otsuru, R. Tomiku, and T. Okuzono.
2013. A practical system to predict the absorption
[5] A. Musser and W. P. Bahnfleth. 1998. Evolution of coefficient, dimension and reverberation time of room
temperature distributions in a full-scale stratified using GLCM, DVP and neural network. International
chilled-water storage tank with radial diffusers. Journal of Automotive and Mechanical Engineering.
ASHRAE Transactions. 104: 55. 8: 1256-66.

[6] H. J. Manohar, R. Saravanan, and S. Renganarayanan. [16] P. Srihari, K. Govindarajulu and K. Ramachandra.
2006. Modelling of steam fired double effect vapour 2010. A method to improve reliability of gearbox
absorption chiller using neural network. Energy fault detection with artificial neural networks.
Conversion and Management. 47: 2202-2210. International Journal of Automotive and Mechanical
Engineering. 2: 221-230.
[7] M. Krarti. 2003. An overview of artificial
intelligence-based methods for building energy [17] G. Scalabrin and G. Cristofoli. 2003. The viscosity
systems. Journal of Solar Energy Engineering. 125: surfaces of R152a in the form of multilayer feed
331-342. forward neural networks. International Journal of
Refrigeration. 26: 302-314.
[8] I. Farkas and P. Geczy-Vıg. 2003. Neural network
modelling of flat-plate solar collectors. Computers [18] R. Sedighi, M. S. Meiabadi, and M. Sedighi. 2017.
and Electronics in Agriculture. 40: 87-102. Optimisation of gate location based on weld line in
plastic injection moulding using computer-aided
[9] W. Yaïci and E. Entchev. 2014. Performance
engineering, artificial neural network, and genetic
prediction of a solar thermal energy system using
algorithm. International Journal of Automotive &
artificial neural networks. Applied Thermal
Mechanical Engineering. 14.
Engineering. 73: 1348-1359.
[19] A. Pavelka and A. Procházka. 2004. Algorithms for
[10] F. Diez, L. Navas and A. Martínez. 2016. Prediction
initialization of neural network weights. In
and identification of the evolution of solar-heated hot
Proceedings of the 12th Annual Conference,
water temperature in a stratified tank in static mode
MATLAB. 453-459.
using artificial neural networks. Applied Solar
Energy. 2: 183-192. [20] M. R. Shukri, M. Rahman, D. Ramasamy, and K.
Kadirgama. 2015. Artificial Neural Network
[11] K.-T. Yang. 2008. Artificial Neural Networks
Optimization Modeling on Engine Performance of
(ANNs): a new paradigm for thermal science and
Diesel Engine Using Biodiesel Fuel. International
engineering. Journal of heat transfer. 130: 093001.
Journal of Automotive & Mechanical Engineering.
[12] B. Aalizadeh and A. Asnafi. 2016. Integrated bees 11.
algorithm and artificial neural network to propose an
[21] J. Xing, H. Wang, K. Luo, S. Wang, Y. Bai and J.
efficient controller for active front steering control of
Fan. 2019. Predictive single-step kinetic model of
vehicles. International Journal of Automotive &
biomass devolatilization for CFD applications: A
Mechanical Engineering. 13.
comparison study of empirical correlations (EC),
[13] C. Lv, Y. Xing, J. Zhang, X. Na, Y. Li, T. Liu, et al. artificial neural networks (ANN) and random forest
2018. Levenberg-Marquardt Backpropagation (RF). Renewable Energy. 136; 104-114.
Training of Multilayer Neural Networks for State
[22] E. Fijani, R. Barzegar, R. Deo, E. Tziritis and S.
Estimation of a Safety-Critical Cyber-Physical
Konstantinos. 2019. Design and implementation of a
System. IEEE Transactions on Industrial Informatics.
hybrid model based on two-layer decomposition
14: 3436-3446.
method coupled with extreme learning machines to

3377
VOL. 14, NO. 19, OCTOBER 2019 ISSN 1819-6608
ARPN Journal of Engineering and Applied Sciences
©2006-2019 Asian Research Publishing Network (ARPN). All rights reserved.

www.arpnjournals.com

support real-time environmental monitoring of water


quality parameters. Science of the Total Environment.
648: 839-853.

[23] M. Cilimkovic. 2015. Neural networks and back


propagation algorithm. Institute of Technology
Blanchardstown, Blanchardstown Road North Dublin.
15.

[24] S. Agatonovic-Kustrin and R. Beresford. 2000. Basic


concepts of artificial neural network (ANN) modeling
and its application in pharmaceutical research. Journal
of Pharmaceutical and Biomedical analysis. 22: 717-
727.

[25] J. Waluyo. 2016. Simulation model of stratified


thermal energy storage tank using finite difference
method. in AIP Conference Proceedings. 030002.

[26] J. Waluyo and M. A. A. Majid. 2011. Performance


Evaluation of Stratified TES using Sigmoid Dose
Response Function. Journal of Applied Sciences. 11:
1642-1647.

3378

You might also like