Intelligent generation method and system for micro-grid group regulation and control area
By using the adaptive spider algorithm and the improved flying squirrel algorithm in the microgrid group, combined with multi-dimensional performance and control capability indicators, the problem of insufficient flexibility and adaptability of the microgrid group control area generation method in the existing technology is solved, and a better Fast convergence speed and higher optimization accuracy improve the control capability and power balance effect of the microgrid group.
Patent Information
- Application Number
- CN202410610865.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing microgrid group control area generation methods lack flexibility and adaptability, and are difficult to cope with rapid changes in the power system and complex network structures, resulting in slow convergence and easy falling into local optimality.
A microgrid group control area generation method based on the adaptive spider algorithm and the improved flying squirrel algorithm is adopted. By establishing multi-dimensional performance indicators and control capability indicators, the adaptive spider algorithm is designed to generate the global optimal solution, and the flying squirrel algorithm is used to improve local search capabilities. Achieve faster convergence speed and higher optimization accuracy.
It achieves faster convergence speed and higher optimization accuracy, can manage and operate the microgrid group more effectively, and improves the regulation capability and power balance effect of the microgrid group.
Smart Images

Figure CN118568902A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of microgrid group division, and in particular to a method and system for intelligently generating a microgrid group control area. Background Art
[0002] With the transformation of the global energy structure and the continuous evolution of the power system, microgrids, as an important cornerstone supporting the development of distributed generation and smart grids, are receiving more and more attention from the research and industry. The generation of control areas for microgrid groups can not only improve energy efficiency, but also enhance the stability and reliability of the power grid. In the context of large-scale grid connection of renewable energy, efficient control area generation methods for microgrid groups have important research and practical significance for ensuring energy supply security, promoting clean energy consumption, and realizing the economic operation of power systems.
[0003] However, the existing control area generation methods for microgrid groups still face many challenges. Traditional control area generation methods for microgrid groups often rely on empirical design or fixed rules, lack sufficient flexibility and adaptability, and are difficult to cope with the rapid changes in the power system operating environment and the increasingly complex network structure. Even the intelligent algorithms currently used, such as genetic algorithms and particle swarm optimization, have problems such as slow convergence and easy to fall into local optimality. These limitations not only affect the efficiency of microgrid group control area generation, but also restrict the performance of microgrid groups in practical applications.
[0004] In this context, it is necessary to develop a new method for generating microgrid group control areas to break through the limitations of existing technologies, achieve faster convergence speed and higher optimization accuracy, and provide an innovative technical solution for the efficient management and operation of microgrid groups. Summary of the invention
[0005] In order to solve the problems existing in the prior art, the purpose of the present invention is to provide a method and system for intelligently generating a microgrid group control area, which improves the control area capability of the microgrid group and achieves faster convergence speed and higher optimization accuracy.
[0006] The technical solution to achieve the purpose of the present invention is:
[0007] A method for intelligently generating a microgrid group control area comprises the following steps:
[0008] Step 1: Based on the spatial attribute index of the microgrid group and the control capability index of the power grid group, a microgrid group control area generation index considering the multi-dimensional performance of the microgrid group is established;
[0009] Step 2: Based on the microgrid group control area generation index proposed in step 1, an adaptive spider algorithm is designed to generate the global optimal solution of the microgrid group control area;
[0010] Step 3: Based on the global optimal solution generated by the microgrid group control area in step 2, the flying squirrel algorithm is designed to improve the local search capability of the microgrid group control area to generate the optimal solution and obtain the optimal solution.
[0011] Furthermore, the microgrid group control area generation index in step 1 is:
[0012]
[0013] Where γ is the control area generation index of the microgrid group; w1 and w2 are the spatial attribute index Ψ of the microgrid group and the control capability index of the grid group. The weight value of .
[0014] Furthermore, the spatial attribute index of the microgrid group is:
[0015]
[0016] In the formula, ε ij is the connection relationship between the operating elements i and j in the microgrid group. If there is a direct electrical connection between the operating elements in the microgrid group, then ε ij =1, if there is no direct electrical connection between the operating elements in the microgrid group, then ε ij =0; N represents the total number of direct electrical connections between operating elements in the microgrid group; y i ,y j are the sum of the weights of the edges that are electrically connected to the operating elements i and j in the microgrid group; δ(i,j) is used to indicate whether the operating elements i and j in the microgrid group belong to the same cluster. If they belong to the same cluster, the value is 1, otherwise, the value is 0.
[0017] Furthermore, the microgrid group control capability index is:
[0018]
[0019] In the formula, Represents the microgrid group control area c at time t k The forward unbalanced power is , T represents the control time, and c represents the control area set.
[0020] Furthermore, the forward unbalanced power for:
[0021]
[0022] In the formula, Regulate regional power generation for microgrid groups; Regulate regional electricity consumption for microgrid groups.
[0023] Furthermore, the step 2 comprises:
[0024] Step S201: Initializing the parameters of the adaptive spider algorithm, which include the number of spiders, the solution space search dimension, the maximum number of optimization times, and the initial position of the spider in the spider web;
[0025] Step S202: Designing a fitness function of an adaptive spider algorithm based on a microgrid group control area generation index;
[0026] Step S203: Design a function for optimizing the position of the spider on the spider web, and based on the fitness function, find the global optimal solution for the generation of the microgrid group control area through iteration.
[0027] Furthermore, the fitness function of the adaptive spider algorithm is:
[0028]
[0029] Where P fit is the fitness function of the adaptive spider algorithm, is an arbitrary number between 0.0001 and 0.0005, and γ is the control area generation index of the microgrid group.
[0030] Furthermore, the wandering position optimization function is specifically:
[0031]
[0032] in, are the wandering positions of the i-th spider on the web at iterations k+1 and k respectively; are the wandering positions of the jth spider and the optimal position spider on the spider web when the iteration number is k, respectively, and α is the adaptive coefficient of the adaptive spider algorithm.
[0033] Furthermore, the step 3 specifically includes:
[0034] Step S301: Initialize the parameters of the flying squirrel algorithm, including the number of flying squirrels, optimization dimension and maximum search times;
[0035] Step S302: generating a flying squirrel flying position of the improved flying squirrel algorithm, and converting the wandering position of the spider on the spider web in the adaptive spider algorithm generated in step S203 into the flying squirrel flying position of the flying squirrel algorithm;
[0036] Step S303: Design the flight position update function of the flying squirrel in the flying squirrel algorithm to find the local optimal solution for the generation of the microgrid group control area; specifically:
[0037]
[0038] in, are the flying positions of the flying squirrel at time t and t+1 in the improved flying squirrel algorithm; d g To improve the random flight distance of the flying squirrel in the flying squirrel algorithm; G c To improve the dynamic flight constant in the flying squirrel algorithm, To improve the optimal flying position of the flying squirrel algorithm, the flying squirrel at t;
[0039] Step S304: using the updated flying position of the flying squirrel as the output solution of the adaptive spider algorithm in the current iteration round.
[0040] Furthermore, the flight position update function is:
[0041]
[0042] in, are the flying positions of the flying squirrel at time t and t+1 in the improved flying squirrel algorithm; d g To improve the random flight distance of the flying squirrel in the flying squirrel algorithm; G c To improve the dynamic flight constant in the flying squirrel algorithm, To improve the optimal flying position of the flying squirrel in the flying squirrel algorithm, the flying position of the flying squirrel at t.
[0043] A microgrid group control area intelligent generation system for realizing the microgrid group control area intelligent generation method, comprising a microgrid group control area generation index establishment unit, a global optimal solution solving unit and a local optimal solution solving unit, wherein the microgrid group control area generation index establishment unit is used to establish a microgrid group control area generation index that considers the multi-dimensional performance of the microgrid group, and the global optimal solution solving unit designs an adaptive spider algorithm to generate a global optimal solution for the microgrid group control area based on the microgrid group control area generation index; the local optimal solution solving unit designs a flying squirrel algorithm to improve the local search capability of the microgrid group control area to generate an optimal solution based on the global optimal solution generated by the microgrid group control area, so as to obtain the optimal solution.
[0044] Compared with the prior art, the present invention has the following beneficial effects:
[0045] 1. The present invention proposes an intelligent generation method for a microgrid group control area taking into account the spatial attribute index of the microgrid group and the control capability index of the microgrid group. The spatial attribute index of the microgrid group is used to divide the operating elements in a closely connected microgrid group into the same cluster; the control capability index of the microgrid group is used to optimize the power balance in the control area of the microgrid group.
[0046] 2. The present invention designs an optimization solution method for the microgrid group control area generation model based on the adaptive spider algorithm and the improved flying squirrel algorithm. Through the coordinated use of the adaptive spider algorithm and the improved flying squirrel algorithm, the optimal solution of the microgrid group control area generation model can be fully explored. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 The figure is a flow chart of the intelligent generation method of microgrid group control area.
[0048] Figure 2 It is an iterative convergence diagram of method 1 in the embodiment.
[0049] Figure 3 It is an iterative convergence diagram of method 2 in the embodiment. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings.
[0051] The present invention provides a method for intelligently generating a microgrid group control area. Figure 1 As shown, the following technical solutions are adopted:
[0052] Step 1: Establish a microgrid group control area generation index considering the multi-dimensional performance of the microgrid group
[0053] Step 2: Based on the microgrid group control area generation index proposed in step 1, an adaptive spider algorithm is designed to establish a basic solution model for the microgrid group control area generation;
[0054] Step 3: Based on the basic solution model for generating the microgrid group control area designed in step 2, the flying squirrel algorithm is designed to improve the local search capability of generating the optimal solution for the microgrid group control area.
[0055] The microgrid group control area generation index of step 1 is constructed based on the microgrid group spatial attribute index and the microgrid group control capability index.
[0056] The microgrid group spatial attribute index is used to divide the operating elements in the closely connected microgrid group into the same cluster. The microgrid group spatial attribute index is specifically:
[0057]
[0058] Where: ε ij is the connection relationship between the operating elements i and j in the microgrid group. If there is a direct electrical connection between the operating elements in the microgrid group, then ε ij =1, if there is no direct electrical connection between the operating elements in the microgrid group, then ε ij=0; N represents the total number of direct electrical connections between operating elements in the microgrid group; y i ,y j are the sum of the weights of the edges that are electrically connected to the operating elements i and j in the microgrid group; δ(i,j) is used to indicate whether the operating elements i and j in the microgrid group belong to the same cluster. If they belong to the same cluster, the value is 1, otherwise, the value is 0.
[0059] The control capability index of the microgrid group is intended to reflect the optimal balance between the operating elements within the microgrid group. In a microgrid group system that includes many distributed renewable energy sources, although each node has taken load demand into consideration and adopted regulation measures such as energy storage, it is still possible that the power output exceeds the load demand. This excess power is regarded as positive unbalanced power, which is manifested as additional power output in the power grid. When the operating elements within the microgrid group reach maximum balance, the positive unbalanced power in the control area will be minimized. Therefore, the microgrid group control capability index can be used to quantify this balancing effect. Microgrid group control capability index It can be expressed as:
[0060]
[0061] Where: Represents the microgrid group control area c at time t k The forward unbalanced power is defined as
[0062]
[0063] In the formula, Regulate regional power generation for microgrid groups; Regulate regional electricity consumption for microgrid groups.
[0064] When considering the generation index of the control area of the microgrid group, we need to pay attention to multiple elements including the spatial attribute index of the microgrid group and the control capability index. These indicators together constitute a multi-objective optimization problem. In order to effectively solve this problem, the present invention adopts a unified objective method. Through this method, we transform the multi-objective optimization problem into a single objective problem and assign corresponding weights to different indicators to accurately reflect the importance of each indicator, specifically:
[0065]
[0066] Where γ is the control area generation index of the microgrid group; w1 and w2 are the weight values of the index.
[0067] The step 2 comprises the following steps:
[0068] For the microgrid group in the control area to be generated, assuming that it contains m operable connection devices, the microgrid group in the control area to be generated may form 2 m In order to find the optimal method for generating a microgrid group control area, the present invention proposes to use a microgrid group control area generation index as the search direction for the optimal solution, and establish a basic solution model for generating a microgrid group control area based on an adaptive spider algorithm.
[0069] The specific steps of generating a basic solution model for the microgrid group control area include:
[0070] Step S201: Initialize the parameters of the adaptive spider algorithm, which include: the number of spiders of the adaptive spider algorithm, the dimension of the solution space search of the adaptive spider algorithm, the maximum number of optimization times of the adaptive spider algorithm, and the initial position of the spider of the adaptive spider algorithm in the spider web.
[0071] Step S202: Design the fitness function of the adaptive spider algorithm. The fitness function of the adaptive spider algorithm is formed based on the microgrid group control area generation index in step 1, specifically:
[0072]
[0073] Where P fit is the fitness function of the adaptive spider algorithm; It is any number between 0.0001 and 0.0005.
[0074] Step S203: Design an optimization function for the spider's wandering position on the spider web in the adaptive spider algorithm to find the global optimal solution for the generation of the microgrid group control area.
[0075]
[0076] in, are the wandering positions of the i-th spider on the web at iterations k+1 and k respectively; are the wandering positions of the jth spider and the optimal position spider on the spider web at the kth iteration. α is the adaptive coefficient of the adaptive spider algorithm.
[0077] The step 3 comprises the following steps:
[0078] Based on the basic solution model for generating the microgrid group control area designed in step 2, an improved flying squirrel algorithm is designed to enhance the local search capability of the optimal solution for generating the microgrid group control area. The specific steps are:
[0079] Step S301: Initialize the parameters of the improved flying squirrel algorithm, which include: the number of flying squirrels in the improved flying squirrel algorithm, the optimization dimension of the improved flying squirrel algorithm, and the maximum number of searches of the improved flying squirrel algorithm.
[0080] Step S302: Generate the flying position of the flying squirrel of the improved flying squirrel algorithm. Specifically, convert the random generation scheme of the microgrid group control area generated by the adaptive spider algorithm, that is, the wandering position of the spider on the spider web in the adaptive spider algorithm generated in step S203 in step 2, into the flying position of the flying squirrel of the improved flying squirrel algorithm.
[0081] Step S303: Design an improved flying squirrel flight position update function in the flying squirrel algorithm to find the local optimal solution for the generation of the microgrid group control area.
[0082]
[0083] in, are the flying positions of the flying squirrel at time t and t+1 in the improved flying squirrel algorithm; d g To improve the random flight distance of the flying squirrel in the flying squirrel algorithm; G c To improve the dynamic flight constant in the flying squirrel algorithm. To improve the optimal flying position of the flying squirrel in the flying squirrel algorithm, the flying position of the flying squirrel at t.
[0084] Step S304: Use the updated flying squirrel flight position as the output solution of the microgrid group control area generation model in the current iteration round. If the microgrid group control area generation index of the output solution of the microgrid group control area generation model in the current iteration round is better than the microgrid group control area generation index of the output solution of the microgrid group control area generation model in the previous iteration round, then directly update the spider's wandering position on the spider web in the adaptive spider algorithm of the microgrid group control area generation basic solution model designed in step 2; otherwise, in the next iteration round, make
[0085] α←110%α
[0086] Among them, ← is the assignment symbol.
[0087] A microgrid group control area intelligent generation system for realizing the microgrid group control area intelligent generation method, comprising a microgrid group control area generation index establishment unit, a global optimal solution solving unit and a local optimal solution solving unit, wherein the microgrid group control area generation index establishment unit is used to establish a microgrid group control area generation index that considers the multi-dimensional performance of the microgrid group, and the global optimal solution solving unit designs an adaptive spider algorithm to generate a global optimal solution for the microgrid group control area based on the microgrid group control area generation index; the local optimal solution solving unit designs a flying squirrel algorithm to improve the local search capability of the microgrid group control area to generate an optimal solution based on the global optimal solution generated by the microgrid group control area, so as to obtain the optimal solution.
[0088] Example
[0089] In this embodiment, the IEEE 39-node system is selected as a case study, and 20 operable connection devices are designed. In the present invention, the number of spiders in the adaptive spider algorithm is set to 30, and the maximum number of iterations is set to 200; at the same time, the number of flying squirrels is 60, and the maximum number of iterations is also 200. Such settings are intended to ensure that the algorithm can fully explore the solution space while maintaining a highly efficient search process.
[0090] In this invention, two different methods for intelligently generating control areas of microgrid groups are compared. The first method (method 1) is a method for intelligently generating control areas of microgrid groups based on the traditional spider algorithm; the second method (method 2) is an innovative method proposed by this invention, which aims to improve search efficiency and result quality through optimized algorithms. In order to vividly demonstrate the performance difference between the two methods, Figure 2 and Figure 3 A comparison diagram of the fitness values generated by the microgrid group control area under the two methods in the present invention.
[0091] from Figure 2 and Figure 3It can be seen that the intelligent generation method of the microgrid group control area proposed in the present invention can quickly locate a better generation plan after about 90 iterations. In contrast, method 1 using the traditional spider algorithm requires more iterations to achieve the effect. In terms of search effect, the method of the present invention not only has a fast iteration speed, but also can stably converge to a higher fitness value, which means that we can find a more optimized intelligent generation plan for the microgrid group control area with a higher probability. This significant improvement in performance is due to the effective collaboration between the adaptive spider algorithm and the improved flying squirrel algorithm adopted by the present invention. The combination of these two algorithms not only ensures efficient exploration capabilities in the global search space, but also demonstrates excellent development performance in the local solution space. The two algorithms interact with each other to greatly improve the efficiency and accuracy of the search, thereby ensuring the superiority and practicality of the intelligent generation method of the microgrid group control area.
[0092] The present invention breaks through the limitations of the prior art, achieves faster convergence speed and higher optimization accuracy, and provides an innovative technical solution for the efficient management and operation of microgrid groups.
[0093] The above description is only a description of the preferred implementation mode of the present invention, and is not intended to limit the scope of the present invention; the above description is only a specific implementation mode of the present invention, and is not intended to limit the protection scope of the present invention; without departing from the design spirit of the present invention, any modification, equivalent substitution, improvement, etc. made to the technical solution of the present invention by ordinary engineering and technical personnel in this field shall fall within the protection scope determined by the claims of the present invention.
Claims
1. A method for intelligently generating control areas of microgrid groups, It is characterized in that The following steps are involved: Step 1: Based on the spatial attribute index of the microgrid group and the control capability index of the power grid group, a microgrid group control area generation index considering the multi-dimensional performance of the microgrid group is established; Step 2: Based on the microgrid group control area generation index proposed in step 1, an adaptive spider algorithm is designed to generate the global optimal solution of the microgrid group control area; Step 3: Based on the global optimal solution generated by the microgrid group control area in step 2, the flying squirrel algorithm is designed to improve the local search capability of the microgrid group control area to generate the optimal solution and obtain the optimal solution.
2. According to claim 1, a method for intelligently generating a microgrid group control area, It is characterized in that The microgrid group control area generation index in step 1 is: Where, γ is the control area generation index of the microgrid group; w 1 and w 2 is the spatial attribute index of the microgrid group Ψ and the control capability index of the grid group The weight value of .
3. According to claim 1, a method for intelligently generating a microgrid group control area, It is characterized in that The spatial attribute index of the microgrid group is: In the formula, ε ij is the connection relationship between the operating elements i and j in the microgrid group. If there is a direct electrical connection between the operating elements in the microgrid group, then ε ij =1, if there is no direct electrical connection between the operating elements in the microgrid group, then ε ij =0; N represents the total number of direct electrical connections between operating elements in the microgrid group; y i ,y j are the sum of the weights of the edges that are electrically connected to the operating elements i and j in the microgrid group; δ(i,j) is used to indicate whether the operating elements i and j in the microgrid group belong to the same cluster. If they belong to the same cluster, the value is 1, otherwise, the value is 0.
4. According to claim 1, a method for intelligently generating a microgrid group control area, It is characterized in that The microgrid group control capability index is: In the formula, Represents the microgrid group control area c at time t k The forward unbalanced power is , T represents the control time, and c represents the control area set.
5. According to claim 4, a method for intelligently generating a microgrid group control area, It is characterized in that The forward unbalanced power for: In the formula, Regulate regional power generation for microgrid groups; Regulate regional electricity consumption for microgrid groups.
6. A method for intelligently generating a microgrid control area according to claim 1, It is characterized in that The step 2 comprises: Step S201: Initializing the parameters of the adaptive spider algorithm, which include the number of spiders, the solution space search dimension, the maximum number of optimization times, and the initial position of the spider in the spider web; Step S202: Designing a fitness function of an adaptive spider algorithm based on a microgrid group control area generation index; Step S203: Design a function for optimizing the position of the spider on the spider web, and based on the fitness function, find the global optimal solution for the generation of the microgrid group control area through iteration.
7. A method for intelligently generating a microgrid group control area according to claim 6, It is characterized in that The fitness function of the adaptive spider algorithm is: Where P fit is the fitness function of the adaptive spider algorithm, is an arbitrary number between 0.0001 and 0.0005, and γ is the control area generation index of the microgrid group.
8. A method for intelligently generating a microgrid control area according to claim 6, It is characterized in that The wandering position optimization function is specifically: Among them, f i k+1 , f i k are the wandering positions of the i-th spider on the web at iterations k+1 and k respectively; are the wandering positions of the jth spider and the optimal position spider on the spider web when the iteration number is k, respectively, and α is the adaptive coefficient of the adaptive spider algorithm.
9. A method for intelligently generating a microgrid control area according to claim 1, It is characterized in that The step 3 specifically includes: Step S301: Initialize the parameters of the flying squirrel algorithm, including the number of flying squirrels, optimization dimension and maximum search times; Step S302: generating a flying squirrel flying position of the improved flying squirrel algorithm, and converting the wandering position of the spider on the spider web in the adaptive spider algorithm generated in step S203 into the flying squirrel flying position of the flying squirrel algorithm; Step S303: Design the flight position update function of the flying squirrel in the flying squirrel algorithm to find the local optimal solution for the generation of the microgrid group control area; specifically: in, are the flying positions of the flying squirrel at time t and t+1 in the improved flying squirrel algorithm; d g To improve the random flight distance of the flying squirrel in the flying squirrel algorithm; G c To improve the dynamic flight constant in the flying squirrel algorithm, To improve the optimal flying position of the flying squirrel algorithm, the flying squirrel at t; Step S304: using the updated flying position of the flying squirrel as the output solution of the adaptive spider algorithm in the current iteration round.
10. A method for intelligently generating a microgrid group control area according to claim 1, It is characterized in that The flight position update function is: in, are the flying positions of the flying squirrel at time t and t+1 in the improved flying squirrel algorithm; d g To improve the random flight distance of the flying squirrel in the flying squirrel algorithm; G c To improve the dynamic flight constant in the flying squirrel algorithm, To improve the optimal flying position of the flying squirrel in the flying squirrel algorithm, the flying position of the flying squirrel at t.
11. A microgrid group control area intelligent generation system for implementing the microgrid group control area intelligent generation method according to any one of claims 1 to 10, It is characterized in that It includes a microgrid group control area generation index establishment unit, a global optimal solution solving unit and a local optimal solution solving unit. The microgrid group control area generation index establishment unit is used to establish a microgrid group control area generation index considering the multi-dimensional performance of the microgrid group. The global optimal solution solving unit is based on the microgrid group control area generation index, and designs an adaptive spider algorithm to generate a global optimal solution for the microgrid group control area; The local optimal solution solving unit designs a flying squirrel algorithm based on the global optimal solution generated in the microgrid group control area to improve the local search capability of generating the optimal solution in the microgrid group control area, and obtains the optimal solution.
Citation Information
Patent Citations
Distributed energy storage cluster division method
CN113452053A
Cited By
Self-adaptive global fractional order terminal sliding mode snakelike robot control method
CN119322444A
