A configuration method, device, equipment and medium for a microgrid system

By generating a rectangular topology map to identify the target vertices, the power resources of the microgrid system are rationally allocated, which solves the problem of resource allocation deviation caused by the increase in the number of power equipment and improves resource utilization and economic benefits.

CN118710439BActive Publication Date: 2025-10-03GUANGDONG POWER GRID CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410862291.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2025-10-03
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

The increase in the number of power devices in the microgrid system leads to deviations in the allocation of power resources, making it impossible to determine the optimal configuration parameters, affecting the efficient operation of the equipment and increasing costs.

Method used

By generating initial rectangular units, determining the fitness values ​​of the rectangular vertices and the central vertex, generating a rectangular topology based on the fitness values, identifying the target vertices that meet the preset conditions to determine the configuration information of the microgrid system and reasonably allocate power resources.

Benefits of technology

It improves the efficiency of power resource utilization, saves costs and maximizes economic benefits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710439B_ABST
    Figure CN118710439B_ABST
Patent Text Reader

Abstract

The present invention discloses a configuration method, apparatus, device, and medium for a microgrid system, which is applied to the field of computer technology. The method includes: generating an initial rectangular unit, wherein the initial rectangular unit includes a rectangular vertex and a rectangular center vertex, wherein the rectangular vertex and the rectangular center vertex both represent parameter sets corresponding to energy storage devices in the microgrid system; determining fitness values ​​of the rectangular vertices and the rectangular center vertex based on the parameter sets, and generating a rectangular topology map based on the fitness values ​​and the initial rectangular unit; for each rectangular unit in the rectangular topology map, determining a target vertex whose fitness value meets a preset fitness condition, and determining configuration information of the microgrid system based on the target parameter set represented by the target vertex. The technical solution provided by the present invention can improve the configuration efficiency of power resources, enable reasonable resource allocation, and simultaneously improve the economic benefits of the microgrid system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a configuration method, device, equipment and medium for a microgrid system. Background Art

[0002] A microgrid system is a small-scale power distribution system consisting of distributed power sources, power loads, distribution facilities, monitoring and protection devices, etc. The microgrid system can configure the parameters of each component in the system through Internet technology to meet the power, voltage and power requirements of each component in the system.

[0003] However, due to the increase in the number of power equipment in the system, there will be deviations in the allocation of power resources, and it will be impossible to determine the optimal configuration parameters and configuration information, resulting in the inability to meet the efficient operation of power equipment. At the same time, due to the increase in the number of power equipment and the different parameters of each device, how to effectively allocate power resources and save costs is also a current technical difficulty. Summary of the Invention

[0004] The present invention provides a configuration method, device, equipment and medium for a microgrid system. Through the method of the present application, the power resources in the microgrid system can be reasonably and flexibly configured, the resource utilization efficiency can be improved, the cost can be saved, and the economic benefits can be improved.

[0005] In a first aspect, an embodiment of the present invention provides a configuration method for a microgrid system, comprising:

[0006] Generate an initial rectangular unit, the initial rectangular unit including a rectangular vertex and a rectangular center vertex, the rectangular vertex and the rectangular center vertex both representing a parameter set corresponding to the energy storage device in the microgrid system, wherein the parameter set includes the number of devices, target power, power value evaluation parameters, and resource consumption evaluation parameters;

[0007] Determining fitness values ​​of the rectangular vertices and the rectangular center vertex respectively based on the parameter set, and generating a rectangular topology map according to the fitness values ​​and the initial rectangular unit;

[0008] For each rectangular unit in the rectangular topology diagram, a target vertex whose fitness value satisfies a preset fitness condition is determined, and configuration information of the microgrid system is determined according to a target parameter set represented by the target vertex.

[0009] In a second aspect, an embodiment of the present invention provides a configuration device for a microgrid system, including:

[0010] a rectangular unit generation module, configured to generate an initial rectangular unit, wherein the initial rectangular unit includes a rectangular vertex and a rectangular center vertex, wherein the rectangular vertex and the rectangular center vertex both represent a parameter set corresponding to the energy storage device in the microgrid system, wherein the parameter set includes the number of devices, target power, power value evaluation parameters, and resource consumption evaluation parameters;

[0011] a fitness value determination module, configured to determine the fitness values ​​of the rectangular vertices and the rectangular center vertex respectively based on the parameter set, and generate a rectangular topology map according to the fitness values ​​and the initial rectangular unit;

[0012] The configuration information determination module is used to determine, for each rectangular unit in the rectangular topology diagram, a target vertex whose fitness value meets a preset fitness condition, and determine the configuration information of the microgrid system according to a target parameter set represented by the target vertex.

[0013] The third invention, an embodiment of the present invention provides an electronic device, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can perform the configuration method of the microgrid system according to any one of the embodiments of the present invention.

[0017] The fourth invention, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the configuration method of the microgrid system according to any one of the embodiments of the present invention when executed.

