Power grid electric quantity distribution method and device and computer equipment

By obtaining power grid configuration information, establishing a power distribution model and computing to solve the power production indicators of each power station, the problem of inaccurate power distribution in the power grid is solved, the grid operation efficiency and resource utilization are improved, and power waste is reduced.

CN119315634APending Publication Date: 2025-01-14SHENZHEN COMTOP INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411515491.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The number of power stations in the power grid is wide and widely distributed, resulting in inaccurate distribution of electricity, waste or insufficient electricity, and reduce the operating efficiency of the power grid.

Method used

By obtaining power grid configuration information, establishing a power distribution model, computing and solving the power production indicators of each power station, and controlling the power supply of the power station based on these indicators to coordinate the production capacity of the power station and reduce transportation losses and energy waste.

Benefits of technology

It improves the operating efficiency of the power grid, meets power demand, reduces resource waste, and optimizes resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119315634A_ABST
    Figure CN119315634A_ABST
Patent Text Reader

Abstract

The invention relates to a power grid electric quantity distribution method and device, computer equipment, a computer readable storage medium and a computer program product, and the method comprises the steps: obtaining power grid configuration information, determining an electric quantity distribution model according to the power grid configuration information, carrying out the operation solving of the electric quantity distribution model, and determining the electric quantity production index of each power station. And controlling the corresponding power station to supply power according to each electric quantity production index. Wherein the power grid configuration information is obtained based on power stations of a power grid, and the power grid comprises multiple power stations. The model is established according to the power grid configuration information, and the electric quantity production index of each power station is calculated, so that the production capacity of each power station can be coordinated, the transportation loss and energy waste can be reduced, and the power grid operation efficiency can be improved on the basis of meeting the electric energy demand of the power grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power systems, and in particular to a method, device, computer equipment, computer-readable storage medium, and computer program product for allocating power to a power grid. Background Art

[0002] With the increase in population and the acceleration of urbanization, the power supply capacity of the power grid needs to increase with the increase in electricity consumption to meet people's electricity use in industry, life and commerce. During the operation of the power grid, it is necessary to analyze the local energy supply and demand situation and the operation data of the power grid company, and assign different power tasks to multiple power stations so that the power in the power grid can meet the demand.

[0003] However, due to the large number of power stations in the power grid system and their wide distribution, if the power tasks cannot be accurately allocated to each power station, a large amount of electricity will be wasted during transmission or the electricity will be insufficient to meet the power demand, resulting in inefficient grid operation. Summary of the invention

[0004] Based on this, it is necessary to provide a grid power distribution method, device, computer equipment, computer-readable storage medium and computer program product that can improve the grid operation efficiency in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for allocating power to a power grid, the method comprising:

[0006] Acquire power grid configuration information; the power grid configuration information is obtained based on a power station of the power grid, and the power grid includes a plurality of power stations;

[0007] Determining an electricity distribution model according to the grid configuration information;

[0008] Solving the electricity distribution model to determine the electricity production index of each power station;

[0009] The power supply of the corresponding power station is controlled according to each of the power production indicators.

[0010] In one embodiment, the grid configuration information includes data parameters of the power station, the production base of the power station and data parameters of the grid; and determining the power distribution model according to the grid configuration information includes:

[0011] Establishing a quantized electricity quantity equation based on the data parameters of the power station and the data parameters of the power grid;

[0012] Establishing an electricity constraint equation based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid;

[0013] The quantified electricity equation and the electricity constraint equation are converted into a standard linear programming form to establish an electricity distribution model.

[0014] In one embodiment, the establishing of the power constraint equation based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid includes:

[0015] Determining a constraint factor based on data parameters of the power plant, a production base of the power plant, and data parameters of the power grid;

[0016] The data parameters of the power station are used as constraint items and combined with the constraint factors to establish an electricity constraint equation.

[0017] In one embodiment, determining the constraint factor based on the data parameters of the power plant, the production base of the power plant and the data parameters of the power grid includes:

[0018] respectively calculating the impact factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid;

[0019] Based on a preset ratio, respectively determining weight factors corresponding to the data parameters of the power plant, the production base of the power plant, and the data parameters of the power grid;

[0020] The constraint factor is calculated and determined according to each of the influencing factors and the corresponding weight factors.

[0021] In one embodiment, respectively calculating the impact factors corresponding to the data parameters of the power plant, the production base of the power plant and the data parameters of the power grid includes:

[0022] Based on the basic data parameters, rated data parameters and actual data parameters of the power station, calculating and determining the influencing factors corresponding to the data parameters of the power station; the data parameters of the power station include the basic data parameters, rated data parameters and actual data parameters;

[0023] Based on the actual production base of the power station and the basic production base of the power station, calculating and determining the impact factor corresponding to the production base of the power station; the production base includes the actual production base and the basic production base;

[0024] Based on the transmission line parameters of the power grid and the transmission line correction factor of the power grid, the influencing factors corresponding to the data parameters of the power station are calculated and determined; the data parameters of the power grid include the transmission line parameters of the power grid.

[0025] In one embodiment, calculating and solving the power distribution model to determine the power production index of each power station includes:

[0026] Establishing a coefficient matrix for solving the power distribution model;

[0027] The power production index of each power station is determined according to the calculated calculation results.

[0028] In one embodiment, after determining the power production index of each power station according to the calculated result, the method further includes:

[0029] The power production index is verified, and the power production index is updated according to the verification result.

[0030] In a second aspect, the present application further provides a power grid electricity distribution device, the device comprising:

[0031] An input module, used to obtain power grid configuration information; the power grid configuration information is obtained based on a power station of the power grid, and the power grid includes a plurality of power stations;

