Next Article in Journal
SenseHunger: Machine Learning Approach to Hunger Detection Using Wearable Sensors
Next Article in Special Issue
Machine-Learning-Assisted Cyclostationary Spectral Analysis for Joint Signal Classification and Jammer Detection at the Physical Layer of Cognitive Radio
Previous Article in Journal
Microsoft HoloLens 2 in Medical and Healthcare Context: State of the Art and Future Prospects
Previous Article in Special Issue
The Use of Computational Geometry Techniques to Resolve the Issues of Coverage and Connectivity in Wireless Sensor Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Bilevel Optimization Model Based on Edge Computing for Microgrid

1
College of Electronic Engineering, Chengdu University of Information Technology, Chengdu 610225, China
2
School of Aeronautics and Astronautics, University of Electronic Science and Technology of China, Chengdu 611731, China
3
CMA Key Laboratory of Atmospheric Sounding, Chengdu 610225, China
4
College of Technological Innovation, Zayed University, Abu Dhabi 144534, United Arab Emirates
5
College of Communication Engineering, Chengdu University of Information Technology, Chengdu 610225, China
6
Department of Applied Data Science, San Jose State University, San Jose, CA 95192, USA
7
China Mobile (Chengdu) Industrial Research, Chengdu 610041, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(20), 7710; https://doi.org/10.3390/s22207710
Submission received: 23 July 2022 / Revised: 10 September 2022 / Accepted: 13 September 2022 / Published: 11 October 2022
(This article belongs to the Special Issue Security and Privacy in Wireless Communications and Networking)

Abstract

:
With the continuous progress of renewable energy technology and the large-scale construction of microgrids, the architecture of power systems is becoming increasingly complex and huge. In order to achieve efficient and low-delay data processing and meet the needs of smart grid users, emerging smart energy systems are often deployed at the edge of the power grid, and edge computing modules are integrated into the microgrids system, so as to realize the cost-optimal control decision of the microgrids under the condition of load balancing. Therefore, this paper presents a bilevel optimization control model, which is divided into an upper-level optimal control module and a lower-level optimal control module. The purpose of the two-layer optimization modules is to optimize the cost of the power distribution of microgrids. The function of the upper-level optimal control module is to set decision variables for the lower-level module, while the function of the lower-level module is to find the optimal solution by mathematical methods on the basis of the upper-level and then feed back the optimal solution to the upper-layer. The upper-level and lower-level modules affect system decisions together. Finally, the feasibility of the bilevel optimization model is demonstrated by experiments.

1. Introduction

With the vigorous development of renewable energy, the power system structure is becoming increasingly complex and huge, the number of distributed power resources in the distribution network is increasing, and the terminals on the microgrid user side are also various [1,2,3]. The traditional power purchase mode of distribution users in the main network is not adequate for the current power requirements [4,5,6]. In order to adapt to the new situation of continuous development and change, an intelligent microgrid consisting of photovoltaic power generation, a combined cooling heating and power system, an energy storage system and a response load is suggested in the literature [7]. In the microgrid, electrical energy is transmitted in both directions. That is, the electrical energy, according to the actual situation and demand, is able to be effectively transferred to the transmission network; it is not just a one-way transmission [8].
A common smart microgrid is an independent system composed of small-scale power generation and distribution systems, as shown in Figure 1, where the distribution system is composed of a distributed generation unit, energy storage, energy converter, related loads, monitoring and protection. The microgrid is usually deployed on the user side, which can avoid voltage instability, blackouts and other trouble [5]. The microgrid usually needs to be connected to the main power grid system through connecting lines. With the addition of various microgrids, the power system architecture has become increasingly complex and huge [6], which not only raises the complexity of equipment deployment and system configuration, but also increases their cost.
Nowadays, with the access to a large number of terminals and the emergence of more users on the demand side, the data flow between electrical equipment terminals and monitoring and control centers, enterprises and power users as well as mobile terminals is growing rapidly [9,10,11,12]. Faced with these new power services and massive data, traditional relational databases have been unable to meet the requirements of efficient data processing. How to improve the efficiency of data processing and power distribution while ensuring the safe and stable operation of the entire power system has been widely valued in the industry [13,14,15,16].
In the deployment process of data processing, computing resources can be deployed simultaneously in the cloud and at the edge of the network, while edge computing is a new computing system and technology that sinks its computing power from the former to the latter to achieve real-time business, efficient data processing, application intelligence, security and privacy protection [17,18,19].
Edge computing has the advantages of a low latency, real-time and efficient data processing capacity [20], data security and privacy protection, personalized configuration and localized processing. It also meets the different application needs of power grid intelligence. Therefore, this paper proposes a bilevel optimization model for microgrid users based on edge computing, which is divided into an upper-level module and a lower-level module. The purpose of the bilevel optimization model is to optimize the power distribution of the microgrid. The decision variables of the microgrid are set in the upper-level module while the optimal solution of the upper-level module is calculated through mathematical methods in the lower-level module. The optimal solution is also fed back to the upper-level module and influences the decision variables. The upper-level and the lower-level affect each other. The combined modules determine the cost-optimal control decision of the microgrid under the load balance condition.
The contributions of this paper are summarized as follows:
  • We put forward a bilevel optimization model, aiming to realize the cost-optimal control decision under the condition of load balancing for microgrid users. The model consists of an upper-level module and a lower-level module.
  • We introduce the modeling process of both the upper-level module and the lower-level module and the model solution procedure in detail. The purpose on the two-layer optimization modules is to optimize the cost of power distribution of microgrids.
  • Extensive simulations are conducted to demonstrate the proposed bilevel optimization model. The results indicate that the proposed model is feasible for the control decision of power distribution of microgrid users.