[0018] An embodiment of the present invention provides a configuration method, device, equipment and medium for a microgrid system, the method comprising: generating an initial rectangular unit, the initial rectangular unit comprising a rectangular vertex and a rectangular center vertex, the rectangular vertex and the rectangular center vertex both representing a parameter set corresponding to an energy storage device in the microgrid system, wherein the parameter set comprises the number of devices, target power, a power value evaluation parameter and a resource consumption evaluation parameter; determining the fitness values ​​of the rectangular vertices and the rectangular center vertex respectively based on the parameter set, and generating a rectangular topology map according to the fitness values ​​and the initial rectangular unit; for each rectangular unit in the rectangular topology map, determining a target vertex whose fitness value meets a preset fitness condition, and determining the configuration information of the microgrid system according to the target parameter set represented by the target vertex. Specifically, by generating each rectangular unit in the rectangular topology diagram, the parameter set corresponding to the energy storage device in the microgrid system corresponding to the vertex of each rectangular unit can be determined, and then the fitness corresponding to this parameter set can be determined. Then, the parameter set corresponding to the target vertex whose fitness value meets the preset fitness condition can be determined as the configuration information of the microgrid system. According to the configuration information, the rationalization of the resource allocation of the energy storage device in the microgrid system can be achieved, and the efficiency of the utilization of power resources can be improved. At the same time, by rationally allocating resources, operating costs can be saved and economic benefits can be maximized. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A flowchart of a configuration method for a microgrid system provided in Example 1 of the present invention;

[0021] Figure 2 A flowchart of a configuration method for a microgrid system provided in Embodiment 2 of the present invention;

[0022] Figure 3 A schematic diagram of the structure of a configuration device for a microgrid system provided in a third embodiment of the present invention;

[0023] Figure 4 It is a structural diagram of an electronic device provided according to the fourth embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0025] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] It should be noted that the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0027] Example 1

[0028] Figure 1 This is a flowchart of a configuration method for a microgrid system provided in Example 1 of the present invention. The method can be applied to situations where configuration information of energy storage equipment in a microgrid system is determined, such as determining configuration information that meets configuration requirements or determining optimal configuration information. The method can be used in the field of computer technology and is executed by a configuration device for a microgrid system, which can be configured as a control platform for the microgrid system or an operation server for the microgrid system.

[0029] Due to the numerous power devices within current microgrid systems, energy storage devices may exchange resources or power with multiple power devices. Therefore, it is necessary to determine the configuration information for energy storage devices to ensure the proper allocation of resources. Furthermore, due to the excessive number of parameters in the configuration information, the parameters in the parameter set correspond to the physical parameters in the configuration information. Different parameter combinations may lead to different configuration results. Therefore, it is necessary to comprehensively consider the actual configuration needs of the microgrid and determine the parameter set (configuration information) that is relatively optimal and meets the configuration requirements.

[0030] Specifically, a mapping relationship may be established between the parameter set and the spatial coordinates, and then the optimal parameter set may be determined by determining the spatial coordinates that meet the configuration requirements.

[0031] For example, if the number of parameters in the parameter set is two, namely M and N, M and N can respectively represent the device power and device cost in the configuration information. Therefore, each coordinate in the two-dimensional space can be represented as a different solution, such as mapping (0,0) to M=0 and N=0, that is, the device power represented by this coordinate = 0, and the device cost = 0. Similarly, the device power represented by the coordinate (5,3) = 5, and the device cost = 3. Furthermore, if the high-dimensional space coordinates can be mapped according to the actual number of parameters. This application does not limit other ways of establishing the mapping relationship.

[0032] like Figure 1 As shown, including:

[0033] Step 110: Generate an initial rectangular unit, where the initial rectangular unit includes a rectangular vertex and a rectangular center vertex. The rectangular vertex and the rectangular center vertex both represent a parameter set corresponding to the energy storage device in the microgrid system, where the parameter set includes the number of devices, target power, power value evaluation parameters, and resource consumption evaluation parameters.

[0034] The coordinates of each vertex of the initial rectangular unit represent the values ​​of the corresponding parameter set, or they can also represent the values ​​of each physical parameter in the configuration information of the energy storage device in the microgrid system. The number of devices can be at least one of the installed capacity per unit of wind turbines, solar photovoltaic cells, and gas turbines; the target power is at least one of the abandoned wind power, abandoned solar power, the power purchased by the microgrid from the main grid, and the power sold by the microgrid to the main grid; the power value evaluation parameter is at least one of the price at which the microgrid sells electricity to the main grid and the price at which the microgrid purchases electricity from the main grid; and the resource consumption evaluation parameter is at least one of the fuel cost, the unit capacity cost of wind turbines, solar photovoltaic cells, and gas turbines, and the unit maintenance cost of the microgrid.

[0035] Specifically, rectangular units can be generated through continuous iteration, and the coordinates of each vertex of the rectangular unit can be determined and mapped to the corresponding parameter set, so that at the end of the iteration, a target parameter set representing relatively optimal / satisfying configuration information can be determined.

[0036] Optionally, the generating of the initial rectangular unit, wherein the initial rectangular unit includes a rectangular vertex and a rectangular center vertex, includes:

[0037] Generate an initial rectangular unit based on random vertices, preset side lengths and preset angles;

