Managing the Demand in a Micro Grid Based on Load Shifting with Controllable Devices Using Hybrid WFS2ACSO Technique

: Demand Side Management (DSM) is an effective tool for utilities through reducing the demand of peak load and controlling the utilization of the energy of the system. The implementation of DSM provides beneﬁts for utilities and is proﬁtable for the customers who are involved in this process. DSM based on a load shifting strategy is proposed in this paper by employing various devices to minimize the energy consumption pattern in the system. The proposed hybrid strategy is the joint implementation of the Wingsuit Flying Search Algorithm (WFSA) and Artiﬁcial Cell Swarm Optimization (ACSO). The searching behavior of WFSA is enhanced by ACSO. Hence, it is named the WFS2ACSO technique. The implementation of this load shifting technique was carried out on three different types of loads, these being residential loads, commercial loads, and industrial loads. Two case studies, over summer and winter, were validated to check the feasibility of the test system. The proposed method aimed to achieve the load demand in an effective way for the minimization of bill electriﬁcation, Peak to Average Ratio (PAR), and the consumption of power. The Time-of-Use (TOU) pricing was implemented to calculate the savings in energy bills. The proposed test system of the Micro Grid (MG) was executed on a MATLAB platform with two case studies based on the optimization methods WFSA and WFS2ACSO. Simulation results demonstrated the comparative analysis of electricity cost and peak load with different algorithms and were carried out with and without DSM consideration. The projected DSM methodology achieved considerable savings as the peak load demand of MG decreased. Furthermore, the decrease in PAR levels of 14% in the residential load, 16% in the commercial load, and 10% in the industrial load, with and without the DSM methodology, was presented. The ﬂight length and awareness of probability tuning parameters make the proposed algorithm more effective in obtaining better results. The test results obtained prove the effectiveness of the hybridized algorithm as compared with other trend-setting optimization techniques such as Particle Swarm Optimization (PSO) and Ant Lion Optimization (ALO). Basic Demand Side Management approaches.


