Mathematical Problems in Engineering

Mathematical Problems in Engineering / 2019 / Article

Research Article | Open Access

Volume 2019 |Article ID 2041756 | 8 pages | https://doi.org/10.1155/2019/2041756

Forecasting Iran’s Energy Demand Using Cuckoo Optimization Algorithm

Academic Editor: Vyacheslav Kalashnikov
Received18 Apr 2019
Revised06 Jul 2019
Accepted10 Jul 2019
Published02 Sep 2019

Abstract

This study deals with the modeling of the energy consumption in Iran to forecast future projections based on socioeconomic and demographic variables (GDP, population, import and export amounts, and employment) using the cuckoo optimization algorithm. For this purpose, four diverse models including different indicators were used in the analyses. Linear and power forms of equations are developed for each model. The related data between 1972 and 2013 were used, partly for installing the models. The result of the models shows that the obtained demand estimation linear models are in closer agreement with the observed data, particularly the linear model with five independent variables including GDP, population, import, export, and employment, which outperformed other linear models. Finally, the future energy demand of Iran is forecasted up to the year 2030 using these models under three scenarios.

1. Introduction

Energy is a foundation element of the modern industrial economy. Over the past few decades, energy has become a very critical element in industries and also a fundamental product and factor in the growth of the economy in different world regions. Ever-increasing dependence of human life on energy has made this factor play a critically crucial role either potentially or actively in the functions of various economic sectors of countries.

In spite of the fact that Iran has the richest sources of energy, squandering and despicable utilization of them cause irrecoverable harm to the national annual financial plan. The cost is evaluated proportionally to the whole national annual development financial plan (around 5 billion $). As indicated by approximately settled raw petroleum generation, increase in the measure of domestic utilization will prompt to diminish in oil fares and therefore will diminish proceeds from the offer of oil incomes. In this manner, energy administration issue has specific significance regarding maintaining oil export capacity, diminishing energy intensity, and sporadic development in utilization, ecological insurance, and monetary limitations for interest in the energy sector.

Therefore, Iranian authorities have to forecast more exactly the energy consumption in the correct arranging and direction utilization so that to manage the way they sought energy demand and supply parameters. So energy demand expectation is vital to auspicious supply. Hence, regulations on the raised issues result in focusing on energy security.

The Ministry of Energy which assessed the amount of energy consumption in Iran during 1972–2013 also prepared the detailed breakdown of energy consumption. For example, in 2013, Iran consumed about 1320.7 million barrels of oil equivalents (Mboe) which consisted of 482.5 Mtoe of petroleum, 696.7 Mboe of natural gas, 3 Mboe of coal, 8.4 Mtoe of biofuel energy, and 130.2 Mboe of electrical energy.

Distinctive techniques acquainted with energy consumption expectation. According to the increasing demand for energy, the assessment of energy is necessary. This assessment can be done based on socioeconomic indicators using different methods of mathematical demonstration. The energy demand equations can be expressed in linear or nonlinear forms. Intelligent optimization technique entities, e.g., birds, bats, and fireflies, are appropriate to forecast these models.

This article focuses on forecasting the energy demand in Iran based on socioeconomic factors using the COA (cuckoo optimization algorithm) technique. Different models are studied to determine the best possible approach in modeling energy demand as a function of various indicators. This study examines the relationship between energy demand and diverse independent variables in four models, utilizing linear and power types of equations. Results arising from this study provide important reference information for the utility companies in assessing energy consumption patterns and selecting a more accurate approach to estimate future energy demand.