[0038] A rectangular center vertex is determined inside the initial rectangular unit according to the intersection of the side length and the diagonal line of the initial rectangular unit.

[0039] Among them, since the values ​​of each parameter in the target parameter set that characterizes the optimal configuration information are unknown, random vertices can be generated at the initial stage, and then the random vertices generate initial rectangular units according to the preset side length and preset angle. The initial rectangular units are used to generate the subsequent rectangular topology map. Furthermore, the number of initial rectangular units can be preset according to the number of parameters and the computing power requirements of the server. It can be understood that the more initial rectangular units there are, the faster the configuration information is determined, and the more computing resources are consumed. Among them, the center vertex of the rectangle is the point inside the rectangle. In order to improve the traversal efficiency and avoid the dead loop caused by the local optimal solution, it is necessary to determine the center vertex of the rectangle inside the rectangle to improve the solution speed.

[0040] Specifically, point A may be randomly determined in the coordinate space, point B may be determined based on point A and a preset side length, and then the diagonal line of the rectangle may be generated using AB and a preset angle to determine the initial rectangular unit.

[0041] Optionally, the vertex coordinates of the initial rectangular unit can be determined by the following formula:

[0042]

[0043] in, represents the coordinates of the first vertex of the i-th rectangular unit, l and l1 are the lengths of the diagonal of the quadrilateral, and in the embodiment of the present invention, l=l1, and is the lower and upper bounds of the variable f(θ is the preset angle formula, which represents the pointing angle of the directional efficiency

[0044] The center vertex of the rectangle is determined by the following formula:

[0045]

[0046] In the formula Represents the center vertex of the rectangle in the i-th rectangular topological unit, k is a random number between 0 and half the length of the rectangle's wide diagonal. Represents a random angle within 360°.

[0047] In this way, the position of the center vertex of the rectangle will be constrained to be within a characteristic circle whose center is the intersection of the diagonals and whose radius is half the length of the diagonals.

[0048] Step 120: Determine the fitness values ​​of the rectangle vertices and the rectangle center vertex based on the parameter set, and generate a rectangular topology map according to the fitness values ​​and the initial rectangular unit.

[0049] Since the representations of the rectangular vertices and rectangular center vertex correspond to parameter sets, the fitness of the rectangular vertices and rectangular center vertex is a mathematical expression of the actual effect of the configuration information represented by the parameter set, such as resource utilization, configuration cost, or economic benefits achieved under the configuration information. For example, the parameter set can be incorporated into the objective function representing the configuration effect of the microgrid system to determine the corresponding fitness.

[0050] Specifically, new rectangular units are generated based on the fitness value and the initial rectangular unit, and then a rectangular topology is formed to obtain more parameter sets, and then the configuration information corresponding to the new parameter set is determined. It is understandable that since the generation of new rectangular units is based on the fitness of the vertices of the rectangular units in the previous iteration, the fitness of the vertices of the newly generated rectangular units may be higher than the fitness of the vertices of the old rectangular units, and the purpose of ultimately determining the optimal vertex (optimal parameter set) through continuous iteration has been achieved. The method of generating a rectangular topology map based on the fitness value and the initial rectangular unit will be explained in the subsequent content and will not be repeated here.

[0051] Step 130: For each rectangular unit in the rectangular topology diagram, determine a target vertex whose fitness value meets a preset fitness condition, and determine configuration information of the microgrid system according to a target parameter set represented by the target vertex.

[0052] The preset fitness condition determines whether the fitness of a vertex meets the actual resource allocation / economic benefit requirements. If so, the target parameter set corresponding to that vertex is determined as the microgrid system configuration information. Otherwise, iterations continue until the target vertex is determined. The configuration information is used to configure the microgrid system parameters so that the economic benefits of the microgrid system under that configuration meet the expected benefits. It is understood that economic benefit is only an optional objective; this method can also be used to achieve a reasonable allocation of power resources within a microgrid system.

[0053] Specifically, the fitness value corresponding to the vertex can be determined through the vertex coordinates of the rectangular vertices and the rectangular center vertex of each rectangular unit, and then the target vertex whose fitness value meets the preset fitness condition is selected to determine the configuration information of the microgrid system.

[0054] Optionally, for each rectangular unit in the rectangular topological graph, determining a target vertex whose fitness exceeds a preset threshold;

[0055] The number of wind turbines, the number of solar photovoltaic cells, the number of gas turbines in the microgrid system and the output power of the microgrid system are determined according to the number of devices corresponding to the target vertex and the target power.

[0056] Specifically, the number of devices and the target power can be determined by taking the values ​​of the parameters in the parameter set corresponding to the target vertex, and then the number of wind turbines, the number of solar photovoltaic cells, the number of gas turbines and the output power of the microgrid system can be determined. Then, the values ​​of the parameters determined above are configured in the microgrid system to achieve the purpose of resource allocation, optimize resource allocation, improve resource utilization, and at the same time, improve economic benefits.

[0057] An embodiment of the present invention provides a configuration method for a microgrid system, comprising: generating an initial rectangular unit, the initial rectangular unit including a rectangular vertex and a rectangular center vertex, each of which represents a parameter set corresponding to an energy storage device in the microgrid system, wherein the parameter set includes the number of devices, target power, a power value evaluation parameter, and a resource consumption evaluation parameter; determining fitness values ​​for the rectangular vertices and rectangular center vertex based on the parameter set, and generating a rectangular topology map based on the fitness values ​​and the initial rectangular unit; for each rectangular unit in the rectangular topology map, determining a target vertex whose fitness value satisfies a preset fitness condition, and determining configuration information for the microgrid system based on the target parameter set represented by the target vertex. Specifically, the rectangular topology map is generated by determining the fitness value and the initial rectangular unit, and then, based on each rectangular unit in the rectangular topology map, determining a target vertex whose fitness value satisfies the preset fitness condition, and then determining the parameter set corresponding to the target vertex. The parameter set can then determine the corresponding configuration information. In this manner, optimal configuration information for the microgrid system that meets the microgrid system configuration requirements can be quickly determined, thereby improving resource utilization, avoiding resource waste, and improving economic efficiency.

[0058] Example 2

[0059] Figure 2 This is a flowchart of a configuration method for a microgrid system provided in Example 2 of the present invention. This embodiment, based on the above embodiments, further defines a method for generating a rectangular topology diagram based on the fitness value and the initial rectangular unit, and can be applied to the above embodiments.

[0060] like Figure 2 Shown, including:

[0061] Step 210: Generate an initial rectangular unit, where the initial rectangular unit includes a rectangular vertex and a rectangular center vertex. The rectangular vertex and the rectangular center vertex both represent a parameter set corresponding to the energy storage device in the microgrid system, where the parameter set includes the number of devices, target power, power value evaluation parameters, and resource consumption evaluation parameters.

[0062] Step 220: Obtain an objective function, wherein the objective function is a function of the number of devices, target power, power value evaluation parameters, and resource consumption evaluation parameters.

[0063] The objective function is composed of key parameters in the microgrid configuration process, including the number of devices, target power, power value evaluation parameters and resource consumption evaluation parameters. Furthermore, the dependent variable of the objective function represents different resource utilization rates or economic benefits.

[0064] Optionally, the objective function corresponding to the parameter set is:

[0065]

[0066] Among them, F is the total cost of the microgrid system operating for 24 hours, c i With s i are the unit capacity cost and installed capacity of wind turbines, solar photovoltaic cells and gas turbines respectively; c r is the fuel cost; N is the number of distributed micro-sources; P j is the rated output power of micro-source j; C j is the maintenance unit cost of micro-source j; λ is the wind curtailment cost coefficient; P wpj is the abandoned wind power; μ is the abandoned solar power cost coefficient; P pv is the abandoned optical power; c j P is the price of electricity purchased by the microgrid from the large grid; g1 The power that the microgrid purchases from the large grid; C s P is the price of electricity sold by the microgrid to the large grid; g2 The power sold by the microgrid to the large grid.

[0067] The objective function includes: photovoltaic power generation model

[0068]

[0069] Among them, P pv is the output power of solar photovoltaic; P stc The maximum output power of solar photovoltaic cells under standard conditions (25°C, 1.0 MPa); G is the light intensity (Kw / m2); G stc is the light intensity under standard conditions, which is 1kW / m2; μ is the temperature coefficient; T b is the surface temperature of the solar photovoltaic cell; T c The standard reference temperature is 25°C.

[0070] Wind power output model

[0071]

[0072] in, v t is the current actual wind speed; v i is the cut-in wind speed; v o is the cut-out wind speed; v e is the rated wind speed; p n is the rated output power of the wind turbine.

[0073] Energy storage device model

[0074]

[0075] Among them, P bo With P bi are the output power and absorption power of the battery respectively; P l (t) is the system load value at time t; S SOC (t) is the remaining battery capacity at time t, η a is the discharge efficiency of the battery; η b For the battery charging efficiency.

[0076] Microturbine Model

[0077]

[0078] Among them, C r (t) is the fuel cost of the gas turbine in t hours; P r is the output power of the gas turbine; k1, k2, k3 are the gas turbine curve coefficients, which are 0.0068, 0.21, and 0.46 respectively.

[0079] Furthermore, the objective function needs to satisfy certain constraints:

[0080] Device quantity constraints

[0081]

[0082] Among them, S i represents the actual installed number of wind turbines, solar photovoltaic cells, energy storage devices and gas turbines in the unit respectively; Indicates the maximum number of units that can be installed for each power supply unit capacity.

[0083] Power Constraints

[0084] P i,min ≤P i ≤P i,max

[0085] Among them, P i is the power of the i-th distributed generation in the microgrid, and max and min represent the maximum power and minimum power.

[0086] Energy storage device constraints

[0087] SOC min ≤SOC≤SOC max

[0088] SOC start =SOC end

[0089] Among them, SOC max SOC is the maximum value allowed for the battery state of charge; min The minimum value allowed for the battery state of charge; SOC start SOC is the initial state of charge of the battery; end The final state of charge of the battery.

[0090] Gas turbine ramping constraints

[0091] R down Δt≤P r (t)-P r (t-1)≤R up Δt

[0092] Among them, R down 、R up are the minimum and maximum ramp rates of the gas turbine output power, and Δt is the scheduling period of 1h.

[0093] Power balance constraints

[0094] P pv +P wpg +P bo +P r +P g =P load

[0095] Among them, P pv 、P wpg 、P bo and P r are the output power of solar photovoltaic cells, wind turbines, energy storage batteries and gas turbines respectively; P g is the interaction power between the microgrid and the large grid, P load is the load demand of the microgrid during period t.

[0096] Specifically, this application does not explain or elaborate on the specific calculation method and derivation content of the above-mentioned objective function and constraints.

[0097] Step 230: Determine an objective function value according to the parameter sets corresponding to the rectangle vertices and the rectangle center vertex, and determine a fitness value according to the objective function value.

[0098] Specifically, the parameter sets corresponding to the rectangle vertices and the rectangle center vertices can be brought into the objective function to determine the objective function value, and then the fitness value can be determined based on the objective function value. Specifically, the objective function value itself can be represented as the fitness value, or a mapping relationship between the objective function value and the fitness value can be established, and then the fitness value corresponding to the objective function value can be determined based on the mapping relationship.

[0099] Step 240: Generate a rectangular topology map according to the fitness value and the vertices of the initial rectangular unit.

[0100] Optionally, this step includes:

[0101] Taking the initial rectangular unit as the current rectangular unit;

[0102] For the current rectangular unit, classify the rectangle vertices and the rectangle center vertex according to the fitness value, and determine the first-category vertices and the second-category vertices in each current rectangle that meet the preset classification requirements according to the classification results, wherein the fitness value of the first-category vertices is higher than the fitness value of the second-category vertices;

[0103] Generate a first rectangular unit according to the first type of vertices and the second type of vertices, and determine the fitness values ​​of the rectangular vertices and the rectangular center vertex of the first rectangular unit;

[0104] If the fitness value corresponding to the first rectangular unit does not meet the preset fitness condition, the first rectangular unit is used as the current rectangular unit, and the step of classifying the rectangular vertices and the rectangular center vertex according to the fitness value is performed;

[0105] A rectangular topology map is determined based on the initial rectangular unit and the first rectangular unit.

[0106] Specifically, in the first round of iteration, the initial rectangular unit can be used as the current rectangular unit, and then the parameter set represented by the vertex of the current rectangular unit is brought into the objective function to determine the fitness value corresponding to the vertex.

[0107] Furthermore, the fitness values ​​of the vertices in the current rectangular unit can be sorted to determine the first type of vertices and the second type of vertices, wherein the first type of vertices can be the vertices with the highest fitness in the rectangular unit, and the second type of vertices can be the vertices with the second highest fitness in the rectangular unit. Furthermore, a first rectangular unit can be generated based on the first type of vertices and the second type of vertices, and the fitness values ​​of the rectangular vertices and the rectangular center vertex of the first rectangular unit can be determined. In this way, new rectangular units (first rectangular units) can be continuously generated, and each rectangular unit forms a rectangular topology graph. Since the first rectangular unit is generated based on the vertices with the best and second best fitness values ​​in the current rectangular unit, it can be ensured that the fitness of at least one vertex of the first rectangular unit is higher than that of the current rectangular unit, and then through continuous iteration, a target rectangular unit will eventually be generated, and the fitness value of the vertices included in the rectangular unit is the highest in the rectangular topology graph.

[0108] Specifically, during each iteration, it is necessary to determine whether the fitness of the vertex of the first rectangular unit in the rectangular topology diagram meets the preset fitness condition. If so, the vertex that meets the preset fitness condition is determined as the target vertex. Otherwise, the first rectangular unit is used as the current rectangular unit for the next round of iteration.

[0109] Optionally, generating a first rectangular unit according to the first-type vertices and the second-type vertices includes:

[0110] For each current rectangular unit, determining a first candidate vertex according to first-category vertices of the current rectangular unit and adjacent rectangular units;

[0111] generating a second rectangular unit according to the first candidate vertex;

[0112] For any one of the initial rectangular unit and the second rectangular unit, determining a second candidate vertex according to the first type of vertices and the second type of vertices in the rectangular unit;

[0113] A first rectangular unit is generated according to the second candidate vertex.

[0114] Among them, the first type of vertex can be the vertex with the highest fitness in the rectangular unit, the second rectangular unit can be the vertex with the second highest fitness in the rectangular unit, and the first candidate vertex and the second candidate vertex are the first vertices of the rectangular unit to be generated (the second rectangular unit and the first rectangular unit).

[0115] Specifically, since the determination of the first candidate vertex is based on the vertex with the highest fitness in the current rectangular unit and the adjacent rectangular units, the fitness of the first candidate vertex may be higher than the first type of vertices in the current rectangular unit and the adjacent rectangular units. Similarly, the generation of the second candidate vertex relies on the vertices with the highest and second highest fitness in any one of the initial rectangular unit and the second rectangular unit. Therefore, the fitness of the second candidate vertex may be higher than the vertices with the highest and second highest fitness in any one of the initial rectangular unit and the second rectangular unit. Furthermore, by determining a new vertex through a vertex with high fitness, the new vertex will most likely have a higher fitness. Therefore, in continuous iterations, vertices with higher fitness will continue to appear, and eventually the target vertex that meets the preset fitness conditions can be found to determine the configuration information of the microgrid system.

[0116] Optionally, determining the first candidate vertex according to the first type of vertices of the current rectangular unit and adjacent rectangular units includes:

[0117] Determine a line connecting the first-type vertices of the current rectangular unit and the first-type vertices of the adjacent rectangular unit;

[0118] A first candidate vertex on the line is determined, where the fitness value of the first candidate vertex is greater than a first-category vertex of the current rectangular unit or a first-category vertex of an adjacent rectangular unit.

[0119] Specifically, after determining the first and second-category vertices in each rectangular cell, a line can be drawn between the current rectangular cell and the first-category vertex of the adjacent rectangular cell, and the first candidate vertex can be determined along the line. It should be noted that the essence of generating candidate vertices is to identify a vertex with higher fitness, and thus determine the optimal parameter set. It can be assumed that the line connecting the first-category vertices with the highest fitness in two rectangular cells may contain coordinate points with higher fitness. Therefore, based on this method, the first candidate vertex can be determined along the line, thereby quickly narrowing the solution range and determining the optimal target vertex.

[0120] Furthermore, after determining the first candidate vertex, the method of the embodiment of the present invention can be used to use the first candidate vertex as the first vertex of the rectangular unit to be generated, and then a new rectangular unit, i.e., the second rectangular unit, can be generated according to the preset length and preset angle.

[0121] Similarly, for the first-class vertices (vertices with the highest fitness) and the second-class vertices (vertices with the second-best fitness) in any one of the initial rectangular unit and the second rectangular unit, the second candidate vertex can be determined based on the coordinates of the first-class vertex and the coordinates of the second-class vertex, and the fitness of the second candidate vertex will be higher than the first-class vertex and the second-class vertex in the current rectangular unit.

[0122] Optionally, the second candidate point can be determined by the following formula:

[0123]

[0124] Among them, α decreases and adjusts the size of the aggregation range. T is the number of iterations, is the second candidate point generated, is the point with the best fitness value of the rectangular unit, is the point with the suboptimal fitness value of the rectangular unit.

[0125] Specifically, as T increases gradually with the progress of iteration, the range of generating the second candidate point gradually decreases, thus achieving the purpose of iterative convergence.

[0126] Furthermore, after determining the second candidate vertex, the method of the embodiment of the present invention can be used to use the second candidate vertex as the first vertex of the rectangular unit to be generated, and then a new rectangular unit, i.e., the first rectangular unit, can be generated according to the preset length and preset angle.

[0127] Specifically, the first candidate point is determined based on the vertex with the highest fitness among different rectangular units, and the second candidate point is determined based on the two vertices with the highest and second highest fitness in a single rectangular unit. Therefore, the parameter sets corresponding to the first candidate vertex and the second candidate vertex will retain some parameters with higher fitness. At the same time, the newly generated first rectangular unit and second rectangular unit are generated based on the second candidate vertex and the first candidate vertex. Therefore, the fitness of the vertices of the first rectangular unit and the second rectangular unit will be higher than that of the current rectangular unit. In this way, rectangular units with higher fitness can be generated in a continuous iterative process, and the target vertex whose fitness meets the preset fitness conditions can be finally determined.

[0128] Step 250: For each rectangular unit in the rectangular topology diagram, determine a target vertex whose fitness value meets a preset fitness condition, and determine configuration information of the microgrid system according to a target parameter set represented by the target vertex.

[0129] An embodiment of the present invention provides a method for configuring a microgrid system. This method generates first and second candidate vertices from first and second-category vertices, then generates second rectangular units and first rectangular units with higher fitness during an iterative process. Ultimately, a target vertex that meets a preset fitness condition is determined during the iterative process. This method can more rapidly determine the target vertex, thereby quickly determining the target parameter set and the corresponding microgrid system configuration information, thereby increasing the speed of determining configuration information. Using this configuration information to configure the microgrid system can improve resource utilization and enhance economic efficiency.

[0130] Example 3

[0131] Figure 3 This is a schematic diagram of the structure of a configuration device for a microgrid system provided by the third embodiment of the present invention. Figure 3 As shown, the device includes:

[0132] A rectangular unit generation module 310 is configured to generate an initial rectangular unit, wherein the initial rectangular unit includes a rectangular vertex and a rectangular center vertex, wherein the rectangular vertex and the rectangular center vertex both represent a parameter set corresponding to the energy storage device in the microgrid system, wherein the parameter set includes the number of devices, target power, power value evaluation parameters, and resource consumption evaluation parameters;

[0133] A fitness value determination module 320 is configured to determine the fitness values ​​of the rectangular vertices and the rectangular center vertex based on the parameter set, and generate a rectangular topology map according to the fitness values ​​and the initial rectangular unit;

[0134] The configuration information determination module 330 is configured to determine, for each rectangular unit in the rectangular topology diagram, a target vertex whose fitness value satisfies a preset fitness condition, and determine the configuration information of the microgrid system according to a target parameter set represented by the target vertex.

[0135] Through the technical solution of this embodiment, the configuration information of the microgrid system that is optimal / meets the configuration requirements of the microgrid system can be quickly determined, thereby improving resource utilization. At the same time, resource waste can be avoided and economic benefits can be improved.

[0136] Optionally, the rectangular unit generation module 310 includes:

[0137] An initial rectangle generating unit, used to generate an initial rectangle unit based on random vertices, preset side lengths and preset angles;

[0138] The central vertex determining unit is used to determine the central vertex of a rectangle inside the initial rectangular unit according to the side length and the intersection point of the diagonal line of the initial rectangular unit.

[0139] Optionally, the fitness value determination module 320 includes:

[0140] an acquiring unit, configured to acquire an objective function, wherein the objective function is a function of the number of devices, target power, a power value evaluation parameter, and a resource consumption evaluation parameter;

[0141] a fitness determination unit, configured to determine an objective function value according to parameter sets corresponding to the rectangle vertices and the rectangle center vertex, and determine a fitness value according to the objective function value;

[0142] The rectangular topology map determining unit is used to generate a rectangular topology map according to the fitness value and the vertices of the initial rectangular unit.

[0143] The rectangular topology determination unit includes:

[0144] A current rectangular unit determining subunit, configured to use the initial rectangular unit as the current rectangular unit;

[0145] a classification subunit, configured to classify the rectangle vertices and the rectangle center vertex of the current rectangle unit according to the fitness value, and determine first-category vertices and second-category vertices in each current rectangle that meet preset classification requirements according to the classification results, wherein the fitness value of the first-category vertices is higher than the fitness value of the second-category vertices;

[0146] a fitness determination subunit, configured to generate a first rectangular unit according to the first-type vertices and the second-type vertices, and determine fitness values ​​of the rectangular vertices and the rectangular center vertex of the first rectangular unit;

[0147] a judgment subunit, configured to, if the fitness value corresponding to the first rectangular unit does not meet a preset fitness condition, use the first rectangular unit as a current rectangular unit and perform a step of classifying the rectangular vertices and the rectangular center vertex according to the fitness value;

[0148] The graph generating subunit is configured to determine a rectangular topology graph based on the initial rectangular unit and the first rectangular unit.

[0149] The fitness determination subunit specifically includes:

[0150] A first candidate vertex determination micro-unit is configured to determine, for each current rectangular unit, a first candidate vertex based on first-type vertices of the current rectangular unit and adjacent rectangular units;

[0151] The second rectangular unit determines a micro unit, which is used to generate a second rectangular unit according to the first candidate vertex;

[0152] A second candidate vertex determination micro-unit is configured to determine, for any one of the initial rectangular unit and the second rectangular unit, a second candidate vertex based on the first and second types of vertices in the rectangular unit;

[0153] The first rectangular unit generates a micro unit, which is used to generate a first rectangular unit according to the second candidate vertex.

[0154] Optionally, the first candidate vertex determination micro-unit is specifically used to determine a line connecting the first type of vertex of the current rectangular unit and the first type of vertex of an adjacent rectangular unit;

[0155] A first candidate vertex on the line is determined, where the fitness value of the first candidate vertex is greater than a first-category vertex of the current rectangular unit or a first-category vertex of an adjacent rectangular unit.

[0156] Optionally, the configuration information determining module 330 includes:

[0157] A judgment unit, configured to determine, for each rectangular unit in the rectangular topological graph, a target vertex whose fitness exceeds a preset threshold;

[0158] The configuration unit is used to determine the number of wind turbines, the number of solar photovoltaic cells, the number of gas turbines and the output power of the microgrid system according to the number of devices corresponding to the target vertex and the target power.

[0159] The configuration device of the microgrid system provided in the embodiment of the present invention can execute the configuration method of the microgrid system provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0160] Example 4

