Optimization control method and device for reducing line loss of power grid, terminal equipment and storage medium
By constructing the objective function and generating control signals, optimizing the grid topology and node output power, the problem of high grid line loss in high proportion renewable energy power systems is solved, and low-cost grid optimization and stability improvement is achieved.
Patent Information
- Application Number
- CN202510709836.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2025-08-26
AI Technical Summary
In power systems with high proportions of renewable energy and high proportions of power electronic equipment, existing methods for optimizing grid wire loss are poor and have high optimization costs.
By constructing a first objective function with line loss minimization and a second objective function with topological adjustment cost minimization as the goal, combining the initial topological structure and line flow of the power grid, the target topological structure and node output power are generated, the topological structure is adjusted, and the control signal is generated to optimize the power grid.
It realizes optimizing the grid line loss at low cost, improving the operating efficiency and stability of the power grid, and reducing the energy loss of the power grid.
Smart Images

Figure CN120545992A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power technology, and in particular to an optimization control method, device, terminal equipment and storage medium for reducing power grid line loss. Background Art
[0002] With the integration of large-scale renewable energy and the re-electrification of the load side, the global power system is undergoing profound changes. An increasing number of power sources, loads, and energy storage devices with diverse characteristics are being connected to the existing power system using power electronics as interfaces, driving the power system towards a high proportion of renewable energy and power electronics (referred to as "double highs"). This transformation is not only intended to address the increasingly severe energy crisis and environmental issues, but also a major step towards achieving global carbon neutrality. The core characteristic of a "double high" power system is that it significantly affects the system's dynamic characteristics, potentially leading to fundamental changes in the system. This change makes the dynamic characteristics of a "double high" power system more complex. Compared with traditional power systems dominated by synchronous generators, "double high" systems differ significantly in primary energy characteristics, component count, component types, and time scales.
[0003] However, with the addition of a large number of distributed power sources (DGs) to the grid, the grid's load distribution and power flow will fluctuate unpredictably. Factors such as the DG's location, output power, and network topology will all affect the grid's line losses. However, current methods for optimizing line losses are mostly effective for traditional power grids. For "dual-high" power systems, their effectiveness is significantly reduced and can lead to significantly increased optimization costs. Summary of the Invention
[0004] The embodiments of the present invention provide an optimization control method, apparatus, terminal device and storage medium for reducing power grid line losses, which can optimize and control the power grid in a low-cost manner and solve the problem of excessively high optimization costs in the current "double-high" power system.
[0005] An embodiment of the present invention provides an optimization control method for reducing power grid line losses, comprising:
[0006] Obtaining an initial topology of a power grid, initial output powers of several nodes in the power grid, and initial line flows of several lines in the power grid;
[0007] According to the initial topology structure, a first objective function with the goal of minimizing line loss and a second objective function with the goal of minimizing topology adjustment cost are constructed;
[0008] Solving the first objective function and the second objective function according to the initial output power and the initial line power flow to generate a target topology of the power grid and a target output power of each node;
[0009] adjusting the topology of the power grid according to the target topology;
[0010] According to the target output power, a control signal for each node is generated to enable each node to output the target output power.
[0011] Furthermore, the first objective function is:
[0012]
[0013] Among them, f loss is the sum of line losses of all lines in the power grid, is the set of all lines in the power grid, R ij is the resistance of the line ij between node i and node j, P ij is the line flow of line ij.
[0014] Furthermore, the second objective function is:
[0015]
[0016] Among them, f topology Adjust the cost for the topology, is the set of all lines in the power grid, x ij is the line switch state of the line ij, c ij is the switching cost of the switch state of the line ij.
[0017] Furthermore, solving the first objective function and the second objective function according to the initial output power and the initial line power flow to generate a target topology of the power grid and a target output power of each node includes:
[0018] Constructing a constraint set according to the initial output power and the initial line power flow;
[0019] Under the constraint set, using the line switch state of each line and the line power flow as decision variables, solving the first objective function and the second objective function to generate a target state of each line switch and a target line power flow of each line;
[0020] generating the target topology structure according to the target state of each circuit switch;
[0021] A target output power of each node is generated according to the target line power flow.
[0022] Furthermore, generating a control signal for each node according to the target output power so that each node outputs the target output power includes:
[0023] Calculate the power difference based on the target output power and initial output power of each node;
[0024] According to the power difference of each node and the corresponding control coefficient, a control signal corresponding to each node is generated, so that each node outputs the target output power according to the control signal.
[0025] Furthermore, the power difference includes: an active power difference and a reactive power difference; the control coefficient includes: an active power control coefficient and a reactive power control coefficient;
[0026] Generating a control signal corresponding to each node according to the power difference of each node and the corresponding control coefficient includes:
[0027] Generate the control signal corresponding to each node according to the following formula:
[0028] u(t)=K p ΔP+K q ΔQ;
[0029] Among them, u(t) is the control signal, K p is the active power control coefficient, ΔP is the active power difference, K q is the reactive power control coefficient, and ΔQ is the reactive power difference.
[0030] Another embodiment of the present invention provides an optimization control device for reducing power grid line losses, comprising:
[0031] A data acquisition module is used to obtain the initial topology of the power grid, the initial output power of several nodes in the power grid, and the initial line flow of several lines in the power grid;
[0032] A function construction module is used to construct a first objective function with the goal of minimizing line loss and a second objective function with the goal of minimizing topology adjustment cost according to the initial topology structure;
[0033] a function solving module, configured to solve the first objective function and the second objective function according to the initial output power and the initial line power flow, and generate a target topology of the power grid and a target output power of each node;
[0034] a topology optimization module, configured to adjust the topology of the power grid according to the target topology;
[0035] The node optimization module is used to generate a control signal for each node according to the target output power, so that each node outputs the target output power.
[0036] Furthermore, the function solving module solves the first objective function and the second objective function according to the initial output power and the initial line power flow to generate a target topology of the power grid and a target output power of each node, including:
[0037] Constructing a constraint set according to the initial output power and the initial line power flow;
[0038] Under the constraint set, using the line switch state of each line and the line power flow as decision variables, solving the first objective function and the second objective function to generate a target state of each line switch and a target line power flow of each line;
[0039] generating the target topology structure according to the target state of each circuit switch;
[0040] A target output power of each node is generated according to the target line power flow.
[0041] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements an optimization control method for reducing power grid line loss as described in any one of the embodiments.
[0042] Another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute an optimization control method for reducing power grid line loss as described in any of the above embodiments.
[0043] The following beneficial effects are achieved by implementing the present invention:
[0044] The present invention discloses an optimization control method, device, terminal device and storage medium for reducing power grid line loss. The method constructs a first objective function with the goal of minimizing line loss and a second objective function with the goal of minimizing topology adjustment cost based on the initial topology of the power grid. Then, based on the initial output power of several nodes in the power grid and the initial line flow of several lines in the power grid, the first objective function and the second objective function are solved to generate the target topology of the power grid and the target output power of each node; according to the target topology, the topology of the power grid is adjusted; according to the target output power, a control signal for each node is generated to enable each node to output the target output power. Therefore, while considering how to reduce power grid line loss based on factors such as the output power of each node in the power grid, the line flow, and the network topology, the present invention also considers the topology optimization cost, thereby achieving optimized control of the power grid in a low-cost manner, thereby reducing the line loss of the distribution network. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 The present invention is a flowchart of an optimization control method for reducing power grid line losses provided by an embodiment of the present invention.
[0046] Figure 2 It is a structural schematic diagram of an optimization control device for reducing power grid line loss provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0047] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.
[0049] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly indicate the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "multiple" and "several" is more than two, unless otherwise clearly and specifically defined.
[0050] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0051] In the description of the embodiments of this application, the term "and / or" is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the following three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.
[0052] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0053] In the description of the embodiments of the present application, unless otherwise expressly specified or limited, technical terms such as "installed," "connected," "connected," and "fixed" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integration; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; internal connections between two components or interactions between two components. Those skilled in the art can understand the specific meanings of the above terms in the embodiments of the present application based on specific circumstances.
[0054] See also Figure 1 To solve the problem of excessively high optimization costs in the current "double-high" power system, an embodiment of the present invention provides an optimization control method for reducing power grid line losses, comprising:
[0055] S1. Obtaining an initial topology of a power grid, initial output powers of several nodes in the power grid, and initial line flows of several lines in the power grid;
[0056] In a preferred embodiment of the present invention, in order to realize the monitoring and control of each power electronic object in the power grid, this embodiment constructs a multi-level network structure suitable for access of a high proportion of power electronic objects, which is divided into an access layer, a convergence layer and a core layer to realize efficient and stable operation of the power system.
[0057] The access layer, serving as the direct interface between power electronic equipment and the power system's communication network, primarily receives operational data from a high percentage of power electronic devices (such as distributed photovoltaic, wind power, and energy storage equipment) and ensures a stable connection between these devices and the network. By deploying communication modules, these devices ensure real-time data transmission to the network, providing low-latency, high-bandwidth communication channels. This allows for the rapid transfer of critical information such as device status and output power, supporting real-time network monitoring of operational status. Furthermore, the access layer uses preliminary fault detection to screen out abnormal signals, alleviating the analysis burden on the upper-layer network.
[0058] The aggregation layer serves as the intermediate hub connecting the access layer and the core layer, responsible for preprocessing, consolidating, and optimizing data transmitted from the access layer. The aggregation layer is equipped with multiple data aggregation nodes, which aggregate and preprocess data from different access nodes, compressing, formatting, and filtering for anomalies, thereby reducing the processing burden on the core layer. The aggregation layer also uses preliminary analysis algorithms to identify local load changes or fluctuations, providing more targeted information to the core layer. Load balancing within the aggregation layer ensures a balanced load distribution across the communications network, preventing excessive load on a single node from impacting overall transmission efficiency.
[0059] The core layer is the core management and data processing layer of the entire multi-level networking structure. It aggregates and stores network-wide data and performs in-depth analysis and decision support. The core layer uses a distributed storage system to store historical data to support long-term analysis and system optimization. Through intelligent analysis and decision support, the core layer uses advanced algorithms (such as machine learning and deep learning) to predict the operating status of the entire network, the health of equipment, and future load changes. It then feeds back the analysis and decisions to the aggregation and access layers to guide the operation and control of power electronic equipment. At the same time, the core layer maintains real-time data connectivity with the control center, enabling unified scheduling and resource allocation of equipment across the entire network under extreme conditions.
[0060] Between the access layer and the aggregation layer, lightweight protocols (such as MQTT) are used to achieve high-frequency, low-latency data transmission. This protocol supports low-bandwidth network environments and is suitable for data aggregation from large numbers of device nodes. Between the aggregation layer and the core layer, TCP / IP, a transmission protocol that supports higher data loads and bandwidth, is used to ensure the stability of large amounts of data during transmission. Data exchange between the core layer and the control center uses the UDP protocol, combined with a bandwidth control algorithm for fast feedback control data transmission to ensure low latency.
[0061] In this embodiment, the core layer obtains the initial topology of the power grid, the initial output powers of several nodes in the power grid, and the initial line flows of several lines in the power grid based on the access layer and the convergence layer.
[0062] S2. Constructing, based on the initial topology structure, a first objective function with the goal of minimizing line loss and a second objective function with the goal of minimizing topology adjustment cost;
[0063] Preferably, the first objective function is:
[0064]
[0065] Among them, f loss is the sum of line losses of all lines in the power grid, is the set of all lines in the power grid, R ij is the resistance of the line ij between node i and node j, P ij is the line flow of line ij.
[0066] Preferably, the second objective function is:
[0067]
[0068] Among them, f topology Adjust the cost for the topology, is the set of all lines in the power grid, x ij is the line switch state of the line ij, c ij is the switching cost of the switch state of the line ij.
[0069] In a preferred embodiment of the present invention, significant fluctuations in load distribution, sudden increases or decreases in regional loads, load center migration, and the start-up and shutdown of critical industrial loads can lead to imbalanced power flow distribution, overloaded or underutilized lines, reduced resource allocation efficiency, and increased transmission losses. In this case, the system monitors the power flow status of nodes and lines in real time. When power exceeds a set threshold, a topology optimization algorithm is triggered to adjust the power flow path to achieve load balancing and improve transmission efficiency. In the event of grid faults or equipment anomalies, such as line tripping, transformer failure, or power electronic interface failure, the system topology may change, and power flow redistribution may introduce new operational risks. This is especially true in the context of a high proportion of power electronic equipment connected, where the low inertia and high sensitivity of these devices accelerate fault propagation and may cause chain reactions. In this case, topology optimization rapidly adjusts the network structure to mitigate the impact of the fault, restore power supply, and improve system robustness. Topology optimization may also be triggered by economic demands. When load distribution and fluctuations in renewable energy generation lead to increased transmission losses, or when power market operations require reduced operating costs, optimizing resource allocation and power flow paths through topology adjustment can effectively reduce energy losses and improve system economics. Furthermore, when a system approaches its static or dynamic stability boundary and lacks sufficient safety margin, topology optimization can be used as a preventative measure to enhance the system's ability to resist disturbances and maintain operational stability. By calculating and analyzing the load at each node and the direction of power flow, the system can decide whether to open or close certain lines under specific operating conditions, thereby reducing energy consumption and improving the system's economic efficiency and safety.
[0070] In summary, the core objective of topology optimization at the core layer is to minimize power transmission losses while ensuring load balance at each node and satisfying various constraints. Adjustments to the topology and power distribution are made to meet system security and stability requirements. The adaptive topology optimization algorithm's primary goal is to dynamically adjust network connections based on real-time load data and network status to achieve optimal power flow distribution and reduce network energy loss. Based on graph theory and optimization theory, this algorithm monitors load and fault information at each node in the network to adjust the topology in real time.
[0071] S3. Solving the first objective function and the second objective function according to the initial output power and the initial line power flow to generate a target topology of the power grid and a target output power of each node;
[0072] Preferably, solving the first objective function and the second objective function according to the initial output power and the initial line power flow to generate a target topology of the power grid and a target output power of each node includes:
[0073] S31. Constructing a constraint set according to the initial output power and the initial line power flow;
[0074] S32. Under the constraint set, using the line switch state of each line and the line power flow as decision variables, solve the first objective function and the second objective function to generate a target state of each line switch and a target line power flow of each line;
[0075] S33. Generate the target topology structure according to the target state of each circuit switch;
[0076] S34. Generate a target output power of each node according to the target line power flow.
[0077] In a preferred embodiment of the present invention, the constraints are divided into three types, including node power balance constraint, voltage amplitude constraint, and line power flow constraint. The constraint formulas are shown below.
[0078]
[0079] Among them, P i gen represents the power generation of node i, P i load represents the load power of node i, represents the set of all nodes in the power grid, represents the total power flowing from node i to other adjacent nodes; V i represents the voltage amplitude of node i; P ij Active power flow from node i to node j, The maximum allowed transmission power of branch (i, j) The collection of all lines in a power grid.
[0080] In this embodiment, conventional failsafe constraints are introduced to ensure that when the system experiences short-term overloads or other sudden faults, topology optimization adjustments can be made to avoid cascading failures and improve system resilience. For example, when a line overload approaches its thermal limit, topology optimization adjustments can redistribute power to unsaturated paths, maintaining normal grid operation. The network structure is optimized by adjusting the line switching status to maximize system stability and fault resilience.
[0081] It's important to note that in topology optimization, the state of circuit breakers must satisfy power balance, power flow constraints, and fault isolation requirements. When a line fault occurs or an overload approaches its thermal limit, the system automatically switches the line state, allowing power to flow through an alternative path to ensure power continuity.
[0082] The fault isolation constraint means that when a fault occurs on line (i, j), its topology variables are set to x ij =0, the power flow of other lines must meet the power demand:
[0083]
[0084] S4. Adjusting the topology of the power grid according to the target topology;
[0085] In a preferred embodiment of the present invention, the core layer issues control instructions to each circuit breaker according to the target topology, thereby adjusting the disconnection state of each circuit breaker in the power grid to adjust the topology of the power grid.
[0086] S5. Generate a control signal for each node according to the target output power, so that each node outputs the target output power.
[0087] Preferably, generating a control signal for each node according to the target output power so that each node outputs the target output power includes:
[0088] S51. Calculate the power difference according to the target output power and initial output power of each node;
[0089] S52 . Generate a control signal corresponding to each node according to the power difference of each node and the corresponding control coefficient, so that each node outputs the target output power according to the control signal.
[0090] Preferably, the power difference includes: an active power difference and a reactive power difference; the control coefficient includes: an active power control coefficient and a reactive power control coefficient;
[0091] Generating a control signal corresponding to each node according to the power difference of each node and the corresponding control coefficient includes:
[0092] S521. Generate a control signal corresponding to each node according to the following formula:
[0093] u(t)=K p ΔP+K q ΔQ;
[0094] Among them, u(t) is the control signal, K p is the active power control coefficient, ΔP is the active power difference, K q is the reactive power control coefficient, and ΔQ is the reactive power difference.
[0095] In a preferred embodiment of the present invention, in a power system with a high proportion of power electronic objects connected, direct power control (DPC) is an efficient control strategy that aims to achieve rapid response and power management of power electronic equipment, and is particularly suitable for scenarios that require real-time adjustment.
[0096] In direct power control, a mathematical model of a power electronic device (such as an inverter) is first established to describe the relationship between its input and output. A phasor model is typically used, taking into account the phase relationship between the output voltage and current. Sensors are then used to collect real-time current and voltage data from the device. This data is used to calculate the current active power (P) and reactive power (Q). The power calculation formula is as follows:
[0097]
[0098] Where v(t) and i(t) are the instantaneous values of voltage and current, respectively, and θ(t) is the phase difference between voltage and current.
[0099] The power error is converted into a control signal through a control algorithm (such as sliding mode control or proportional control) to adjust the output of the power electronic device. The control signal can be generated by the following formula:
[0100] u(t)=K p ΔP+K q ΔQ;
[0101] Among them, K p and K q is the control gain, ΔP and ΔQ are the errors between the current power and the target power.
[0102] According to the generated control signal, the output voltage and phase of the inverter are adjusted to achieve control of active and reactive power. The modulation ratio (Duty Cycle) of the inverter is adjusted as follows:
[0103]
[0104] Where D is the modulation ratio, V max is the maximum output voltage of the inverter. Finally, by monitoring the system response in real time and continuously calculating the power output, closed-loop control is implemented. The control gain is adjusted based on the feedback to optimize system performance.
[0105] It's important to note that rapid control of power electronic components allows for rapid response to real-time load changes and fault conditions in the power system. By adjusting active and reactive power, they control power flow and enhance system resilience. This control capability is particularly important during extreme events, such as failures or large-scale fluctuations. The system can quickly restore power balance by adjusting the power output of power electronic devices to meet the safe operation requirements of the power grid.
[0106] This embodiment provides an optimization control method for reducing power grid line losses. The method constructs a first objective function with the goal of minimizing line losses and a second objective function with the goal of minimizing topology adjustment costs based on the initial topology of the power grid. The method then solves the first objective function and the second objective function based on the initial output power of several nodes in the power grid and the initial line flow of several lines in the power grid to generate a target topology of the power grid and a target output power of each node. The method adjusts the topology of the power grid based on the target topology. The method generates a control signal for each node based on the target output power so that each node outputs the target output power. Therefore, while considering how to reduce power grid line losses based on factors such as the output power of each node in the power grid, line flow, and network topology, the present invention also considers the topology optimization cost, thereby achieving optimized control of the power grid in a low-cost manner and reducing the line losses of the distribution network.
[0107] See also Figure 2 , is a schematic structural diagram of an optimization control device for reducing power grid line losses provided by one embodiment of the present invention, comprising:
[0108] A data acquisition module is used to obtain the initial topology of the power grid, the initial output power of several nodes in the power grid, and the initial line flow of several lines in the power grid;
[0109] A function construction module is used to construct a first objective function with the goal of minimizing line loss and a second objective function with the goal of minimizing topology adjustment cost according to the initial topology structure;
[0110] a function solving module, configured to solve the first objective function and the second objective function according to the initial output power and the initial line power flow, and generate a target topology of the power grid and a target output power of each node;
[0111] a topology optimization module, configured to adjust the topology of the power grid according to the target topology;
[0112] The node optimization module is used to generate a control signal for each node according to the target output power, so that each node outputs the target output power.
[0113] Furthermore, the function solving module solves the first objective function and the second objective function according to the initial output power and the initial line power flow to generate a target topology of the power grid and a target output power of each node, including:
[0114] Constructing a constraint set according to the initial output power and the initial line power flow;
[0115] Under the constraint set, using the line switch state of each line and the line power flow as decision variables, solving the first objective function and the second objective function to generate a target state of each line switch and a target line power flow of each line;
[0116] generating the target topology structure according to the target state of each circuit switch;
[0117] A target output power of each node is generated according to the target line power flow.
[0118] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement the present invention without inventive effort.
[0119] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0120] Another preferred embodiment of the present invention provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements an optimization control method for reducing grid line loss as described in any one of the above embodiments.
[0121] The terminal device may be a computing device such as a desktop computer, a notebook computer, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0122] The processor may be a central processing unit (CPU), 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. The processor is the control center of the terminal device, connecting various parts of the entire terminal device using various interfaces and lines.
[0123] The memory can be used to store the computer program, and the processor realizes various functions of the terminal device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created based on the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0124] Another preferred embodiment of the present invention provides a storage medium, which is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. The computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium.
[0125] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. An optimization control method for reducing power grid line loss, characterized in that: include: Obtaining an initial topology of a power grid, initial output powers of several nodes in the power grid, and initial line flows of several lines in the power grid; According to the initial topology structure, a first objective function with the goal of minimizing line loss and a second objective function with the goal of minimizing topology adjustment cost are constructed; Solving the first objective function and the second objective function according to the initial output power and the initial line power flow to generate a target topology of the power grid and a target output power of each node; adjusting the topology of the power grid according to the target topology; According to the target output power, a control signal for each node is generated to enable each node to output the target output power.
2. The optimization control method for reducing power grid line loss according to claim 1, characterized in that: The first objective function is: Among them, f loss is the sum of line losses of all lines in the power grid, is the set of all lines in the power grid, R ij is the resistance of the line ij between node i and node j, P ij is the line flow of line ij.
3. The optimization control method for reducing power grid line loss according to claim 2, characterized in that: The second objective function is: Among them, f topology Adjust the cost for the topology, is the set of all lines in the power grid, x ij is the line switch state of the line ij, c ij is the switching cost of the switch state of the line ij.
4. The optimization control method for reducing power grid line loss according to claim 1, characterized in that: Solving the first objective function and the second objective function according to the initial output power and the initial line power flow to generate a target topology of the power grid and a target output power of each node includes: Constructing a constraint set according to the initial output power and the initial line power flow; Under the constraint set, using the line switch state of each line and the line power flow as decision variables, solving the first objective function and the second objective function to generate a target state of each line switch and a target line power flow of each line; generating the target topology structure according to the target state of each circuit switch; A target output power of each node is generated according to the target line power flow.
5. The optimization control method for reducing power grid line loss according to claim 4, characterized in that: Generating a control signal for each node according to the target output power so that each node outputs the target output power includes: Calculate the power difference based on the target output power and initial output power of each node; According to the power difference of each node and the corresponding control coefficient, a control signal corresponding to each node is generated, so that each node outputs the target output power according to the control signal.
6. The optimization control method for reducing power grid line loss according to claim 5, characterized in that: The power difference includes: an active power difference and a reactive power difference; the control coefficient includes: an active power control coefficient and a reactive power control coefficient; Generating a control signal corresponding to each node according to the power difference of each node and the corresponding control coefficient includes: Generate the control signal corresponding to each node according to the following formula: u(t)=K p ·ΔP+K q ·ΔQ; Among them, u(t) is the control signal, K p is the active power control coefficient, ΔP is the active power difference, K q is the reactive power control coefficient, and ΔQ is the reactive power difference.
7. An optimization control device for reducing power grid line loss, characterized in that: include: A data acquisition module is used to obtain the initial topology of the power grid, the initial output power of several nodes in the power grid, and the initial line flow of several lines in the power grid; A function construction module is used to construct a first objective function with the goal of minimizing line loss and a second objective function with the goal of minimizing topology adjustment cost according to the initial topology structure; a function solving module, configured to solve the first objective function and the second objective function according to the initial output power and the initial line power flow, and generate a target topology of the power grid and a target output power of each node; a topology optimization module, configured to adjust the topology of the power grid according to the target topology; The node optimization module is used to generate a control signal for each node according to the target output power, so that each node outputs the target output power.
8. The optimization control device for reducing power grid line loss according to claim 7, characterized in that: The function solving module solves the first objective function and the second objective function according to the initial output power and the initial line power flow to generate a target topology of the power grid and a target output power of each node, including: Constructing a constraint set according to the initial output power and the initial line power flow; Under the constraint set, using the line switch state of each line and the line power flow as decision variables, solving the first objective function and the second objective function to generate a target state of each line switch and a target line power flow of each line; generating the target topology structure according to the target state of each circuit switch; A target output power of each node is generated according to the target line power flow.
9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the method implements an optimization control method for reducing power grid line loss as claimed in any one of claims 1 to 6.
10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the optimization control method for reducing power grid line loss according to any one of claims 1 to 6.