Several studies that propose several models for energy demand policy management with different techniques are introduced. Pao [1] developed linear and nonlinear statistical models, including ANN methods, to forecast Taiwan’s electricity consumption based on the national income, population, GDP, and consumer price index. For further details on employing ANN to estimate energy consumption, refer Assareh et al. [2] and Azadeh et al.'s [3] study. Bianco et al. [4] employed the Holt–Winters exponential smoothing method and the trigonometric grey model with rolling mechanism (TGMRM) to estimate electricity consumption in Italy. Ceylan et al. [5] used the harmony search (HS) technique to forecast Turkish transport energy demand in tree forms (linear, exponential, and quadratic) and based on population, GDP, and vehicle kilometers driven. Mohamed and Bodger [6] estimated the electricity demand of New Zealand based on economic indicators, including, GDP, electricity price, and population by multiple linear regression analysis. Amjadi et al. [7] presented two forms (exponential and linear) of energy demand equations to forecast the electricity demand for future projections based on PSO and GA techniques (see also Sadeghi et al. [8]). They used population, GDP, number of customer’s electricity, and average price electricity as independent variables. The energy consumption in Iran is also determined using the bees algorithm technique by Behrang et al. [9] with independent variables such as population, GDP, import, and export. Kıran et al. [10] applied artificial bee colony (ABC) and particle swarm optimization (PSO) techniques to forecast electricity energy demand in Turkey in two forms, linear and quadratic by using selected economic and demographic variables that include the gross domestic product (GDP), population, import, and export.

The paper is organized as follows: In the next section, we explain the specification of the cuckoo optimization algorithm. Section 3 presents problem definition. In Section 4, the model estimations and forecasting results are done, and finally, in Section 5, the conclusions will be stated.

2. Cuckoo Optimization Algorithm

The cuckoo algorithm has been proposed by Yang and Deb[11]. It was developed by Rajabioun [12]. This algorithm runs like other evolutionary algorithms. The cuckoos used in this modeling are considered in two forms, namely, adult cuckoos and eggs. Thus, the COA begins with an initial population of cuckoos. Each adult cuckoo lays only one egg at a time and dumps it in a randomly selected nest. Some of these eggs grow up and turn into adult birds which are more similar to the host bird’s eggs, and other eggs are recognized and thrown out by host birds. Therefore, an egg whose profit function value is smaller is removed. More profit is gained in habitats in which more eggs survive. In fact, the nests (position) in which more eggs remain will be the term that the COA is going to optimize. On the contrary, the remaining eggs grow and turn into adult cuckoos. They form some groups in all different regions of the environment. Then, they migrate to better regions where eggs have higher survival chances. Thus, the group with the best position is chosen as the goal point for all other groups to immigrate.

Therefore, it is necessary that problem values be convened as an array called “habitat” for solving an optimization problem with COA. In a Nvar dimensional optimization problem, a habitat presents the current living place of a cuckoo and is an array of 1 × Nvar. The array is indicated as follows:

The suitability of a habitat is estimated by the assessment of profit function fb at a habitat of (), where

To begin the COA, a primary habitat matrix of size Npop × Nvar is introduced.

Due to the number of eggs each cuckoo has and the cuckoo’s distance to the best habitat (the current optimal area), an egg-laying radius (ELR) is assigned to it. Then, the cuckoo begins to lay eggs randomly in several nests inside her ELR. This process reiterates until the best position is obtained.where α is an integer that adjusts the maximum value of ELR. varhi and varlow are the upper and lower bound for the variables, respectively. Since adult cuckoos exist all over the environment, it is a problem to discover which group each cuckoo is dependent on. Grouping of birds is done by using the K-means clustering method to solve this problem. Now that the group’s cuckoos are determined, their mean profit value is calculated. Then, other groups migrate to the region with the greatest mean profit. All cuckoos do not migrate the entire path in the movement to the goal point; they just go across a part of the total distance.

To keep the balance between the cuckoo and other birds, the maximum number of cuckoos that may live in a region is finite (Nmax). After iteration, all cuckoos arrive in an optimized region with the most similarity of their eggs to the eggs of the host bird. In this location, the number of the removed eggs will be minimal and will gain the greatest objective function. The repeated algorithm to more than 95% of all the cuckoos converges toward a single point. Relation (4) shows the migration function in the COA:where F is a parameter of cause deflection. The cuckoo optimization algorithm (COA) is classified as follows:Step 1: forming initial cuckoo’s habitats by using several random pointsStep 2: allocating several eggs to each cuckoo and giving definition ELR for each cuckooStep 3: allowing cuckoos to lay eggs inside their corresponding ELRStep 4: allowing eggs similar to the host bird’s eggs to hatch, grow, and remove other eggs that are recognized by the host birdsStep 5: evaluating the habitat of each newly grown cuckooStep 6: limiting the maximum number of cuckoos in the environment and ignoring those who exist in the worst habitatsStep 7: clustering cuckoos, determining the best group and selecting goal habitat, and then allowing new cuckoo population immigrates toward a goal habitatStep 8: checking the convergence, and then if the stop criterion is satisfied, stop. If not, go to step 2.