[0161] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0162] As shown in FIG. X , the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, that is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0163] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0164] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the configuration method for the microgrid system.

[0165] In some embodiments, the microgrid system configuration method can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the microgrid system configuration method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to execute the microgrid system configuration method in any other suitable manner (e.g., via firmware).

[0166] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0167] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0168] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0169] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0170] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0171] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0172] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.

[0173] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A configuration method for a microgrid system, characterized in that: include: Generate an initial rectangular unit, the initial rectangular unit including a rectangular vertex and a rectangular center vertex, the rectangular vertex and the rectangular center vertex both representing a parameter set corresponding to the energy storage device in the microgrid system, wherein the parameter set includes the number of devices, target power, power value evaluation parameters, and resource consumption evaluation parameters; Determining fitness values ​​of the rectangular vertices and the rectangular center vertex respectively based on the parameter set, and generating a rectangular topology map according to the fitness values ​​and the initial rectangular unit; For each rectangular unit in the rectangular topology graph, determining a target vertex whose fitness value satisfies a preset fitness condition, and determining configuration information of the microgrid system according to a target parameter set represented by the target vertex; The step of determining the fitness values ​​of the rectangular vertices and the rectangular center vertex based on the parameter set, and generating a rectangular topology map according to the fitness values ​​and the initial rectangular unit, includes: Obtaining an objective function, wherein the objective function is a function of the number of devices, target power, a power value evaluation parameter, and a resource consumption evaluation parameter; Determine an objective function value according to parameter sets corresponding to the rectangle vertices and the rectangle center vertices, respectively, wherein the objective function value represents a fitness value; A rectangular topology graph is generated according to the fitness value and the vertices of the initial rectangular unit.