[0032] A construction module is used to determine an electricity distribution model according to the power grid configuration information;

[0033] A calculation module, used for calculating and solving the power distribution model to determine the power production index of each power station;

[0034] The control module is used to control the power supply of the corresponding power station according to each of the power production indicators.

[0035] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0036] Acquire power grid configuration information; the power grid configuration information is obtained based on a power station of the power grid, and the power grid includes a plurality of power stations;

[0037] Determining an electricity distribution model according to the grid configuration information;

[0038] Solving the electricity distribution model to determine the electricity production index of each power station;

[0039] The power supply of the corresponding power station is controlled according to each of the power production indicators.

[0040] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0041] Acquire power grid configuration information; the power grid configuration information is obtained based on a power station of the power grid, and the power grid includes a plurality of power stations;

[0042] Determining an electricity distribution model according to the grid configuration information;

[0043] Solving the electricity distribution model to determine the electricity production index of each power station;

[0044] The power supply of the corresponding power station is controlled according to each of the power production indicators.

[0045] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0046] Acquire power grid configuration information; the power grid configuration information is obtained based on a power station of the power grid, and the power grid includes a plurality of power stations;

[0047] Determining an electricity distribution model according to the grid configuration information;

[0048] Solving the electricity distribution model to determine the electricity production index of each power station;

[0049] The power supply of the corresponding power station is controlled according to each of the power production indicators.

[0050] The above-mentioned power grid power distribution method, device, computer equipment, computer-readable storage medium and computer program product include obtaining power grid configuration information, determining a power distribution model according to the power grid configuration information, calculating and solving the power distribution model, determining the power production index of each power station, and controlling the power supply of the corresponding power station according to each power production index. Among them, the power grid configuration information is obtained based on the power station of the power grid, and the power grid includes multiple power stations. By establishing a model based on the power grid configuration information and calculating the power production index of each power station based on it, it is possible to coordinate the production capacity of each power station on the basis of meeting the power demand of the power grid, reduce transportation losses and energy waste, and improve the efficiency of power grid operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0052] FIG1 is an application environment diagram of a power grid power distribution method according to an embodiment;

[0053] FIG2 is a schematic diagram of a flow chart of a method for allocating power to a power grid in one embodiment;

[0054] FIG3 is a flow chart of steps for determining an electricity distribution model according to grid configuration information in one embodiment;

[0055] FIG4 is a flow chart showing steps of establishing an electric quantity constraint equation based on data parameters of a power station, a production base of a power station and data parameters of a power grid in one embodiment;

[0056] FIG5 is a flow chart of a step of determining a constraint factor based on data parameters of a power plant, a production base of a power plant, and data parameters of a power grid in one embodiment;

[0057] FIG6 is a flow chart of steps for respectively calculating the influencing factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid in one embodiment;

[0058] FIG7 is a flow chart of the steps of calculating and solving the power distribution model and determining the power production index of each power station in one embodiment;

[0059] FIG8 is a flowchart of the steps of calculating and solving the power distribution model and determining the power production index of each power station in another embodiment;

[0060] FIG9 is a structural block diagram of a power grid power distribution device in one embodiment;

[0061] FIG. 10 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0063] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.

[0064] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.

[0065] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0066] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0067] With the growth of population and the acceleration of urbanization, the demand for electricity will also increase. The industrial, commercial and residential electricity demand in urban areas is growing, and it is necessary to adapt to this change and meet the demand through reasonable power allocation. To this end, this application provides a power distribution method for a power grid, which can coordinate the power supply of each power station in the power grid to meet the growth of power demand and reduce resource waste.

[0068] The power grid electricity distribution method provided in the embodiment of the present application can be applied in the application environment as shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the communication network, and the server 104 is connected to the data storage system, and the data storage system can store the data that the server 104 needs to process. Furthermore, the data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server 104 can be used to implement the power grid electricity distribution method. At this time, the terminal 102 can be a power station in the power grid, which generates electricity based on the communication control of the server 104, and outputs different power generation amounts to be transmitted to the power grid. At this time, the server 104 can be an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides cloud computing services.

[0069] In another case, the terminal 102 may execute the power distribution method for the power grid, and transmit the operation result to the server 104 through the communication network, and the server 104 may send the operation result to each connected power station, and the terminal 102 may control the power supply of the power station in the power grid through the transmission of the server 104. Optionally, the terminal 102 may control the power station of the power grid according to the power distribution method for the power grid, and synchronize the operation result of the power distribution method for the power grid to the server 104 as a backup, so as to realize the cloud storage of the power distribution method for the power grid, so as to facilitate subsequent call or reference. Among them, the terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones and tablet computers.

[0070] In an exemplary embodiment, as shown in FIG2 , a method for allocating power in a power grid is provided, which is described by taking the method applied to the terminal in FIG1 as an example, and includes the following steps 202 to 208. Among them:

[0071] Step 202: Obtain power grid configuration information.

[0072] Among them, the grid configuration information is obtained based on the power stations of the grid, and the grid includes multiple power stations. Then, each power station has different configuration information, and the grid configuration information can be obtained by integrating the configuration information of each power station. For example, each power station is equipped with configuration information such as maximum power capacity, resource consumption data, minimum load parameters, and maximum load parameters. By integrating the configuration information of each power station, the total power of the grid, the maximum capacity of the transmission lines between each power station in the grid, and other data parameters of the grid can be obtained, which are integrated into the grid configuration information.