The remainder of the paper is organized as follows. Section 2 describes the background knowledge of the Dijkstra algorithm. Section 3 illustrates the presented bilevel optimization model in detail. Section 4 introduces the model solution procedure. The experimental results obtained from simulation are given in Section 5. Finally, the paper is concluded in Section 6.

2. Background

2.1. Dijkstra Algorithm

Inspired by the idea of the greedy algorithm, the Dijkstra algorithm is widely used to obtain the optimal solution of the shortest route problem [21]. The Dijkstra algorithm needs to calculate the shortest distance between all user nodes. The details are as follows.
  • First, the parameters are initialized: start node i = 1 , 2 , 3 n , destination node j = 1 , 2 , 3 n , intermediate variable d i , j = l i , j , where d i , j represents the intermediate value of the shortest distance solution process and l i , j denotes the distance between adjacent nodes i and j. If the two nodes are nonadjacent, set l i , j = + . Initialize m i , j = + , where i j and m i , j is the shortest distance from node i to node j. This shortest distance includes the distances passing through intermediate nodes.
  • Second, compare all distances between adjacent nodes i and j ( i j ) and let m i , j = m i n { d i , j } , where j = 1 , 2 , 3 n .
    For all j = 1 , 2 , 3 n , if d i , j = m i , j + , set N i , j = j , where N i , j is an intermediate variable. N i , j = j indicates that the node j has been compared with node i.
    For all j = 1 , 2 , 3 n , if N i , j j , let d i , j = m i n { m i , k + l k , i , d i , j } , where intermediate node k = 1 , 2 , 3 n , m i , k is the shortest distance from node i to node k and l k , i denotes the distance from intermediate node k to the adjacent node i.
  • Next, judge whether all N i , j = j , where j = 1 , 2 , 3 n . If not, recompare all new distances l i , j except the distance of node N i , j . Otherwise, check whether i is more than or equal to n. If so, the algorithm ends; if not, let i = i + 1 and reinitialize the parameters: d i , j = l i , j , m i , j = + , where j = 1 , 2 , 3 n and i j . Then, continue to execute the algorithm.

3. Bilevel Optimization Model