Introduction
Within a country, the principal problem for power systems is the effective utilization of power and its distribution. One of the most severe problems is the blackout of electricity due to inappropriate usage or power wastage. This fault exists in the traditional power system. The issue could be solved with the integration of DSM implementation in a future MG [1]. The major problem of the smart grid is the system that has high peak demand value and low time intervals, resulting in further cost burdens to the generating companies. This problem can be reduced by the concept of DSM [2]. DSM provides a solution in managing the peak demand with existing generation capacity [3]. During the electricity rush hour, electricity is distributed equally and in an efficient manner [4]. Electricity distributors DSM is used in the functionalities of an MG in different areas such as electricity market control, the construction of infrastructure and energy resource management, and electric vehicles; therefore, it has a significant impact on MG energy management [9,10]. In [11], the author carried out the scheduling of residential area appliances using a linear programming technique. In [12], the author proposed a heuristic technique to mitigate the integrating issue in the MG by the minimization of the cost of electricity to the customers. Here, the author concentrates on the reduction in cost analysis.
Logenthiran et al. [13] implemented a PSO-based DSM. Bharathi et al. [14] developed a genetic algorithm of DSM (GA-DSM) to achieve a flexible redistribution of loads. The main objective of this research was to diminish energy consumption in the event of an electrical emergency, effectively distributing the power available at a maximum time. Evolutionary techniques pose a solution to DSM-related problems. Khalid et al. [15] provided a Home Energy Management System (HEMS) that is adopted for improving home energy consumption patterns. Here, a Hybrid Bacterial Foraging and Genetic Algorithm were proposed. Furthermore, the Teaching Learning Based Optimization (TLBO) algorithm and other evolutionary algorithms such as flower pollination algorithms are employed in papers [16,17]. The idea of integration between electrical appliances was put forward.
In paper [18], the author implemented the DSM process using Ant Lion Optimization. The simulation results were compared with the PSO algorithm, which provided better results than PSO. Sharma et al. [19] provided a whale optimization heuristic algorithm to reduce the problem. This research demonstrated that on-demand page management approaches depend on planned protection, peak clipping, and load shifting. The DSM is used in the functionalities of an MG in different areas such as electricity market control, the construction of infrastructure and energy resource management, and electric vehicles; therefore, it has a significant impact on MG energy management [9,10]. In [11], the author carried out the scheduling of residential area appliances using a linear programming technique. In [12], the author proposed a heuristic technique to mitigate the integrating issue in the MG by the minimization of the cost of electricity to the customers. Here, the author concentrates on the reduction in cost analysis.
Logenthiran et al. [13] implemented a PSO-based DSM. Bharathi et al. [14] developed a genetic algorithm of DSM (GA-DSM) to achieve a flexible redistribution of loads. The main objective of this research was to diminish energy consumption in the event of an electrical emergency, effectively distributing the power available at a maximum time. Evolutionary techniques pose a solution to DSM-related problems. Khalid et al. [15] provided a Home Energy Management System (HEMS) that is adopted for improving home energy consumption patterns. Here, a Hybrid Bacterial Foraging and Genetic Algorithm were proposed. Furthermore, the Teaching Learning Based Optimization (TLBO) algorithm and other evolutionary algorithms such as flower pollination algorithms are employed in papers [16,17]. The idea of integration between electrical appliances was put forward.
In paper [18], the author implemented the DSM process using Ant Lion Optimization. The simulation results were compared with the PSO algorithm, which provided better results than PSO. Sharma et al. [19] provided a whale optimization heuristic algorithm to reduce the problem. This research demonstrated that on-demand page management approaches depend on planned protection, peak clipping, and load shifting. The simulations were conducted on a test system, which involves the deviation of loads on two service areas. Moreover, the simulation outcomes demonstrated that an advanced demand page management approach provides significant savings by diminishing the peak load requirement of the smart phase. A new optimal bidding strategy has been developed in [20]. Kumar et al. [20,21] proposed a fish swarm optimization for minimizing the cost of power generation and peak load reduction. Padmini et al. [22][23][24] implemented the pricing strategy from the supply side. In this work, the authors framed a novel pricing scheme for estimating the cost of generation by the GENCO in the deregulated market. Covic. N et al. [25] developed a new optimization algorithm called WFSA, which wasinspired bythe popular sport wingsuit flying;it has fewer criteria and converges very quickly. Chaterjee S et al. [26] developed an ACSO algorithm derived through the Artificial Cell Division principle. Latifi, Met al. [27] proposed the integration of renewable energy sources, which effectively address the issues in implementation regarding Demand Side Management. Ahmad et al. [28] implemented a pricing strategy for a comprehensive analysis of DSM. Omar, AI. et al. [29] proposed a hybrid model to reduce the energy consumption in buildings. In papers [30,31], the authors implemented an interrupted charging schedule for the minimization of the charging costs. Biswajit Sarkar et al. [32] developed an optimization model for the minimization of carbon emissions with the simultaneous reduction in bioenergy production cost. Vandana et al. [33] presented a credit policy for the minimization of product cost and carbon emissions. Table 1 depicts the different contributions from researchers regardingDSM, as shown below.  • The technique adopted in this paper is proposed with WFSA and the hybrid WFS2ACSO optimization technique, which has not been contributed by other researchers. This study highlights the embodiment of a hybrid optimization technique along with a load shifting strategy that can prove beneficial to customers in residential, commercial, and industrial load areas with the inclusion of both shiftable and non-shiftable loads.
The objectives of the proposed work as follows: • Analysis of Demand Side Management with regard to summer and winter seasons considering residential, commercial, and industrial loads with the incorporation of WFSA and the hybrid WFS2ACSO optimization technique was formulated.

•
The validation of minimization on bill electrification, Peak to Average Ratio (PAR), and power consumption with and without applying DSM was performed using WFSA and the hybrid WFS2ACSO optimization technique. • A comparative analysis of PAR was proposed for both summer and winter.
The rest of the manuscript's sections are as follows below. Section 2 explains the modeling of DSM in a smart grid with a proposed strategy. Section 3 delineates the proposed hybrid approach of Wingsuit Flying Search Algorithm (WFSA) and Artificial Cell Swarm Optimization (ACSO). Section 4 defines the considered test system. Section 5 providesthe clear-cut picture of the proposed approach in terms of result comparison with existing systems.