To check cuckoo optimization algorithm in detail, refer Mellal et al. [13], Shadkam and Bijari [14], and Mellal et al.'s [15] study.

2.1. Multiple Linear Cuckoo Optimization Algorithm (COAlinear)

The present study uses population, GDP (gross domestic product), import, export, and employment to develop energy consumption models. For estimating the energy consumption, the models have been developed in two forms (linear and power) as follows.

Multiple linear cuckoo optimization algorithm (COA) is used for modeling the energy consumption in Iran. The four models taking different socioeconomic variables into consideration are as follows:where y represents the estimated energy consumption and ; ; ; ; ; ; ; ; and values are the algorithm coefficients. The values represent the five independent variables used as the predictors of y ( is population, is GDP, is import amount, is export amount, and is employment).

2.2. Power Cuckoo Optimization Algorithm (COApower)

Power cuckoo optimization algorithm (COA) for estimating energy consumption is used as follows:where ;; ; ; ; ; ; ; and are the algorithm coefficients, is population, is GDP, is import amount, is export amount, and is employment.

The fitness function for selecting candidates for optimal coefficients is defined aswhere and are the observed and predicted energy consumption, respectively, and k is the number of observations.

3. Estimation

Energy consumption in Iran from 1972 to 2013 is considered as a case in point in this paper. The available data are partly used for finding the optimal, or near-optimal, values of the weighting parameters (1972–2008) and partly for testing the models (2009–2013).

The following steps are conducted for forecasting energy consumption in Iran between 2014 and 2030:Step 1: population, GDP, import, export, employment, and energy consumption need normalizing according to equation (8):where XN is the normalized value, XR is the value to be normalized, Xmin is the minimum value in all the values for the related variable, and Xmax is the maximum value in all the values for the related variable. The Xmin and Xmax values for each variable are selected between 1972 and 2008 and are shown in Table 1.


XminXmax

GDP (billion Iranian rials)162557555436
Population (thousand persons)3028476911
Import (Mboe)0.1440134.9738
Export (Mboe)326.32812109.0781
Employment (thousand persons)818821324
Energy consumption (Mboe)94.82161229.7495

Step 2: the proposed algorithm is used in order to determine corresponding weighting factors () for each model according to the lowest objective functionsStep 3: in the second step, the best results of step 1 for each model and less average relative errors in the testing period are chosen (i.e., the related data from 2009 to 2013)Step 4: to use the obtained models for future projections, each indicator should be forecasted in the future time domain

In this section, COA models are coded with MATLAB 2013 software. Note that all data include 41 annual data (1972–2013). They are used for finding optimal values of weighting factors regarding actual data (1972–2008). Following COA, demand estimation models have been obtained for energy consumption in Iran. The best-obtained weighting factors by the COA for linear and power models are shown in Tables 2 and 3.



Model 10.94510.03470.0783
Model 20.8151−0.3325−0.22720.58190.4416
Model 30.73120.03440.3379−0.1104
Model 41.06590.4089−0.31180.86440.4744−0.2153



Model 10.99131.2568−0.1195
Model 21.04081.0660−0.6527−0.09900.1338
Model 31.0665−0.00450.63111.9404
Model 41.11641.07140.5894−0.07690.0693−0.1325

It can be seen that there is a good agreement between the results obtained from COA estimation models (COAlinear and COApower) but COA-linear models outperformed COApower models.

Figures 14 for the modeling and the testing data show the performance of the linear cuckoo optimization algorithm and the power cuckoo optimization algorithm for all models. The findings proved that the recommended linear models were more appropriate tools for effective energy consumption prediction in Iran. For more clarification, Table 4 reports actual and estimated values of testing data by utilizing all models.