[0073] For example, each power station is numbered 1, 2, 3...i...n, etc., and the number is used as a mark to obtain the configuration information of multiple power stations. In combination with the data parameters of the power grid, the configuration information of the power grid can be obtained. Among them, the maximum power capacity of each power station can be determined by the technical parameters, equipment specifications and power generation capacity of the power station; the total power of the power grid can be obtained by statistically analyzing and summarizing the power generation capacity of the entire power grid; the resource consumption data of each power station in the power database can be obtained through the investment plan, project report or power company information related to the power station, including the minimum resource input of each power station and the total resource input of the power grid; the minimum load parameter and the maximum load parameter of each power station can be obtained through the historical operation data, actual operation data and power demand forecast of the power station; the maximum capacity of the transmission line between each power station can be obtained by evaluating and calculating the technical parameters and equipment specifications of the transmission line.

[0074] Specifically, the terminal may interact with a server in the cloud to obtain grid configuration information, in which case the grid configuration information is stored by the server and is to be selected and called by the terminal. The terminal may also directly interact with multiple power stations in the power grid to obtain grid configuration information. Furthermore, the terminal may obtain the configuration information of the power station and calculate the data parameters of the power grid based on other parameters of the power grid; the terminal may also be connected to other devices in the power grid and can directly obtain the grid configuration information; or the staff may input the grid configuration information into the terminal. The method of obtaining the grid configuration information is not limited.

[0075] Step 204: determine an electricity distribution model according to the grid configuration information.

[0076] Specifically, for more than two power stations in the power grid, the power grid configuration information obtained by the terminal includes more than two data, then the terminal can establish an electricity distribution model with the power grid configuration information as a parameter according to the relationship formula such as the power transmission principle in the operation of the power grid. Optionally, the terminal can also store multiple models, each model corresponding to a different power grid type or power grid composition structure, then the terminal can select a model matching the power grid configuration information from multiple models as the power distribution model with the power grid configuration information as an anchor point when obtaining the power grid configuration information.

[0077] Exemplarily, the power distribution model may be established with the maximization of power in the power grid as the model objective, and each power grid configuration information may be used as a constraint condition to ensure data feasibility.

[0078] Step 206, calculating and solving the power distribution model to determine the power production index of each power station.

[0079] After determining the power distribution model, the terminal runs the model and solves it, so that the power distribution model outputs the power data of each power station with the goal of maximizing the total power of the power grid. The power data of the power station represents the power that the corresponding power station needs to produce, that is, the power production index of the power station. It should be noted that when calculating and solving the power distribution model, it is necessary to meet the constraints of the power grid configuration information, that is, the power production index of each power station needs to be able to be obtained under the actual power grid conditions that meet the power grid configuration information, to ensure that the calculated power production index is what the power generation capacity of the power station can bear.

[0080] Step 208, controlling the power supply of the corresponding power station according to each power production index.

[0081] Specifically, after calculating and determining the power production index of each power station, the terminal performs power generation control on each power station to ensure that each power station can generate electricity according to the corresponding power production index, supply power to the power grid, and meet the power demand borne by the power grid. Optionally, after obtaining each power production index, the terminal can also upload each power production index to a server in the cloud, and the server stores each power production index. At the beginning of operation, each power station interacts with the server to obtain the power production index corresponding to the power station, starts operation based on the power production index, and generates corresponding electricity to supply power to the power grid.

[0082] The power grid power distribution method of the above embodiment includes obtaining power grid configuration information, determining a power distribution model according to the power grid configuration information, calculating and solving the power distribution model, determining the power production index of each power station, and controlling the power supply of the corresponding power station according to each power production index. Among them, the power grid configuration information is obtained based on the power station of the power grid, and the power grid includes multiple power stations. By establishing a model according to the power grid configuration information and calculating the power production index of each power station based on it, it is possible to coordinate the production capacity of each power station on the basis of meeting the power demand of the power grid, reduce transportation losses and energy waste, and improve the efficiency of power grid operation.

[0083] In an exemplary embodiment, the grid configuration information includes data parameters of the power station, the production base of the power station, and data parameters of the grid. For example, configuration information such as the maximum power capacity, the minimum load parameter, and the maximum load parameter of the power station belong to the data parameters of the power station, resource consumption data of the power station, etc. belong to the production base of the power station, and the total power of the grid and the maximum capacity of the transmission lines between the power stations in the grid belong to the data parameters of the grid. As shown in FIG3, step 204 includes steps 302 to 306.

[0084] Step 302: Establish a quantitative power equation based on the data parameters of the power station and the data parameters of the power grid.

[0085] Specifically, the power generation of a power station, that is, the power production index of a power station, also belongs to the data parameters of the power station. With the power production index of a power station as a variable, a relationship related to the data parameters of the power grid can be established. For example, the power stations are numbered 1, 2, 3, etc., and the power generation is defined as the variable q. For the i-th power station, the power generation allocated to it is q i , the total amount of electricity in the power grid is equal to the sum of the electricity allocated by each power station. This relationship can quantify the relationship between the data parameters of the power station and the data parameters of the power grid, which is called the quantitative electricity equation. It should be noted that the quantitative electricity equation takes the maximum total amount of electricity in the power grid as the output target to ensure that the operation of the power grid can meet more electricity demand.

[0086] Step 304: Establishing an electricity constraint equation based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid.

[0087] Specifically, when calculating with the goal of maximizing the total power of the power grid, it is necessary to constrain the power generation of each power station in combination with the actual situation of each power station in the power grid. For example, when determining the power generation, it is necessary to ensure that the power capacity (power generation) allocated to each power station is less than the maximum power capacity of each power station. Then, it is necessary to establish a constraint equation for the quantitative power equation. The terminal limits the power generation capacity of the power station based on the data parameters of the power station and the production base of the power station, considers the loss of electric energy running in the power grid based on the data parameters of the power grid, and establishes the power constraint equation by combining the above two to constrain the quantitative power equation.

