Energy system network topology optimization method and system based on harmony search
Optimizing the energy system network topology through the harmony search algorithm solves the energy loss problem caused by only considering cost in the existing technology, achieves comprehensive optimization of energy loss and layout cost, and improves the efficiency of the energy system.
Patent Information
- Application Number
- CN202411140242.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-08-20
AI Technical Summary
Existing energy system network topology optimization methods only consider cost factors, resulting in the selection of long-distance transmission lines, increasing energy loss and reducing system efficiency.
The energy system network topology optimization method based on harmony search is used to obtain the location information of energy stations and loads, add ordinary nodes, hierarchical lines, set different cross-sectional areas, calculate energy loss and layout costs, and use the harmony search algorithm to optimize the network topology to reduce energy losses and placement costs.
Comprehensively consider energy loss and layout costs, optimize the energy system network topology, reduce energy loss, and improve system efficiency.
Smart Images

Figure CN118656944A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method and system for optimizing energy system network topology based on harmony search. Background Art
[0002] With the development of photovoltaic power generation, more and more clean energy systems containing photovoltaic power generation equipment are being used, making the network topology of energy systems increasingly complex. Optimizing the network topology of energy systems can effectively improve the reliability and stability of energy systems, reduce the probability of failures, and enhance the system's ability to respond to emergencies. This is particularly important for power systems, as the continuity of power supply directly affects social production and residents' lives.
[0003] Currently, energy system network topology optimization often focuses on selecting node addresses with minimal cost, that is, determining the location of each node in the energy system and then constructing transmission lines based on the node locations.
[0004] However, considering only the cost factor, although it helps to reduce the initial investment, may lead to the selection of long-distance transmission lines, which may increase energy loss and reduce system efficiency. Summary of the Invention
[0005] In order to solve the technical problem that the existing technology only considers the cost factor, although it helps to reduce the initial investment, only considering the cost may lead to the selection of long-distance transmission lines, which may increase energy loss and reduce system efficiency, the present invention provides an energy system network topology optimization method and system based on harmonic search.
[0006] The technical solutions provided by the embodiments of the present invention are as follows: First aspect: An embodiment of the present invention provides a method for optimizing energy system network topology based on harmony search, comprising: S1: Obtain the location information of the energy station and the load in the energy system; S2: Using the location information of the energy station as the energy point and the location information of the load as the load point, adding multiple common nodes between the energy point and the load point to generate multiple energy system network topologies connecting the energy points and the load points, wherein the nodes of the energy system network topology include energy points, load points, and common nodes; S3: Classifying the lines in the energy system network topology according to the positional relationship between each line and the energy point and the load point; S4: Set different cross-sectional areas for lines of different levels; S5: Calculate the energy system layout cost under various energy system network topologies; S6: Calculate the transmission power between nodes in various energy system network topologies; S7: Calculate the energy loss of the energy system under various energy system network topologies based on the transmission power between each node; S8: With the goal of reducing energy loss and layout costs of the energy system, the network topology of the energy system is optimized through the harmony search algorithm.
[0007] Second aspect: An embodiment of the present invention provides an energy system network topology optimization system based on harmony search, comprising: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the energy system network topology optimization method based on harmony search as described in the first aspect is implemented.
[0008] The third aspect: An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for optimizing the network topology of an energy system based on harmony search as described in the first aspect is implemented.
[0009] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least: In the present invention, the two factors of energy loss and layout cost are comprehensively considered, with the goal of reducing the energy loss of the energy system and reducing the layout cost of the energy system. The network topology of the energy system is optimized through the harmony search algorithm to reduce the energy loss of the energy system during the transmission process and improve the efficiency of the energy system. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] 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.
[0011] Figure 1 A schematic diagram of a flow chart of a method for optimizing energy system network topology based on harmony search provided by an embodiment of the present invention; Figure 2 A schematic structural diagram of an energy system network topology optimization system based on harmony search is provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0012] The technical solution of the present invention is described below in conjunction with the accompanying drawings.
[0013] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as an "exemplary" in the present invention should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner. Furthermore, in the embodiments of the present invention, "and / or" can mean both or either of the two.
[0014] In the embodiments of the present invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, when the distinction is not emphasized, the meanings they convey are the same. The terms "of," "corresponding," and "corresponding" may sometimes be used interchangeably. It should be noted that, when the distinction is not emphasized, the meanings they convey are the same.
[0015] In the embodiments of the present invention, sometimes a subscript such as W1 may be mistakenly written as a non-subscript form such as W1. When the difference is not emphasized, the meanings to be expressed are the same.
[0016] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0017] Reference Manual Figure 1 , which shows a flow chart of an energy system network topology optimization method based on harmony search provided by an embodiment of the present invention.
[0018] An embodiment of the present invention provides a method for optimizing energy system network topology based on harmony search. This method can be implemented by a device for optimizing energy system network topology based on harmony search, which can be a terminal or a server. The process flow of the method for optimizing energy system network topology based on harmony search can include the following steps: S1: Obtain the location information of the energy station and the location information of the load in the energy system.
[0019] S2: Using the location information of the energy station as the energy point and the location information of the load as the load point, multiple common nodes are added between the energy point and the load point to generate multiple energy system network topologies connecting the energy point and the load point.
[0020] Among them, the nodes of the energy system network topology include energy points, load points and ordinary nodes.
[0021] Specifically, node information is obtained and all nodes are connected to generate a complete graph. The weight of each edge can be calculated based on distance or other cost factors. A minimum spanning tree is extracted from the complete graph as the initial network topology. This can be achieved using the Kruskal or Prim algorithms. The edges of the minimum spanning tree are removed from the complete graph to form a candidate edge set. Several edges from the candidate edge set are selected and added to the initial topology to form redundant paths, increasing the reliability and flexibility of the network. By randomly selecting different common nodes and candidate edges, a variety of different network topologies can be generated.
[0022] S3: Classify the lines in the energy system network topology according to the positional relationship between each line and the energy point and load point.
[0023] In a possible implementation, S3 specifically includes sub-steps S301 to S303: S301: Determine the line directly connected to the energy point as a first-level line.
[0024] S302: Determine the line connecting two common nodes as a secondary line.
[0025] S303: The line directly connected to the load point is determined to be a third-level line.
[0026] S4: Set different cross-sectional areas for lines of different levels.
[0027] In a possible implementation, the cross-sectional area of the primary circuit is greater than the cross-sectional area of the secondary circuit, and the cross-sectional area of the secondary circuit is greater than the cross-sectional area of the tertiary circuit.
[0028] It's important to note that primary lines connect directly to energy points. These lines transmit high power and carry heavy loads, requiring a larger cross-sectional area to ensure stability and reliability. Increasing the cross-sectional area reduces line resistance, minimizes power loss, and improves transmission efficiency. Secondary lines connect two common nodes, serving as auxiliary transmission lines. Their moderate cross-sectional area provides necessary redundancy and improves system reliability. Tertiary lines connect to load points. These lines transmit relatively low power and can therefore have a smaller cross-sectional area, saving costs.
[0029] In this invention, by classifying the lines in the energy system network topology and setting different cross-sectional areas for lines at different levels, the reliability and safety of the system can be improved. Furthermore, by setting different cross-sectional areas at different levels, resources can be rationally allocated, reducing material and construction costs while ensuring system safety and reliability. Important lines use large-cross-sectional area cables, while secondary and final-level lines use smaller-cross-sectional area cables, thus avoiding resource waste.
[0030] S5: Calculate the energy system layout cost under various energy system network topologies.
[0031] In one possible implementation, the energy system deployment cost is specifically:
[0032] in, C represents the energy system layout cost, l ij Representation node i With node j The length of the line between a ij Representation node i With node j The cross-sectional area of the line between c mat represents the unit cost of line materials, c ins represents the unit cost of line installation, N Represents the total number of nodes in the energy system.
[0033] In this paper, the energy system layout cost mainly includes material cost and installation cost, ensuring a comprehensive layout cost assessment. By calculating the layout costs of different topologies, comparisons and selections can be made, helping to optimize the energy system network layout to minimize costs.
[0034] S6: Calculate the transmission power between nodes in various energy system network topologies.
[0035] In a possible implementation, S6 specifically includes sub-steps S601 to S603: S601: Constructing power flow equations:
[0036] in, P i Representation node i The power flow, P ij Representation node i With node j The transmission power between X ij Representation node i With node j The reactance between B ij Representation node i With node j The susceptance between δ j Representation node j The phase, δi Representation node i The phase, N Represents the total number of nodes in the energy system.
[0037] S602: For the power flow of each node in the energy system, the power flow equation is expressed in matrix form: Where P represents the power flow matrix of the energy system, B represents the susceptance matrix, and δ represents the phase matrix.
[0038] S603: Solve the power flow equation to obtain the transmission power between each node.
[0039] Alternatively, an iterative method such as the Newton-Raphson method can be used for the solution.
[0040] Specifically, the initial node voltages and phase angles are set. The power imbalance (the difference between actual power and target power) is calculated. The Jacobian matrix is constructed to represent the sensitivity of power changes to voltage and phase angle changes. The linear equations are solved and the node voltages and phase angles are updated. The above steps are repeated until the power imbalance is within an acceptable range (convergence). Once the phase angle δ , electrical conductance B The solution is complete and the nodes can be calculated i With node j The transmission power between P ij : .
[0041] In this paper, by constructing and solving the power flow equation, the transmission power between nodes in an energy system can be accurately calculated. The specific steps include initializing parameters, constructing the susceptance matrix, solving the power flow equation, and calculating the transmission power. This process provides basic data support for optimizing the energy system network topology, ensuring efficient and reliable system operation.
[0042] S7: Calculate the energy loss of the energy system under various energy system network topologies based on the transmission power between each node.
[0043] In a possible implementation, the energy loss of the energy system is specifically:
[0044] in, E represents the energy loss of the energy system, N represents the total number of nodes in the energy system, e ij Representation node i With node j The energy loss between T represents the total observation time, express t Time Node i With node j The power loss between express t Time Node i With node j The transmission power between U Indicates the rated voltage of the energy system network, R ij Representation node i With node j The line resistance between ρ represents the line resistivity, l ij Representation node i With node j The length of the line between a ij Representation node i With node j The cross-sectional area of the line between.
[0045] S8: With the goal of reducing energy loss and layout costs of the energy system, the network topology of the energy system is optimized through the harmony search algorithm.
[0046] The network topology parameters of the energy system network topology include: the location of each node, the length of each line, and the cross-sectional area.
[0047] The Harmony Search Algorithm (HS) is a heuristic optimization algorithm for finding harmonious tones during musical improvisation. It mimics the process by which musicians continuously adjust tones to find the optimal harmony during improvisation.
[0048] In the present invention, the two factors of energy loss and layout cost are comprehensively considered, with the goal of reducing the energy loss of the energy system and reducing the layout cost of the energy system. The network topology of the energy system is optimized through the harmony search algorithm to reduce the energy loss of the energy system during the transmission process and improve the efficiency of the energy system.
[0049] In a possible implementation, S8 specifically includes sub-steps S801 to S803: S801: Construct an optimization objective function with the goal of reducing energy system energy loss and reducing energy system layout cost.
[0050] Optionally, the optimization objective function is specifically:
[0051] in,f represents the optimization objective function, Y represents the energy system network topology scheme, E represents the energy loss of the energy system, C represents the energy system layout cost, α The weight coefficient representing the energy loss of the energy system.
[0052] Among them, those skilled in the art can set the weight coefficient of energy loss of the energy system according to actual conditions. α The present invention does not limit the size.
[0053] In the present invention, energy loss and layout cost are combined in one optimization objective function to ensure comprehensive consideration of system performance and economy, reduce energy loss, and achieve comprehensive optimization of the energy system network topology.
[0054] S802: Using the inverse of the optimization objective function as the fitness function of the harmony search algorithm.
[0055] S803: With the goal of maximizing the fitness function, the optimal energy system network topology is determined through the harmony search algorithm, and the energy system network topology is optimized.
[0056] It should be noted that the traditional harmony search algorithm is prone to fall into a local optimal solution. The present invention improves the harmony search algorithm.
[0057] Optionally, S803 specifically includes: Initialize the harmony memory. The harmony memory includes multiple harmonies. Each harmony includes multiple components. Each harmony represents a feasible energy system network topology. Each component represents a network topology parameter. The network topology parameters include: the location of each node, the length of each line, and the cross-sectional area:
[0058] in, HM Indicates the harmony memory bank, D Represents the harmonic dimension, X i Indicates the i A harmony, HMS Indicates the size of the harmony memory library, x ij Indicates the i The first in the harmony j A quantity, , D Represents the harmonic dimension.
[0059] Generate random numbers r 1. Determine the random number rIs 1 less than the probability of the value in the harmony memory? If so, randomly generate a new harmony from the harmony memory. Otherwise, generate a new harmony through random selection.
[0060] Optionally, randomly generating new harmonies through the harmony memory library is specifically as follows:
[0061]
[0062] in, X new Indicates new harmony, x new,j Indicates the first j A quantity, D Represents the harmonic dimension, rand Indicates random selection, x ij Indicates the i The first in the harmony j A quantity, , HMS Indicates the size of the harmony memory library.
[0063] In this invention, randomly selecting new solutions from the harmonic memory effectively leverages existing excellent solutions. The harmonic memory stores the currently found optimal or relatively optimal solutions, and leveraging the characteristics of these solutions can accelerate convergence to the global optimal solution. Randomly selecting different component combinations to generate new solutions helps maintain population diversity and avoid falling into local optima.
[0064] Optionally, a new harmony is generated by random selection as follows:
[0065] in, upper j Indicates the j The upper bound of the component, lower j Indicates the j The lower bound of the component.
[0066] In this paper, by randomly selecting and generating new harmonies within the domain, we can effectively maintain solution diversity, expand the search range, improve the robustness of the algorithm, ensure the feasibility of the solution, and provide a balance between exploration and exploitation. This method enables the harmony search algorithm to search the solution space more comprehensively, increasing the probability of finding the global optimal solution and enhancing the adaptability and practicality of the algorithm.
[0067] Optionally, the upper boundary and the lower boundary are specifically:
[0068] in, Indicates the j The component in t The upper bound at the iteration, Indicates the j The component in t -The upper bound at 1 iteration, HM (: j ) indicates the first j A quantity, Indicates the first j The maximum value of the components, Indicates the j The component in t The lower bound at the iteration, Indicates the j The component in t -The lower bound at 1 iteration, Indicates the first j The minimum value of the components, T Indicates the total number of iterations.
[0069] It should be noted that in the early stages, a larger search range ensures diverse understanding; in the later stages, a smaller search range ensures refined understanding, thereby balancing the needs of exploration and development.
[0070] In this paper, by dynamically adjusting the upper and lower bounds to generate new harmonies, the search efficiency and robustness of the harmony search algorithm can be effectively improved. Dynamically adjusting the bounds not only allows for a smooth transition from global to local search, maintaining solution diversity, but also enhances both global and local search capabilities, preventing premature convergence, ultimately increasing the algorithm's convergence speed and the likelihood of finding the optimal solution. This approach provides flexibility and adaptability to the optimization process, making the harmony search algorithm more efficient and reliable when handling complex optimization problems.
[0071] Generate random numbers when randomly generating new harmonies from the harmony memory r 2. Determine the random number r Is 2 less than the pitch fine-tuning probability? If so, generate a new harmony through pitch fine-tuning. Otherwise, keep the harmony unchanged.
[0072] Optionally, generating a new harmony by fine-tuning the pitch is specifically as follows:
[0073] in, Indicates the first chord in the harmony after the new harmony is fine-tuned. j A quantity, x new,jIndicates the first j A quantity, BW Indicates fine-tuning bandwidth, r 3 represents a random number between -1 and 1, x best,j Indicates the harmony with the highest current fitness value. j A quantity, x worst,j Indicates the harmony with the lowest current fitness value. j A portion.
[0074] In this paper, a method for generating new harmonies through pitch fine-tuning combines information from optimal and worst-case solutions, utilizing fine-tuning bandwidth and random number adjustments to improve local search capabilities, balance exploration and exploitation, accelerate convergence, maintain solution diversity, and provide greater flexibility and adaptability. This method plays a key role in the harmony search algorithm, enabling it to more efficiently search the solution space and find the optimal solution.
[0075] The generated new harmony is compared with the harmony with the lowest fitness value in the harmony memory to determine whether the fitness value of the new harmony is greater than the fitness value of the harmony with the lowest fitness value in the harmony memory. If so, the harmony memory is updated by replacing the harmony with the new harmony. Otherwise, the harmony memory remains unchanged.
[0076] Determine whether the current number of iterations has reached the maximum number of iterations. If so, output the energy system network topology represented by the harmony with the highest fitness as the optimal energy system network topology. Otherwise, return to continue iteration.
[0077] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least: In the present invention, the two factors of energy loss and layout cost are comprehensively considered, with the goal of reducing the energy loss of the energy system and reducing the layout cost of the energy system. The network topology of the energy system is optimized through the harmony search algorithm to reduce the energy loss of the energy system during the transmission process and improve the efficiency of the energy system.
[0078] Reference Manual Figure 2 , showing a structural schematic diagram of an energy system network topology optimization system based on harmony search provided by the present invention.
[0079] The present invention further provides an energy system network topology optimization system 20 based on harmony search, which is applied to the above-mentioned energy system network topology optimization method based on harmony search, comprising: Processor 201; The memory 202 stores computer-readable instructions, which, when executed by the processor 201 , implement the energy system network topology optimization method based on harmony search as described in the method embodiment.
[0080] The energy system network topology optimization system 20 based on harmony search provided by the present invention can execute the above-mentioned energy system network topology optimization method based on harmony search and achieve the same or similar technical effects. To avoid repetition, the present invention will not go into details.
[0081] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least: In the present invention, the two factors of energy loss and layout cost are comprehensively considered, with the goal of reducing the energy loss of the energy system and reducing the layout cost of the energy system. The network topology of the energy system is optimized through the harmony search algorithm to reduce the energy loss of the energy system during the transmission process and improve the efficiency of the energy system.
[0082] It should be understood that the processor in the embodiments of the present invention may be a central processing unit (CPU), but may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0083] It should also be understood that the memory in the embodiments of the present invention may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0084] The above embodiments can be implemented in whole or in part via software, hardware (e.g., circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When loaded or executed on a computer, the processes or functions described in accordance with the embodiments of the present invention are fully or partially performed. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired means (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium accessible by a computer or a data storage device such as a server or data center that contains a collection of one or more available media. The available medium can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media. The semiconductor media can be a solid-state drive.
[0085] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. A and B can be singular or plural. Furthermore, the character " / " as used herein generally indicates an "or" relationship between the associated objects, but it may also indicate an "and / or" relationship. For specific understanding, please refer to the context.
[0086] In this disclosure, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, "at least one of a, b, or c" can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural.
[0087] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0088] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
[0089] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0090] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of the device or unit, which can be electrical, mechanical or other forms.
[0091] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0092] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0093] If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or the portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include various media that can store program code, such as USB flash drives, mobile hard drives, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical disks.
[0094] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for optimizing the network topology of an energy system based on harmony search as described in the method embodiment is implemented.
[0095] The computer-readable storage medium provided by the present invention can implement the steps and effects of the energy system network topology optimization method based on harmony search in the above method embodiment. To avoid repetition, the present invention will not go into details.
[0096] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least: In the present invention, the two factors of energy loss and layout cost are comprehensively considered, with the goal of reducing the energy loss of the energy system and reducing the layout cost of the energy system. The network topology of the energy system is optimized through the harmony search algorithm to reduce the energy loss of the energy system during the transmission process and improve the efficiency of the energy system.
[0097] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
[0098] There are a few points to note: (1) The drawings of the embodiments of the present invention only relate to the structures related to the embodiments of the present invention. Other structures may refer to conventional designs.
[0099] (2) For the sake of clarity, the thickness of layers or regions in the drawings used to describe the embodiments of the present invention are exaggerated or reduced, that is, these drawings are not drawn to scale. It is understood that when an element such as a layer, film, region, or substrate is referred to as being "on" or "under" another element, the element may be "directly on" or "under" the other element or intervening elements may be present.
[0100] (3) In the absence of conflict, the embodiments of the present invention and the features therein may be combined with each other to form new embodiments.
[0101] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. The protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for optimizing energy system network topology based on harmony search, characterized in that: include: S1: Obtain location information of energy stations and loads in the energy system; S2: using the location information of the energy station as the energy point and the location information of the load as the load point, adding a plurality of common nodes between the energy point and the load point, and generating a plurality of energy system network topologies connecting the energy point and the load point, wherein the nodes of the energy system network topology include energy points, load points and common nodes; S3: Classifying the lines in the energy system network topology according to the positional relationship between each line and the energy point and the load point; S4: Set different cross-sectional areas for lines of different levels; S5: Calculate the energy system layout cost under various energy system network topologies; S6: Calculate the transmission power between nodes in various energy system network topologies; S7: Calculate the energy loss of the energy system under various energy system network topologies based on the transmission power between each node; S8: With the goal of reducing energy loss and layout cost of the energy system, the network topology of the energy system is optimized through the harmony search algorithm.
2. The method for optimizing energy system network topology based on harmony search according to claim 1 is characterized in that: The S3 specifically includes: S301: Determine the line directly connected to the energy point as a primary line; S302: Determine a line connecting two common nodes as a secondary line; S303: The line directly connected to the load point is determined to be a third-level line.
3. The energy system network topology optimization method based on harmony search according to claim 2 is characterized in that: The cross-sectional area of the primary circuit is greater than the cross-sectional area of the secondary circuit, and the cross-sectional area of the secondary circuit is greater than the cross-sectional area of the tertiary circuit.
4. The method for optimizing energy system network topology based on harmony search according to claim 1, characterized in that: The energy system layout cost is specifically: in, C represents the energy system layout cost, l ij Representation Node i With Node j The length of the line between a ij Representation Node i With Node j The cross-sectional area of the line between c mat represents the unit cost of line materials, c ins represents the unit cost of line installation, N Represents the total number of nodes in the energy system.
5. The method for optimizing energy system network topology based on harmony search according to claim 1, characterized in that: The S6 specifically includes: S601: Constructing the power flow equations: in, P i Representation Node i The power flow, P ij Representation Node i With Node j The transmission power between X ij Representation Node i With Node j The reactance between B ij Representation Node i With Node j The electrical susceptance between δ j Representation Node j The phase of δ i Representation Node i The phase of N represents the total number of nodes in the energy system; S602: For the power flow of each node in the energy system, the power flow equation is expressed in matrix form: Among them, P represents the power flow matrix of the energy system, B represents the susceptance matrix, and δ represents the phase matrix; S603: Solve the power flow equation to obtain the transmission power between each node.
6. The method for optimizing energy system network topology based on harmony search according to claim 1, characterized in that: The energy loss of the energy system is specifically: in, E represents the energy loss of the energy system, N represents the total number of nodes in the energy system, e ij Representation Node i With Node j The energy loss between T represents the total observation time, express t Time Node i With Node j The power loss between express t Time Node i With Node j The transmission power between U Indicates the rated voltage of the energy system network. R ij Representation Node i With Node j The line resistance between ρ represents the line resistivity, l ij Representation Node i With Node j The length of the line between a ij Representation Node i With Node j The cross-sectional area of the line between.
7. The method for optimizing energy system network topology based on harmony search according to claim 1, characterized in that: The S8 specifically includes: S801: Construct an optimization objective function with the goal of reducing energy system energy loss and energy system layout cost; S802: Using the inverse of the optimization objective function as the fitness function of the harmony search algorithm; S803: With the goal of maximizing the fitness function, determine the optimal energy system network topology through a harmony search algorithm, and optimize the energy system network topology.
8. The method for optimizing energy system network topology based on harmony search according to claim 7 is characterized in that: The optimization objective function is specifically: in, f represents the optimization objective function, Y represents the energy system network topology scheme, E represents the energy loss of the energy system, C represents the energy system layout cost, α The weight coefficient representing the energy loss of the energy system.
9. The method for optimizing energy system network topology based on harmony search according to claim 7 is characterized in that: The S803 specifically includes: Initializing a harmony memory bank, wherein the harmony memory bank includes a plurality of harmonies, each harmony includes a plurality of components, each harmony represents a feasible energy system network topology, each component represents a network topology parameter, and the network topology parameter includes: the location of each node, the length of each line, and the cross-sectional area; Generate random numbers r 1. Determine the random number r Is 1 less than the probability of taking the value from the harmony memory? If so, a new harmony is randomly generated through the harmony memory; otherwise, a new harmony is generated through random selection; Generate random numbers when randomly generating new harmonies from the harmony memory r 2. Determine the random number r 2 is less than the pitch fine-tuning probability; if so, generate a new harmony through pitch fine-tuning; otherwise, keep the harmony unchanged; Compare the generated new harmony with the harmony with the lowest fitness value in the harmony memory bank to determine whether the fitness value of the new harmony is greater than the fitness value of the harmony with the lowest fitness value in the harmony memory bank; if so, use the new harmony to replace the harmony with the lowest fitness value in the harmony memory bank and update the harmony memory bank; otherwise, keep the harmony memory bank unchanged; Determine whether the current number of iterations reaches the maximum number of iterations; if so, output the energy system network topology represented by the harmony with the highest current fitness as the optimal energy system network topology; otherwise, return to continue iteration.
10. An energy system network topology optimization system based on harmony search, characterized in that: include: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the energy system network topology optimization method based on harmony search as described in any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Wind power plant layout optimization method and optimization system and computer readable storage medium
CN111030179A
Offshore wind power cluster scheduling optimization method and device based on energy router
CN116169726A
Energy system optimization scheduling method based on harmony search algorithm
CN116663798A
Power grid total factor resource coordination control method and system
CN117117876A
Optimizing power flows using harmony search with machine learning
US20160125097A1