2. The method according to claim 1, characterized in that The generating of the initial rectangular unit, wherein the initial rectangular unit includes a rectangular vertex and a rectangular center vertex, comprises: Generate an initial rectangular unit based on random vertices, preset side lengths and preset angles; A rectangular center vertex is determined inside the initial rectangular unit according to the intersection of the side length and the diagonal line of the initial rectangular unit.

3. The method according to claim 1, characterized in that The generating of a rectangular topology graph according to the fitness value and the vertices of the initial rectangular unit includes: Taking the initial rectangular unit as the current rectangular unit; For the current rectangular unit, classify the rectangle vertices and the rectangle center vertex according to the fitness value, and determine the first-category vertices and the second-category vertices in each current rectangle that meet the preset classification requirements according to the classification results, wherein the fitness value of the first-category vertices is higher than the fitness value of the second-category vertices; Generate a first rectangular unit according to the first type of vertices and the second type of vertices, and determine the fitness values ​​of the rectangular vertices and the rectangular center vertex of the first rectangular unit; If the fitness value corresponding to the first rectangular unit does not meet the preset fitness condition, the first rectangular unit is used as the current rectangular unit, and the step of classifying the rectangular vertices and the rectangular center vertex according to the fitness value is performed; A rectangular topology map is determined based on the initial rectangular unit and the first rectangular unit.