[0088] Step 306: Convert the quantized power equation and the power constraint equation into a standard linear programming form to establish a power distribution model.

[0089] Specifically, the above-mentioned quantified power equation and power constraint equation are combined, and linear programming is performed on the quantified power equation and the power constraint equation to establish the power distribution linear equation:

[0090] (1)

[0091] In the above equation, Q represents the total power of the power grid, q i represents the amount of electricity allocated to each power station, d i represents the maximum power capacity of each power station, and α represents the constraint factor of power distribution calculated according to the data parameters of the power station, the production base of the power station and the data parameters of the power grid.

[0092] By establishing a linear equation for power distribution, the power distribution problem can be transformed into a mathematical model, namely the power distribution model, and then the power distributed to each power station can be accurately calculated using mathematical methods. This is conducive to reducing the influence of subjective factors, improving the accuracy and fairness of power distribution, maximizing the use of power resources, and reducing resource waste and uneven power distribution. At the same time, by setting the constraint factors of power distribution, the upper and lower limits of power distribution can be controlled so that the distribution results are consistent with the actual situation of the power system and optimize resource utilization efficiency. The objective function and constraints are converted into a standard linear programming form, which is easier to interact and process with the subsequent linear programming solver.

[0093] Furthermore, in combination with the above-mentioned linear equation for power distribution, the modeling process is recorded by taking an embodiment as an example: 1. Define the power generation as a variable: define the power generation allocated to each power station as the variable of the target equation. 2. Import library and data: Based on the linear equation for power distribution, the power generation variable, quantitative power equation, minimum resource consumption data, maximum power capacity, minimum load parameters, maximum load parameters, and transmission line maximum capacity and other parameters of the power station and power grid are imported into the Scikit-Learn library of Python. 3. Establish a power distribution model: Use the LinearRegression function to initialize the regression model of the linear equation for power distribution, and input the power generation q allocated by the power station. i As a variable, use the fit function to build a training set to train the model and build a linear programming model for power distribution, that is, a power distribution model.

[0094] In this embodiment, by establishing an electricity distribution model, it is helpful to optimize the utilization of power resources, ensure that the power grid can meet various constraints, maximize the total power, and reduce resource waste. Through the linear programming method, power distribution decisions can be made more effectively, and the efficiency and sustainability of the power grid can be improved. By converting the power distribution problem into a linear programming model, mathematical methods can be used to solve and optimize it, which can improve the accuracy and feasibility of power distribution, improve the accuracy and fairness of power distribution, and reduce resource waste and uneven power distribution. By simulating and analyzing different variables and constraints, the utilization rate of resources can be improved and the operating efficiency of the power grid can be improved.

[0095] In an exemplary embodiment, as shown in FIG. 4 , step 304 includes steps 402 to 404 .

[0096] Step 402: determining a constraint factor based on data parameters of the power plant, a production base of the power plant and data parameters of the power grid.

[0097] Specifically, based on the parameters involved in the power generation process of the power station, full consideration is given to the impact of the data parameters of the power station, the production base of the power station and the data parameters of the power grid on the power generation of the power station and the impact on the operation of the power grid. The terminal needs to determine the constraint factor in combination with the data parameters of the power station, the production base of the power station and the data parameters of the power grid, and use the constraint factor as one of the parameters of the power distribution model to affect the power production indicators of each power station in the power grid.

[0098] Further, the components of the constraint factor of the power distribution are determined, and according to the components of the constraint factor of the power distribution, the proportion of each factor is calculated, and the proportion is multiplied by the corresponding weight to calculate the constraint factor of the power distribution. Exemplarily, in an exemplary embodiment, as shown in FIG5 , step 402 includes steps 502 to 506.

[0099] Step 502, respectively calculating the impact factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid.

[0100] The terminal determines the influencing factors for the constraints in different directions of the power generation process based on the different data on the power station. That is, the terminal can calculate the influencing factors corresponding to the data parameters of the power station based on the data parameters of the power station; the terminal can calculate the influencing factors corresponding to the production base of the power station based on the production base of the power station; the terminal can calculate the influencing factors corresponding to the data parameters of the power grid based on the data parameters of the power grid. The influencing factors affecting the power generation of the power station are calculated from three dimensions to facilitate the subsequent construction of the power constraint equation.

[0101] Step 504: based on a preset ratio, respectively determine weight factors corresponding to the data parameters of the power plant, the production base of the power plant and the data parameters of the power grid.

[0102] While calculating the influencing factors, the terminal can also preset a preset ratio according to the degree of influence of different data on the power generation process, or according to the settings of the staff. The preset ratio represents the degree of influence of data in different directions on the power generation process of the power station. The larger the ratio value, the greater the influence of the data on the power generation process, and the more important the constraint effect on the power generation. The terminal will then allocate the preset ratio to the data parameters of the power station, the production base of the power station and the data parameters of the power grid, and determine the weight factors corresponding to the data parameters of the power station, the weight factors corresponding to the production base of the power station and the weight factors corresponding to the data parameters of the power grid.

[0103] Step 506: Calculate and determine the constraint factor based on each influencing factor and the corresponding weight factor.

[0104] Combining each impact factor and each weight factor, the constraint factor can be determined by column calculation. Since both the impact factor and the weight factor have corresponding data, there is also a corresponding relationship between the impact factor and the weight factor, and one impact factor corresponds to one weight factor. The calculation formula of the constraint factor is as follows:

[0105] (2)