Problem Formulation
Here, the DSM technique is presented for the MG system. DSM acts as a primary technique, known as load shifting. The main aim of DSM is to increase the utilization of RES, increase the economic advantage, and reduce the peak load requirement. Based on the target of DSM, the MG manager configures a goal of a load curve. The main purpose of the work is to adjust the load curve nearest to the possible target load curve. Market price and electricity bill minimization are inversely proportional. Hence, in accordance with this criterion, a suitable objective load curve is chosen. Control methods are required if loads are additionallyadded. Therefore, the present technique is extensible because it is entirely independent of the criterion used for producing the target load curve. DSM takes place in the initialization of a predefined control period, usually for one day. Figure 2 demonstrates the overview of DSM in an MG.

Problem Formulation of DSM
DSM approach programs are based on the connection times of every flexible device on a forum that matches the objective curve closer to the target curve. The objective equation is shown in Equation (1) [13].

Problem Formulation of DSM
DSM approach programs are based on the connection times of every flexible device on a forum that matches the objective curve closer to the target curve. The objective equation is shown in Equation (1) [13].
From the previous equation, the goal curve in time m is denoted as the value expressed as objective (m); the actual usage in time m is stated as P load (m). The P load (m) is stated as follows: From Equation (2), the forecasted consumption time is expressed as forecast (m). During the period of load shifting, the amount of connected load and disconnected load in time m is denoted as connect (m) and disconnect (m), respectively.
The connect (m) is classified into two sections: (1) the increase in load at the connection time of device changed to time m; (2) the increase in load at the connection time of device arranged that proceed on time m. The connect (m) is expressed as follows: Here, the quantity of devices at kind k is expressed as x kim , which is moved from step time i to m. The number of types of devices is denoted as d, the power consumptions are Energies 2022, 15, 790 7 of 25 expressed as P 1k and P (1+l)k . Device type k is expressed as 1 + l, the consumption of total duration for devices k is stated as j.
The disconnect(m). is also classified into two sections: (1) the decrease in load based on the connection of delay time devices and start to consumption at time m; (2) the decrease inload for delaying at connection times of devices, which is predicted to begin its consumption at time steps that precede t. The disconnect(m). is expressed as follows [31]: From the above equation, the quantity of devices is expressed as x ktq at type k, the highest amount of delay is expressed as m.

Minimization Function
The load i is the initial load curve. This curve should be modified as per the objective curve after submission of DSM evaluated as the load curve provided from the load. Then, the goals are as below: where the highest peak of the final load curve is expressed as F 1 and is necessary to be reduced with function F 2 . The function F is represented to update the final load curve and to rectify the reduction issues.
Here, RLM refers to the Reducible Load Margin calculated at each hour.
From the previous equation, the marginal load is deducted or added in whole or in part to the predicted load curve in diverse times, bringing it as near as possible to the target curve [32].

Constraints
From the above minimization function, the following constraints are developed, which are expressed as follows.
At any moment, the number of devices of any kind to be moved will forever be positive.
x kh > 0 ∀k, h At any moment, the number of devices to be moved cannot be greater than the available number of controllable devices of that exacting device.
From the above equation, the total number of the devices accessible for the control of type misstated as controllable (k).
The consumers require a reduction in electricity bill costs. The goals of different groups should be in conflict, and a better way for providing them to fulfill the objective with optimal solutions. Furthermore, the decisions of the decision-maker also should be taken into consideration [13].