To realize cost-optimal microgrid control decisions under load balance, a bilevel optimization model for a microgrid is put forward in this paper, as shown in Figure 2. The upper-level module mainly establishes the electricity consumption behavior model of microgrid users according to the users’ behavior parameters such as electricity consumption, electricity sale, electricity transmission, electricity consumption time and so on. It considers the comprehensive cost in the process of power grid planning, and then the selection of microgrid nodes is analyzed from the perspective of economic indicators. The lower-level module is mainly to find the optimal solution for the path selection in the network [22,23].
In the bilevel optimization model, the upper-level and lower-level modules are interconnected through intermediate variables, and each module has its own objective function and constraints. The two-layer optimization modules are modeled as follows:
min F = F α i n v , s s . t G α i n v < = 0 H α i n v = 0
where F ( · ) is the upper-level objective function, α i n v and s are the decision variables of the upper-level module, with the caveat that s is affected by the lower-level module, and G ( · ) and H ( · ) represent the inequalities and constraints of the upper-level module, respectively.
The lower-level module is modeled as follows:
min s = f α i nv , α n d s . t g α i nv , α n d < = 0 h α i nv , α n d = 0
where s ( · ) represents the lower-level objective function, α i n v and α n d are the decision variables of the lower-level module, with the caveat that α i n v is affected by the upper-level module, and g ( · ) and h ( · ) denote the inequalities and constraints of the lower-level module, respectively.
The overall objective function is shown in Equation (3):
min J F t o t a l = λ 1 f 1 + λ 2 f 2 + λ n f n
where λ 1 , λ 2 , , λ n are weight ratios from 0 to 1 and λ 1 + λ 2 + + λ n = 1 . The value of λ 1 , λ 2 , , λ n is changed by decision-makers according to the emphasis of different objectives.
The purpose of the two-level optimization modules is to optimize the power distribution of the microgrid users. The upper-level module sets the decision variables for the lower-level module. The upper-level module needs to calculate the weight ratio between the attribute values of the microgrid users so that the optimal solution is able to be found in the lower-level optimization module. After the optimal solution is fed back to the upper-level module, it also affects the decision variables simultaneously. The upper-level and lower-level modules influence each other.

3.1. Upper-Level Module

The upper-level module is based on the optimization of the comprehensive cost of power distribution at the user node of the microgrid as the objective function, involving parameters of the cost of purchasing electricity, the cost of selling electricity and the cost of electricity transmission. Taking into account the attributes of each user node graph in the microgrid [24] and the economic benefits of the operation of the distribution network [25], the upper-level objective function is represented in Equation (4):
min F total = C S A + C S T + C T R
where F t o t a l is the comprehensive cost of the distribution network, C S A is the electricity purchasing cost between consumers, C S T is the electricity selling cost and C T R is the electricity transmission cost. The details are as follows.
  • The electricity purchasing cost for consumers is represented in Equation (5):
    C S A = τ t E t p r P τ
    where E t p r is the electricity price at time t and P τ is the exchange power between different microgrids in the τ ( τ = 1 , 2 , 3 , 4 ) season.
  • The electricity selling cost is defined in Equation (6):
    C S T = τ t E t p r P t p v + Δ P t p v
    where E t p r is the electricity price at time t, P t p v is the photovoltaic power generation at time t and Δ P t p v is the deviation value of photovoltaic power generation at time t.
  • The transmission cost is demonstrated in Equation (7):
    C T R = W f r e W s r e W f r e t γ
    where W s r e is the value of the meter on the input side, W f r e is the value of the meter on the output side and γ is the normalization factor.
In addition, the two-level optimization model in the distribution network should also meet the following series of equations and constraints.
  • The line power constraint is defined in Equation (8):
    0 P K P M A X
    where P K is the line power and P M A X is the maximum allowable line power, which is a fixed value determined when the transmission line is constructed.
  • The electric power constraint of the microgrid is shown in Equation (9):
    P E = P M _ A + P C H + P R E G _ s e l f + P C T
    where P E is the electrical power output of the microgrid, P M _ A is the purchased power of the consumers, P C H is the amount of electricity converted by the photovoltaic inverter, P R E G _ s e l f is the self-consumption of microgrid distributed renewable energy and P C T is power consumption.
  • The microgrid price constraint is presented in Equation (10):
    E t p r _ m i n < E t p r < E t p r _ m a x
    where E t p r _ m i n and E t p r _ m a x are the upper and lower limits of the electricity price, respectively.
  • The microgrid cost constraint is defined in Equation (11).
    C T R = η a 0 E t p r E t p r E t p r _ m i n , E t p r _ m e d η a 1 × E t p r E t p r E t p r _ m e d , E t p r _ m a x
    We see that if the electricity price is less than E p r t _ m e d , the electricity price is inversely proportional to the transmission cost, and the higher the electricity price, the lower the transmission cost. If the electricity price is greater than E p r t _ m e d , the electricity price is directly proportional to the transmission cost, and the higher the electricity price, the higher the transmission cost.