4. The method according to claim 3, characterized in that Generating a first rectangular unit according to the first type of vertices and the second type of vertices includes: For each current rectangular unit, determining a first candidate vertex according to first-category vertices of the current rectangular unit and adjacent rectangular units; generating a second rectangular unit according to the first candidate vertex; For any one of the initial rectangular unit and the second rectangular unit, determining a second candidate vertex according to the first type of vertices and the second type of vertices in the rectangular unit; A first rectangular unit is generated according to the second candidate vertex.

5. The method according to claim 4, characterized in that The determining of the first candidate vertex according to the first type of vertices of the current rectangular unit and the adjacent rectangular units includes: Determine a line connecting the first-type vertices of the current rectangular unit and the first-type vertices of the adjacent rectangular unit; A first candidate vertex on the line is determined, where the fitness value of the first candidate vertex is greater than a first-category vertex of the current rectangular unit or a first-category vertex of an adjacent rectangular unit.

6. The method according to any one of claims 1 to 5, characterized in that The step of determining, for each rectangular unit in the rectangular topology graph, a target vertex whose fitness value satisfies a preset fitness condition, and determining configuration information of the microgrid system according to a target parameter set represented by the target vertex includes: For each rectangular unit in the rectangular topological graph, determining a target vertex whose fitness exceeds a preset threshold; The number of wind turbines, the number of solar photovoltaic cells, the number of gas turbines in the microgrid system and the output power of the microgrid system are determined according to the number of devices corresponding to the target vertex and the target power.