[0106] Wherein, α represents the constraint factor, β represents the impact factor corresponding to the production base (resource consumption data) of the power station, X represents the impact factor corresponding to the data parameter (load parameter) of the power station, δ represents the impact factor corresponding to the data parameter of the power grid (power capacity of the transmission line), η represents the weight factor corresponding to the impact factor of the production base of the power station, σ represents the weight factor corresponding to the impact factor of the data parameter of the power station, and ζ represents the weight factor corresponding to the impact factor of the data parameter of the power grid.

[0107] The constraint factor can be obtained by calculation in the above formula. The constraint factor is used to characterize the constraint conditions of the power station restricted by objective conditions during the power generation process and can be used to establish the power constraint equation.

[0108] Step 404: Use the data parameters of the power station as constraint items and combine them with constraint factors to establish an electricity constraint equation.

[0109] Specifically, when determining the power generation, it is necessary to ensure that the power capacity allocated to each power station is less than the maximum power capacity of each power station, so as to ensure that each power station can carry out the power generation task and is not overloaded. As shown in formula (1), in the power constraint equation, it is necessary to satisfy that the power generation of the power station is not greater than the maximum power capacity of the power station under the influence of the constraint factor. Therefore, the maximum power capacity of the power station in the data parameters of the power station is used as the constraint item, combined with the constraint factor, to establish the power constraint equation shown in formula (1).

[0110] In this embodiment, by combining the data parameters of the power station, the production base of the power station and the data parameters of the power grid to consider the constraints of the power station in the power generation process in multiple dimensions, and calculating the constraint factor, the constraints of the power distribution can be quantified into a numerical value to limit the power distributed by each power station. Furthermore, an electric power constraint equation is established to ensure that the actual operating capacity of each power station can be taken into account when distributing power to the power grid, avoiding overload operation of the power station, which is conducive to ensuring the smooth operation of the power grid and stable power supply.

[0111] In an exemplary embodiment, as shown in FIG. 6 , step 502 includes steps 602 to 606 .

[0112] Step 602: Based on the basic data parameters, rated data parameters and actual data parameters of the power station, calculate and determine the impact factors corresponding to the data parameters of the power station.

[0113] The data parameters of the power station include basic data parameters, rated data parameters and actual data parameters. Taking the data parameters of the power station as load parameters as an example, the basic data parameters are the minimum load parameters of the power station, the rated data parameters are the maximum load parameters of the power station, and the actual data parameters are the actual required loads of the power station.

[0114] Specifically, when calculating the impact factor corresponding to the data parameter of the power station, the maximum and minimum values ​​of the data parameter of the power station may be considered to limit the actual value. For example, the impact factor corresponding to the data parameter of the power station may be:

[0115] (3)

[0116] Where X represents the impact factor corresponding to the data parameters of the power station, also known as the load demand allowable factor; E i Represents the actual data parameters, which are the load parameters actually required for each power station, E i 低 Indicates the basic data parameters, which are the minimum load parameters of each power station; E i 高 Indicates rated data parameters, which are the maximum load parameters for each power station. Among them, it needs to meet the following requirements: E i In E i 高 With E i 低 within the range.

[0117] Through the load demand allowable factor, the actual load parameters required by each power station, and the minimum and maximum load parameters of each power station, we can understand the load requirements of each power station, balance the relationship between load and power generation, and improve the stability of the system. It helps to avoid insufficient or wasteful power supply and ensure the reliability and safety of the power system.

[0118] Step 604: Based on the actual production base of the power station and the basic production base of the power station, calculate and determine the impact factor corresponding to the production base of the power station.

[0119] The production base includes the actual production base and the basic production base. Taking the production base of a power station as the resource consumption data as an example, the actual production base is the actual resource consumption data of the power station, and the basic production base is the minimum resource consumption data of the power station.

[0120] Specifically, when calculating the impact factor corresponding to the production base of the power station, the minimum value of the production base of the power station can be considered to limit the actual value. For example, the impact factor corresponding to the production base of the power station can be:

[0121] (4)

[0122] Where β represents the impact factor corresponding to the production base of the power station, also known as the grid investment allowable factor, W i represents the actual production base, the actual investment of each power station, W i 低 It represents the basic production base, which is the minimum investment for each power station.

[0123] By calculating the grid investment allowable factor, the overall investment scale of the power system can be controlled, which helps prevent excessive investment and waste, balance the relationship between investment and benefits, improve economic benefits, and improve the applicability of the power system. It is conducive to limiting the overall investment scale of the grid, controlling the investment of each power station, and balancing the relationship between investment and benefits.

[0124] Step 606: Based on the transmission line parameters of the power grid and the transmission line correction factors of the power grid, calculate and determine the impact factors corresponding to the data parameters of the power station.

[0125] The data parameters of the power grid include the transmission line parameters of the power grid. Taking the data parameter of the power grid as the transmission line capacity of the power grid as an example, the transmission line parameters of the power grid may refer to the maximum capacity of the transmission line of the power grid and the actual capacity of the transmission line of the power grid. The transmission line correction factor of the power grid is used to achieve correction compensation and ensure data accuracy.

[0126] Specifically, when calculating the impact factor corresponding to the data parameter of the power grid, the limitation of the actual value on the power capacity of the power transmission line of the power grid can be considered. For example, the impact factor corresponding to the data parameter of the power grid can be:

[0127] (5)

[0128] Where, δ represents the impact factor corresponding to the data parameters of the power grid, also known as the transmission line capacity allowable factor; V i 高 Indicates the maximum capacity of the power transmission line of the power grid, which is the maximum capacity of the transmission line of each power station; V i It represents the actual capacity of the transmission line of the power grid, which is the capacity allocated to the transmission line of each power station. ω represents the transmission line correction factor, which is the correction compensation factor of the transmission line capacity allowable factor. The correction compensation factor can be obtained by actual monitoring and testing of the transmission line.