Calculation of Controllable Devices
In DSM, the total number of controllable devices is one of the utmost valuable things. Based on the duration time, the devices are connected to operate what are known as nonshiftable devices such as refrigerators, TVs, and so on. Devices that are flexible over the time duration are known as shiftable devices, such as the washing machine, dryer, dishwasher, and so on. Based on three areas, shiftable devices were used for DSM performance.
According to several controllable devices in the MG, the three areas' devices were evaluated, expressed as follows: (1) Residential area: In the residential area, controllable devices are very low for load control based on the ratings of power consumption, and the load of home appliances is very low, such as for the washing machine, dishwasher, EV home charger, and so on. (2) Commercial area: Here, the equipment is quite high in comparison with the residential load. This includes devices such as the coffee maker, water dispenser, and so on. (3) Industrial area: In the industrial area, the ratings of power consumption are at maximum, with a minimum number of controllable devices, such as the welding machine, water heater, etc. In this area, the operating conditions are also high compared to other areas.

Proposed WFS2ACSO Technique Approach
In this research paper, a DSM approach for MG is proposed. This approach depends on a load shifting system that candeal with a huge number of devices of various methods. All devices request the central programmer to run the job, and the programmer creates the decision regarding the status of devices in a definite time.
The Wingsuit Flying Search Algorithm (WFSA) [25] is a metaheuristic algorithm with free parameters, practically speaking. It depends on lean technology in the execution of reaching the perfect output globally.
The Artificial Cell Swarm Optimization (ACSO) [26] is a robust and powerful metaheuristic swarm-based optimization approach. It is inspired by biological, living cells. It can easily identify a cell organization in the ways that the transport of dissimilar parts among cells is reduced. The proposed hybrid system is the joint implementation of WFSA and ACSO. The searching behavior of WFSA is enhanced by ACSO, and hence it is named the WFS2ACSO technique for the minimization of electricity bills, power consumption, and PAR. The algorithm mimics a flyer's intention to land as low as probable on the Earth's surface in range. It has virtually few parameters, such as the size of the population and the maximum representation of iterations. The proposed model was implemented on MATLAB/Simulink and simulation studies were conducted in the MG that had dissimilar types of clients through many loads.

WFS2ACSO Algorithm Steps
Step 1: Initialization of dimensions, number of search agents, max iterations, upper boundary, lower boundary, awareness probability, and flight length.
Step 2: Random generation of population or positions for the parameters at the input are arbitrarily created using below matrix X.
Energies 2022, 15, 790 9 of 25 From the above equation, the Demand Side Management is represented as P 11 (t).
Step 3: Objective function relates to an evaluation of fitness as expressed in Equation (1).
Step 4: Position updating using ACSO After the calculation of the fitness function, update the positions of the cell swarms using Equation (13): where X new is the new position, X is the current position, X k is the best position in the local search, fl is the flight length, and r is the random number between [0, 1].
Step 5: Calculation of successor distance After the calculation, the successor distance is evaluated in order to divide the range of parent cells. The successor distance will be changed at each generation.
For where the (i + 1)th cell yields a superior assessment with regard to the preceding propagation.
For where the (i + 1)th cell yields a superior assessment with regard to the preceding propagation.
where δ i is the successor distance change, r d is the decrement rate, and r i is the increment rate.
Step 6: Calculation of life of cell The child cell of the next generation will move into parent life, then, the parent cell suffers based on fitness value and their life will stay as equal or it will be reduced per unit.
For where the (i + 1)th cell yields a superior assessment with respect to the preceding propagation.
li f e i+1 = li f e i For where the (i + 1)th cell yields a superior assessment with respect to the preceding propagation.
li f e i+1 = li f e i − 1 (17) Step 7: Stopping criteria If iter < iter_max, then return the best achievement of the population as the optimal solution. A flowchart mimicking this algorithm is shown in Figure 3.
A simple numerical illustration of WFS2ACSO (hybrid of Wingsuit Flying Search Algorithm (WFSA) and Artificial Cell Swarm Optimization (ACSO)) is presented.
Consider the simple objective function The fitness value obtained is f(x h,i ) = 0.32. Now, the above fitness function of WFS2ACSO is applied as X l = 0.4 and X u = 0.4, rand is 0.5, and fl is 2. Then, f(x h,i ) = 0.4. Then, the updated value is taken as x h,i = (0.3, 0.4). Thus, the new fitness value is f(x h+1,i ) = 0.25. Thereafter, from the fitness function of WSF2ACSO, . This infers that the new fitness value is replaced with the old fitness value.
In the case of the Ant Lion algorithm, the disorderly walk of the ants leads to multiple local minima instead of global minima. The WFSA algorithm proves its validity by the incorporation of a minimum tuning parameter of flight length. Therefore, this mutation process is further enhanced by the awareness of probability in Artificial Cell Swarm Optimization. Thus, this WFS2ACSO hybridization yields a better result when compared with the other trend-setting algorithms such as PSO and Ant Lion algorithm, as portrayed in the literature.  , . This infers that the new fitness value is replaced with the old fitness value.
In the case of the Ant Lion algorithm, the disorderly walk of the ants leads to multiple local minima instead of global minima. The WFSA algorithm proves its validity by the incorporation of a minimum tuning parameter of flight length. Therefore, this mutation process is further enhanced by the awareness of probability in Artificial Cell Swarm Optimization. Thus, this WFS2ACSO hybridization yields a better result when compared with the other trend-setting algorithms such as PSO and Ant Lion algorithm, as portrayed in the literature.