3.2. Lower-Level Module

The main consideration in the upper-level optimal control module was the comprehensive cost. It mainly analyzed the selection of microgrid nodes from the economic indicators. While in the lower-level module, the main goal is to calculate the optimal solution of the path selection through the graph-based path-search algorithm.
  • After the modeling and operation of the upper-level module, we obtain the weight values between the microgrid user nodes. Then, these weight values are combined into a digraph matrix. The lower-level objective function is defined in Equation (12).
    min s = l i j
    where l i j is an element of the digraph matrix that represents the weight between the microgrid user nodes. l i j is obtained via Equation (3). The digraph matrix is as follows:
    Γ = l 1 , 1 l 1 , 2 l 1 , n l 2 , 1 l 2 , 2 l 2 , n l n , 1 l n , 2 l n , n
  • The corresponding lower-level constraints are as follow (14):
    Γ = 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1 0 / 1
    where “ 0 / 1 ” represents whether the edge of the node of the directed graph exists, which constitutes a constraint graph.

4. Model Solution

First, according to the original data of microgrid users, the electricity purchasing cost, electricity selling cost, electricity transmission cost and other parameter values are calculated, and then they are normalized. Second, the optimal solution of the upper model and the weight proportion of each power price parameter is calculated. Next, the optimal solution is obtained through Dijkstra’s algorithm [21,26,27], and finally the optimal distribution scheme is given.
The normalization equation is defined as (15).
x = C x C min C max C min
where C x is the current cost value (such as C S A , C S T and C T R ), C max is the maximum of current cost and C min is the minimum of current cost.
Thus, we obtain the comprehensive cost of the distribution network (i.e., solution of the upper-level objective function):
F total _ x = C S A x + C S T x + C T R x
where C S A x , C S T x and C T R x are all calculated according to Formula (15).
Then, the weight ratios ( λ 1 , λ 2 , , λ n ) are obtained via Equations (17)–(19):
λ C S A _ x = C S A _ x F total _ x
λ C S T _ x = C S T _ x F total _ x
λ C T R _ x = C T R _ x F total _ x
If we set the start node as A and select the adjacent node as B on any branch of the destination node, the weighted objective function value J F total _ x (i.e., the overall objective function) from A to B is obtained via Equation (20):
J F total _ x = C A · SA _ x × λ C S A _ x + C B · S T _ x × λ C S T _ x + C A B · T R _ x × λ C T R _ x
where C A · SA _ x is the electricity purchasing cost of node A, C B · S T _ x is the electricity selling cost of node B and C A B · T R _ x is the electricity transmission cost between node A and node B.
After we calculate the weighted objective function value J F total between all adjacent nodes, we obtain the digraph matrix Γ .
Last, the best solution is found through Dijkstra’s algorithm, introduced in Section 2.1.

5. Simulated Results