[0129] Through parameters such as the transmission line capacity allowance factor, the maximum capacity of each power station transmission line, and the capacity allocated to each power station transmission line, the capacity of each power station transmission line can be controlled, which helps to avoid overloading or wasting the transmission line. The transmission line capacity allowance factor can balance the relationship between the load and capacity of the transmission line, control the transmission line capacity, balance the relationship between the load and capacity of the transmission line, and is conducive to calculating the constraint factors of power distribution.

[0130] In an exemplary embodiment, as shown in FIG. 7 , step 206 includes steps 702 to 704 .

[0131] Step 702: Establish a coefficient matrix for solving the power distribution model.

[0132] Specifically, after determining the power distribution model, the model needs to be solved to obtain the power generation of each power station when the total power of the power grid is maximized. First, based on the previously defined power generation variables of the power station, each variable is used as an element in the array and the variable value is stored in the form of an array. Then, based on the previous standard linear programming form, a coefficient matrix is ​​established for the parameters of the equation in formula (1) and the range of the coefficient matrix is ​​defined. Then, Python's linear programming solution library PuLP is used to solve the power distribution to obtain the calculation result of the power distribution model.

[0133] Step 704, determining the power production index of each power station according to the calculated calculation results.

[0134] The calculation results obtained based on the solution can be output and converted into the power production index of each power station. For example, the model.solve function of Python can be used to output the calculation results, decode the variables of the power allocated to each power station stored in the preamble array, and obtain the array value of the power distribution of the power grid. Each value corresponds to the power production index of each power station.

[0135] In this embodiment, the allocated power of each power station is stored as an element in an array, making the data structure clearer and more convenient in access, operation and processing. By using functions and solvers to automatically solve, the computing cost is saved, which is conducive to obtaining the results of power grid power allocation more quickly and efficiently.

[0136] In an exemplary embodiment, as shown in FIG8 , after step 704 , the power grid electricity distribution method further includes step 802 : verifying the electricity production index, and updating the electricity production index according to the verification result.

[0137] After obtaining the power production index, the power production index can also be verified to ensure the accuracy of the power production index. Specifically, after obtaining the array value, the if statement can be used to check the array to check whether the array value of the operation structure of the power grid power distribution is logical and perform logical judgment. For example, each power production index is substituted into the power distribution model for calculation to detect whether each constraint adjustment is in compliance and whether the power grid is operating normally. When the verification result is normal, the power production index does not need to be updated or the original value is overwritten; when the verification result is abnormal, the power distribution model can be re-solved for the abnormal item, and the power production index obtained by the secondary solution can be used as the updated power production index.

[0138] Optionally, the generated array values ​​can also be used to establish a training set using the fit function to facilitate subsequent training and correction of the model.

[0139] In this embodiment, by using the if statement to check the array value, the obtained power production index can be verified and data analyzed, thereby ensuring the rationality and effectiveness of power distribution and improving the operating efficiency of the entire power grid system.

[0140] In order to better understand the above solution, in combination with the application scenario shown in FIG1 , a detailed explanation is given below in combination with a specific embodiment.

[0141] In one embodiment, the power distribution method is implemented based on a terminal, specifically including: obtaining power grid configuration information, the power grid configuration information is obtained based on a power station of the power grid, and the power grid includes multiple power stations. A quantized power equation is established based on data parameters of the power station and data parameters of the power grid.

[0142] The influence factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid are calculated respectively, and the weight factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid are determined respectively based on the preset ratio, and the constraint factors are calculated and determined according to each influence factor and the corresponding weight factor. The data parameters of the power station are used as constraint items, and the power constraint equation is established in combination with the constraint factors.

[0143] Among them, based on the basic data parameters, rated data parameters and actual data parameters of the power station, the influence factors corresponding to the data parameters of the power station are calculated and determined. Based on the actual production base of the power station and the basic production base of the power station, the influence factors corresponding to the production base of the power station are calculated and determined. Based on the transmission line parameters of the power grid and the transmission line correction factors of the power grid, the influence factors corresponding to the data parameters of the power station are calculated and determined.

[0144] The quantified electricity equation and electricity constraint equation obtained in the above steps are converted into a standard linear programming form to establish an electricity distribution model. The coefficient matrix of the electricity distribution model is established and solved. The electricity production index of each power station is determined based on the calculation results obtained by the solution. The electricity production index is verified and updated based on the verification results. The power supply of the corresponding power station is controlled according to each electricity production index.

[0145] In this embodiment, by establishing a linear equation for power distribution, calculating power distribution constraint factors, analyzing power capacity, resource consumption data, and load demand data, improving the accuracy and reliability of decision-making, and building a power distribution model, the optimal distribution of power is achieved under the premise of a certain scale of power grid investment. This helps to make full use of existing power grid resources, meet user needs to the greatest extent, avoid waste of resources, and systematically manage and process power distribution issues. Through effective data management, analysis, and decision-making, the power distribution system under the power grid investment scale can better meet changing needs, optimize resource utilization, and ensure the stability and reliability of the system.

[0146] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0147] Based on the same inventive concept, the embodiment of the present application also provides a power grid power distribution device for implementing the power grid power distribution method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more power grid power distribution device embodiments provided below can refer to the limitations of the power grid power distribution method above, and will not be repeated here.

[0148] In an exemplary embodiment, as shown in FIG9 , a power grid power distribution device is provided, including: an input module 920, a construction module 940, a calculation module 960 and a control module 980, wherein:

[0149] An input module 920 is used to obtain grid configuration information; the grid configuration information is obtained based on the power stations of the grid, and the grid includes multiple power stations;

[0150] A construction module 940 is used to determine an electricity distribution model according to the grid configuration information;

