Elsevier

Energy

Volume 35, Issue 12, December 2010, Pages 5223-5229
Energy

Application of PSO (particle swarm optimization) and GA (genetic algorithm) techniques on demand estimation of oil in Iran

https://doi.org/10.1016/j.energy.2010.07.043Get rights and content

Abstract

This paper presents application of PSO (Particle Swarm Optimization) and GA (Genetic Algorithm) techniques to estimate oil demand in Iran, based on socio-economic indicators. The models are developed in two forms (exponential and linear) and applied to forecast oil demand in Iran. PSO–DEM and GA–DEM (PSO and GA demand estimation models) are developed to estimate the future oil demand values based on population, GDP (gross domestic product), import and export data. Oil consumption in Iran from 1981 to 2005 is considered as the case of this study. The available data is partly used for finding the optimal, or near optimal values of the weighting parameters (1981–1999) and partly for testing the models (2000–2005). For the best results of GA, the average relative errors on testing data were 2.83% and 1.72% for GA–DEMexponential and GA–DEMlinear, respectively. The corresponding values for PSO were 1.40% and 1.36% for PSO–DEMexponential and PSO–DEMlinear, respectively. Oil demand in Iran is forecasted up to year 2030.

Introduction

The outlook of energy in Iran shows the importance of the need for systematic optimization of the energy use in Iran. Energy resources are limited and depleting [1]. Furthermore, Iran’s population is steadily increasing. The energy consumption in Iran is also rapidly increasing [2].

Iran, with population of more than 68 million [3], is one of the largest producers of crude oil in the world. In contrary to the public’s perception, Iran’s share of the market for high quality oil is as little as 2%. More specifically, while Iran has the fourth highest oil production rate, the oil produced in Iran is ranked 14th in terms of the quality [2].

Oil, natural gas, electric power, solar, wood, animal and plant waste are Iran’s primary energy sources [4].

Section snippets

Literature review

Several studies are presented to propose some models for energy demand policy management using different techniques. Unler developed PSO (Particle Swarm Optimization) energy demand models to estimate energy demand based on economic indicators in Turkey [5]. Canyurt and Ozturk presented Turkey’s fossil fuels demand estimation models by using the structure of the Turkish industry and economic conditions based on GA (Genetic Algorithm) [6]. Toksari developed Ant Colony energy demand estimation

GAs

The formulation of GAs was made about a decade after the first Evolutionary Strategies and Evolutionary Programming applications.

The theoretical basis of GAs lies in the concept of schema (plural schemata) [22]. Schemata represent solution templates where each location can be defined or left unspecified. The larger the number of uninstantiated location is, the greater the number of potential solutions that a schema represents. Schemata leading to higher fitness individuals are propagated

PSO

The PSO algorithm was first proposed by Eberhart and Kennedy [35], inspired by the natural flocking and swarming behavior of birds and insects. The concept of PSO gained in popularity due to its simplicity. Like other swarm-based techniques, PSO consists of a number of individuals refining their knowledge of the given search space. The individuals in a PSO have a position and a velocity and are denoted as particles. The PSO traditionally has no crossover between individuals, has no mutation and

Problem definition

Iran’s oil demand by using the structure of the Iran socio-economic conditions is the main objective of this study. GA and PSO demand estimation models (GA–DEM and PSO–DEM) are developed to estimate the future oil demand values based on population, GDP (gross domestic product), import and export figures.

The fitness function, F(x), takes the following form:MinF(x)=j=1m(EactualEpredicted)2where Eactual and Epredicted are the actual and predicted oil demand, respectively, m is the number of

Results and discussions

The PSO algorithm was coded with MATLAB 2007 and for GA algorithm, toolbox of MATLAB 2007 was used. The convergence of the objective function and sensitivity analysis were examined for varying user-specified parameters of GA (population size, methods of selection, reproduction, crossover, mutation and generation) and PSO (particle size (n), inertia weight (ω) and maximum iteration number (t)). Each user-specified parameter combination (for each algorithm) was tested 10 times.

It was found that

Conclusion

Energy consumption growth rate shows the importance of the need for systematic optimization of the energy consumption in Iran.

Artificial intelligence methods have been successfully used to estimate Iran’s oil demand based on the structure of the Iran socio-economic conditions. 25 Years’ data (1981–2005) has been used for developing two forms (linear and exponential) of the GA and PSO demand estimation models. Three scenarios are designed in order to estimate Iran’s oil demand during 2006–2030.

Acknowledgments

The authors are grateful for the support provided for the present work by the Islamic Azad University, Dezful Branch and Iran’s Ministry of Energy. The authors also highly appreciate the constructive comments of the reviewers.

References (42)

Cited by (198)

View all citing articles on Scopus
View full text