To verify the feasibility of the bilevel optimization model for the microgrid proposed in this paper, we designed the following simulation experiment.
Taking the monthly electricity consumption data as the experimental dataset, where Table 1 shows some of the original monthly power consumption data of user nodes, we conducted some simulations.
We selected six users’ node (customer) information to do the simulation. Figure 3 is a relationship diagram of the six microgrid users. The original dataset was processed with the precedence diagram method [28]. The mean-shift clustering algorithm [29] was employed to extract data features of users so that the electricity purchasing price was in the range between 0.28 (CNY/kWh) and 0.84 (CNY/kWh) at time t, the electricity selling price was in the range between 0.13 (CNY/kWh) and 0.66 (CNY/kWh), the photovoltaic power generation was 260 W and the line loss rate was in the range between 3% and 8%. Figure 4 displays one group of data of the microgrid users’ electricity transmission cost.
We utilized the particle swarm algorithm [27] to find the optimal solution, where the learning factor was set to 2, the inertia weight was set to 0.5 and the maximum number of iterations was set to 300. We conducted four experiments, and the convergence curves of the objective function are demonstrated in Figure 5. We see that after repeating the operation four times, the values of the objective function all converge to 0.76, so this output is the optimal solution. The parameters corresponding to the optimal solution were C S A = 0.28 , C S T = 0.31 and C T R = 0.17 .
Then, according to the weight ratio Equations (17)–(19), we obtained the optimal weight ratios as λ C S A _ X = 0.368 , λ C S T _ X = 0.407 and λ C T R _ X = 0.223 . The weight ratios corresponding to different C S A , C S T and C T R are demonstrated in Table 2.
In addition, we calculate the weighted objective function value of microgrid users with Equation (20), as shown in Table 3.
Where “inf” means that there is no direct connection between the two nodes, i.e., the two nodes are in an unreachable state. In this case, the weight ratio between the parameters is 1:1:1.
If setting Bridget as the start node and Doug as the destination node, from Table 3 and Figure 3, we find that there are five paths from Bridget to Doug, i.e., five schemes in total as presented in Table 4. Then, from Table 3 and Table 4, we get the total weighted objective function value on the five paths, as shown in Figure 6.
From Figure 6, we see that the weighted comprehensive cost of scheme 1 corresponding to parameter group 7 is minimal. Thus, it is the optimal solution from Bridget to Doug, that is, when C S A = 0.28 , C S T = 0.31 and C T R = 0.17 , the comprehensive cost is optimal from Equation (4). In addition, from Figure 6, for the scheme recommendations with fixed parameters, scheme 2 is the optimal option for the second group of parameters, and scheme 3 is the optimal option for the fifth group of parameters.

6. Conclusions

To realize the cost-optimal control decision of microgrids under the condition of load balance, this paper proposed a bilevel optimization model for microgrid users based on edge computing. The modeling process of both the upper-level module and the lower-level module was introduced in detail. The model solution was also provided. Finally, the experimental results indicated that the presented bilevel optimization model was feasible for the control decision of power distribution of microgrid users.
In the follow-up work, we will further optimize the bilevel model, for instance, considering more complex microgrid structures, more user nodes and more parameters. In addition, we think that it is meaningful to analyze the impact of different attributes of each user on the performance of the bilevel model.

Author Contributions

Conceptualization, Y.C.; data curation, Z.M.; formal analysis, Y.C. and Z.M.; funding acquisition, K.H., J.T., L.Y. and H.W.; investigation, M.F., R.Z. and Z.M.; methodology, Y.C., and Z.M.; project administration, H.W.; resources, J.T., L.Y. and H.W.; supervision, S.Y.C., J.T. and H.W.; visualization, Y.C.; writing—original draft preparation, Y.C., M.F., R.Z. and Z.M.; writing—review and editing, Y.C., K.H., S.Y.C., J.T., L.Y. and H.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Key Research and Development Program of China Research Fund Grant under grant 2017YFC1501701, the Zayed University under the Cluster Research Grant R20140, the Sichuan Science and Technology Program under grant 2022YFH0098, the Scientific Research Foundation of CUIT, and the National Natural Science Foundation of China under grant 61801060.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used to support the findings of this study are included within the article.

Acknowledgments