Details of the Test System
The proposed experimental system is a test case of an MG [13] comprising residential, commercial, and industrial loads. The forecasted load demands of all three areas are shown in Figure 4. In this paper, the daily load plan was taken from 8 o'clock in the morning of the present day while considering the adjacent day for analyzing the active peak Calculation of successor distance using eqn. (15) and (16) Calculation of life of cell using eqn. (17) and (18) i-i+1

Details of the Test System
The proposed experimental system is a test case of an MG [13] comprising residential, commercial, and industrial loads. The forecasted load demands of all three areas are shown in Figure 4. In this paper, the daily load plan was taken from 8 o'clock in the morning of the present day while considering the adjacent day for analyzing the active peak load changing process. The details of all the three area loads are provided in Tables 2-4. Table 5 shows the tariff for all three areas.  Tables 2-4.  Table 5 shows the tariff for all three areas.    Washing machine 400 6 Mixie 500 7 Iron box 750 8 Grinder 300 9 Motor 740 Chilling plant 1200

Results and Discussions
In this section, a DSM approach proposed for an MG is presented. The proposed hybrid approach is the joint implementation of the Wingsuit Flying Search Algorithm (WFSA) and Artificial Cell Swarm Optimization (ACSO). The searching behavior of WFSA is enhanced by ACSO and, hence, it is named the WFS2ACSO technique. The WFS2ACSO technique is used for the reduction in electricity bills, power consumption, and PAR. The proposed model is implemented with the MATLAB-Simulink software package. Simulation studies were carried out for an MG with two case studies, during summer and winter, which consisted of dissimilar kinds of clients with a huge number of loads.
Case 1: Performance of system parameters for residential area, commercial area, and industrial area under summer conditions.
Here, the energy bill of utility, peak load, and PAR was reduced using the proposed WFS2ACSO applied on three different areas of the MG.
The demand curves of the different individual areas are shown in Figures 5-7. In the residential area, during the morning hours, the peak demand was2000 Watts, and demand was reduced during afternoon hours. In the commercial area, during the morning hours, peak demand was around 1500 Watts, and many of the loads were operating during morning hours. In the industrial area, the peak demand was around 800 Watts, and the operating hours of the loads varied throughout the day.       Figure 8, the fan operated for a maximum duration and the iron box operated for a minimum duration, while the rest of the devices operated according to the requirement of the user in the residential area. From Figure 9, the air conditioner operated during the nights in the summer, while the rest of the devices operated according to the requirement of the customer in the commercial area. From Figure 10, the fan/AC had the maximum operating hours and the DC motor had the minimum operating hours.        The different load curves of the forecasted objective and load that shifted after DSM with peak load reduction are shown in Figures 11-13. In the residential area, the peak load 0     The different load curves of the forecasted objective and load that shifted after DSM with peak load reduction are shown in Figures 11-13. In the residential area, the peak load 0  The different load curves of the forecasted objective and load that shifted after DSM with peak load reduction are shown in Figures 11-13. In the residential area, the peak load was deviated from 2400 W to 2300 W after shifting some of the devices to the off-peak hours to optimize the system; there was a peak reduction of 4.16% of the load. In the commercial area, the load was reduced from 4985 W to 4290 W by shifting the shiftable loads, such as the dryer, kettle, and oven, to off-peak hours; there was a peak reduction of 14.01% of the load. In the industrial area, the load was reduced from 6868 W to 5487 watts by shifting the welding machine, water heater, and boiler to the off-peak hours; there was a peak reduction of 20.1% of the load. was deviated from 2400 W to 2300 W after shifting some of the devices to the off-peak hours to optimize the system; there was a peak reduction of 4.16% of the load. In the commercial area, the load was reduced from 4985 W to 4290 W by shifting the shiftable loads, such as the dryer, kettle, and oven, to off-peak hours; there was a peak reduction of 14.01% of the load. In the industrial area, the load was reduced from 6868 W to 5487 watts by shifting the welding machine, water heater, and boiler to the off-peak hours; there was a peak reduction of 20.1% of the load.  The utility electricity bill curves of the three areas compared with various algorithms are shown in Figures 14-16. By the proposed technique, the reduction in the single-day electricity bill of the residential zone was from USD$2689.32 to USD 2427.32; there was a substantial cost saving of 9.74% in the summer. The reduction in the single-day electricity bill of the commercial zone was from USD 7301.2 to USD 6465.81 during the summer, with a cost saving of 13.74%. The reduction in the single-day electricity bill of the industrial zone was from USD 11,853.43 to USD 10,259.82; there was a cost saving of 13.44%.  The utility electricity bill curves of the three areas compared with various algorithms are shown in Figures 14-16. By the proposed technique, the reduction in the single-day electricity bill of the residential zone was from USD$2689.32 to USD 2427.32; there was a substantial cost saving of 9.74% in the summer. The reduction in the single-day electricity bill of the commercial zone was from USD 7301.2 to USD 6465.81 during the summer, with a cost saving of 13.74%. The reduction in the single-day electricity bill of the industrial zone was from USD 11,853.43 to USD 10,259.82; there was a cost saving of 13.44%. The utility electricity bill curves of the three areas compared with various algorithms are shown in Figures 14-16. By the proposed technique, the reduction in the single-day electricity bill of the residential zone was from USD$2689.32 to USD 2427.32; there was a substantial cost saving of 9.74% in the summer. The reduction in the single-day electricity bill of the commercial zone was from USD 7301.2 to USD 6465.81 during the summer, with a cost saving of 13.74%. The reduction in the single-day electricity bill of the industrial zone was from USD 11,853.43 to USD 10,259.82; there was a cost saving of 13.44%.    Case 2: Performance of system parameters for residential area, commercial area, and industrial area under winter conditions.
Here, the electricity bill cost, peak load, and PAR were reduced with the proposed WFS2ACSO, which was tested on three zones of the smart grid.
The demand curve of the different individual areas is shown in Figures 17-19. In the residential area, during morning hours, the peak demand was1000 Watts, and the demand was reduced during afternoon hours. In the commercial area, the peak demand was around 4000 Watts, and many of the loads were operating during morning hours. In the industrial area, the peak demand was around 6000 Watts, and the operating hours of the loads varied throughout the day.  Case 2: Performance of system parameters for residential area, commercial area, and industrial area under winter conditions.
Here, the electricity bill cost, peak load, and PAR were reduced with the proposed WFS2ACSO, which was tested on three zones of the smart grid.
The demand curve of the different individual areas is shown in Figures 17-19. In the residential area, during morning hours, the peak demand was1000 Watts, and the demand was reduced during afternoon hours. In the commercial area, the peak demand was around 4000 Watts, and many of the loads were operating during morning hours. In the industrial area, the peak demand was around 6000 Watts, and the operating hours of the loads varied throughout the day. Case 2: Performance of system parameters for residential area, commercial area, and industrial area under winter conditions.
Here, the electricity bill cost, peak load, and PAR were reduced with the proposed WFS2ACSO, which was tested on three zones of the smart grid.
The demand curve of the different individual areas is shown in Figures 17-19. In the residential area, during morning hours, the peak demand was1000 Watts, and the demand was reduced during afternoon hours. In the commercial area, the peak demand was around 4000 Watts, and many of the loads were operating during morning hours. In the industrial area, the peak demand was around 6000 Watts, and the operating hours of the loads varied throughout the day.       Figure 20, in the residential area, the fan operated for the maximum duration and the iron box operated for the minimum duration, while the rest of the devices operated according to the requirement of the user. From Figure 21, in the commercial area, the air conditioner operated during the nights in the summer, while the rest of the devices operated according to the requirement of the customer. From Figure 22, the fan/AC had the maximum operating hours and the DC motor had the minimum operating hours.    The different load curves of the forecasted objective and load that shifted after DSM with peak load minimization are shown in Figures 23-25. In the residential area, the peak load was deviated from 2400 W to 2200 W after shifting some of the devices to the off-     The different load curves of the forecasted objective and load that shifted after DSM with peak load minimization are shown in Figures 23-25. In the residential area, the peak load was deviated from 2400 W to 2200 W after shifting some of the devices to the off-  The different load curves of the forecasted objective and load that shifted after DSM with peak load minimization are shown in  In the residential area, the peak load was deviated from 2400 W to 2200 W after shifting some of the devices to the off-peak hours to optimize the system; there was a peak reduction of 9.09% of the load. In the commercial area, the load was reduced from 4985 W to 4290 W by shifting the shiftable loads, such as the dryer, kettle, and oven, to off-peak hours; there was a peak reduction of 14.01%. In the industrial area, the load was reduced from 6524 W to 5120 W by shifting the shift able loads, such as the boiler, to off-peak hours; there was a peak reduction of 21.52%. peak hours to optimize the system; there was a peak reduction of 9.09% of the load. In the commercial area, the load was reduced from 4985 W to 4290 W by shifting the shiftable loads, such as the dryer, kettle, and oven, to off-peak hours; there was a peak reduction of 14.01%. In the industrial area, the load was reduced from 6524 W to 5120 W by shifting the shift able loads, such as the boiler, to off-peak hours; there was a peak reduction of 21.52%.  The utility electricity bill curves of three areas were compared with various algorithms, as shown in . By the proposed technique, the reduction in the singleday electricity bill of the residential zone was from USD 2663.19 to USD 2297.02; there was a substantial cost saving of 13.74% in the winter. The reduction in the single-day electricity bill in the commercial zone was from USD 7034.23 to USD 6159.59 in the winter with a cost saving of 12.43%. The reduction in the single-day electricity bill of the industrial zone was from USD 10,796.65 to USD 9144.54; there was a cost saving of 15.30%.  The utility electricity bill curves of three areas were compared with various algorithms, as shown in . By the proposed technique, the reduction in the single-day electricity bill of the residential zone was from USD 2663.19 to USD 2297.02; there was a substantial cost saving of 13.74% in the winter. The reduction in the single-day electricity bill in the commercial zone was from USD 7034.23 to USD 6159.59 in the winter with a cost saving of 12.43%. The reduction in the single-day electricity bill of the industrial zone was from USD 10,796.65 to USD 9144.54; there was a cost saving of 15.30%. The utility electricity bill curves of three areas were compared with various algorithms, as shown in . By the proposed technique, the reduction in the singleday electricity bill of the residential zone was from USD 2663.19 to USD 2297.02; there was a substantial cost saving of 13.74% in the winter. The reduction in the single-day electricity bill in the commercial zone was from USD 7034.23 to USD 6159.59 in the winter with a cost saving of 12.43%. The reduction in the single-day electricity bill of the industrial zone was from USD 10,796.65 to USD 9144.54; there was a cost saving of 15.30%.     Table 6 shows the comparison of the percentage cost reduction for different optimization methods for the residential load. Table 7 shows the comparison of the percentage cost reduction for different optimization methods for the commercial load. Table 8 shows the comparison of the percentage cost reduction for different optimization methods for the industrial load.    Table 6 shows the comparison of the percentage cost reduction for different optimization methods for the residential load. Table 7 shows the comparison of the percentage cost reduction for different optimization methods for the commercial load. Table 8 shows the comparison of the percentage cost reduction for different optimization methods for the industrial load.   Table 6 shows the comparison of the percentage cost reduction for different optimization methods for the residential load. Table 7 shows the comparison of the percentage cost reduction for different optimization methods for the commercial load. Table 8 shows the comparison of the percentage cost reduction for different optimization methods for the industrial load.  Table 9 shows the comparison of electricity bill reductions using various techniques. According to the simulation results, the results obtained from the WFS2ACSO algorithm are the best when compared to WFSA, ALO, and PSO. In comparison with the proposed technique, the reduction in the single-day electricity bill of the residential zone was 9.74% in the summer and 13.74% in the winter. The reduction in the single-day electricity bill of the commercial zone was 11.44% in the summer and 12.43% in the winter. Similarly, the reduction in the single-day electricity bill in the industrial zone was 13.44% in the summer and 15.30% in the winter.  Table 10 shows the output results of the comparison of peak demand reduction in residential, commercial, and industrial areas in the summer. In the residential area, there was a deviation of the load from 2400 W without DSM to 2300 W with DSM after shifting the required number of devices to the off-peak hours. In the commercial area, the load was reduced from 4985 W without DSM to 4290 W with DSM, and in the industrial area, the load was reduced from 6868 W without DSM to 5487 watts with DSM.  Table 11 shows the output results of the comparison of peak demand reduction in three different zones of the MG in the winter. The load reduction in the residential zone was minimized from 2400 W to 2200 W. The load reduction in the commercial zone was minimized from 4985 W to 4290 W, and in the industrial area, the load was reduced from 6524 W to 5120 W.  Table 12 shows the Peak to Average Ratio comparison of the three areas. In the residential area, the reduction in PAR was from 1.924 to 1.657; in the commercial area, the PAR reduction was from 1.854 to 1.564; and in the industrial area, the PAR was reduced from 1.754 to 1.587. Decreasing the peak load demand enhances grid sustainability by reducing the overall cost and carbon emission levels. According to the above simulation results, the WFS2ACSO algorithm provides the best results when compared to WFSA, ALO, and PSO for minimizing the electricity bills, peak load reduction, and PAR. In the residential area, there was a cost saving of 9.74% in the peak load reduction of 100 Watts in the summer, and there was a cost saving of 13.74% in the peak load reduction of 200 Watts in thewinter. In the commercial area, there was a cost saving of 11.44% in the peak load reduction of 695 Watts in the summer, and there was a cost saving of 12.43% in the peak load reduction of 695 Watts in thewinter. In the industrial area, there was a cost saving of 13.44% in the peak load reduction of 1381 Watts in the summer, and there was a cost saving of 15.30% in the peak load reduction of 1404 Watts in the winter.

Conclusions
The DSM strategy in the MG system using the WFS2ACSO technique was presented in this paper. At the distribution grid level, DSM has the possibility of providing numerous advantages to all MGs. The proposed technique in a global system depends on load displacement created mathematically for reduction issues. Thus, the WFS2ACSO technique was found to be very effective for the reduction in electricity bills, PAR, and power consumption. The daily load change method presented in this manuscript was mathematically created from reduction issues. The WFS2ACSO technique was utilized for defusing the minimization issues. The proposed method performed in an MG had several loads at three service areas: a residential area, commercial area, and industrial area. The simulation outcomes demonstrated that the DSM approach reaches substantial savings by decreasing the peak load demand of the MG. The proposed model was executed on a MATLAB/Simulink platform based on two case studies using an existing system. By using the proposed methodology, the performance of the system increased due to the coordinating demand-side load ofthe MG and was successfully and efficiently utilized.

Conflicts of Interest:
The authors declare no conflict of interest.