Using the COAlinear models, which was determined above, the energy consumption predictions are forecasted until 2030 for Iran. For different scenarios, differently forecasted data of GDP, population, employment, and export and import volumes are considered. The following three scenarios are used for forecasting each socioeconomic indicator in the years 2014–2030:Scenario 1: it is assumed that the average growth rates of population, GDP, import, export, and employment are 2%, 5%, 3%, 3%, and 6%, respectively, during 2014–2030Scenario 2: it is assumed that the average growth rates of population, GDP, import, export, and employment are 2.2%, 6.7%, 3.3%, 3.3%, and 6.5%, respectively, during 2014–2030Scenario 3: it is assumed that the average growth rates of population, GDP, import, export, and employment are 2.5%, 8%, 3.5%, 3.5%, and 7.5%, respectively, during 2014–2030


Years20092010201120122013Average

Actual dataa1158.3111134.8741184.6211182.0551229.75
COA-linear model 11146.6731167.8961175.3861199.4471221.124
Relative error (%)−1.014952.8275−0.785651.4499−0.70631.3568
COA-linear model 21152.3471140.2041175.3861185.4871192.07
Relative error (%)−0.51750.4674−0.78560.2894−3.16081.0441
COA-linear model 31150.0781161.6541166.081198.5391217.719
Relative error (%)−0.71592.3053−1.59001.3753−0.98791.3948
COA-linear model 41160.2921134.9831179.1321196.3831208.753
Relative error (%)0.17070.0096−0.46551.1975−1.73700.716
COA-power model 11137.481158.931165.6261204.11235.424
Relative error (%)−1.83132.0757−1.62951.83080.45931.5653
COA-power model 21152.5741125.2011124.2011174.2521195.248
Relative error (%)−0.49772−0.9493−5.3744−0.6645−2.88652.0745
COA-power model 31161.991160.0651163.9241217.3791220.67
Relative error (%)0.31692.1715−1.77822.9015−0.74381.5824
COA-power model 41129.4221208.981265.6131230.6571216.13
Relative error (%)−2.55786.12966.39943.9492−1.11984.0311

aActual data are in million barrel oil equivalent (Mboe).

4. Conclusion

The point of this study is to demonstrate to the authorities the significance of utilizing option estimating strategies.

Therefore, in this study, the COA (cuckoo optimization algorithm) has been successfully used to estimate Iran’s energy demand based on the structure of the Iran’s socioeconomic conditions. In the first model, energy consumption is estimated based on population and GDP. In the second model, population, GDP, import, and export are used to forecast energy consumption. In model 3, population, GDP, and employment are used to estimate energy consumption. Finally, in the fourth model, energy consumption is modeled based on population, GDP, export, import, and employment. The proposed linear models anticipated the energy demand superior to anything the power models in terms of relative errors and RMSEs. In addition, approval of models demonstrates that acquired demand estimation linear models are in great concurrence with the watched information, yet the COAlinear model 4 outflanked other introduced models. Thus, three scenarios are designed to estimate Iran’s energy demand during 2014–2030 using COA-linear models, and the results are shown in Figures 57.

In conclusion, this paper presented helpful suggestions and novel insights into experts and policy planners. It recommended a strong tool for developing energy programs. Forecasting energy demand can as well be studied by neural networks or other new metaheuristics including harmony search and simulated annealing. The results of different methods may be compared with the COA method. Further studies should concentrate on the comparison of methods explained in this study with the rest of the available tools. Forecasting energy demand may as well be investigated by using electromagnetism mechanism algorithm, krill herd optimization algorithm, and the rest of intelligent optimization techniques. The results of using different methods could be put into analogy with the COA method.

Data Availability

All data are available in the World Bank depository, Central Bank of the Islamic Republic of Iran, and Iran's Ministry of Energy.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

