You are on page 1of 17

A CASE STUDY ON DEMAND FORCASAT: ELECTRICITY IN BANGLADESH ABSTRACT: IN this case study we had tried to figure out the

demand of service on future periods. For this we had select electricity sector of Bangladesh. We had collect data of demand on previous periods and had utilized it for projecting future demands. We used various quantitative methods like time series and trend analysis for predicting future demands and different error analysis also included. The results of the study are useful for the energy planning of the country. 1. INTRODUCTION: Bangladesh is a country under development and moving towards the industrialization. Although Bangladesh is predominantly an agricultural country but a large number of large-scale Industries based on both indigenous and imported raw materials have been set up. With huge population and limited resources Bangladesh is facing notable crisis of energy. Energy is the main factor that makes every machinery run and electricity is the main source of energy. Day by day the demand for electricity is increasing but production is not enough. Effort on decreasing System losses and increasing production capacity has been a major matter to be focused for Bangladesh.
2.

Current situation of Bangladesh: Only around 20% of the population (25% in urban areas and 10% in rural areas) has access to electricity, and per capita commercial energy consumption is among the lowest in the world.

Surface Area: 144, 0 1000 sq km Population: 164, 7 Millions of inhabitants - 2009 (estimates after 2007) Current GDP: 67, 8 Billions of Euros - 2009 (estimates after 2008) GDP per capita: 411, 4 Euros - 2009 (estimates after 2007) Electricity - production by source: fossil fuel: 93.7% hydro: 6.3% nuclear: 0% other: 0% (2001) Electricity - consumption: 14.25 billion kWh (2001)

3. About forecasting: Forecasting is the process of making statements about events whose actual outcomes (typically) have not yet been observed. A commonplace example might be estimation of the expected value for some variable of interest at some specified future date. Prediction is a similar, but more general term. Both might refer to formal statistical methods employing time series, cross-sectional or longitudinal data, or alternatively to less formal judgmental methods. Usage can differ between areas of application: for example in hydrology, the terms "forecast" and "forecasting" are sometimes reserved for estimates of values at certain specific future times, while the term "prediction" is used for more general estimates, such as the number of times floods will occur over a long period. Risk and uncertainty are central to forecasting and prediction; it is generally considered good practice to indicate the degree of uncertainty attaching to forecasts. The process of climate change and increasing energy prices has led to the usage of Egain Forecasting of buildings. The method uses Forecasting to reduce the energy needed to heat the building, thus reducing the emission of greenhouse gases. Forecasting is used in the practice of Customer Demand Planning in every day business forecasting for manufacturing companies. The discipline of demand planning, also sometimes referred to as supply chain forecasting, embraces both statistical forecasting and a consensus process. An important, albeit often ignored aspect of forecasting, is the relationship it holds with planning. Forecasting can be described as predicting what the future will look like, whereas planning predicts what the future should look like.There is no single right forecasting method to use. Selection of a method should be based on your objectives and your conditions (data etc.).A good place to find a method, is by visiting a selection tree. An example of a selection tree can be found here.

There are four steps to forecasting:

Set objectives for forecast - what decisions will forecast influence, and how - what 1 aspects of plan are vulnerable to surprise - how accurate must forecast be to be of any use? 2 Obtain forecast - from existing sources or commissioned study. Evaluate forecast, including assessing the sensitivity of planned actions on the accuracy of the forecast - what exactly is being forecast - what assumptions does the 3 forecast itself make - source of forecast and past reliability - what objectives of forecasters, and how do they compare with your own? 4 Disseminate the forecast, persuade others of its accuracy and appropriateness.

4.FORECASTING TECHNIQUES WE HAVE USED: FOR the projection of future demand on the data we had collected, we find time series analysis and casual model best fits. Forecast model we selected is illustrated on following flow chart.

DATA COLLECTION

Time series analysis

Casual model

Simple moving average

Linear regression

TREND ANALYSIS Fig; Forecasting model

4.1 Time series analysis: 4.1.1 Simple moving average: Moving average techniques forecast demand by calculating an average of actual demands from a specified number of prior periods each new forecast drops the demand in the oldest period and replaces it with the demand in the most recent period; thus, the data in the calculation "moves" over time

simple moving average:

where N = total number of periods in the average forecast for period t+1: Ft+1 = At Key Decision: N - How many periods should be considered in the forecast Tradeoff: Higher value of N - greater smoothing, lower responsiveness Lower value of N - less smoothing, more responsiveness - the more periods (N) over which the moving average is calculated, the less susceptible the forecast is to random variations, but the less responsive it is to changes - a large value of N is appropriate if the underlying pattern of demand is stable - a smaller value of N is appropriate if the underlying pattern is changing or if it is important to identify short-term

4.1.2 Trend analysis: There are no proven "automatic" techniques to identify trend components in the time series data; however, as long as the trend is monotonous (consistently increasing or decreasing) that part of data analysis is typically not very difficult. If the time series data contain considerable error, then the first step in the process of trend identification is smoothing. Smoothing. Smoothing always involves some form of local averaging of data such that the nonsystematic components of individual observations cancel each other out. The most common technique is moving average smoothing which replaces each element of the series by either the simple or weighted average of n surrounding elements, where n is the width of the smoothing "window" (see Box & Jenkins, 1976; Velleman & Hoaglin, 1981). Medians can be used instead of means. The main advantage of median as compared to moving average smoothing is that its results are less biased by outliers (within the smoothing window). Thus, if there are outliers in the data (e.g., due to measurement errors), median smoothing typically produces smoother or at least more "reliable" curves than moving average based on the same window width. The main disadvantage of median smoothing is that in the absence of clear outliers it may produce more "jagged" curves than moving average and it does not allow for weighting.

In the relatively less common cases (in time series data), when the measurement error is very large, the distance weighted least squares smoothing or negative exponentially weighted smoothing techniques can be used. All those methods will filter out the noise and convert the data into a smooth curve that is relatively unbiased by outliers (see the respective sections on each of those methods for more details). Series with relatively few and systematically distributed points can be smoothed with bicubic splines. Fitting a function. Many monotonous time series data can be adequately approximated by a linear function; if there is a clear monotonous nonlinear component, the data first need to be transformed to remove the nonlinearity. Usually a logarithmic, exponential, or (less often) polynomial function can be used.

4.2 Casual modeling: A reliable method of prediction becomes possible if you have, through research, obtained a model which not only describes (as in the previous section) the development of the phenomenon to be predicted but also explains it, in other words enumerates the reasons why it happens. In the best case the reasons and their outcomes are assembled as a model defining the dynamic invariance of change in the process to be predicted. The weather, for example, need today no more be predicted on the basis of a statistical association of air pressure and weather only. The science of meteorology has lately advanced so much that we now know and can make use of the invariable structure of moving cyclones which explains the changes both in air pressure and in weather. Even the proverb about red skies has now been given an explanation: "Because the weather patterns in North America generally move from west to east, when clouds arrive overhead at sunrise the sky will appear red, signalling a storm "moving in". When the storm eventually passes, the sky will clear in the western sky. If sunset occurs simultaneously, the light will cast a red glow on the clouds above, now moving towards the east." The most elementary method of forecasting on the basis of a causal model is to use the model just like a statistical association, explained earlier. This is particularly easy when one of the variables in the model is time: then you just insert the right year into the model, and it immediately becomes the desired forecast. If time is not included in the causal model, the model may still be helpful, because you can often predict the development of the independent variable easier than the future of the dependent variable or of the entire system - not least because of the fact that a reason normally precedes its result and it is thus not so distant in the future as the outcome will be.

When you know the causal relationships between the variables you will be able to use much more advanced methods of forecasting than mere statistical models would permit. These include:
y y y y

You can better assess whether the model remains valid also in the future. You can assess with sensitivity analysis the probable error of the forecast. You will also be able to modify the model, with a high degree of reliability, according to the requirements of the situation. If you want not only to forecast but also to change the future, you can pinpoint those changes in the independent variables that are needed to cause the desired change in the dependent variables.

The causal model is often so complicated that it is best managed by using a computer. Even then, you will usually need an illustrative presentation of your model to clarify your thinking and finally to be presented in the report. In such an illustration you will need a notation system to describe the various logical relations between the variables. The computer program will often be able to print out the model, using its in-built notations. If you can find no suitable ready made notation systems, you can devise one.

5.2.1 Linear regression: simple linear regression is fitting a straight line to a set of paired observation.Mathematical expression for straight line is Y=mx+c Where Y=dependent variable m=slope of fitted line x=independent variable c=intercept on y axis This technique of fitting straight line can be used as forecasting model by plotting independent variable to figure out dependent variable. Slop and intercept of fitted line can be determined by following formula

m=(nxiyi-xiyi)/(nxi2-(xi)2) and c=yi/n-mxi/n

5.3 Error calculations techniques: 5.3.1 Mean absolute deviation:

MAD

1 ! n

t !1

D t  Ft

Where n=number of observation Dt=current demand Ft=current forecast 5.3.2 Mean square error

MSE
Where

1 ! n

t !1

(D

 Ft )2

n=number of observation Dt=current demand Ft=current forecast 5.3.3 Mean absolute percentage error:

MAPE

100 ! n

t !1

D t  Ft Dt

Where n=number of observation Dt=current demand Ft=current forecast 5.3.4 Cumulative Sum of Forecast Error:

5.3.5 Mean forecast error:

MFE

1 ! n

t !1

( D t  Ft )

5.4 Tracking signal: 6.OUR STEPWISE OPERATIONS: 6.1 DATA COLLECTION; We had collected all data used in our forecasting model from published e-books, Bangladesh bureau of statistics and websites. We collected data on population, electricity production, system loss and load shedding previous periods.

Fig: Data obtained 6.2 FORMULATION OF DATA: We then calculate shortage and demand from this data.

Fig: Calculated demand and shortage

Fig: demand vs population 6.3 TIMESERIES ANALYSIS: 6.3.1 Simple moving average: We plotted obtained data with reference of time and used simple moving average of one period to forecast short period demand in future.

Fig: Simple moving average

Fig; xcel sheet for calculation of single period moving average

6.3.2 Trend analysis: Further trend analysis had been done to obtain forecasting on long horizon.

Fig; xcel sheet for trend analysis;

Fig; xcel sheet for trend analysis;

Fig : Trend analysis

Fig: Yearly increasing demand

6.3 Casual model: 6.3.1 Linear regression:

1996 1997 1998 1999

Demand(y) 1980.86 2145.34 2178.43 2444.22

Forecast 1980.86 2145.34 2178.43

RSFE 164.49 197.58 463.36

Cum MAD 164.49 98.79 154.45

Track Signal 1 2 3

2000 2001 2002 2003 2004 2005 2006 TOTALS AVERAGE Next period forecast

2358.86 2832.51 2706.53 3037.64 3428.97 3666.15 3903.62 30683.13 2789.38

2444.22 2358.86 2832.51 2706.53 3037.64 3428.97 3666.15

378 851.65 725.68 1056.78 1448.12 1685.29 1922.77

137.18 204.47 191.39 211.35 233.85 234.22 234.54

2.76 4.17 3.79 5 6.19 7.2 8.2

3903.62

3.6
n 1 2 3 4 5 6 7 8 9 10 Bias MAD MSE Standard error MAPE 192.28 234.54 72170.61 283.18 0.08 289 289 109937 351.68 0.09 402.72 402.72 193165.6 469.85 0.13 497.31 497.31 286805.7 578.45 0.15 629.11 629.11 424164.5 713.44 0.19 715.13 715.13 550533.2 829.56 0.21 872.94 872.94 778017.4 1018.51 0.25 1021.66 1021.66 1045572 1252.34 0.28 1123.11 1123.11 1261999 1588.71 0.3 1225.67 1225.67 1502273 0.31

6.3.2 Demand vs. population regression analysis:

Fig: xcel sheet

Fig: scatter plot demand vs.. opulation

Fig: fter adding trend line

Conclusion : The most sensitive issue corresponding to modern human civilization is electricity except which everything will be destroyed. By our forecasting case study we have evaluate trend of electricity demand after 14th periods (2020) is nearly seven thousand megawatt per hour. Due to the lacking of exact data of previous periods our forecasted model might not be totally reliable. Our forecasting model is enough able to demonstrate the demand patterns of electricity.

References: 1. Bangladesh power sector data book


Prepared by: Engr. Abdur Rouf, Engr. KM Nayeem Khan, Engr. Shazibul Hoque Published date: june 2006

2.3rd International Conference on Electrical & Computer Engineering ICECE 2004, 28-30 December 2004, Dhaka, Bangladesh 3. Source: Index undi.com

Software used for calculation and forecasting:

icrosoft excel

You might also like