1 Introduction

Smart Grid [1, 2] constitute a perception of the next generation power systems associated with various control and sensing technologies, with effective communication at transmission and distribution side to fulfill optimal demand in a foolproof way. The important features [2] of modern grid, according to US Energy grid report are consumer comity, fool proof healing ability, resistance ability during faulty condition, potential to use generation options with storage, market dependent well organized operations and better power caliber in optimal way. This advance grid is motivated by several techno-economical and socio-economical factors in association with environmental benefits.

Demand Response (DR) can be given as the adjustment in usage of electricity by end users from their normal daily utilization figures for changes in price of electricity during that time. Advance definition of DR is given by “designing the incentive payments to engender minimum use of electricity at the same time when market prices are high or system reliability is under the threat” [3].

Consumers can respond in three ways [3,4,5,6,7]:

  1. 1.

    Reduce consumption at targeted times but maintain same consumption figures at other times. This type of respond has a temporary loss of consumer’s comfort.

  2. 2.

    Shift consumption from targeted times to other time cycle so that overall consumption is the same; or

  3. 3.

    Use on-site generation.

In electricity system should be a ideal coordination between supply and demand in real time for modest operation but there is complexity i.e. the level of supply and demand usually change briskly due to many reasons involve, generation unit outages, line outages at transmission and distribution side and quick changes in load. The infrastructure of power system is heavily capital accelerated; so DR is one of the cheapest resources available for optimal operation of the system [3]. Another important and main market profit is the reduction in price volatility in the wholesale market. A small depletion in demand will result in a big depletion in cost of generation and electricity price in real time, as shown in Fig. 1.

Fig. 1
figure 1

A simplified graph of the electricity market with and without DSM

1.1 Classifications of demand response program

Various DR programs are shown in Fig. 2. DR programs can be divided into two main categories, Despatchable or Incentive Based Programs (IBP) and Non Despatchable or Price Based Programs (PBP) [3, 8]. Despatchable programs are further classified into two categories, classical and market based programs. Classical programs include Direct Load Control (DLC) and Interruptible or Curtailable services (I/Cs). Market based programs divided into four categories; Emergency DR Programs (EDRP), Demand Bidding (DB), Capacity Market Programs (CMP) and Ancillary services market Programs (ASMP).

Fig. 2
figure 2

Classification of DR programs

PBP programs are based on spirited pricing rates i.e. electricity prices rates fluctuate hourly and not follow the flat rate pattern. These rates classified into three main categories, Time of Use (TOU) price, Real Time Pricing (RTP) and Critical Peak Price (CPP) which is further divided into two categories; Extreme Day Price (EDP), Extreme CPP (ED-CPP).

1.2 Demand response benefits

Figure 3 shows the benefits related to DR. They divided into four categories: participant side, market side, in term of reliability and market performance.

Fig. 3
figure 3

Benefits related to DR

The profits of DR programs are not only for participants welfare but also some are market focused, e.g. the reduction of overall demand results in reduction in expenses of newly installed generating units. Reliability assets can be considered as one of the market-focused aid because they affected the all programs participants [9].

The last category of DR program is improving electricity market performance [10]. Consumers can control the power of market using market based programs and spirited pricing programs [11, 12].

A brief literature survey to understand the concept and applications of demand side management/demand response is presented in the following sections:

1.3 Wind and renewable integration

Demand response has been studied broadly as a tool to enable better, more efficient integration of wind and other renewable generation resources. The dynamic recurring, uncertainty, variability and volatility of wind can be prevented with demand response in a fast and cost-effective manner [13,14,15,16,17,18].

1.4 Market and remuneration

It demonstrated the procedure in which the power detachment on the consumer side is rewarded. It can be divided as price based, incentive based and combination of both called hybrid. In PBP, users lower their uses according to the spirited change price imposed by operator or by the energy stock market. IBP assume that users are separately or conjointly committed to lower their consumption during a certain peak time period. Price based and incentive based methods are collectively called hybrid DR program [19,20,21,22,23].

1.5 Behavioral analysis of different types of users

The classification of the participating consumers can be entrenched based on behavioral analysis of users and precedent that go from average level consumption to techno-economic and socio-economic level. In it, the distribution has been facilitating according to the types of user [24,25,26,27,28].

The rest sections of the paper are organized in the following way: In Sect. 2, details of Demand Side Management techniques and demand side management strategy: problem formulation and proposed algorithm are given, in Sect. 3, details of smart grid is given, in Sect. 4, results and discussions are presented, in Sect. 5. Last but not the least, the major findings of the work is reported in conclusion section.

2 Techniques used in demand side management

DSM alters the electricity consumption to yield the desired changes in the load contour at distribution side. To avoid the peak demand, DSM concentrates [29] on power saving methodologies, electricity rates, fiscal incentives and user/environment friendly government policies. Due to increase in electricity demand, system become unstable and to avoid this instabilities, a worthy goal of demand side management finalized that could be to alter the configuration of the load curve by lowering and shifting the total load demand at distribution side during peak load periods in sequence to reduce the final tariff of electricity. So the system requires an enlightened coordination between operators and consumers. The load configurations which show the daily electric demands of residential, commercial and industrial consumers between peak time and off peak times can be changed by means of six broad methods [29, 30]: peak clipping, load shifting, valley filling, load growth, strategic conservation and flexible load curve. These six topologies of demand side management are shown in Fig. 4. Peak clipping and valley filling methods focused on leveling the peak and valley load levels to avert the anxiety of insecurity of smart grid. Peak clip method [29, 30] is a direct load control (DLC) method. Load shifting [29, 30] is globally applied effectively as load management technique by shifting the loads from peak consumption time to off peak consumption time. Strategic conservation [29] intends to apply demand curtail methods directly at customer houses, to achieve load shape optimization. Strategic load growth [29, 30] approximate equals to valley fill technique but it used in case of large demand to optimizes the daily response. Flexible load shape [29, 30] is mainly associated to smart grid reliability. Smart grid management systems (SGMS) find the customers with flexible controlled loads during peak load in trading for various financial incentives or rewards.

Fig. 4
figure 4

Demand side management techniques

3 Used demand response technique

This paper demonstrated a generalized application of DSM strategy for controlling advanced future grid. It uses strategic conservation, peak clipping and load shifting as the main techniques that can be used and controlled by grid engineer. Goal of the DSM techniques could be minimizing power uses or reduces the peak demand. Future Smart grid engineer designs an objective load curve which guides the path to fulfill the final objective of the demand response.

3.1 Problem formulation

In sequence of applying various DSM programs analytical and optimization tools have been used [31]. The proposed DSM strategy operates the connection moments of each device such a way that brings the load consumption curve near as possible to objective curve.

The main purpose of optimization algorithm is tried to overlap the final load curve with objective load curve [32]. Proposed load clipping technique is mathematically formulated as follows:

Minimize

$$\sum\limits_{i = 1}^{n} {(PLoad\,(t) - Objective\,(t))^{2} }$$
(1)

where objective (t) is the value of the objectives at time t, and P Load (t) is the actual consumption at time t.

In the case of Strategic Conservation and Peak Clipping, P Load (t) is given by the following equation:

$$\sum\limits_{i = 1}^{N} {\sum\limits_{j = 1}^{D} {X_{i} X_{j} } } + \sum\limits_{i = 1}^{N} {\sum\limits_{j = 1}^{D} {(1 - X_{i} )(X - X_{j} )} }$$
(2)

where switching status of devices is from i to N, class or types of device given by j to D. X represent the total number of devices of a class.

In the case of Load Shifting, P Load (t) is given as:

$$PLoad\,(t) = Forecast\,(t) + Connect\,(t) - Disconnect\,(t)$$
(3)

where \(Forecast\,\,(t)\) is the forecasted load at time t, and \(Connect\,(t)\) and \(Disconnect\,(t)\) are the amount of loads \(Connect\) and \(Disconnect\) at time t.

3.2 Whale optimization algorithm

Optimization can be defined as, under the given constraints finding the most cost effective outputs by maximizing the desired factors and minimizing the undesired ones i.e. maximum yields in minimum efforts. Recent year’s application of metaheurestic techniques is increased in real problems and used by researchers in various applications. Bansal, Jagdish Chand et al. [33] developed Spider Monkey Optimization which was based on the social behavior of spider monkeys and Simon, Dan [34] developed Biogeography Based Optimization which was based on Biogeography is the study of the geographical distribution of biological organisms. Saxena Akash et al. [35] used a radial basis function neural network based optimization technique for optimal placement and sizing of DG, also performed a comprehensive study of chaos embedded bridging mechanisms and crossover operators for grasshopper optimization in [36], ambient air quality classification using Grey Wolf Optimization (GWO) in [37] and used Gravitational Search Algorithm (GSA) for optimal allocation of SVC in [38]. These researches are evidences of applications solved through bio inspired optimization techniques.

Whale optimization algorithm (WOA) [39] type of meta-heuristic algorithm has been introduced by Mirjalili and Lewis. The whales are an intelligent mammal with emotion, judgment and social behavior. Big inspiration to construct the WOA, behavior of unique hunting of humpback whales has been used. Krill’s and small fishes near to the sea surface are food of humpback whale. Humpback whales are used a special hunting technique called bubbles net method. In this technique whales swim around their prey and make distinctive bubbles forming circles, which help whales to attack on prey. The working of WOA is divided in the following sections: Encircling the prey, Hunting method and Search for prey.

The main problem associated with WOA is moderate convergence speed so to get better performance chaotic WOA used in [40] and Hyper-heuristic approach used in [41]. Apart from engineering problem, WOA used in wrapper feature selection [42], in constrained engineering problem [43], in parameter extraction of solar PV models [44], in weak feature extraction from multi component signal [45], to sustain the balance between exploration and exploitation [46], in optimal reactive power dispatch [47], to enhance the power system stability [48], in cost minimization of Micro-Grid [49], in analysis and forecasting of the carbon price [50]. These wide applications motivated authors to develop a demand side management based strategy on the basis of WOA

Pseudo code for WOA algorithm is illustrated in Algorithm 1. Whale Optimization Algorithm has been gained a lot of interest, now a day due to following reasons:

  • Less number of control parameter.

  • Simple to structure and easy to implement.

  • Less chances of local minima entrapment.

  • A slow but effective convergence speed.

    figure a

4 Test smart grid: at a glance

To validate the efficacy of the proposed methods, DSM strategies are tested on two areas of smart grid to be tested, each area has deferred types of consumers; namely residential and commercial consumers. In this study, the main goal is to lower consumers’ utility tariff in given areas. Therefore in this study, objective curve were always chosen inversely proportional to electricity market prices. Forecasted loads and energy prices of the advance grid are given in Table 1. The entire network of test smart grid operates at a voltage of 410 V. Each inter-connection link including the link between the smart grid and the main grid has a resistance of 0.003 pu, a reactance of 0.01 pu and maximum power transfer limit of 500 KVA. Length of the links in the residential micro grid is 2 km and in the commercial micro grids is 3 km. The maximum demand used in each area is 1.5 MW and 2 MW respectively.

Table 1 Forecasted loads and energy prices

Each area of grid has several types of controllable devices, details given as follows.

  1. A.

    Residential area

Residential area can be identified by small power rating and short time operation. Table 2 shows different devices with their consumption figures. Residential area held 14 types of 2604 devices according to their applications.

Table 2 Data of controllable devices in the residential area
  1. B.

    Commercial area

Commercial area has devices, which have higher ratings and long time operation in comparison of residential area. The consumption figures of devices are given in Table 3. Commercial area held 08 types of 808 devices according to their applications.

Table 3 Data of controllable devices in the commercial area

5 Results and discussion

Simulation results depicted in figures and tables show that the used DSM strategies have capacity to bring the final utilization curve near to objective curve. The proposed algorithm handled the several numbers of controllable devices with better efficacy. In this article three different DSM techniques are implemented on residential and commercial areas.

5.1 Strategic conservation

Strategic conservation aims to gain optimization at customer premises for load shape using DLC techniques. The distribution side management system has considered for long term reduction in a network. More efficient devices and appliances are used to decrease the overall energy consumption, which is very important globally. It’s implemented only for residential and commercial areas.

The simulation results derived from residential area by strategic conservation technique are given in Fig. 5. Table 4 shows the utility electricity bill of the residential area which has a considerable reduction from $2302.88 to $1780.04 with strategic conservation technique, which results about 22.78% reduction in the operation cost using WOA and for the commercial area, from $3626.63 to $3075.12, results in lowering the operation cost by 15.20% using WOA. On other side reduction in the operation cost using BBO and SMO are given by 22.764% and 22.685% respectively, for residential consumers and for commercial consumers BBO gives 15.921% reduction in cost, which shows the WOA gives the better results. Table 4 gives simulation results from the proposed DSM technique for residential and commercial areas of future smart grid. The used appeal has ability to fulfill the objective in these areas, also associated with savings in utility tariff. Typically, DSM results give better efficacy, when a number of devices in particular area also associated with control mechanism.

Fig. 5
figure 5

Strategic conservation results of the residential area

Table 4 Reduction in operational cost in strategic conservation

The simulation results obtained for commercial area by strategic conservation technique are given in Fig. 6. Effective path of demand side provides several benefits; these are spread out for end users and utilities also. Reduction in peak demand is one of them. Table 5 presents peak demand with and without strategic conservation technique for the residential and commercial areas. It observed that the proposed technique reduces peak demand for residential area, from 1363.60 to 701.82 KW, resulting in about 48.53% reduction in the peak demand and for commercial area, from 1818.2 to 1528.62 KW, resulting in about 15.92% reduction in the peak demand using WOA. On other side reduction in the peak demand using BBO and SMO are given by 47.966% and 48.381% respectively for residential consumers and for commercial consumers BBO gives 15.921% reduction in peak demand, which shows the WOA is better than both in this case. Reduction in peak demand enhances grid stability by lowering the total utility cost and level of carbon emission. Additionally, this will foremost reason to avoid the infrastructure cost in forms of generation units, transmission lines and distribution networks.

Fig. 6
figure 6

Strategic conservation results of the commercial area

Table 5 Reduction in peak demand in strategic conservation

5.2 Peak clipping

This technique focused on lowering the peak load to avert the anxiety of peak demand for increasing the safety and stability of smart grid. Peak clipping is a DLC method for reduction in peak loads. It has one restriction that it’s only applicable for residential and small commercial levels. Load clipping window for residential consumers is for 9 h i.e. it lies between 16:00 to 01:00 h time window and for commercial consumers it lies between 08:00 to 24:00 h time window.

The simulations obtained in residential area from peak clipping technique are given in Fig. 7. Table 6 shows the electricity tariff of residential area lowered from $2302.88 to $1927.41 with peak clipping technique and gives about 16.30% reduction in the operation cost and for commercial premises area, it’s vary from $3626.6396 to $3040.65, resulting about 16.15% reduction in the operation cost using WOA. On other side reduction in the operation cost using BBO are given by 16.25% and 16.11% for residential consumers and commercial consumers respectively.

Fig. 7
figure 7

Peak clipping results of the residential area

Table 6 Reduction in operational cost in peak clipping

The simulation results obtained for commercial area by peak clipping technique are given in Fig. 8.