We thank the anonymous reviewers for their valuable feedback.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Liang, X.; Saaklayen, M.A.; Igder, M.A.; Shawon, S.M.R.H.; Faried, S.O.; Janbakhsh, M. Planning and service restoration through microgrid formation and soft open points for distribution network modernization: A review. IEEE Trans. Ind. Appl. 2022, 58, 1843–1857. [Google Scholar] [CrossRef]
  2. Cabana-Jiménez, K.; Candelo-Becerra, J.E.; Sousa Santos, V. Comprehensive analysis of microgrids configurations and topologies. Sustainability 2022, 14, 1056. [Google Scholar] [CrossRef]
  3. Sun, W.; Zhang, H.; Tseng, M.L.; Zhang, W.; Li, X. Hierarchical energy optimization management of active distribution network with multi-microgrid system. J. Ind. Prod. Eng. 2022, 39, 210–229. [Google Scholar]
  4. Jithendranath, J.; Das, D. Stochastic planning of islanded microgrids with uncertain multi-energy demands and renewable generations. IET Renew. Power Gener. 2020, 14, 4179–4192. [Google Scholar] [CrossRef]
  5. Mansouri, S.A.; Ahmarinejad, A.; Nematbakhsh, E.; Javadi, M.S.; Nezhad, A.E.; Catalão, J.P. A sustainable framework for multi-microgrids energy management in automated distribution network by considering smart homes and high penetration of renewable energy resources. Energy 2022, 245, 123228. [Google Scholar] [CrossRef]
  6. Xu, X.; Niu, D.; Peng, L.; Zheng, S.; Qiu, J. Hierarchical multi-objective optimal planning model of active distribution network considering distributed generation and demand-side response. Sustain. Energy Technol. Assess. 2022, 53, 102438. [Google Scholar] [CrossRef]
  7. Wang, Y.; Huang, Y.; Wang, Y.; Zeng, M.; Li, F.; Wang, Y.; Zhang, Y. Energy management of smart micro-grid with response loads and distributed generation considering demand response. J. Clean. Prod. 2018, 197, 1069–1083. [Google Scholar] [CrossRef]
  8. Cheng, L.; Liu, C.; Kang, C.; Wu, Q. Analysis of development of key technologies in active distribution network. Electr. Power Constr. 2015, 36, 26–32. [Google Scholar]
  9. Leonori, S.; Paschero, M.; Mascioli, F.M.F.; Rizzi, A. Optimization strategies for Microgrid energy management systems by Genetic Algorithms. Appl. Soft Comput. 2020, 86, 105903. [Google Scholar] [CrossRef]
  10. Shuai, H.; Fang, J.; Ai, X.; Wen, J.; He, H. Optimal real-time operation strategy for microgrid: An ADP-based stochastic nonlinear optimization approach. IEEE Trans. Sustain. Energy 2018, 10, 931–942. [Google Scholar] [CrossRef] [Green Version]
  11. Huang, C.; Zhang, H.; Song, Y.; Wang, L.; Ahmad, T.; Luo, X. Demand response for industrial micro-grid considering photovoltaic power uncertainty and battery operational cost. IEEE Trans. Smart Grid 2021, 12, 3043–3055. [Google Scholar] [CrossRef]
  12. Chen, Y.; Xu, A.D.; Wen, H.; Jiang, Y.X.; Zhang, T.Y. A lightweight mutual authentication scheme for power edge computing system. In Proceedings of the International Conference on Energy, Power, Environment and Computer Application (ICEPECA 2019), Wuhan, China, 20–21 January 2019; pp. 72–76. [Google Scholar]
  13. Liu, T.; Tan, X.; Sun, B.; Wu, Y.; Tsang, D.H. Energy management of cooperative microgrids: A distributed optimization approach. Int. J. Electr. Power Energy Syst. 2018, 96, 335–346. [Google Scholar] [CrossRef]
  14. Ruzbahani, H.M.; Rahimnejad, A.; Karimipour, H. Smart Households Demand Response Management with Micro Grid. In Proceedings of the 2019 IEEE Power & Energy Society Innovative Smart Grid Technologies Conference (ISGT), Washington, DC, USA, 18–21 February 2019; pp. 1–5. [Google Scholar]
  15. Li, J.; Wen, B.; Wang, H. Adaptive virtual inertia control strategy of VSG for micro-grid based on improved bang-bang control strategy. IEEE Access 2019, 7, 39509–39514. [Google Scholar] [CrossRef]
  16. Mir, M.; Dayyani, M.; Sutikno, T.; Mohammadi Zanjireh, M.; Razmjooy, N. Employing a gaussian particle swarm optimization method for tuning multi input multi output-fuzzy system as an integrated controller of a micro-grid with stability analysis. Comput. Intell. 2020, 36, 225–258. [Google Scholar] [CrossRef]
  17. Chen, Y.; Wen, H.; Wu, J.; Song, H.; Xu, A.; Jiang, Y.; Zhang, T.; Wang, Z. Clustering based physical-layer authentication in edge computing systems with asymmetric resources. Sensors 2019, 19, 1926. [Google Scholar] [CrossRef] [Green Version]
  18. Chen, Y.; Ho, P.H.; Wen, H.; Chang, S.Y.; Real, S. On physical-layer authentication via online transfer learning. IEEE Internet Things J. 2022, 9, 1374–1385. [Google Scholar] [CrossRef]
  19. Jing, Y.; Zhang, Z.; Hu, T.; Li, Z.; Liu, S. Sustainable intrusion detection with new attack classification in private clouds. J. Netw. Netw. Appl. 2022, 1, 150–159. [Google Scholar] [CrossRef]
  20. Lin, J.; Huang, L.; Zhang, H.; Yang, X.; Zhao, P. A novel Latency-Guaranteed based Resource Double Auction for market-oriented edge computing. Comput. Netw. 2021, 189, 107873. [Google Scholar] [CrossRef]
  21. Xu, M.; Liu, Y.; Huang, Q.; Zhang, Y.; Luan, G. An improved Dijkstra’s shortest path algorithm for sparse network. Appl. Math. Comput. 2007, 185, 247–254. [Google Scholar] [CrossRef]
  22. Li, X.; Hu, X.; Wang, Z.; Du, Z. Path planning based on combinaion of improved A-STAR algorithm and DWA algorithm. In Proceedings of the 2020 2nd International Conference on Artificial Intelligence and Advanced Manufacture (AIAM), Manchester, UK, 15–17 October 2020; pp. 99–103. [Google Scholar]
  23. Baldi, S.; Maric, N.; Dornberger, R.; Hanne, T. Pathfinding optimization when solving the paparazzi problem comparing A* and Dijkstra’s algorithm. In Proceedings of the 2018 6th International Symposium on Computational and Business Intelligence (ISCBI), Basel, Switzerland, 27–29 August 2018; pp. 16–22. [Google Scholar]
  24. Abu-Elzait, S.; Parkin, R. Economic and environmental advantages of renewable-based microgrids over conventional microgrids. In Proceedings of the 2019 IEEE Green Technologies Conference (GreenTech), Lafayette, LA, USA, 3–6 April 2019; IEEE: New York, NY, USA, 2019; pp. 1–4. [Google Scholar]
  25. Parag, Y.; Ainspan, M. Sustainable microgrids: Economic, environmental and social costs and benefits of microgrid deployment. Energy Sustain. Dev. 2019, 52, 72–81. [Google Scholar] [CrossRef]
  26. Luo, M.; Hou, X.; Yang, J. Surface optimal path planning using an extended Dijkstra algorithm. IEEE Access 2020, 8, 147827–147838. [Google Scholar] [CrossRef]
  27. Wang, Z.J.; Zhan, Z.H.; Kwong, S.; Jin, H.; Zhang, J. Adaptive granularity learning distributed particle swarm optimization for large-scale optimization. IEEE Trans. Cybern. 2020, 51, 1175–1188. [Google Scholar] [CrossRef] [PubMed]
  28. Sutrisno, S.; Ahmadi, A.; Suharyo, O.S. The optimization of multipurpose building development on project scheduling using precedence diagram method (PDM). J. ASRO 2018, 9, 1–7. [Google Scholar] [CrossRef]
  29. Wisaeng, K.; Sa-Ngiamvibool, W. Exudates detection using morphology mean shift algorithm in retinal images. IEEE Access 2019, 7, 11946–11958. [Google Scholar] [CrossRef]