[0151] The calculation module 960 is used to calculate and solve the power distribution model to determine the power production index of each power station;

[0152] The control module 980 is used to control the power supply of the corresponding power station according to each power production index.

[0153] In one embodiment, the grid configuration information includes data parameters of the power station, the production base of the power station, and data parameters of the grid. The construction module 940 is also used to establish a quantitative power equation based on the data parameters of the power station and the data parameters of the grid; establish a power constraint equation based on the data parameters of the power station, the production base of the power station, and the data parameters of the grid; convert the quantitative power equation and the power constraint equation into a standard linear programming form to establish a power distribution model.

[0154] In one embodiment, the construction module 940 is also used to determine the constraint factor based on the data parameters of the power plant, the production base of the power plant and the data parameters of the power grid; the data parameters of the power plant are used as constraint items, and the power constraint equation is established in combination with the constraint factor.

[0155] In one embodiment, the construction module 940 is also used to respectively calculate the influencing factors corresponding to the data parameters of the power plant, the production base of the power plant and the data parameters of the power grid; based on a preset ratio, respectively determine the weight factors corresponding to the data parameters of the power plant, the production base of the power plant and the data parameters of the power grid; and calculate and determine the constraint factors based on each influencing factor and the corresponding weight factor.

[0156] In one embodiment, the construction module 940 is further used to calculate and determine the impact factors corresponding to the data parameters of the power station based on the basic data parameters, rated data parameters and actual data parameters of the power station; the data parameters of the power station include the basic data parameters, rated data parameters and actual data parameters. Based on the actual production base of the power station and the basic production base of the power station, the impact factors corresponding to the production base of the power station are calculated and determined; the production base includes the actual production base and the basic production base. Based on the transmission line parameters of the power grid and the transmission line correction factors of the power grid, the impact factors corresponding to the data parameters of the power station are calculated and determined; the data parameters of the power grid include the transmission line parameters of the power grid.

[0157] In one embodiment, the operation module 960 is further used to solve the coefficient matrix established for the power distribution model; and determine the power production index of each power station according to the operation result obtained by the solution.

[0158] In one embodiment, the operation module 960 is further used to verify the power production index and update the power production index according to the verification result.

[0159] Each module in the above-mentioned power grid power distribution device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0160] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG10. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for distributing power in a power grid is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0161] Those skilled in the art will understand that the structure shown in FIG. 10 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0162] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0163] Obtaining grid configuration information; the grid configuration information is obtained based on power stations of the grid, and the grid includes multiple power stations;

[0164] Determine the power distribution model according to the grid configuration information;

[0165] Solve the electricity distribution model and determine the electricity production indicators of each power station;

[0166] The power supply of the corresponding power station is controlled according to each power production index.

[0167] In one embodiment, the grid configuration information includes data parameters of the power plant, the production base of the power plant and data parameters of the grid. When the processor executes the computer program, the following steps are also implemented:

[0168] A quantitative electricity equation is established based on the data parameters of the power station and the data parameters of the power grid; an electricity constraint equation is established based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid; the quantitative electricity equation and the electricity constraint equation are converted into a standard linear programming form to establish an electricity distribution model.

[0169] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0170] The constraint factors are determined based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid; the data parameters of the power station are used as constraint items, and the power constraint equation is established in combination with the constraint factors.

[0171] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0172] The influencing factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid are calculated respectively; based on a preset ratio, the weight factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid are determined respectively; and the constraint factors are calculated and determined according to each influencing factor and the corresponding weight factor.

[0173] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0174] Based on the basic data parameters, rated data parameters and actual data parameters of the power station, the influence factors corresponding to the data parameters of the power station are calculated and determined; the data parameters of the power station include the basic data parameters, rated data parameters and actual data parameters. Based on the actual production base of the power station and the basic production base of the power station, the influence factors corresponding to the production base of the power station are calculated and determined; the production base includes the actual production base and the basic production base. Based on the transmission line parameters of the power grid and the transmission line correction factors of the power grid, the influence factors corresponding to the data parameters of the power station are calculated and determined; the data parameters of the power grid include the transmission line parameters of the power grid.

[0175] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0176] A coefficient matrix is ​​established for the electricity distribution model to be solved; the electricity production index of each power station is determined based on the calculation results obtained from the solution.

[0177] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0178] The electricity production index is verified and updated according to the verification result.

[0179] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0180] Obtaining grid configuration information; the grid configuration information is obtained based on power stations of the grid, and the grid includes multiple power stations;

[0181] Determine the power distribution model according to the grid configuration information;

[0182] Solve the electricity distribution model and determine the electricity production indicators of each power station;

[0183] The power supply of the corresponding power station is controlled according to each power production index.

[0184] In one embodiment, the grid configuration information includes data parameters of the power plant, the production base of the power plant and data parameters of the grid. When the computer program is executed by the processor, the following steps are also implemented:

[0185] A quantitative electricity equation is established based on the data parameters of the power station and the data parameters of the power grid; an electricity constraint equation is established based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid; the quantitative electricity equation and the electricity constraint equation are converted into a standard linear programming form to establish an electricity distribution model.

[0186] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0187] The constraint factors are determined based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid; the data parameters of the power station are used as constraint items, and the power constraint equation is established in combination with the constraint factors.

[0188] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0189] The influencing factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid are calculated respectively; based on a preset ratio, the weight factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid are determined respectively; and the constraint factors are calculated and determined according to each influencing factor and the corresponding weight factor.

[0190] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0191] Based on the basic data parameters, rated data parameters and actual data parameters of the power station, the influence factors corresponding to the data parameters of the power station are calculated and determined; the data parameters of the power station include the basic data parameters, rated data parameters and actual data parameters. Based on the actual production base of the power station and the basic production base of the power station, the influence factors corresponding to the production base of the power station are calculated and determined; the production base includes the actual production base and the basic production base. Based on the transmission line parameters of the power grid and the transmission line correction factors of the power grid, the influence factors corresponding to the data parameters of the power station are calculated and determined; the data parameters of the power grid include the transmission line parameters of the power grid.

[0192] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0193] A coefficient matrix is ​​established for the electricity distribution model to be solved; the electricity production index of each power station is determined based on the calculation results obtained from the solution.

[0194] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0195] The electricity production index is verified and updated according to the verification result.

[0196] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0197] Obtaining grid configuration information; the grid configuration information is obtained based on power stations of the grid, and the grid includes multiple power stations;

[0198] Determine the power distribution model according to the grid configuration information;

[0199] Solve the electricity distribution model and determine the electricity production indicators of each power station;

[0200] The power supply of the corresponding power station is controlled according to each power production index.

[0201] In one embodiment, the grid configuration information includes data parameters of the power plant, the production base of the power plant and data parameters of the grid. When the computer program is executed by the processor, the following steps are also implemented:

[0202] A quantitative electricity equation is established based on the data parameters of the power station and the data parameters of the power grid; an electricity constraint equation is established based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid; the quantitative electricity equation and the electricity constraint equation are converted into a standard linear programming form to establish an electricity distribution model.

[0203] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0204] The constraint factors are determined based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid; the data parameters of the power station are used as constraint items, and the power constraint equation is established in combination with the constraint factors.

[0205] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0206] The influencing factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid are calculated respectively; based on a preset ratio, the weight factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid are determined respectively; and the constraint factors are calculated and determined according to each influencing factor and the corresponding weight factor.

[0207] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0208] Based on the basic data parameters, rated data parameters and actual data parameters of the power station, the influence factors corresponding to the data parameters of the power station are calculated and determined; the data parameters of the power station include the basic data parameters, rated data parameters and actual data parameters. Based on the actual production base of the power station and the basic production base of the power station, the influence factors corresponding to the production base of the power station are calculated and determined; the production base includes the actual production base and the basic production base. Based on the transmission line parameters of the power grid and the transmission line correction factors of the power grid, the influence factors corresponding to the data parameters of the power station are calculated and determined; the data parameters of the power grid include the transmission line parameters of the power grid.

[0209] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0210] A coefficient matrix is ​​established for the electricity distribution model to be solved; the electricity production index of each power station is determined based on the calculation results obtained from the solution.

[0211] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0212] The electricity production index is verified and updated according to the verification result.

[0213] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0214] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0215] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for distributing power in a power grid, characterized in that: The method comprises: Acquire power grid configuration information; the power grid configuration information is obtained based on a power station of the power grid, and the power grid includes a plurality of power stations; Determining an electricity distribution model according to the grid configuration information; Solving the electricity distribution model to determine the electricity production index of each power station; The power supply of the corresponding power station is controlled according to each of the power production indicators.

2. The method according to claim 1, characterized in that The grid configuration information includes data parameters of the power station, the production base of the power station and data parameters of the grid; and determining the power distribution model according to the grid configuration information includes: Establishing a quantized electricity quantity equation based on the data parameters of the power station and the data parameters of the power grid; Establishing an electricity constraint equation based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid; The quantified electricity equation and the electricity constraint equation are converted into a standard linear programming form to establish an electricity distribution model.

3. The method according to claim 2, characterized in that The establishing of the power constraint equation based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid includes: Determining a constraint factor based on data parameters of the power plant, a production base of the power plant and data parameters of the power grid; The data parameters of the power station are used as constraint items and combined with the constraint factors to establish an electricity constraint equation.

4. The method according to claim 3, characterized in that The determining of the constraint factor based on the data parameters of the power station, the production base of the power station and the data parameters of the power grid includes: respectively calculating the impact factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid; Based on a preset ratio, respectively determining weight factors corresponding to the data parameters of the power plant, the production base of the power plant, and the data parameters of the power grid; The constraint factor is calculated and determined according to each of the influencing factors and the corresponding weight factors.

5. The method according to claim 4, characterized in that The respectively calculating the impact factors corresponding to the data parameters of the power station, the production base of the power station and the data parameters of the power grid comprises: Based on the basic data parameters, rated data parameters and actual data parameters of the power station, calculating and determining the influencing factors corresponding to the data parameters of the power station; the data parameters of the power station include the basic data parameters, rated data parameters and actual data parameters; Based on the actual production base of the power station and the basic production base of the power station, calculating and determining the impact factor corresponding to the production base of the power station; the production base includes the actual production base and the basic production base; Based on the transmission line parameters of the power grid and the transmission line correction factor of the power grid, the influencing factors corresponding to the data parameters of the power station are calculated and determined; the data parameters of the power grid include the transmission line parameters of the power grid.

6. The method according to claim 1, characterized in that The calculating and solving the power distribution model to determine the power production index of each power station includes: Establishing a coefficient matrix for solving the power distribution model; The power production index of each power station is determined according to the calculated calculation results.

7. The method according to claim 6, characterized in that After determining the power production index of each power station according to the calculated result, the method further includes: The power production index is verified, and the power production index is updated according to the verification result.

8. A power grid power distribution device, characterized in that: The device comprises: An input module, used to obtain power grid configuration information; the power grid configuration information is obtained based on a power station of the power grid, and the power grid includes a plurality of power stations; A construction module is used to determine an electricity distribution model according to the power grid configuration information; A calculation module, used for calculating and solving the power distribution model to determine the power production index of each power station; The control module is used to control the power supply of the corresponding power station according to each of the power production indicators.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.