References

  1. H. Pao, “Comparing linear and nonlinear forecasts for Taiwan’s electricity consumption,” Energy, vol. 31, no. 12, pp. 2129–2141, 2006. View at: Publisher Site | Google Scholar
  2. E. Assareh, M. A. Behrang, and A. Ghanbarzadeh, “Integration of artificial neural network and intelligent optimization techniques on world electricity consumption estimation,” World Academy of Science, Engineering and Technology, vol. 73, pp. 690–694, 2011. View at: Google Scholar
  3. A. Azadeh, S. F. Ghaderi, and S. Sohrabkhani, “A simulated-based neural network algorithm for forecasting electrical energy consumption in Iran,” Energy Policy, vol. 36, no. 7, pp. 2637–2644, 2008. View at: Publisher Site | Google Scholar
  4. V. Bianco, O. Manca, S. Nardini, and A. A. Minea, “Analysis and forecasting of nonresidential electricity consumption in Romania,” Applied Energy, vol. 87, no. 11, pp. 3584–3590, 2010. View at: Publisher Site | Google Scholar
  5. H. Ceylan, H. Ceylan, S. Haldenbilen, and O. Baskan, “Transport energy modeling with meta-heuristic harmony search algorithm, an application to Turkey,” Energy Policy, vol. 36, no. 7, pp. 2527–2535, 2008. View at: Publisher Site | Google Scholar
  6. Z. Mohamed and P. Bodger, “Forecasting electricity consumption in New Zealand using economic and demographic variables,” Energy, vol. 30, no. 10, pp. 1833–1843, 2005. View at: Publisher Site | Google Scholar
  7. M. H. Amjadi, H. Nezamabadi-pour, and M. M. Farsangi, “Estimation of electricity demand of Iran using two heuristic algorithms,” Energy Conversion and Management, vol. 51, no. 3, pp. 493–497, 2010. View at: Publisher Site | Google Scholar
  8. H. Sadeghi, M. Zolfaghari, and M. Heydarizade, “Estimation of electricity demand in residential sector using genetic algorithm approach,” International Journal of Industrial Engineering, vol. 22, no. 1, 2011. View at: Google Scholar
  9. M. A. Behrang, E. Assareh, M. R. Assari, and A. Ghanbarzadeh, “Total energy demand estimation in Iran using bees algorithm,” Energy Sources, Part B: Economics, Planning, and Policy, vol. 6, no. 3, pp. 294–303, 2011. View at: Publisher Site | Google Scholar
  10. M. S. Kıran, E. Özceylan, M. Gündüz, and T. Paksoy, “Swarm intelligence approaches to estimate electricity energy demand in Turkey,” Knowledge-Based Systems, vol. 36, pp. 93–103, 2012. View at: Publisher Site | Google Scholar
  11. X. S. Yang and S. Deb, “Cuckoo search via Lévy flights,” in Proceedings of the World Congress on Nature & Biologically Inspired Computing, IEEE, Coimbatore, India, December 2009. View at: Google Scholar
  12. R. Rajabioun, “Cuckoo optimization algorithm,” Applied Soft Computing, vol. 11, no. 8, pp. 5508–5518, 2011. View at: Publisher Site | Google Scholar
  13. M. A. Mellal, S. Adjerida, and E. J. Williams, “Optimal selection of obsolete tools in manufacturing systems using cuckoo optimization algorithm,” Chemical Engineering, vol. 33, no. 1, pp. 355–360, 2013. View at: Google Scholar
  14. E. Shadkam and M. Bijari, “Evaluation the efficiency of cuckoo optimization algorithm,” 2014, http://arxiv.org/abs/1405.2168. View at: Google Scholar
  15. M. A. Mellal, S. Adjerid, E. J. Williams, and D. Benazzouz, “Optimal replacement policy for obsolete components using cuckoo optimization algorithm based-approach: dependability context,” Journal of Scientific and Industrial Research, vol. 71, no. 11, pp. 715–721, 2012. View at: Google Scholar

Copyright © 2019 Sayyed Abdolmajid Jalaee et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


More related articles

405 Views | 220 Downloads | 1 Citation
 PDF  Download Citation  Citation
 Download other formatsMore
 Order printed copiesOrder

Related articles

We are committed to sharing findings related to COVID-19 as quickly and safely as possible. Any author submitting a COVID-19 paper should notify us at help@hindawi.com to ensure their research is fast-tracked and made available on a preprint server as soon as possible. We will be providing unlimited waivers of publication charges for accepted articles related to COVID-19. Sign up here as a reviewer to help fast-track new submissions.