Figure 1. Sketch map of smart microgrid.
Figure 1. Sketch map of smart microgrid.
Sensors 22 07710 g001
Figure 2. Schematic diagram of bilevel optimization model.
Figure 2. Schematic diagram of bilevel optimization model.
Sensors 22 07710 g002
Figure 3. A relationship diagram of microgrid users. The direction of the arrow indicates the transmission direction of electricity. For example, “Charies ⟶ Doug” denotes that Charies can transmit electricity to Doug but Doug cannot transmit electricity to Charies, because there is no arrow going from Doug to Charies. “Mark ⇆ Doug” indicates that they can transmit electricity to each other because there are two-way arrows between them.
Figure 3. A relationship diagram of microgrid users. The direction of the arrow indicates the transmission direction of electricity. For example, “Charies ⟶ Doug” denotes that Charies can transmit electricity to Doug but Doug cannot transmit electricity to Charies, because there is no arrow going from Doug to Charies. “Mark ⇆ Doug” indicates that they can transmit electricity to each other because there are two-way arrows between them.
Sensors 22 07710 g003
Figure 4. Users’ electricity transmission cost C T R .
Figure 4. Users’ electricity transmission cost C T R .
Sensors 22 07710 g004
Figure 5. Convergence of objective function versus iterations.
Figure 5. Convergence of objective function versus iterations.
Sensors 22 07710 g005
Figure 6. Comparison of weighted comprehensive costs with different schemes.
Figure 6. Comparison of weighted comprehensive costs with different schemes.
Sensors 22 07710 g006
Table 1. Some of the original monthly power consumption (kWh) data of microgrid users.
Table 1. Some of the original monthly power consumption (kWh) data of microgrid users.
CustomerJan.Feb.Mar.Apr.MayJun.Jul.Aug.Sep.Oct.Nov.Dec.Jan.Feb.Mar.Apr.May
675434441438412402591584583582584593408438445492814308
676435434419414410590595590591400403423444442488484304
677434445434424404534551538581534580534538549530535591
678433429419593585544531543558555559541541534541544545
679438403599590531532549553545535584408434449499483498
680439444443430433404402588590595403444440488498341353
681480499443434438415409419421425413439454444484310303
682481453449429403404594402598403418434450448495485485
683482485443450442434423413411413422445435485499498309
684483435481445443423419419401594589593534532543534582
685400452483419418403585581583533544533542583550549558
686485424412598585593583544543583401432448490308814341
687484444444441422422409409413405411448435305328313322
688483443435430438413415413403424429443459300333329320
689488449433433455444432433443439453441484494328309312
Table 2. Weight ratios of different cost.
Table 2. Weight ratios of different cost.
Cost Parameter C S A C S T C T R
Weight Ratios
Parameter Group
10.2630.6250.425
20.1630.4310.235
30.2180.3420.117
40.2840.5230.425
50.4120.3210.241
60.2510.3250.415
70.3680.4070.223
Table 3. The weighted objective function value between user nodes in the microgrid.
Table 3. The weighted objective function value between user nodes in the microgrid.
Destination NodesDougMarkChariesMichaelBridgetAlice
Weighted Objective Function Value
Initial Nodes
Doug06.2infinfinfinf
Mark6.20infinfinf19.6
Charies4.3inf0infinfinf
Michael4.6infinf09.66.8
Bridget15.1infinf9.6010.6
Alice6.79.526.26.810.60
Table 4. Different schemes from start node to destination node.
Table 4. Different schemes from start node to destination node.
SchemePath
1Bridget → Michael → Doug
2Bridget → Doug
3Bridget → Alice → Doug
4Bridget → Michael → Alice → Doug
5Bridget → Alice → Michael → Doug
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chen, Y.; Hayawi, K.; Fan, M.; Chang, S.Y.; Tang, J.; Yang, L.; Zhao, R.; Mao, Z.; Wen, H. A Bilevel Optimization Model Based on Edge Computing for Microgrid. Sensors 2022, 22, 7710. https://doi.org/10.3390/s22207710

AMA Style

Chen Y, Hayawi K, Fan M, Chang SY, Tang J, Yang L, Zhao R, Mao Z, Wen H. A Bilevel Optimization Model Based on Edge Computing for Microgrid. Sensors. 2022; 22(20):7710. https://doi.org/10.3390/s22207710

Chicago/Turabian Style

Chen, Yi, Kadhim Hayawi, Meikai Fan, Shih Yu Chang, Jie Tang, Ling Yang, Rui Zhao, Zhongqi Mao, and Hong Wen. 2022. "A Bilevel Optimization Model Based on Edge Computing for Microgrid" Sensors 22, no. 20: 7710. https://doi.org/10.3390/s22207710

APA Style

Chen, Y., Hayawi, K., Fan, M., Chang, S. Y., Tang, J., Yang, L., Zhao, R., Mao, Z., & Wen, H. (2022). A Bilevel Optimization Model Based on Edge Computing for Microgrid. Sensors, 22(20), 7710. https://doi.org/10.3390/s22207710

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop