A Compendium of Performance Metrics, Pricing Schemes, Optimization Objectives, and Solution Methodologies of Demand Side Management for the Smart Grid

: The curtailing of consumers’ peak hours demands and ﬁlling the gap caused by the mismatch between generation and utilization in power systems is a challenging task and also a very hot topic in the current research era. Researchers of the conventional power grid in the traditional power setup are confronting difﬁculties to ﬁgure out the above problem. Smart grid technology can handle these issues efﬁciently. In the smart grid, consumer demand can be efﬁciently managed and handled by employing demand-side management (DSM) algorithms. In general, DSM is an important element of smart grid technology. It can shape the consumers’ electricity demand curve according to the given load curve provided by the utilities/supplier. In this survey, we focused on DSM and potential applications of DSM in the smart grid. The review in this paper focuses on the research done over the last decade, to discuss the key concepts of DSM schemes employed for consumers’ demand management. We review DSM schemes under various categories, i.e., direct load reduction, load scheduling, DSM based on various pricing schemes, DSM based on optimization types, DSM based on various solution approaches, and home energy management based DSM. A comprehensive review of DSM performance metrics, optimization objectives, and solution methodologies is’ also provided in this survey. The role of distributed renewable energy resources (DERs) in achieving the optimization objectives and performance metrics is also revealed. The unpredictable nature of DERs and their impact on DSM are also exposed. The motivation of this paper is to contribute by providing a better understanding of DSM and the usage of DERs that can satisfy consumers’ electricity demand with efﬁcient scheduling to achieve the performance metrics and optimization objectives.


Introduction
Electricity consumption is rising day by day and the existing conventional setup is experiencing difficulties in generating enough power to meet the current energy demands. Almost all components/parts of industry and several aspects of our lives are dependent on electrical energy or electricity. In peak hours, the energy demand further increases and providing the consumers with their demanded loads becomes more challenging. With the traditional power grid, it is very difficult to meet the above challenges [1]. To solve the issue of high consumer demand and the mismatch between generation and utilization, smart grid technology along with energy efficient scheduling is one of the solutions. In this paper, we discuss smart grid technology along with efficient energy management procedures which can solve the above problem up to a certain level. The list of acronyms, notations, and symbols used throughout the paper are tabulated in Tables 1 and 2. Total energy of consumers to be scheduled C(.) Cost of consumers' energy to be scheduled t Time of use of energy a Consumers' appliances P peak Consumers' demand during peak hours E(t) Essential load energy consumption of consumer N γ max N Maximum power generated by consumer N through DERs τ Delay time slots for flexible loads A i,n Scheduling time slots α i,n , β i,n Re-scheduling interval α i,n ,β i,n Delay scheduling interval ω i,n Preferred scheduling interval for the i th flexible load of n consumers χ o i,n (t) Energy consumption of flexible load S(.) Generated electricity Pe(b t , Q t ) Electricity price L st i (t) Shiftable load L b i (t) Base load Power consumed by consumer U(t) Function of energy consumed P(t), R(t) Non renewable and renewable energy

Comparison between the Smart and Conventional Grids
In the traditional power grid, the grid carries power from the central generating station with a conventional distribution system, while in the smart grid, bi-directional flow of electricity between consumers and the grid is enabled by two-way communication and automated and smart distribution networks [12,13]. Through the use of modern and advanced information technologies, the smart grid can deliver power to the consumers' premises in an efficient way. Surveys on various basic concepts of the smart grid were conducted in [14][15][16][17][18][19][20][21][22][23][24][25]. Some of these surveys are summarized in Table 3. Table 3. Comparison between the existing surveys and our proposed survey.

Existing Surveys on the Smart Grid
Objective [26] In this paper, the authors review different demand response (DR) schemes for energy management. The authors describe various incentive schemes in term of price reduction to participate in the given DR. Moreover, the authors classify the DR algorithms on the basis of system constraints and computational complexity. [21] In this paper, the authors review all the communication media that is needed in smart grid technology. [27] In this paper, the authors highlight the potential applications of communication and information technology in smart grid architecture that could be helped by an economic and reliable power system. [22] The authors review the communication networks that are needed for secure data sharing and control among the various parts of the power system. [28] This paper explains the challenges associated with the design of smart grid communication networks. [29] In this paper, the authors review various cyber security issues associated with communication networks in the smart grid that can effect the reliability and system operation of the power system. [30] In this paper, the authors review the energy efficient communications networks among the smart grid and the various data centers that manage the power system. [23] Numerous types of wireless communication and their feasibility of usage for different areas of the power system are explored in this report.

Existing Survey on the Smart Grid
Objective [24] The cyber security issues associated with the communication networks in the smart grid are documented here. [25] In this paper, the authors explore the advantages of the smart metering infrastructure. [31] The authors in this paper discuss the importance of prosumers and their relationship to energy sharing for the sustainability of the power system. [32] This paper discusses the application of the internet of thing (IoT) in the smart grid. [33] The worldwide implementation of the smart grid, related issues, and technological advancements in the various components of the smart grid are discussed here. [34] The authors discuss the theoretical approaches used for the energy management in the literature and also unify the terminologies, concepts, and existing models that use energy management. [35] The authors in this paper highlight the challenges associated with the design of a distribution network in the smart grid. [36] Energy conservation using prosumer excess energy, associated challenges, and technological advancements in prosumers communication infrastructure are discussed in this paper. [37] The authors discuss the significance of energy storage devices, advancements in these devices, and their contributions to load management in the smart grid. [38] Here, the authors summarize the technology associated with the smart grid.

Our proposed survey
In our survey, the objective is to classify and review all of the existing demand side management (DSM) schemes that are used for consumer energy managemen, to figure out the deficiencies and limitations of these schemes and to outline future research directions.

Demand-Side Management and Demand Response Management
The art that is used to manage consumers' energy consumption from suppliers end is named the demand response (DR) while managing the energy consumption at the consumers' premises according to the consumers' priorities and decision is known as DSM [52]. In the DR, the supplier imposes certain limitations on the consumers' energy consumption in order to stabilize the power system. Moreover, in the DR, the supplier does not care about the consumers' preferences and priorities. The DR is normally designed for the supplier's benefit. The DR and its application from the supplier's perspective are summarized by John in [26]. The survey in [26] is based on various optimization algorithms and pricing methods. The suppliers propose various DR schemes for consumer energy management. These DR schemes are based on multiple scheduling algorithms and different pricing schemes to manage consumers' electricity consumption. The proposed DR scheduling algorithm is based on a different optimization procedure through which the consumers are motivated to participate and adopt the given DR schemes. On the other side, DSM is an art that can be utilized at the consumers' premises by consumers to manage energy consumption. In DSM, the consumers' benefits are the primary objectives. The DSM scheme is valuable both for the consumers as well as for the supplier. The benefits of DSM are summarized in Table 5. Table 5. Benefits of DSM.

Consumer Benefits Supplier Benefits
Required demand will be fulfilled Generation, transmission, and distribution costs will be reduced Reliable service Less capital will be required for generation, etc.

Reduction in electricity bills
System will be more efficient and flexible Improved lifestyle Better services for consumers

Contributions of This Survey
The contributions of this survey is to present the energy management solutions, performance metrics, and optimization objectives associated with energy management and also to enlist the role of the DERs in achieving these optimization objectives. We are motivated to enlighten the inner chemistry of energy management and to disclose the various classifications of energy management. Moreover, the motivation of the paper is to highlight the flaws, imperfections, and inadequacies happened in the existing DSM schemes in order to enhance the future research in the field of energy management. In this survey, we are inspired to accumulate all of the existing DSM approaches used to manage the consumers' demands and also, to focus on the minimization of generation cost, aggregated power consumption, the maximization of social welfare, and the reduction of consumers' electricity bills. A detailed summary and taxonomy of distributed management is presented in the paper. The role of DERs in attaining the aforementioned performance metrics is also elucidated in this paper.
Our contribution is different from the existing surveys as it presents: (a) an overall glimpse of DSM models and the current state-of-the-art; (b) a classification of DSM schemes based on optimization types, solution approaches, and energy pricing; (c) a classification of performance metrics related to DSM schemes; (d) game theoretic and real-time pricing approaches used for cost minimization and peak-to-average power ratio (PAPR) reduction; (e) an integration of DERs and their roles in DSM schemes; (f) theuncertainty and unpredictability of DERs and their impacts on DSM schemes. A comparison of our contribution to the existing surveys is given in Table 3.

Paper Organization and Research Methodology
To collect data for this paper we used major five search libraries including IEEE Xplore, ScienceDirect, Wiley Online Library, SpringerLink, and MDPI. The overall data collected from these libraries are summarized in Figure 2. We searched these databases by using the keywords 'smart grid', 'energy management', 'DSM', 'demand response management', 'optimization objectives of DSM', 'PAPR', 'DERs, and 'pricing tariff'. The systematic search work was done in three steps. In the first step, we searched IEEE Xplore for the mentioned keywords where we obtained 270 research papers including journals and conferences. As we mentioned earlier, our focus was on the last decade; therefore, in the second step, we filtered for the last decade and also excluded the low quality journals and conferences which resulted in 150 papers. In the third step, we filtered the download list by studying the titles and the abstracts which excluded another 43 articles. Similarly, we searched ScienceDirect, Wiley Online Library, SpringerLink, and MDPI simultaneously by using the mentioned keywords and obtained 75, 23, 18, and 15 research articles simultaneously. After step two, the given list reduced to 47, 13, 10 and 15 articles. Then, through studying the article titles and abstracts, the download lists reduced to 25, 6, 4, and 8. Besides the above libraries, we also searched the Scopus database, US Department of Energy and European Union electricity market to collect various energy consumption reports which yielded 22 papers. The year-wise published papers are summarized in Figure 3. The rest of the paper is structured as follows. The general layout of DSM, the classifications of DSM and their roles in cost minimization are discussed in Section 2. Section 3 elucidates the use of DERs and their integration into the main grid. Moreover, this section also explains how DERs can help a given DSM scheme to achieve various performance metrics. The future research directions are outlined in Section 4. The paper is concluded in Section 5.
The words consumer and end-user are used interchangeably throughout this survey.

Demand-Side Management Classifications and Their Roles in Cost Minimization
Managing the consumer load in order to shape the supplier load curve in an efficient way is a hot topic in the current research community. DSM is an important component of smart grid technology. DSM refers to programmes, algorithms, and management activities adopted by consumers to optimally utilize the available electricity [12,53]. By implementing an efficient DSM algorithm, the consumers can modify their energy consumption patterns and minimize their electricity bills which can in turn, reduce the production costs of energy. DSM enables the consumers and gives them a choice to reduce their electricity costs by employing energy conservation techniques and shifting the peak hours' load to off-peak hours. The benefits assessment of DSM for USA and UK are documented in [54][55][56], where the authors report that DSM improves the distribution network's efficiency, resulting in reduced CO 2 emissions by maximizing the use of renewable energy resources.
In this section, we discuss various subtopics including the classification of DSM and cost minimization by utilizing efficient DSM schemes. The subsection classification of DSM consists of direct load reduction, load scheduling, DSM based on energy pricing, DSM based on energy consumption scheduling, and DSM based on home energy management. Similarly, the minimization of subsection costs by utilizing efficient DSM schemes is classified on the basis of various approaches and methodologies used for the formulation of cost minimization problems and their solutions which includes cost minimization using the game theory approach and cost minimization using a DSM scheme based on real-time pricing RTP.

Classification of DSM
DSM plays a vital role in minimizing the consumer load and shaping consumer demand according to the load curve provided by the generation or distribution of companies. An adequate DSM scheme can minimize the consumers' electricity bills, generation costs, peak hours' demands, etc. [57]. Moreover, the load curve of the consumers demands can also be flattened through efficient DSM. An efficient DSM scheme can achieve various performance metrics. These performance metrics include the reduction of consumers' electricity bills, the reduction of electricity demand during peak hours, generation cost minimization, demand curve flattening, consumer privacy, priority of consumer preferences and satisfaction, CO 2 emission reduction, and social welfare maximization. In the literature, various research articles are available on DSM. In all of these research papers, the authors tried to achieve one or a combination of the above-described objectives of DSM. We summarize these papers and classify them according to the performance metrics achieved by each author, as shown in Table 6. Consumer demand can be managed either directly by installing sensors inside or near to the home appliances or by shifting the high power rating devices into off-peak hours. For this purpose, DSM has been classified into two main types: direct load reduction and load scheduling.
Direct load reduction can be further classified into two types: by the use of energy efficient appliances and by the use of energy efficient buildings [103]. In the same way, load scheduling is also divided into two types: centralized and distributed scheduling identifies, as shown in Table 6. A flow diagram of DSM classification along with relevant references is given in Figure 4.

Direct Load Reduction
In this type of DSM, consumer demand can be managed efficiently by constructing energy efficient building (EeB) and by utilizing energy efficient appliances (EeA). In EeB, there is a balance between energy consumption and energy supplied by the supplier through environmental changes. The EeBs are designed based on the energy solution, i.e., in summer, these buildings are self-cooled, while in winter it does not require much energy for heating. Similarly, in EeA, the appliances are made intelligent by installing sensors inside them or in their vicinity to minimize energy consumption [104][105][106][107].

Load Scheduling
In this type of DSM, consumer demand is regulated by employing energy efficient algorithms and optimal demand side management schemes. The optimality of these schemes and algorithms is generally measured in terms of minimization of the peak-to-average power ratio (PAPR), generation cost, and consumers' electricity bills. PAPR is reduced by shifting the high power rating appliances to off-peak hours [108]. Load scheduling is further classified into subclasses which include DSM based on energy pricing, DSM based on energy consumption scheduling, and DSM based on home energy management. These are discussed in detail in the upcoming subsection, as shown in Figure 4.
Consumer demand plays an important role in energy management systems. Various DSM schemes have been utilized to manage consumer load. A dynamic programming based DSM scheme was suggested by the authors of [89,109]. In this algorithm, the consumer's profit is maximized and the overall cost of production by using the smart distributed network is minimized. The demand during peak hours is one of the critical and most important factors in DSM. The authors of [110] used a fuzzy system approach to reduce the consumers' peak hours demands. In this fuzzy system based DSM, the authors gave input in the form of demand during peak hours at one end of the system and get the the corresponding DSM as the output of the system. Similarly, the authors of [111] proposed a DSM scheme considering multiple utilities based on game theory. The game consists of two levels; at the lower level, i.e., an evolutionary game, the consumers manage their demands and power prices correspondingly and at the upper level, the problem of multiple suppliers is modeled as a non-cooperative game.
There are plenty of research articles available in the literature with the aim of minimizing costs, consumers' electricity bills, and the peak to average power ratio, etc, by employing efficient DSM schemes. These research articles along with the objectives achieved and advantages associated with each article are summarized in Table 7. To achieve these objectives, authors have utilized different optimization approaches. The various optimization approaches employed in DSM schemes along with the relevant references are shown in Figure 5. Table 7. Optimization objectives and outcomes.

Ref.
Objective Advantage/ Outcomes [58] Cost minimization Maximizes the consumers' payoff by improving the economic efficiency of the residential consumption [77] Maximizes the welfare of consumers [89] Maximizes consumers profit [93] PAPR reduces [95] Minimizes the operation cost [98] Reduces the consumers' electricity expenses [112] Cost and PAPR reduction Minimizes consumers' bills by up to 25% [76] Electricity bill reduction Minimizes the waiting time of the appliances [113] Minimizes consumers' electricity consumption [81] The total generation cost is minimized at the Nash equilibrium point [86] Reduces the bills by up to 22% [91] Minimizes the cost of energy [87] Electricity cost reduction Minimizes the total average cost of electricity of all consumers [114] Electricity cost reduction and stabilization of the load profile Minimizes electricity consumption of all consumers [115] Generation cost and PAPR minimization Minimizes the consumers' energy costs [62] Maximization of the overall utility Satisfies the budget limits [80] Maximization of the welfare of consumers Minimizes transmission losses [96] Maximization of the generation Maximizes the generation capacity [116] Maximization of the social welfare Minimizes the electricity costs which, in turn, maximizes the welfare [117] Maximization of the consumer profit Minimizes the consumers' electricity bills [118] Minimization of the generation cost Reduces the generation cost and demand during peak hours which flattens the demanded load profile [92] Minimization of the generation cost and demand during peak hours Reduces the generation cost and demand during peak hours which flattens the demanded load profile [119] Minimization of the discomfort level of consumers Improves the satisfaction of consumers [85] Minimization of the peak demand Reduces the capital expenditure [82,83] PAPR reduction Minimizes the electricity bills [61] Reduces the PAPR and maximizes the consumers' social welfare [120] Maximization of consumers' welfare [111] Demand during peak hours and consumers' bills Considers multiple utilities [110] Reduction of peak hours demand The proposed system can be applied for multiple inputs, like temperature changes, etc.
[68] Price reduction and reliability Minimizes energy cost [97] Reduction of energy consumption Minimizes the imbalance caused by DERs on the main grid Load scheduling is further classified into subclasses. The details for these subclasses are provided as follows.

DSM Based on Energy Pricing
There are increases/decreases in the electricity price with increases or decreases in the electricity demand. During peak hours, the suppliers increase their electricity prices as they operate the peaker power plants, while in off-peak hours, the nominal price is used. By managing the consumers' demands during peak hours, the electricity bills that were at the peak can be reduced. There are many pricing schemes available in the literature, i.e., real-time pricing (RTP), fixed pricing, inclining block rate (IBR), customer reward (CR), net sale/purchase and time of use (TOU), etc. All these various pricing schemes and the relevant articles are summarized in Table 8. RTP pricing can be managed by the consumers themselves;, therefore, if the consumers curtail their demands, they will be awarded some incentives like a reduction in price and continuous and reliable supply.
We categorized all of the existing DSM frameworks on the basis of pricing schemes. For example, the authors in [68] proposed a DSM technique based on game theory to schedule energy consumption by using a smart pricing scheme. This technique benefits the consumer in terms of providing a price reduction and a reliable energy supply. Moreover, the authors also maximized the social welfare. One of the DSM schemes used by the authors in [86] is the RTP management scheme which has the objective of reduing the consumers' bills and managing the demanded loads of the consumers. The authors presented a possible demand curve of the appliances (PDCA) of different consumers by using the proposed algorithms. Furthermore, the authors implemented the scheme for two different case studies and concluded that the proposed scheme reduces the consumers electricity bills by 8% to 22% in summer. In [121], the authors investigated a dynamic energy management scheme based on the use of dynamic prices to reduce the consumers' demands during peak hours and improve the system's efficiency. The authors considered the use of a flexible load, e.g., the heat ventilation and air conditioning (HVAC) and heating systems of consumers, controlled through a proposed control strategy. The control strategy shifts this equipment into off-peak hours based on a dynamic pricing method. The retail price is updated every 15 min from the supplier end. The control strategy compares the retail price with the threshold set by the consumers, and this control strategy is operated through a dynamic demand response controller. The proposed scheme reduces the annual energy costs by up to 9%.

DSM Based on Energy Consumption Scheduling (ECS)
DSM can be carried out through energy consumption scheduling (ECS). Various home energy management technique based on ECS are available in the literature. An optimization based residential load control scheme based on simple linear programming (LP) using the concepts of ECS was proposed in [82,83]. The authors proposed a mathematical model to represent the residential load control. The proposed scheme works on RTP which requires a price predictor. The price predictor collects information about the prices from yesterday, the day before yesterday, and for the same day in the previous week, and on the basis of this information, it predicts the price per kWh in real-time. The price predictor and ECS device of [82] are shown in Figure 6. The scheme in [82,83] significantly reduces the peak load which results in the reduction of the PAPR and the demanded load for different scenarios.  [124,125] and ZigBee [90,126]. The authors in [124] suggested a power line communication-based HEMS that can provide information on home energy consumption in real-time. In addition, it has the capability to make an intelligent plan for appliance control as well as optimizing power consumption at home. The HEMS consists of three modules: an advanced power control planning engine, a device control module, and a power resource management server. In [126], the authors explored a smart home energy management (SHEM) system based on the ZigBee sensor network. The authors divided the SHEM into various home networks, where each network consists of sensor nodes. Each and every home network performs different tasks by collecting the information through sensors, and on the basis of this information, it controls various home appliances. The information may be humidity, temperature, light and/or other phenomena, i.e., human movement, gas leakage, etc. Furthermore, the authors added a routing protocol named the disjoint multi-path based routing (DMPR) protocol. Using DMPR, the sensor nodes establish a wireless network with other sensors nodes and with the help of this network, it can intelligently control the system's services.
Similarly, in [90], the authors explained another ZigBee network-based HEMS. This scheme is used for residential demand response application and for the reduction of overall energy consumption. The proposed HEMS consists of a HEM unit which provides monitoring and control for the consumers and a load controller that is used to collect the consumption of data from different home appliances with the help of instructions from the HEM unit. The HEM unit consists of an embedded PC that runs a GUI software application and HEM communication module. The function of the embedded PC running the GUI software application is to switch on/off the consumer appliances on the basis of a demand response algorithm while the communication module establishes a communication network between the HEM unit and load controller. On the other side, the load controller provides an interface between the appliances and the HEM unit. The proposed system is used to monitor and control consumers' actual loads according to the demand responses in order to minimize the overall energy consumption. In [127], the authors introduced HEMS, in which the energy used by the various home appliances of consumers is compared with a reference energy level at the energy portal server. The reference energy and prices at the energy portal are periodically updated according to the instructions provided by the supplier. The HEMS compares the consumers' consumption of different appliances to that reference, and if the consumption exceeds the reference, the HEMS shifts the appliances into an efficient time slot where the price per kWh is low.
(ii) Optimization-Based or Software-Based HEMS In software-based HEMS, the system consists of a framework that has the capability to schedule and manage the load at consumers' premises and also provide benefits to the consumers. These frameworks are based on different optimization algorithms, as shown in Figure 5. In [92], the authors suggested an in-home energy management system (iHEM) and optimization-based residential energy management (OREM) to reduce the energy cost and demand during peak hours. In addition, the iHEM system minimizes the consumers' bills and reduces their contribution to the peak load. The aforementioned schemes, i.e., iHEM, and OREM, are used to schedule and control the in-home appliances. The performance of the proposed OREM system has been compared with hardware-based HEMS and it was concluded that OREM outperforms hardware-based HEMS. The authors in [93,128] proposed an efficient scheme for scheduling the consumers' energy consumption in a dynamic pricing environment. The proposed framework in [93] is based on mixed-integer linear programming (MILP) with the objective of developing a home energy controller and reducing the energy cost. The home energy controller controls different household energy appliances. With the help of this framework, PAPR can be reduced.
The authors in [94], investigated an intelligent HEM algorithm to manage the energy consumption of high power rating household appliances. In addition, it ensures that the base/critical load is supplied at all times. In this HEM algorithm, the total consumption of each consumer is kept below a certain threshold (kW) where the threshold is updated regularly after one hour. Moreover, the authors presented a load scheduler to optimize the energy consumption of the consumers for dynamic price per kWh. According to this scheduler, the consumers schedule their household appliances in an efficient way in order to get a reward from the suppliers and to reduce their electricity bills.
In [113], the authors used MILP and a heuristic approach to design a household energy management system. This household energy management system uses an eBox architecture that consists of a control logic unit (CLU) and an optimization module (OM). The CLU controls the overall system while the OM is responsible for selecting an optimal schedule on the basis of MILP and heuristic approach. The CLU collects signals from the consumer shiftable appliances or from the sensors deployed in the vicinity of these appliances and then dictates the OM to commence the optimization process and select an efficient schedule to reduce the energy consumption. The OM then communicates this efficient schedule to the CLU where the CLU implements it on the high power rating appliances. The high power rating appliances considered in this paper include water heaters, clothes dryers, cooling units, etc.
Conclusions of the subsection: In this subsection, we discussed the various types of DSM which consist of direct load reduction and load scheduling. Direct load reduction was further classified into two groups, i.e., energy efficient appliances and energy efficient building. Similarly, the load scheduling was divided into two categories, i.e., centralized and decentralized DSM schemes. Moreover, we categorized the load scheduling into three subparts which included DSM based on energy pricing, DSM based on energy consumption scheduling (ECS), and DSM based on home energy management (HEM). In addition, we also categorized DSM into two categories on the basis of the optimization type used in DSM modeling and the solution methodologies used in the model solution.
We also summarized the available performance metrics and provided a detailed review of the literature from an optimization perspective as well as from an energy pricing perspective and tabulated it in Tables 6-8 respectively.
We identified some of the areas which need research attention. These areas include EeA, EeB, and the collective attainment of performance metrics. In the literature, very little work has been done on EeA and EeB; therefore, these types of DSM need further elaboration. Similarly, from Table 6, we can say that, in the literature, a unified framework with all the performance metrics mentioned in Table 6 collectively achieved is missing. Therefore, a unified framework needs to be modelled where all the performance metrics regarding DSM are achieved.

Cost Minimization by Employing Efficient DSM Schemes
Cost minimization is the primitive and paramount parameter among DSM objectives. From the consumer perspective, it is the most influential parameter. In general, the production costs are very important. These costs are interlinked with the consumers' demands. As the consumers' demands increase, the production costs also increase. Especially in peak hours, the generation cost is very high, because in peak hours, the generation companies switch on their peaker power plants which, in turn, increases the generation cost. The cost minimization indirectly minimizes the demand during peak hours as well as PAPR and consumers' bills. Most researchers are engrossed in developing efficient algorithms to minimize the generation costs, either directly or indirectly. In the literature, various approaches have been utilized to develop efficient algorithms in order to minimize the electricity costs [82,108,116,[129][130][131][132][133][134][135][136][137][138][139]. These approaches include the game theoretic approach, different pricing approaches, etc.

Game Theoretic and Real-Time Pricing Approaches in Cost Minimization
Cost minimization can be achieved by utilizing the various approaches mentioned in the literature. The game theoretic and real-time pricing approaches are the most prominent approaches available in the literature and are presented in the following text.

