1 Introduction

Energy is one of the scarcest sources in the world. Energy planning helps you get better control over your energy resources. Thus, facing with an energy scarcity or excessive energy consumption costs in the future can be prevented. Forecasting the energy consumption costs or the required energy levels for a firm is very helpful for the planning of future.

Forecasting methods can be divided into two main categories. Qualitative forecasting methods and quantitative forecasting methods. Qualitative forecasting methods are based on judgments, intuition, or personal experiences and subjective in nature. They are not based on hard mathematical computations. Qualitative forecasting methods are based on mathematical models, and objective in nature. Classical forecasting methods use crisp data and generally do not care the possible changes in the data, which the future forecasts are based on. In case of incomplete data or uncertain data, we need some extensions in the classical approaches.

Incomplete and/or vague forecasting data require fuzzy forecasting methods to be used. The advantage of the use of fuzzy logic is in processing imprecision, uncertainty, vagueness, semi-truth, or approximated and nonlinear data. Forecasting data generally involve these kinds of characteristics. Ordinary fuzzy forecasting, intuitionistic fuzzy forecasting, hesitant fuzzy forecasting, and type-2 fuzzy forecasting techniques have been developed and applied to some forecasting problems.

Carvalho and Costa (2017) propose a fuzzy forecasting methodology of time series for electrical energy prices. They use triangular fuzzy membership functions and apply the extended autocorrelation function. Kumar and Gangwar (2015) use fuzzy sets induced by intuitionistic fuzzy sets to develop a fuzzy time series forecasting model to incorporate degree of hesitation (nondeterminacy).

Bisht and Kumar (2016) propose a fuzzy time series forecasting method based on hesitant fuzzy sets. The proposed method addresses the problem of establishing a common membership grade for the situation when multiple fuzzification methods are available to fuzzify time series data. Hassan et al. (2016) present a novel design of interval type-2 fuzzy logic systems by using the theory of extreme learning machine for electricity load demand forecasting.

The rest of the chapter is organized as follows. Section 4.2 summarizes the literature on fuzzy forecasting. Section 4.3 presents the fuzzy forecasting methods. Section 4.4 gives a numerical application on fuzzy forecasting. Finally, Sect. 4.5 concludes this chapter.

2 Literature Review

Forecasting is one of the most precious activities in planning because of define company’s strategies. Planning activities in the energy sector are very important because the cost of investment is very critical. There are different techniques in energy planning in electricity (Piras et al. 1995), wind power (Lou et al. 2008), power system planning (Holmukhe et al. 2010), forecasting energy and diesel consumption (Neto et al. 2011), electricity consumption (Bolturk et al. 2012) short term load forecasting (Liu et al. 2010; Jain and Jain 2013), electricity demand estimation (Zahedi et al. 2013), long term load forecasting (Akdemir and Cetinkaya 2012). While traditional methods use crisp data to make predictions, Zadeh (1965) introduced fuzzy sets in order to integrate expert evaluations into the problem and to deal with imprecision or vagueness intrinsic to the decision problem (Kahraman et al. 2016). In this section, a literature review on fuzzy forecasting methods is provided.

Piras et al. (1995) examined heterogeneous neural network architecture in order to forecast electrical load forecasting in energy planning and use artificial neural networks (ANN) to get results. Mori and Kobayashi (1996) recommended an optimal fuzzy inference method for short-term load forecasting (STLF) which mentions a structure of the simplified fuzzy inference. The structure is modeled to clasp nonlinear manner in short-term loads and its aim is to minimize errors.

Electric power system load forecasting has a significant function in the energy management that has a big effect in operation, controlling and planning of electric power system. The load estimation used in electrical systems planning has to think future loads and their geographical positions in order to allowing the creator for situating the electrical equipment. The load forecasting affects different features aspects like peak load demand period, transformer sizing, conductor sizing, capacitor placement, and etc. Cartina et al. (2000) used nonlinear fuzzy regression approach in distribution networks for forecast peak load for STLF is an important subject in the operative planning activities of companies devoted to the allocation and trade of energy. Tranchita and Torres (2004) proposed an original method which consists of LAMDA-fuzzy-clustering techniques, regression trees, classification and regression trees algorithm and fuzzy inference for the peak power, daily energy and load curve forecast. Another STLF paper is studied by Hayati and Karami (2005). They explore the use of computational intelligence methods and use the three important architectures of the neural network and a hybrid neuro-fuzzy network named Evolving Fuzzy Neural Network to model STLF systems. Zhao et al. (2006) use the ANN and fuzzy theory for STLF. An algorithm—a pace search for optimum to renew the weight value of fuzzy neurons applied STLF method to some area’s power system. Lou et al. (2008) use similarity theory and fuzzy clustering method in order classifying various periods and select a result to substitute to the output of wind power. Holmukhe et al. (2010) use fuzzy logic systems for power system planning for STLF and aimed to define improved method for load forecasting.

Liu et al. (2010) use time-varying slide FTS method that reduces the load forecasting error in STFL. The proposed technique fits a study framework of FTS to exercise trend estimator and uses estimator to obtain forecasting values at forecasting step.

Neto et al. (2011) develop a determination support system for forecasting the cost of electricity production using non-stationary data by integrating the methodology of FTS in order to see uncertainness intrinsic in study of diesel fuel consumption. Li and Choudhury (2011) present a technique to embody a fuzzy and probabilistic load model in transmission energy loss evaluation to overcome uncertainness of load forecast.

Long-term forecasting is a leading issue in energy planning especially in the size of energy plant and location. Akdemir and Cetinkaya (2012) use adaptive neural fuzzy inference system using real energy data in long-term load forecasting. Bolturk et al. (2012) examine electricity consumption to predict possible electricity consumption in energy planning for a company and they use FTS and compare total values of three periods.

Zahedi et al. (2013) estimate electricity demand with ANFIS to get more reliable and accurate planning. Electricity demand is studied with ANFIS and the study includes some parameters such as occupation, gross domestic product, people, dwelling count and two meteorological parameters. Jain and Jain (2013) develop a fuzzy model and similarity-based STLF using swarm intelligence because of uncertainties in planning and operation of the electric power system is the complex, nonlinear, and non-stationary system. Another paper is presented by Chen et al. (2013) to show a solar radiation estimate model established on fuzzy and neural networks to get well results.

Bain and Baracli (2014) investigate the practice of the ANFIS to predict the energy demand planning. The results showed that hybrid ANFIS technique based upon fuzzy logic and ANNs perform efficiently in forecast accuracy. Li et al. (2015) use STLF with the grid method and FTS estimating technique to better forecast truth in energy planning.

Atsalakis et al. (2015) forecast energy export to plan potential energy demand to the importance of accuracy. The forecasting system is established on two ANFIS use to forecast the optimum energy export forecast parameters. In order to obtain the upper and lower bounds of wind power, Zhang et al. (2016) use an ANFIS to get wind power interval forecasts and based on the system and singular spectrum analysis and the paper develops a hybrid uncertainty forecasting model, Interval Forecast- ANFIS -Singular Spectrum Analysis-Firefly Algorithm. Another wind prediction study present by Okumus and Dinler (2016) with ANFIS and ANN for one h ahead to predict wind speed. Matthew and Satyanarayana (2016) use fuzzy logic along with the results for checking the accuracy of the proposed work in load forecasting. Because there is a requirement of power planning for the proper utilization of electrical energy in electrical power system.

Monthly forecast of electricity demand in the housing industry is studied by Son and Kim (2017) on a precise model and the proposed method is consists of support vector regression (SVR) and fuzzy-rough feature selection with particle swarm optimization (PSO) algorithms. Zhang et al. (2017) present a new variable-interval reference signal optimization approach and a fuzzy control-based charging/discharging scheme to wind power system. Arcos-Aviles et al. (2017) propose a strategy based on a low complexity Fuzzy Logic Control for grid power profile smoothing of a residential grid-connected microgrid in the design of an energy management in order to show the presented work minimizing fluctuations and power peaks while keeping energy stored in battery between secure limits results, a simulation comparison highlighted. Chahkoutahi and Khashei (2017) propose a direct optimum parallel hybrid model is consists of multilayer perceptrons neural network, ANFIS and Seasonal ARIMA to electricity load forecasting in electricity load forecasting and aim of this study is put into practice upper hands of ANFIS and Seasonal ARIMA in modelling composite and equivocal systems in energy planning.

Fuzzy forecasting methods in energy planning have been extensively used and the analysis of them in Figs. 4.1, 4.2, 4.3 and 4.4; Table 4.1.

Fig. 4.1
figure 1

Distribution of fuzzy forecasting methods in energy planning by subject area

Fig. 4.2
figure 2

Number of fuzzy forecasting methods in energy planning papers by years

Fig. 4.3
figure 3

Document type of fuzzy forecasting methods in energy planning

Fig. 4.4
figure 4

Percentage of fuzzy forecasting methods in energy planning papers based on countries

Table 4.1 Summarized literature review

3 Fuzzy Forecasting Methods

3.1 Fuzzy Time Series

A sequence of data is called time series if they are listed in time order. A time series refers to a sequence taken at successive equally spaced points in time. In statistics, time series models assume which forecast for the next time interval can be made using the past set of values observed at the same time interval (Kahraman et al. 2010). Traditional time series model has been extended to fuzzy sets. Song and Chissom (1993) provide one of the initial FTS and propose a technique for linguistic data using fuzzy relation equations.

Let \( Y\left( u \right) \left( {u = ..0,1,2,3..} \right) \) be a subset of R1, the universe of discourse. Fuzzy sets \( f_{i} \left( {tu} \right)\left( {i = 1,2,3, \ldots } \right) \) are identified on universe of discourse. A FTS, F (u), on Y (u) is defined as a collecting of \( f_{i} \left( u \right), f_{2} \left( u \right), \ldots f_{n} \left( u \right) \). If F (u) is affected only by F (u − 1), it is represented by \( F\left( {u - 1} \right) \to F\left( u \right). \) In this case we can say that there is a fuzzy relationship between \( F\left( u \right) \) and \( F\left( {u - 1} \right) \), and it can be shown as in Eq. 4.1. The relation R shown in Eq. 4.1, is called the fuzzy relation between \( F\left( u \right) \) and \( F\left( {u - 1} \right) \).

$$ F\left( u \right) = F\left( {u - 1} \right) \circ {\text{R}}\left( {{\text{u}},{\text{u}} - 1} \right) $$
(4.1)

Song and Chissom (1993) define two types of FTSs. If relation R (u, u − 1) is individual of u, so F (u) is called a time-changing FTS, in other cases, the relation is a time-variant FTS. Assume a FTS, F(u), is stired up by F(u − 1), F(u − 2),…, and F(u − n). Equation 4.2 epitomise this fuzzy relationship (FLR) is defined the nth order FTS forecasting mockup.

$$ F\left( {u - n} \right), \ldots ,F\left( {u - 2} \right),F\left( {u - 1} \right) \to = F\left( u \right) . $$
(4.2)

Chen (1996) outlines the steps of FTS forecasting chniques. Process starts with partitioning the universe of discourse into exact intervals. Then historical data is fuzzified. The third step is to build the fuzzy relationship between historical fuzzy data. Finally, the forecasts are calculated using this relation.

3.2 Fuzzy Regression

Regression analysis is a statistical technique which is studied on widely. The technique focuses on exploring and modeling the relationship between an output factor and input factors. Traditional statistical linear fixation model is as given in 3.

$$ y\left( x \right) = \beta_{0} + \beta_{1} x_{i1} + \ldots \beta_{k} x_{ik} + \varepsilon_{i} ,i = 1,2, \ldots ,m $$
(4.3)

In this Eq. 4.3, y(x) is the output variable, xij are the input variables. In the equation, \( \beta \) j represents the coefficients of the formula and \( \varepsilon_{i} \) shows the random error term. In the original technique, all of the parameters, coefficients and variables are crisp numbers.

The classical technique is widely adopted both by the academia and the professionals. However, Shapiro (2004) reports some shortcomings of the classical model for example an insufficient couple of observing, or missing data. Fuzzy regression models are proposed to overcome these issues. The literature provides various fuzzy regression models (Georg 1994; Sakawa and Hitoshi 1992; Tanaka et al. 1989; Wang and Tsaur 2000). In this chapter, we briefly explain Buckley’s fuzzy regression model (Buckley 2004) study. In this model, the forecast is done based on confidence intervals. Buckley defines the fuzzy regression model is as in the following:

$$ y\left( x \right) = a + b\left( {x_{i} - \overline{x} } \right) + \varepsilon_{i} $$
(4.4)

In this equation \( \overline{x} \) shows the mean value of \( x_{i} \). Confidence intervals of a, b and \( \sigma \) are obtained using crisp numbers according to the technique \( \left( {1 - \beta } \right) \,100 \% \). For this purpose the crisp estimators of the coefficients \( \left( {\widehat{a},\widehat{b}} \right) \) should be found. \( \widehat{a} = \overline{y} \) and \( \widehat{b} = \frac{B1}{B2} \) are the values of the estimators where

$$ B1 = \sum\limits_{i = 1}^{n} {y_{i} \left( {x_{i} - \overline{x} } \right)} $$
(4.5)
$$ B2 = \sum\limits_{i = 1}^{n} {\left( {x_{i} - \overline{x} } \right)^{2} } $$
(4.6)
$$ \sigma^{2} = \left( {\frac{1}{n}} \right) \sum\limits_{i = 1}^{n} {\left[ {y_{i} - \widehat{a} - \widehat{b}\left( {x_{i} - \overline{x} } \right) } \right]^{2} } $$
(4.7)

Using the above mentioned Equations, \( \left( {1 - \beta } \right) 100 \% \) confidence interval for a and b are obtained using 4.8 and 4.9:

$$ \widehat{a} - t_{{\frac{\beta }{2}}} \sqrt {\frac{{\widehat{\sigma }^{2} }}{{\left( {n - 2} \right)}}} , \widehat{a} + t_{{\frac{\beta }{2}}} \sqrt {\frac{{\widehat{\sigma }^{2} }}{{\left( {n - 2} \right)}}} $$
(4.8)
$$ \widehat{b} - t_{{\frac{\beta }{2}}} \sqrt {\frac{{n\widehat{\sigma }^{2} }}{{\left( {n - 2} \right)\sum\nolimits_{i = 1}^{n} {\left( {x_{i} - \widehat{x}} \right)^{2} } }}} ,\widehat{b} + t_{{\frac{\beta }{2}}} \sqrt {\frac{{n\widehat{\sigma }^{2} }}{{\left( {n - 2} \right)\sum\nolimits_{i = 1}^{n} {\left( {x_{i} - \widehat{x}} \right)^{2} } }}} $$
(4.9)

The fuzzy regression equation is can be written as;

$$ \widetilde{y}\left( x \right) = \widetilde{a} + \widetilde{b}\left( {x_{i} - \overline{x} } \right) $$
(4.10)

\( \widetilde{y}\left( x \right) \), \( \widetilde{a} \) and \( \widetilde{b}, \) are fuzzy, and \( x \) and \( \overline{x} \) are crisp in (4.10). For prediction, new fuzzy values for dependent variable can be calculated by new x values. Using the interval arithmetic and (\( \alpha \))-cut operationthe predictions can be obtain using 4.11.

$$ \widetilde{Y}\left[ x \right]\left( \alpha \right) = \left\{ {\begin{array}{*{20}l} {y(x)_{1} (\alpha ) = \alpha_{1} (\alpha ) + (x - \widetilde{x})b_{1} (\alpha )} \hfill & {if\,(x - \overline{x} ) > 0} \hfill \\ {y(x)_{2} (\alpha ) = \alpha_{2} (\alpha ) + (x - \widetilde{x})b_{2} (\alpha )} \hfill & {} \hfill \\ {y(x)_{1} (\alpha ) = \alpha_{1} (\alpha ) + (x - \widetilde{x})b_{1} (\alpha )} \hfill & {if\,(x - \overline{x} ) > 0} \hfill \\ {y(x)_{2} (\alpha ) = \alpha_{2} (\alpha ) + (x - \widetilde{x})b_{2} (\alpha )} \hfill & {} \hfill \\ \end{array} } \right. $$
(4.11)

3.3 Fuzzy Inference Systems

Fuzzy inference systems (FIS) utilize expert evaluations expressed by rules and a reasoning mechanism for forecasting. Another usage of this label are ‘‘Fuzzy rule-based systems’’ or ‘‘fuzzy expert systems’’ (Jang et al. 1997). A set of rules, a database and an argumentative machine are three main components in FIS. The if-then rules used for reasoning is stored in the rule base. The membership functions used in these rules are stored in the database. The output of the system is obtained by the reasoning mechanism which uses rules and the given input values.

The expert evaluations about different conditions are transferred to the system by using fuzzy rules. The rules are defined by using if and then clauses. For example, “If the service is good then the tip is high” is an if-then rule representing the number of tips in a restaurant. Here, “service” and “tip” are linguistic variables, good and high are linguistic values.

Fuzzification, fuzzy rules, fuzzy inference and defuzzification are four steps of a typical FIS (Oztaysi et al. 2013). The first step involves fuzzification in which all crisp input data is transformed to fuzzy values. In the second step, the rules are obtained from the experts using linguistic terms and fuzzy operator. As the number linguistic variables and associated linguistic variable raise the amount of the rules rise exponentially. The third step is inference procedure which provides a conclusion based on rules above. The literature provides a various model for inference including Mamdani’s model (Mamdani and Assilian 1975), Sugeno’s model (Sugeno and Kang 1988) and Tsukamoto Fuzzy Model (Tsukamoto 1979). As the inference procedure obtains the results, the next step is defuzzification which transforms the fuzzy output to crisp values.

3.4 ANFIS

ANFIS uses expert evaluations, a dataset, and a learning mechanism to provide a relationship between inputs and outputs (Jang 1993). The system utilizes Sugeno inference model and artificial neural networks (Yun et al. 2008). ANFIS learns the membership function parameters of linguistic variables utilizing input/output data set.

Jang (1993) defines the system with five layer feed forward neural network as follows:

  1. 1.

    1st layer is composed of adaptive nodes which have a node function such as, \( O_{1,i} = \mu_{{A_{i} }} \left( x \right) \) (for i = 1, 2). x shows input to node I, and lingual term is Ai. \( O_{1,i} \) refers to the membership degree of a fuzzy set A.

  2. 2.

    2nd layer is composed of fixed nodes which produce an output showing the firing strength of a rule.

$$ O_{2,i} = w_{i} = \mu_{{A_{i} }} \left( x \right)\mu_{{B_{i} }} \left( y \right),\quad {\text{i = 1,\,2}} . $$
(4.12)
  1. 3.

    3th layer is composed of linked nodes labelled N. The ratio of the ith rule’s firing strength is calculated in order to sum of all rules’ firing strengths as shown in Eq S. This layer produces normalized firing strengths as an output.

$$ O_{3,i} = \overline{w}_{i} = \frac{{w_{i} }}{{w_{1} + w_{2} }},\quad{\text{i = 1,\,2}} . $$
(4.13)
  1. 4.

    4th layer is composed of adaptive nodes with node functions given in 4.14. In this equation \( \overline{w}_{i} \) shows a regularized firing strength from 3th layer and pi, qi, and ri show the parameter set for this node

$$ O_{4,i} = \overline{w}_{i} f_{i} = \overline{w}_{i} \left( {p_{i} x + q_{i} y + r_{i} } \right) $$
(4.14)
  1. 5.

    Sum of all arriving signals is calculated by a single node as an overall output value in 5th layer.

$$ overall \,output = O_{4,i} = \mathop \sum \limits_{i} \overline{w}_{i} f_{i} = \frac{{\mathop \sum \nolimits_{i} w_{i} f_{i} }}{{\mathop \sum \nolimits_{i} w_{i} }} $$
(4.15)

3.5 Hwang, Chen, Lee’s Fuzzy Time Series Method

A FTS technique proposed by Hwang et al. (1998) is for handling forecasting problems. To find the future demands via Hwang, Chen, Lee’s FTS technique (Hwang et al. 1998) and the demand is known by yearly, the following steps are applied:

  1. 1.

    The variations are found in two consecutive years. For example the demand of year q is d and the demand of year p is e, then the variation is e–d.

  2. 2.

    Minimum increase Dmin and maximum increase Dmax are found.

  3. 3.

    Define the universe of discourse U, U = [Dmin − D1, Dmax + D2], (D1 and D2 are appropriate positive numbers.)

  4. 4.

    Partition the universe of discourse U into several even length intervals.

  5. 5.

    Deciding linguistic terms delineated by fuzzy sets. The linguistic terms for the intervals can be described as follows: Big decrease, decrease and, etc.

  6. 6.

    Fuzzifying values of historical data.

  7. 7.

    Determining an appropriate window basis w, and output is calculated from the operation matrix Ow(T). Criterion matrix C(T), that T is year for which we want to forecast the data.

  8. 8.

    Fuzzy forecasted variations are defuzzified.

  9. 9.

    Final forecasted data is calculating by forecasted data plus the number of last year’s actual data.

4 A Numerical Application

In this section we apply FTS Using Hwang, Chen, Lee’s Method (Hwang et al. 1998) to energy forecasting problem. The actual spending values, variations and linguistic terms are given in Table 4.2.

Table 4.2 Actual spending and variations of historical data

Maximum variation = 6.504.394, and minimum variation is −3.268.290. Universe of discourse [−3.500.000, 7.000.000] The linguistic terms for the intervals: {Big decrease, decrease, no change, increase, big increase, very big increase, too big increase}.

When we try to forecast Month 22 with a window size 5, the calculations are as follows:

$$ O^{5} \left( {22} \right) = \left[ {\begin{array}{*{20}c} 0 & 0 & 0 & {0.5} & 1 & {0.5} & 0 \\ 0 & 0 & 0 & {0.5} & 1 & {0.5} & 0 \\ 0 & {0.5} & 1 & {0.5} & 0 & 0 & 0 \\ 1 & {0.5} & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & {0.5} & 1 & {0.5} & 0 \\ \end{array} } \right] $$
(4.16)
$$ C\left( {22} \right) = \left[ {\begin{array}{*{20}c} 0 & {0,5} & 1 & {0.5} & 0 & 0 & 0 \\ \end{array} } \right] $$
(4.17)

By applying the steps

$$ F\left( {22} \right) = \begin{array}{*{20}c} 0 & {0.25} & 1 & {0.25} & 0 & 0 & 0 \\ \end{array} $$
(4.18)

Since the maximum membership belongs to A3 (No change) the forecast for the next period is A3.

When we apply the method to the remaining three periods, we get the values as in Table 4.3.

Table 4.3 Membership of months

5 Conclusion

Fuzzy forecasting methods present excellent tools for forecasting the future when incomplete, vague, and imprecise data exist in the considered problem. Fuzzy time series, fuzzy regression, fuzzy inference systems, and ANFIS are the most used fuzzy forecasting techniques in the literature. Forecasts for energy costs and energy production levels of the future are excessively important for both the energy producers and the energy consumers. Fuzzy forecasting provides the limits of possibilities in case of incomplete and vague data and a wider and deeper perspective of the uncertain future.

For further research, the recent extensions of fuzzy sets can be employed in the forecasting methods. Intuitionistic fuzzy forecasting techniques, hesitant fuzzy forecasting techniques, type-2 fuzzy forecasting techniques, and Pythagorean fuzzy forecasting techniques are possible research areas for future work directions.