7. A configuration device for a microgrid system, characterized in that: include: a rectangular unit generation module, configured to generate an initial rectangular unit, wherein the initial rectangular unit includes a rectangular vertex and a rectangular center vertex, wherein the rectangular vertex and the rectangular center vertex both represent a parameter set corresponding to the energy storage device in the microgrid system, wherein the parameter set includes the number of devices, target power, power value evaluation parameters, and resource consumption evaluation parameters; a fitness value determination module, configured to determine the fitness values ​​of the rectangular vertices and the rectangular center vertex respectively based on the parameter set, and generate a rectangular topology map according to the fitness values ​​and the initial rectangular unit; a configuration information determination module, configured to determine, for each rectangular unit in the rectangular topology graph, a target vertex whose fitness value satisfies a preset fitness condition, and determine configuration information of the microgrid system based on a target parameter set represented by the target vertex, wherein the configuration information is used to ensure that the economic benefits of the microgrid system meet expected benefits; Among them, the fitness value determination module is specifically used to: Obtaining an objective function, wherein the objective function is a function of the number of devices, target power, a power value evaluation parameter, and a resource consumption evaluation parameter; Determine an objective function value according to parameter sets corresponding to the rectangle vertices and the rectangle center vertices, respectively, wherein the objective function value represents a fitness value; A rectangular topology graph is generated according to the fitness value and the vertices of the initial rectangular unit.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the configuration method of the microgrid system according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the configuration method of the microgrid system according to any one of claims 1 to 6 when executed.

Citation Information

Patent Citations

  • Topology and parameter verification method for power distribution network

    CN115017660A

  • Antenna topological pixel optimization design method adopting machine learning aided optimization

    CN116341360A