Cost Minimization Using the Game Theoretic Approach
Game theory is one of the mathematical tools used in the literature to model different DSM schemes that is valuable both for consumers as well as for suppliers. In [61,81,82,[140][141][142][143], the authors introduced autonomous DSM schemes based on game theory. In the first one of these articles, the authors proposed a scheme in which each consumer schedules his/her own energy usage in a time slot with a low price by participating in the game, thus reducing his/her electricity bills. The energy cost is minimized by achieving the Nash equilibrium point. The PAPR is reduced by using the distributed DSM in [61]. The formulation is based on the non-cooperative game theory, where the consumers act as players and the utility companies as strategies. Similarly, the authors in [140][141][142], used the multiple leader multiple follower Stackelberg game to maximize the profits of the micro-grid. In [81], the authors considered a scenario with multiple suppliers connected to a central DSM center as well as with the consumers through the communication link and power line, as shown in Figure 7.
Each of the suppliers has to submit a bid to the DSM center through the communication link, where the DSM center calculates the electricity price on the basis of these bids and on the information provided by the consumers in terms of an aggregated load.
The proposed framework is based on the non-cooperative game theory. The objective of the framework is to maximize the supplier's profit as well as to maximize the consumers' satisfaction in terms of bill reductions. The mathematical formulation is done for the supplier and consumer sides independently and is given as follows.
where S j,t (.) is the generated electricity by the jth supplier at time t, which is a function of the bid vector of all suppliers and the aggregated load of consumers. Pe(b t , Q t ) is the electricity price calculated by the DSM center, and C(.) is the generated electricity cost. On the consumer side, the problem is formulated as where U i (.) represents the utility function for consumer i which shows the satisfaction of consumer i with their electricity consumption. The utility is a function of the consumers' shiftable and base loads represented by L sh i (t) and L b i (t). In Equation (2), N is the total number of consumers and T is total number of time slots. Similarly, in [77], Ding Li suggested an auction game-based algorithm to schedule consumer energy consumption. In this paper, the authors solved the problem of cost minimization in two different scenarios; the first one was the minimization of the utility cost of generation, and the second one was the maximization of consumer welfare. The authors achieved their objectives by first dividing the consumers' load into flexible and essential loads and then minimizing the flexible load for different intervals of time.
In [117] presented a profit maximization problem based on risk constrained demand responses. The proposed framework is composed of a micro-grid aggregator and a schedular, where the aggregator procures electricity from different sources and sells it to the consumers. The schedular in the proposed framework offers different scheduling contracts to the consumers in order to minimize the consumers' bills and to reduce the demand on the micro-grid during peak hours. The consumers have the choice of whether to sign the contract or not. If the consumers agree with the schedular contracts, then they are rewarded in two different ways, i.e., either the aggregator will serve the consumers with electricity consumption at a lower price or they will be awarded an extra amount of energy during off-peak hours. An evolutionary algorithm based on day ahead DSM was proposed by the author of [118]. The objective of the proposed framework is to shave the demand during peak hours and to minimize the generation cost.
Cost Minimization Using DSM Scheme Based on RTP Generally, consumer demand is higher and more critical in peak hours. In order to ensure the supply of energy to the consumers in peak hours, the utility and generation companies run peaker power plants, and therefore, charge higher prices per kWh to the consumers. Moreover, by operating the peaker power plants, the peak to average power ratio (PAPR) increases, which, in turn, affects the reliability of the energy supply. Each consumer's electricity price is based on his/her load and the increase in the demanded load can lead to an increased electricity price. To manage the consumer demand, there are a lot of research articles that are based on real-time pricing with the objective of minimizing the electricity cost. In [98], the authors presented a DSM scheme consisting of an efficient scheduling model based on real-time pricing (RTP). The central controller installed at consumer's premises gets the RTP from the supplier end and schedules or shifts the high energy household devices through the home gateway into off-peak hours. The proposed model reduces the energy cost as well as the PAPR which leads to system stability. In [99], the authors explored an incentive-based demand response algorithm to shave the demand during peak hours. The proposed algorithm can be applied both for essential and flexible consumer loads. Furthermore, the scheme is divided into two control levels, i.e., the first control level is used to manage and improve the feeder voltage profile within a certain range and the second control level is used to minimize the peak demand and prevent the transformer from overloading. The proposed scheme minimizes consumers the demand during peak hours and considers the consumers' priorities and satisfaction and also improves the feeder voltage profile. A day ahead scheduling algorithm was provided by the authors of [144,145] in order to minimize the energy costs.
A DSM scheme based on mixed integer multi-time scale stochastic optimization was proposed by Zhe Yu et al. in [119]. In this framework, the authors first considered the consumer's satisfaction by maximizing the power production, and then focused on energy consumption and cost of energy consumed and finally, suggested an efficient control strategy to minimize the peak demand.
The authors of [43] designed an autonomous DSM scheme to minimize the energy cost. The authors used game theory to formulate the consumption scheduling game with the following objective: where C t ∑ n∈N ∑ a∈A n X t n,a is the cost function and X t n,a is the energy consumed by appliance a of consumer n at time t hours. In addition, the authors in [75] minimized the demand during peak hours by shifting the high power rating appliances to off-peak hours that resulted in the minimization of PAPR. The PAPR minimization problem was formulated as follows: min X n,i ∈χ n max ∑ n∈N ∑ a∈A n X t n,a 1 T ∑ n∈N ∑ a∈A n X t n,a (4) where max ∑ n∈N ∑ a∈A n X t n,a is the demand during peak hours and 1 T ∑ n∈N ∑ a∈A n X t n,a is the average demand of consumer n. By solving Equation (4), the demand during peak hours is minimized which results in a flattened demand curve and hence, minimizes the deviation from the grid available load. As we mentioned earlier, in peak hours, the consumers are charged a higher price per unit because of the operating of the peaker power plants to fulfill the consumers' demands. If the load during peak hours is reduced or the high power rating appliances are re-scheduled to off-peak hours, the generation companies will not need to operate additional plants and hence, the cost of generation and the consumers' bills will be minimized.
In [91], the authors proposed a framework based on fairness in billing and consumer privacy. According to this framework, an autonomous DSM can work efficiently if the number of consumers contributing to the DSM is increased which can be achieved via coordination and communication among consumers through smart meters. Moreover, to motivate the consumers to participate in the proposed scheme, it is important to devise a fair billing algorithm in the form of incentives for the consumers.
Conclusions of the subsection: In this subsection, we focused on key performance metrics, i.e., cost minimization. We call them key performance metrics because once the cost is minimized, then most of the other performance metrics are automatically attained. We provided a detailed review of literature from a cost minimization perspective. We divided this cost minimization survey into two subsections i.e., cost minimization using the game theoretic approach and cost minimization using DSM schemes based on RTP.
From this subsection, we also identified an open research area including consumer participation in the given DSM, consumer privacy, consumer satisfaction and the implementation complexity of the given DSM model. Therefore, in addition to cost minimization, it is mandatory to converge the attention of researchers towards DSM schemes which can educate the consumers regarding the given DSM to participate in; also, it is crucial to take care of consumer privacy and satisfaction. Moreover, the proposed model needs to be cost-effective and simple to implement.

Integration of DERs into the Main Grid and How It Helps to Achieve the Various Performance Metrics of the DSM
In the traditional power system, most of the electricity production is centralized and is generated through fossil fuel. This centralized energy generation produces plenty of NOx and SOx that is polluting the environment. Besides this, electricity generation using fossil fuels is becoming more expensive day by day due to the increased cost of fossil fuel. Therefore, the organization of environmental protection as well as the high production cost of electricity has forced various government agencies to rethink their energy production resources [35,146]. The centralized generation of power is not only costly and inefficient, but it is also sometimes not enough to meet the consumers' demands during peak hours [147]. To mitigate this issue, the use of distributed energy resources (DERs) is one of the solutions [148]. DERs can be divided into two different types: DERs with non-renewable sources of energy and DERs with renewable energy sources.

(i) DERs with Non-Renewable Sources of Energy
This type of DER includes diesel generators, gas engine generators, etc. In this case, the DERs generate the energy by using small-sized gas engine generators and diesel generators, but it is not an economical source of generation.

(ii) DERs with Renewable Energy Sources
In this type of DER consists of renewable energy resources, i.e., photovoltaic (PV) cells, wind turbines, small hydel power plants and battery banks for storing the generated energy. Renewable sources of energy are cheaper and green sources of energy [149]. Renewable sources have enough advantages over the diesel and gas generators; however, there are some problems with these sources. The advantages and challenges associated with DERs sources are encapsulated in Table 9. Table 9. Advantages and challenges of DERs (renewable).

Type of Renewable DERs Advantages Challenges
Infinite source of energy Variable output because wind speed is not constant [150] Easy to install Uncertainty Wind Turbines [151,152] No maintenance Unreliability No running charges Turbines are very noisy No waste products Easy to install Large area required for installation [153] PV Cells [151,154] Low maintenance Inefficient on cloudy and rainy days No negative impact on environment In this section, we discussed DERs and the integration and role of DERs in cost minimization and PAPR minimization. Moreover, we also discussed the unpredictable nature of DERs and their impacts on DSM.

Integration of DERs
According to the international energy agency survey, researchers are working to determine how best to produce electricity by the use of DERs. According to this survey, from 2010 to 2035, the production tree of DERs in the form of hydel, wind and solar will change by up to 50%, 25%, and 7.5%, respectively. The production of electricity from these DERs is not only unreliable, but its integration into the main grid is a problematic task. Therefore, the integration of DERs into the main grid is the most challenging and conspicuous research topic. Researchers are trying to discover new and improved schemes for its integration. Some of these schemes were given in [155][156][157]. The uncertain and inconsistent nature of DERs can affect the reliability and stability of the power supply. To overcome this issue, different complementary solutions were suggested in [79,[158][159][160][161]. DERs are normally installed at consumers' premises that are equally accessible for both consumers and the distributed grid. In cases of high demand from the consumer side, these DERs help the grid to fulfill the high demand in peak hours [162,163]. A game theoretic-based DSM scheme for consumers with DERs was proposed by the authors in [115]. In this scheme, there are two games, i.e., the non-cooperative game and the Stackelberg game. The first type is played among the consumers while the second one is played between the consumer and the supplier. The authors minimized the cost function of consumers by selling the surplus power through the non-cooperative game to the suppliers.

PAPR Minimization Using DERs
Most researchers are working on how to efficiently harmonize the DERs with the main grid station. Assimilations of DERs can reduce the demand during peak hours and the PAPR. By using DERs, consumer demand can be managed efficiently. The US Department of Energy arranged different conferences and workshops in 2001 in order to elaborate the integration of DERs into the main grid [164] which could help to minimize PAPR. For efficient integration of the DERs into the main grid, the authors in [165], explored a scheme for a reliable communication network. According to the authors, this network ensures that the energy generated by DERs is fed into the main grid efficiently and can help to manage and curtail consumers' demands during peak hours.

Role of DERs in Cost Minimization
DERs play an important role in cost minimization. In the literature, various articles are available where the benefits of DERs in terms of cost minimization have been explored. We have summarized all the DSM schemes where the authors used DERs as a cost minimization source in Table 8. The authors in [64], minimized the generation cost by developing a control algorithm known as the "Lyapunov-based cost minimization algorithm". The authors considered that each consumer has their own DER, storage devices, and an essential and flexible load. Furthermore, the consumers have coordinating control entity for the minimization of the generation cost. Another cost minimization technique was suggested by the author in [79], in which the consumers' costs are minimized by the use of DERs. The authors divided the consumers' load into two different parts, i.e., essential and flexible loads. Moreover, through the use of DERs, the authors employed the Lyapunov optimization solution in order to fill the gap between consumption and production.
Similarly, the authors in [69][70][71][72][73]166,167] suggested distributed generation with the concept of the virtual power player (VPP) to manage the DERs. Moreover, the authors in [167] provided the concept of generation cost minimization using VPP. The authors in [95], analyzed a modified particle swarm optimization technique to integrate the DERs into the main grid and to minimize the cost of the VPP that manages the DERs. With this technique, the cost of VPP is minimized by using the mixed-integer non-linear optimization technique. The generation cost and the energy taken from the main grid are both minimized by efficiently applying the proposed schedule according to the demand response. The consumer demand is managed in three different steps where these steps are named Red A , Red B , and Red C . The main objective of the authors was to minimize the generation cost of electricity. The mathematical formulation of [95] is given by (5). min C = ∑ T t=1 ∑ N DG DG=1 C A(DG,t) X DG(DG,t) + C B(DG,t) P DG(DG,t) + C C(DG,t) P 2

DG(DG,t)
+C EAP(DG,t) P EAP(DG,t) + ∑ N SP SP=1 C SP(SP,t) P SP(SP,t) + ∑ N L L=1 C RED_A(L,t) P RED_A(L,t) + C RED_B(L,t) P RED_B(L,t) + C RED_C(L,t) P RED_C(L,t) + P NSD(L,t) C NSD(L,t) + ∑ N s S=1 C Dch(S,t) P Dch(S,t) − C Ch(S,t) P Ch(S,t) (5) where C A(DG,t) , C B(DG,t) , and C C(DG,t) represent the fixed, linear, and quadratic costs coefficient of the generator units in time t, respectively, while C Ch(S,t) and C Dch(S,t) is the charging and discharging costs of battery S in time t, respectively. The minimization problem is formulated in three different steps where each step has an associated operating cost which is represented by C RED_A(L,t) , C RED_B(L,t) and C RED_C(L,t) to schedule load L in time t. The cost coefficient for the excess available power at diesel generator (DG) is represented by C EAP(DG,t) . The cost for the non-supplied or surplus power is expressed by C NSD(L,t) . While P DG(DG,t) , P Ch(S,t) , and P Dch(S,t) represent the active power of DG and the active charging and discharging power loads of storage S. P RED_A(L,t) , P RED_B(L,t) , and P RED_C(L,t) are the amounts of power reduction by steps Red A , Red B , and Red C , for load L. Furthermore, the excess generated power by DG and resupplied demand for load L is represented by P EAP(DG,t) and P NSD(L,t) . P SP(SP,t) is amount of active power acquired from the supplier at time t. N L , N s , and N SP are the load, number of storage devices and number of external suppliers, respectively.
The authors in [84] used another DSM scheme with the objective to flatten the demand curve. The authors first divided the consumer's load into two different types: the essential load and the flexible load. Then, they formulated the optimization problem for the essential load of N consumers. According to the authors, the total essential load of all N consumers at time slot t, can be computed as The energy consumption of all N consumers should not exceed the threshold γ max N , (i.e., E(t) ≤ γ max N ), where γ max N is the maximum power generated by all the N consumers through DERs. Beside the essential load, each consumer has his/her own flexible load, where the flexible load is scheduled in three different scenarios, i.e., delayed scheduling, advanced scheduling, and fully flexible in both direction-either delayed or advanced.

Unpredictable Nature of DERs and the Impact on DSM
Due to the unpredictable and uncertain nature of renewable DERs, the efficiency of the DSM scheme can be affected. While developing a DSM scheme, the unpredictability and uncertainty associated with DERs should be considered. In [87], the authors investigated a dynamic energy management system for the future smart grid by considering unpredictable renewable distributed energy resources, consumer demand, and energy storage devices. In this work, the authors considered two type of demanded load, i.e., mandatory load and flexible load, with the objective of minimizing the overall cost of the consumed energy. The cost of energy was minimized as follows: where U(t) is a function of the energy consumed at time t and is given by U(t) = f (N(t)). The variable N(t) is the amount of electricity that would be generated by the supplier to fulfill the consumer load which is calculated from where P(t) represents the consumer's load at time t, and R(t) denotes the renewable generated power.
The authors further concluded that each user should have bi-directional communication with the utility company, and each consumer has his/her own DERs and storage device. Whenever the consumer has surplus power besides his/her own usage/mandatory load, then by the bi-directional communication can be sold to the main grid which could help to fulfil the demands during peak hours of other consumers [168]. In [112], the concept of DER coordination was explored. The authors used a particle swarm optimization (PSO) technique called CPSO-R to quantify a social welfare (which is a function of cost, PAPR, net benefits, etc.) added by the DERs coordination. With this technique, firstly, each DER is scheduled independently and then all DERS are scheduled collectively in order to find the above described social welfare. Then, on the basis of this value, the consumers schedule their consumption to maximize their net benefits. In this work, the authors presented a smart home case study in which, by applying the CPSO-R, the net benefit of the consumer was maximized by scheduling the controllable DERs according to the scheduling algorithm. In this particular case, it reduced the consumers' energy bills by 16% to 25%.
In [97], the authors explored a day-ahead optimization based DSM scheme for consumers with DERs and storage devices. In addition, the authors considered consumers with greater consumption than production or storage. In that scenario, the consumers of this type import energy from the main grid to fulfill their required demands which, in turn, increases the load on the main grid. The proposed scheme reduces the consumption of these users in this scenario by using a game theoretical approach. Through the integration of DERs into the main grid, there is an imbalance in the grid. The authors in [74] considered an imbalanced condition and presented an energy management based on the novel pricing scheme to balance the uncertainty caused by the integration of DERs into the main grid. The novel pricing scheme was obtained by solving a convex linear inequality matrix.
In [78], the authors presented a solution for problems occurring during the integration of DERs into the main grid. In the proposed scheme, there is no need for supplier involvement. The DERs generated energy at the consumer premises is used by the consumer and the surplus energy is sold to the nearby needy consumers through by the existing distribution network. The proposed scheme is implemented in the Korean smart distribution management system and is used to minimize the losses of the distribution feeder and to maintain the system's reliability. Another DSM scheme for the displaceable residential load which uses a controller installed at the consumer premises was discussed in [114]. The controller is used for the minimization of the overall energy cost and to improve the reliability of the power system. To produce a reliable system and to flatten the load curve, the controller at each consumer's end is in contact with the neighbor consumers. The communication between neighbors is asynchronous and is based on distribution coordination scheme. The controller is operating on multi-objective optimization algorithm where the cost of consumers and the flattening of the load curve are formulated as follows: min z s = ∑ t∈T S t P t t T where z c is considered the primary objective variable which represents the energy cost at time t, while z s denotes the load curve function which is considered the secondary objective. P t is the power consumed by consumers for interval t with expenses of C t , and S t represents the aggregated load that can be computed by the interaction of the neighbors through a controller installed at their premises. Equation (10) is also named the load stability objective equation.
Another scheduling model was discussed by the authors of [96], where the consumers' energy consumption was divided into two different parts: deterministic dynamic consumption and stochastic consumption. The authors maximized the DER generation by an formulating energy scheduling problem using Gaussian approximation and the rolling horizon optimization technique. The authors in [88] presented another home energy management system in which storage devices are installed at the consumer's premises. The storage devices are jointly accessible for both suppliers and for consumers. Therefore, the proposed system is beneficial both for suppliers as well as for consumers. The consumers can reduce their energy bills by shifting the peak demand to off-peak hours, where they are charged a low price per kWh which minimize the demand during peak hours. Moreover, due to the reduction in demand during peak hours, the generation cost is also minimized.
Conclusions of the section: In this section, we introduced the DERs, the integration of DERs, PAPR minimization using DERs, cost minimization using DERs, and the unpredictable nature of DERs. Moreover, we also discussed that how these DERs can help in achieving various performance metrics of the given DSM model like PAPR and cost minimization. In addition, we also summarized the unpredictable nature of DERs and their impacts on the DSM schemes.
In this section, we summarized that DERs can help the DSM model in cost minimization and PAPR reduction very efficiently, but due to the uncertain nature of DERs, it can not continuously help the DSM model. Therefore, we identified that DER availability forecasting and frequent adjustment of the DSM model according to the uncertainty associated with DERs need to be considered in the upcoming DSM models. Moreover, attention is needed to motivate the consumers to increase the installed DERs and also to discover various methods for the optimal placement of DERs which would result in the minimization of line losses.

Future Research Directions
Based on the above survey, we concluded that we can focus on various limitations and challenges that arise during the design and implementation of DSM schemes and integration of DERs. For an efficient, robust, and economical DSM scheme along with DERs, these limitations should be addressed. These limitations and challenges are categorized into two subgroups: DSM based open research direction and DERs based open research direction. These limitations include guaranteeing the reliability of the power system and communication networks used in DSM as well as the security and privacy of consumers, load profile modeling, consumers' participation in the DSM scheme, catering for consumers' preferences and priorities, maximization of DER usage, optimal placement of DERs and educating the consumers about energy consumption.

Reliability of the Power System and Communication Networks Used in DSM
The reliability of the power system and the reliability of the communication media used in the DSM schemes are imperative and indispensable parts of smart grid technology. The reliability of the power system mainly depends on the consumers' demands, i.e., a system will be reliable if the total consumption of all consumers is under the threshold provided by the supplier. If the demanded load exceeds the threshold level, then the whole system will go down. Owing to this, it is mandatory to consider the power system's reliability during the design and development of the stages of an efficient DSM scheme. Advance load forecasting techniques can be used to improve the reliability of the power system. Similarly, the communication links used for energy management are also of great importance. For a robust and reliable DSM scheme, the reliability of the communication networks is also as valuable as power system reliability. In future research, detailed consideration is needed for the reliability of the power system as well as that of the communication network along with consumers benefits.

Security and Privacy
The security and privacy of the consumers is the key aspect of an efficient DSM scheme. In DSM, there is a sharing of energy consumption information among the consumers. While designing a DSM scheme, secure information sharing among consumers needs to be considered. It is important to discover efficient novel DSM schemes where the consumers' privacy is considered. Moreover, robust and reliable communication needs to be developed for secure information sharing. Therefore, consumers' DSM schemes with security and privacy consideration can be a future research direction.

Load Profile Modeling
DSM is the art of managing consumers' load profilels. Demand during peak hours and increases in the electricity price are associated with the load profile. Moreover, system instability and the mismatch between generation and utilization are also dependent on the load profile. Therefore, modeling of the load profile is the key factor in DSM. While designing the DSM scheme, it is mandatory to model the load profile of each consumer before DSM scheme implementation. Therefore, the development of DSMs based on the load profile could be another research direction.

Consumers' Participation in the Proposed DSM Scheme
The participation of consumers in various DSM schemes plays a vital role. The more consumers participate in the scheduling algorithm, the les or the demand during peak hours will be, and also the more stable the system will be . In fact, as the stability of the power system is linked with the consumers' demanded load, consumers' participation in the proposed DSM can lead to a flattened demanded load curve which can help the main grid to remain stable. To motivate consumers to join the proposed schemes, multiple incentives can be given to the consumers. This area can be further elaborated, and research attention is needed to develop new incentive schemes to attract the consumers' concentration towards the proposed DSM schemes.

Consumers' Preferences and Priorities
Consumers preferences and priorities are the most important factors in DSM. The existing literature contains various DSM schemes which are cost-effective and can efficiently achieve their required objectives; however, the consumer's preferences and priorities are not considered in these schemes. As in DSM, the consumers' demands are managed at the consumers' premises; therefore, it is very important to care about the consumers' preferences and priorities. Therefore, the design of a DSM scheme based on consumers' preferences and priorities may be a new research direction.

Maximization of DERs
DERs, in the form of renewable energy, are important, green, and non-toxic sources of electricity generation. They are cheaper sources of electricity and can be installed at the consumer's premises in a distributed manner. With the distributed installation of these sources in the consumers' vicinity, the line losses that occur in energy transportation from the main grid can be significantly reduced. It is highly commendable to maximize the use of DERs in the form of renewable energy resources and to force the consumers through some incentive to install these sources on their premises. In DSM, the use of DERs can play an important role, especially in the reduction of the peak hour load and demand curve flattening. However, the integration of DERs into the main grid and dealing with the uncertainty and inconsistency of DERs are challenging issues. It is, therefore, needed for different integration techniques to be explored and also for different algorithms to be discovered for optimal placement of DERs in order to cover the aforementioned problems.

Optimal Placement of DERs
The optimal placement of DERs is very important for a given DSM. The placement of DERs plays an important role in loss minimization which can, in turn, improve the DSM schemes' efficiency.

Educating the Consumers
Knowledge about home appliances and their energy consumption is very important for each and every consumer. All consumers want to reduce their electricity bills and also to improve their lifestyles. In current literature, there are various DSM schemes that are used for consumer electricity management; however, their implementation/installation at consumers' premises is not possible without educating the consumers about the energy consumption of various home appliances. It is needed for workshops and conferences to be arranged in order to guide the consumers regarding their electricity consumption.

Conclusions
This survey reviewed the smart grid and different energy management aspects of the smart grid. We reviewed the role of DSM in smart grid technology from which it can be concluded that without DSM, smart grid technology is incomplete. We reviewed various schemes and different approaches used to optimize and reform the energy consumption by utilizing different DSM techniques. We classified the DSM schemes available in the literature under various categories including direct load reduction, load scheduling, centralized DSM, decentralized DSM, DSM based on different pricing schemes, DSM based on ECS, DSM based on the HEM system, and DSM based on different optimization approaches. From all of the literature surveys, we deduced that an efficient DSM scheme can optimize the consumer energy consumption through six different perspectives, i.e., electricity bill reduction, social welfare maximization, peak hour demand reduction, generation cost minimization, demand curve flattening, and maximization of consumer satisfaction. Distributed energy resources along with centralized generation play vital roles in achieving the aforementioned objectives of DSM. In the literature, there are various schemes which are used to integrate these distributed generations into the main grid. We discussed the role of DERs in DSM and their impacts on consumers' energy consumption, and we also reviewed different integration techniques. We also outlined some future research directions in the context of DSM in the smart grid. These open research areas included the reliability of the power system and communication networks used in DSM, the security and privacy of consumers, load profile modeling, consumer participation in the DSM schemes, catering for consumers' preferences and priorities, the maximization of DER usage, optimal placement of DERs, and educating the consumers about energy consumption.
Author Contributions: S.A., A.A. and M.N. conceived the idea; The nomenclature of the paper was prepared jointly by S.A., A.A., M.N., W.E., and H.S.K.; Data for the review was collected by S.A., A.A., and M.N.; The in depth review was prepared by consultation with W.E. and H.S.K.; Finally, A.A., M.N., W.E., and H.S.K. reviewed, checked, corrected, and commented on the manuscript. The content of this survey consists of energy management solutions, performance metrics, and optimization objectives associated with energy management and role of the DERs.