Fig. 8
figure 8

Peak clipping results of the commercial area

Table 7 depicted the peak demand with and without the proposed technique for the residential and commercial areas. The proposed technique curtails the peak load demand for residential area, from 1363.60 to 701.82 KW, resulting in about 48.53% reduction in the peak demand and for commercial area, from 1818.2 to 1528.62 KW, resulting in about 15.92% reduction in the peak demand using WOA. On other side reduction in the peak demand using BBO are given by 48.52% and 15.82% respectively for residential consumers and for commercial consumers, which shows the WOA is better than both in this case.

Table 7 Reduction in peak demand in peak clipping

5.3 Load shifting

Load shifting is globally applied load management technique in current smart grid network and it shifts load demand from peak period to off peak period.

The simulations obtained for residential area by load shifting technique are given in Fig. 9. Table 8 shows total utility bill of residential area lowers from $2302.88 to $2163.48 with shifting, resulting about 6.05% reduction in the operation cost and for the commercial area, from $3626.6396 to $3381.39, resulting about 6.76% reduction in the operation cost using WOA. Table 8 shows that WOA gives improved results in compare to results yield from Evolutionary Algorithm [32] in term of reduction in the operation cost. On other side reduction in the operation cost using BBO are given by 5.10% and 5.34% for residential consumers and commercial consumers respectively.

Fig. 9
figure 9

Load shifting results of the residential area

Table 8 Reduction in operational cost in load shifting

The simulations obtained for commercial area by load shifting are given in Fig. 10. Table 9 shows the peak demands with and without load shifting method for the residential and commercial areas. The proposed technique minimizes the peak load demand for residential area, from 1363.60 to 764.99 KW, resulting in about 43.89% reduction in the peak demand and for commercial area, from 1818.2 to 1528.62 KW, resulting in about 15.92% reduction in the peak demand using WOA. Table 9 shows that WOA gives improved results in compare to results yield from Evolutionary Algorithm [32] in term of reduction in peak demand. On other side reduction in the peak demand using BBO are given by 43.14% and 15.19% respectively for residential consumers and for commercial consumers. Table 10 shows the errors in objective function in WOA for 24 h, which gives the four standards statistical parameters of the objective function values calculated from the independent runs namely; Max, Min, Mean and Standard Deviation.

Fig. 10
figure 10

Load shifting results of the commercial area

Table 9 Reduction in peak demand in load shifting
Table 10 Error analysis of DSM results

6 Conclusion

Based on the results obtained from numerical simulations, it is concluded that DSM has become necessary and now a days it has become a unique trendsetter for evolvement of smart grid. The results and analysis lead to the following conclusions:

  1. 1.

    For residential and commercial users the energy demand curve depicted more consumption in comparison of residential area.

  2. 2.

    WOA proved its efficacy for strategic conservation, peak clipping and load shifting. Tables 4, 5, 6, 7, 8 and 9 show the results yield from SMO [33], BBO [34] and Evolutionary Algorithm [32] in term of reduction in operational cost and peak demand. It has been observed that results are competitive.

  3. 3.

    For load shifting, Tables 8 and 9 shows that WOA gives improved results in compare to results yield from Evolutionary Algorithm [32] in term of reduction in operational cost and peak demand.

  4. 4.

    According to new research trend; it is identified or analyzed that with assistance of advance technologies and hybrid programs, Distributed Energy Resources (DER) focuses on the real operations and applications.

  5. 5.

    DR offers easiness for network’s management and also finding the solution of different quirk with complex steadfast issues. In markets this new trend is focused towards benefits of users as well as operator.

  6. 6.

    DR participants are rewarded using PBP and IBP, but hybrid and complementary strategy is providing better energy management path with combination of price-based and incentive-based.

It will be interesting to see how new variants of WOA respond to this problem. A comparative analysis of the variants and different algorithms along with the proposal of supervised learning framework are kept for future research work.