Power grid intelligent scheduling method and system fusing RPA and AI

Through the intelligent grid scheduling method integrating AI and RPA, users can predict users' electricity usage behavior, optimize grid scheduling solutions, meet user habits, and automatically perform scheduling, solving the problems of insufficient power supply and wrong manpower execution, and improving grid operation efficiency and user satisfaction .

CN119090117AActive Publication Date: 2024-12-06STATE GRID FUJIAN ELECTRIC POWER CO LTD

Patent Information

Application Number
CN202411019811.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-12-06
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

The existing power grid scheduling scheme ignores user's electricity usage habits when optimizing power consumption costs, resulting in insufficient power supply during high demand periods, affecting life and work, and requires a lot of manpower to manually execute the scheduling scheme, which is prone to omissions and errors, which may cause power grid failures.

Method used

Using a grid intelligent scheduling method that integrates artificial intelligence (AI) and robot process automation (RPA), predicts energy usage behavior through three-layer stacked long short-term memory neural networks, creates a suboptimal scheduling scheme using whale optimization algorithm, and is based on user habit bias Determine the target scheduling plan and use RPA to automatically execute the scheduling plan.

Benefits of technology

Ensure that users can obtain sufficient power supply during high demand periods, improve user satisfaction, and significantly improve the speed and efficiency of scheduling tasks through automation, reduce human errors, and promote the intelligent and automated development of power grid scheduling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119090117A_ABST
    Figure CN119090117A_ABST
Patent Text Reader

Abstract

The invention provides a power grid intelligent scheduling method and system fusing RPA and AI, and relates to the technical field of data processing, the method comprises the steps that a power grid intelligent scheduling model based on artificial intelligence AI is constructed, and the power grid intelligent scheduling model specifically comprises an energy use behavior prediction module, a power grid scheduling scheme creation module and a scheduling scheme determination module; through an energy use behavior prediction module, using a three-layer stacked long-short-term memory neural network to predict an energy use behavior; creating a suboptimal power grid dispatching scheme by using a whale optimization algorithm according to the predicted energy use behavior through a power grid dispatching scheme creation module; determining a target scheduling scheme from the sub-optimal power grid scheduling schemes through a scheduling scheme determination module based on the user habit deviation degree; and executing the target scheduling scheme through a robot process automation RPA technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a power grid intelligent dispatching method and system integrating RPA and AI. Background Art

[0002] Intelligent grid dispatching can quickly respond to load changes, prevent grid overload or imbalance, and ensure the stable operation of the power system. By optimizing the dispatching plan, it is possible to reduce losses in the power generation and transmission process and reduce operating costs. Intelligent grid dispatching is of great significance to the efficient, safe and economical operation of the power system, and promotes the modernization and intelligentization of energy management.

[0003] There are currently many power grid dispatching solutions based on artificial intelligence, such as using genetic algorithms, particle swarm optimization algorithms, ant colony algorithms, etc. to determine the optimal dispatching solution, thereby improving the intelligence level and optimization effect of power grid dispatching.

[0004] However, current grid dispatching schemes often only focus on reducing electricity costs, ignoring the consideration of users' electricity usage habits, which may result in users not being able to obtain sufficient electricity supply during high-demand periods, affecting their daily lives and work. For example, if household users do not receive sufficient power during peak electricity consumption periods in the summer evening, it will affect habitual electricity demand for air conditioning, lighting, cooking, etc., leading to a decline in user satisfaction.

[0005] At the same time, after the current power grid dispatching plan is determined, it still needs to be executed manually, which requires a lot of time and manpower. Manual operation will inevitably lead to omissions and errors, which may lead to inaccurate execution of the dispatching plan and even cause power grid failure or power outage. Summary of the invention

[0006] In order to solve the problem that the current power grid dispatching schemes often only focus on reducing electricity costs and ignore the consideration of users' electricity consumption habits, which may result in users being unable to obtain sufficient electricity supply during high-demand periods, affecting their daily life and work, the current power grid dispatching scheme still needs to be manually executed after it is determined, which requires a lot of time and manpower. Manual operations will inevitably lead to omissions and errors, which may lead to inaccurate execution of the dispatching scheme and even cause technical problems such as power grid failures or power outages. The present invention provides a power grid intelligent dispatching method and system that integrates RPA and AI.

[0007] The technical solution provided by the embodiment of the present invention is as follows:

[0008] First aspect:

[0009] An embodiment of the present invention provides a power grid intelligent dispatching method integrating RPA and AI, which is applied to a memory and includes:

[0010] S1: Constructing a power grid intelligent dispatching model based on artificial intelligence AI, wherein the power grid intelligent dispatching model specifically includes: an energy usage behavior prediction module, a power grid dispatching scheme creation module, and a dispatching scheme determination module;

[0011] S2: predicting energy usage behavior through the energy usage behavior prediction module using a three-layer stacked long short-term memory neural network;

[0012] S3: creating a suboptimal grid dispatching plan through the grid dispatching plan creation module according to the predicted energy usage behavior and using the whale optimization algorithm;

[0013] S4: Determine a target scheduling scheme from the suboptimal power grid scheduling schemes based on the user habit deviation through the scheduling scheme determination module;

[0014] S5: Execute the target scheduling plan through robotic process automation (RPA) technology.

[0015] Second aspect:

[0016] An embodiment of the present invention provides a power grid intelligent dispatching system integrating RPA and AI, including:

[0017] processor;

[0018] A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the intelligent dispatching method for power grid integrating RPA and AI as described in the first aspect is implemented.

[0019] The third aspect:

[0020] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the method for intelligent dispatching of a power grid integrating RPA and AI as described in the first aspect is implemented.

[0021] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0022] (1) In the present invention, after the suboptimal grid scheduling plan is created using the whale optimization algorithm, the target scheduling plan is determined from the suboptimal grid scheduling plan based on the user habit deviation, focusing on the user's electricity usage habits, so that users can obtain sufficient electricity supply during high-demand periods to meet their electricity usage habits, ensure daily life and work, and improve user satisfaction.

[0023] (2) In the present invention, the target scheduling plan is executed through the robotic process automation (RPA) technology, which can automatically execute power grid scheduling tasks, significantly improve the task processing speed and efficiency, reduce power grid scheduling errors caused by human negligence or errors, promote the intelligent and automated development of power grid scheduling, and improve the overall effect of power grid operation and user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0025] Figure 1 A flowchart of a power grid intelligent dispatching method integrating RPA and AI provided by an embodiment of the present invention;

[0026] Figure 2 A schematic diagram of the structure of a power grid intelligent dispatching system integrating RPA and AI provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The technical solution of the present invention is described below in conjunction with the accompanying drawings.

[0028] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "example" is intended to present the concept in a specific way. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or it can be either of the two.

[0029] In the embodiments of the present invention, "image" and "picture" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same.

[0030] In the embodiments of the present invention, sometimes a subscript such as W1 may be mistakenly written as a non-subscript such as W1. When the difference is not emphasized, the meanings to be expressed are consistent.

[0031] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0032] Reference Manual Attached Figure 1 , showing a flow chart of a power grid intelligent dispatching method integrating RPA and AI provided by an embodiment of the present invention.

[0033] The embodiment of the present invention provides a processing flow of a power grid intelligent dispatching method integrating RPA and AI, which may include the following steps:

[0034] S1: Build an intelligent power grid dispatching model based on artificial intelligence (AI).

[0035] Among them, the power grid intelligent dispatching model specifically includes: energy usage behavior prediction module, power grid dispatching plan creation module, and dispatching plan determination module.

[0036] S2: Through the energy usage behavior prediction module, a three-layer stacked long short-term memory neural network is used to predict energy usage behavior.

[0037] Among them, Long Short-Term Memory (LSTM) is a recurrent neural network (RNN) specifically designed for processing and predicting time series data. LSTM solves the gradient vanishing and gradient exploding problems faced by traditional RNNs when processing long sequence data by introducing a special gating mechanism.

[0038] Optionally, the three-layer stacked long short-term memory neural network includes a first long short-term memory neural network, a second long short-term memory neural network, and a third long short-term memory neural network that are stacked.

[0039] It should be noted that the stacked LSTM network can capture more complex and deep time series patterns through multi-layer processing and feature extraction. Each layer of the LSTM network can learn features at different levels, thereby improving the accuracy and effect of the overall prediction.

[0040] Optionally, the input layer of the first long short time memory neural network is used to obtain the historical energy usage sequence, the hidden layer of the first long short time memory neural network is connected to the input layer of the second long short time memory neural network, the hidden layer of the second long short time memory neural network is connected to the input layer of the third long short time memory neural network, the output layer of the third long short time memory neural network is connected to the fully connected layer, and the fully connected layer is used to fuse the hidden states in the hidden layers of the first long short time memory neural network, the second long short time memory neural network, and the third long short time memory neural network to obtain a comprehensive hidden state.

[0041] It should be noted that the multi-layer LSTM structure can better capture the long-term and short-term dependencies in the time series. The first layer of LSTM mainly learns short-term dependencies, the second layer of LSTM further extracts medium-term dependencies, and the third layer of LSTM can capture longer-term dependencies. This multi-level processing makes the model more adaptable to various time dependencies.

[0042] In a possible implementation, S2 specifically includes sub-steps S201 to S205:

[0043] S201: Input the historical energy usage sequence into the first long short-term neural network to obtain the first hidden state.

[0044] Specifically, for a certain layer of bidirectional long short-term neural network, extract the hidden state h:

[0045] I t =Sigmoid(W XT X t +W HI h t-1 +b I )

[0046] F t =Sigmoid(W XF X t +W HF h t-1 +b F )

[0047] O t =Sigmoid(W XO X t +W HO h t-1 +b O )

[0048] C′ t =tanh(W XC X t +W HC h t-1 +b C )

[0049] C t =F t ·C t-1 +I t ·C t

[0050] h t =O t tanh(C t )

[0051] Among them, I trepresents the activation output vector of the input gate at time t, Sigmoid() represents the Sigmoid activation function, and W XI represents the weight matrix between the word segmentation sequence and the input gate, X t Represents the weighted word vector input at time t, W HI represents the weight matrix between the hidden state and the input gate, b I represents the bias term of the input gate, F t represents the activation output vector of the forget gate at time t, W XF Represents the weight matrix between the word segmentation sequence and the forget gate, W HF represents the weight matrix between the hidden state and the forget gate, b F represents the bias term of the forget gate, O t represents the activation output vector of the output gate at time t, W XO Represents the weight matrix between the word segmentation sequence and the output gate, W HO represents the weight matrix between the hidden state and the output gate, b O represents the bias term of the output gate, C t represents the activation output vector of the cell storage unit at time t, C′ t represents the candidate output vector of the cell storage unit at time t, C t-1 represents the activation output vector of the cell storage unit at time t-1, tanh() represents the tanh activation function, W XC Represents the weight matrix between the word segmentation sequence and the cell storage unit, W HC represents the weight matrix between the hidden state and the cell storage unit, b C represents the bias term of the cell storage unit, h t represents the hidden state at time t, h t-1 represents the hidden state at time t-1.

[0052] S202: Input the first hidden state into the second long short-term neural network to obtain a second hidden state.

[0053] S203: Input the second hidden state into the third long short-term neural network to obtain a third hidden state.

[0054] It should be noted that the first long short-term neural network can capture shorter-term features and local patterns, the second long short-term neural network can capture medium-term features and integrate the output of the first layer to further extract useful information, and the third long short-term neural network can capture long-term features and integrate the information of the first two layers to perform deeper feature extraction.

[0055] S204: Fusing the first hidden state, the second hidden state, and the third hidden state to obtain a comprehensive hidden state:

[0056] Ht =ω1h 1t +ω2h 2t +ω3h 3t

[0057] Among them, H t represents the comprehensive hidden state, h 1t represents the first hidden state, ω1 represents the weight coefficient of the first hidden state, and h 2t represents the second hidden state, ω2 represents the weight coefficient of the second hidden state, and h 3t Represents the third hidden state, and ω3 represents the weight coefficient of the third hidden state.

[0058] Among them, those skilled in the art can set the weight coefficient ω1 of the first hidden state, the weight coefficient ω2 of the second hidden state, and the weight coefficient ω3 of the third hidden state according to actual conditions, and the present invention does not limit this.

[0059] In the present invention, by fusing different levels of hidden states, the expressive power of the model is significantly enhanced. The hidden states of each layer represent information of different time scales and feature levels. Combining these hidden states can more accurately reflect the intrinsic structure and trend of the data and improve the prediction performance of the model.

[0060] S205: Predict energy usage behavior based on comprehensive latent state:

[0061] Y=Sigmoid(W h H t +b h )

[0062] Where Y represents the predicted value of energy usage at the future moment, Sigmoid() represents the Sigmoid activation function, and W h represents the weight matrix between the fully connected layer and the prediction layer, b h Represents the prediction layer bias term.

[0063] It should be noted that the energy usage predicted by the Sigmoid activation function is a standardized value between [0, 1], and the final energy usage prediction value needs to be obtained through denormalization. Accordingly, the input historical energy usage sequence needs to be normalized before input.

[0064] In the present invention, by inputting the comprehensive hidden state into the fully connected layer and using the Sigmoid activation function to predict the energy usage, it is possible to fully utilize the rich feature information extracted by the multi-layer LSTM, capture complex nonlinear relationships, and generate standardized and stable prediction results.

[0065] S3: Through the grid dispatch plan creation module, based on the predicted energy usage behavior, the whale optimization algorithm is used to create a suboptimal grid dispatch plan.

[0066] In a possible implementation, S3 specifically includes sub-steps S301 to S304:

[0067] S301: Construct a power grid dispatch matrix for characterizing a dispatch scheme.

[0068] Optionally, the power grid dispatch matrix is ​​specifically:

[0069] Y t =D t E t

[0070]

[0071] Among them, Y t represents the energy usage forecast vector at time t, y it represents the predicted value of energy usage of the i-th user at time t, i = 1, 2, ..., m, m represents the total number of users, E t represents the energy supply forecast vector at time t, e jt represents the energy supply of the jth power supply device at time t, j = 1, 2, ..., n, n represents the total number of power supply devices, D t represents the grid dispatch matrix at time t, d iji It represents the amount of power supplied by the j-th power supply device to the th user at time t.

[0072] S302: Setting grid dispatch constraint conditions.

[0073] Optionally, the power grid dispatching constraints specifically include: power balance constraints, equipment power constraints, and equipment capacity constraints.

[0074] Optionally, the power balance constraint is specifically:

[0075]

[0076] in, represents the amount of electricity purchased by the power grid at time t, e jt represents the energy supply of the jth power supply device at time t, j = 1, 2, ..., n, n represents the total number of power supply devices, represents the power flow at time t, R represents the load, I t represents the current at time t, Represents the load power at time t.

[0077] It should be noted that the power balance constraint ensures that the total power generation of the power grid matches the total load at each moment, maintains power balance, avoids overload or insufficient power supply of the power grid, and thus ensures the stable operation of the power grid.

[0078] Optionally, the device power constraint is specifically:

[0079] P j,min ≤P j ≤P j,max

[0080] Among them, P j represents the power of the jth power supply device, P j,min Indicates the lower power limit of the jth power supply device, P j,max Indicates the upper power limit of the j-th power supply device.

[0081] It should be noted that the device power constraint ensures that the power of each power supply device operates within its design range.

[0082] Optionally, the device capacity constraint is specifically:

[0083] Q j,min ≤Q j ≤Q j,max

[0084] Among them, Q j represents the capacity of the jth power supply device, Q j,min represents the lower capacity limit of the jth power supply device, Q j,max Indicates the upper capacity limit of the j-th power supply device.

[0085] It should be noted that the equipment capacity constraint ensures that the capacity of each power supply equipment operates within its design range.

[0086] S303: Under the constraints of the grid dispatching constraints, a grid dispatching objective function is constructed with the goal of reducing electricity costs, peak load ratio and carbon emissions.

[0087] Optionally, the grid dispatch objective function is specifically:

[0088]

[0089] Among them, min means minimization, f represents the grid dispatch objective function, D represents the grid dispatch plan, which is composed of the grid dispatch matrix at each time, C represents the electricity cost, A represents the peak load ratio, B represents the carbon emissions, t=1,2,…,T, T represents the total observation time, β1 represents the weight coefficient of the electricity cost, β2 represents the weight coefficient of the peak load ratio, and β3 represents the weight coefficient of the carbon emissions.

[0090] Among them, those skilled in the art can set the weight coefficient β1 of electricity cost, the weight coefficient β2 of peak load ratio and the weight coefficient β3 of carbon emissions according to actual conditions, and the present invention does not limit this.

[0091] In the present invention, by constructing a comprehensive optimization objective function and optimizing the dispatching scheme on this basis, it is possible to effectively reduce electricity costs, balance loads, reduce carbon emissions, and improve the economy, reliability, and environmental protection of the power grid.

[0092] Optionally, the electricity cost is specifically:

[0093]

[0094] in, represents the grid electricity price at time t, represents the amount of electricity purchased by the power grid at time t, λ j represents the unit power generation cost of the jth power supply equipment, e jt It represents the energy supply of the jth power supply device at time t, j = 1, 2, ..., n, and n represents the total number of power supply devices.

[0095] Optionally, the peak load ratio is specifically:

[0096]

[0097]

[0098] Among them, max represents the maximum value, d it represents the power supply to the i-th user at time t, d ijt represents the amount of power supplied by the j-th power supply device to the j-th user at time t, i=1,2,…,m, m represents the total number of users, j=1,2,…,n, n represents the total number of power supply devices.

[0099] It should be noted that the peak load ratio reflects the degree of load balance. By optimizing the objective function, the load curve can be smoothed, the peak load can be reduced, the pressure on the power grid during peak hours can be alleviated, the service life of power grid equipment can be extended, and the operational stability of the power grid can be improved.

[0100] Optionally, the carbon emissions are:

[0101]

[0102] Among them, γ i represents the carbon emission coefficient of the ith power supply equipment, e jt It represents the energy supply of the jth power supply device at time t, j = 1, 2, ..., n, and n represents the total number of power supply devices.

[0103] S304: Based on the grid dispatch objective function, use the whale optimization algorithm to create a suboptimal grid dispatch plan.

[0104] Among them, the Whale Optimization Algorithm (WOA) is an optimization algorithm based on the foraging behavior of whales in nature. It simulates the bubble net feeding behavior of humpback whales during the feeding process to search for the global optimal solution.

[0105] The inverse of the grid dispatch objective function is used as the fitness function of the whale optimization algorithm.

[0106] Initialize the whale population, which contains multiple whale individuals. The position of each whale individual in the search space represents a feasible power grid scheduling solution.

[0107] Generate a random number r1 between 0 and 1 and calculate the first coefficient A:

[0108] A=2ar1-a

[0109] Where a represents the adaptive convergence factor.

[0110] Optionally, the adaptive convergence factor a is specifically:

[0111]

[0112] Among them, t represents the current iteration number, and T represents the maximum iteration number.

[0113] In the present invention, through the design of the adaptive convergence factor a, the search range is dynamically adjusted at different stages of the algorithm. In the early stage, the search range is large, which is conducive to global search; in the later stage, the search range gradually decreases, which is conducive to local fine search. This dynamic adjustment mechanism can effectively balance global search and local search.

[0114] When |A|<1, go to the next step. When |A|≥1, enter the random search mechanism.

[0115] Generates a random variable p.

[0116] When p < 0.5, it enters the contraction and encirclement mechanism. When p ≥ 0.5, it enters the spiral mechanism.

[0117] Determine the current global optimal position, and other whales move towards the global optimal position, and update their own positions through the shrinking and surrounding mechanism:

[0118] X(t+1)=X best (t)-A·D

[0119] D=|C·X best (t)-X(t)|

[0120] C=2r1

[0121] Among them, X(t+1) represents the individual position of the whale at the t+1th iteration, X best (t) represents the global optimal position at the tth iteration, A represents the first coefficient, D represents the randomized distance between the individual position of the whale and the current global optimal position, C represents the second coefficient, t represents the current iteration number, and X(t) represents the individual position of the whale at the tth iteration.

[0122] In the present invention, the individual positions of whales are updated through a shrinking and surrounding mechanism, which can effectively simulate natural behavior, balance exploration and development, improve the convergence speed, and enhance the diversity of solutions and the robustness of the algorithm.

[0123] Generate a random number r2 between 0 and 1. The whale moves in an upward spiral and continuously shrinks the encirclement, updating its position through the spiral mechanism:

[0124]

[0125] D * =|x best (t)-X(t)|

[0126] Among them, D * represents the distance between the individual position of the whale and the current global optimal position, e represents a natural constant, b represents a logarithmic spiral constant, and l represents a random number between -1 and 1.

[0127] In the present invention, different spiral paths (cosine or sine) are selected according to the value of the random number r2 to increase the diversity of the path. By moving in an upward spiral and continuously shrinking the encirclement, the whale optimization algorithm can effectively balance global search and local optimization, improve the diversity and flexibility of the search path, enhance the robustness and adaptability of the algorithm, quickly approach the global optimal solution, and ultimately improve the optimization effect and efficiency. This method combines the spiral mechanism and the shrinking encirclement mechanism, and further enhances the comprehensiveness and effectiveness of the search by randomly selecting the movement mode.

[0128] Based on the positions of individual whales relative to each other, they update their own positions through a random search mechanism:

[0129] X(t+1)=X rand -A.D rand

[0130] D rand =|C·X rand -X(t)|

[0131] Among them, X rand Represents the position of a randomly selected individual whale.

[0132] In the present invention, by randomly selecting the positions of other whales for updating, the algorithm can jump out of the current search area and explore in a wider space. This can effectively avoid the algorithm from falling into a local optimal solution and enhance the global search capability.

[0133] Update the global optimal position.

[0134] Perform a Cauchy mutation perturbation on the global optimal position:

[0135]

[0136] in, represents the global optimal position after the Cauchy mutation perturbation, and cauchy(0,1) represents the Cauchy operator.

[0137] In the present invention, the Cauchy distribution has a heavy-tail characteristic and can generate large disturbances, which enables the algorithm to perform a large-scale search near the global optimal position, helps to jump out of the local optimal solution, and enhances the global search capability.

[0138] Determine whether the current number of iterations has reached the maximum number of iterations. If so, output the grid dispatching scheme represented by the preset number of whale individuals with the highest current fitness as the suboptimal grid dispatching scheme. Otherwise, return to continue iteration.

[0139] Among them, those skilled in the art can set the size of the preset number according to actual conditions, and the present invention does not limit it. Optionally, the preset number is 10, that is, the power grid dispatching scheme represented by the top 10 whale individuals with the highest fitness ranking is determined as the suboptimal power grid dispatching scheme.

[0140] S4: Through the scheduling scheme determination module, based on the user habit deviation, the target scheduling scheme is determined from the suboptimal power grid scheduling schemes.

[0141] In a possible implementation, S4 specifically includes sub-steps S401 and S402:

[0142] S401: Calculate the user habit deviation of each suboptimal power grid dispatching solution:

[0143]

[0144] Among them, σ represents the user habit deviation, u i represents the electricity usage habits of the i-th user at time t, i = 1, 2, ..., m, m represents the total number of users, d it represents the amount of power supplied to the i-th user at time t, t = 1, 2, …, T, and T represents the total observation time.

[0145] S402: Determine the suboptimal grid dispatching scheme with the smallest user habit deviation as the target dispatching scheme.

[0146] In the present invention, by calculating the user habit deviation, a scheduling scheme that best matches the user's actual electricity usage habits is selected, which can meet the user's electricity demand to the greatest extent and improve user satisfaction.

[0147] S5: Execute target scheduling plan through robotic process automation (RPA) technology.

[0148] Among them, Robotic Process Automation (RPA) is a technology that uses software robots (or "digital employees") to automatically execute rule-based repetitive business processes.

[0149] Specifically, the software robot sends instructions to the control system according to the dispatch plan, adjusts the output power of the main generator set, and starts the backup generator set. At the same time, the robot monitors the operating status of the power grid in real time, checks the operation of the generator set, and ensures the correct execution of the dispatch instructions. During the dispatch process, the robot generates a dispatch execution report, records the operations and results of each step, and sends it to relevant personnel or systems for archiving and analysis.

[0150] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0151] (1) In the present invention, after the suboptimal grid scheduling plan is created using the whale optimization algorithm, the target scheduling plan is determined from the suboptimal grid scheduling plan based on the user habit deviation, focusing on the user's electricity usage habits, so that users can obtain sufficient electricity supply during high-demand periods to meet their electricity usage habits, ensure daily life and work, and improve user satisfaction.

[0152] (2) In the present invention, the target scheduling plan is executed through the robotic process automation (RPA) technology, which can automatically execute power grid scheduling tasks, significantly improve the task processing speed and efficiency, reduce power grid scheduling errors caused by human negligence or errors, promote the intelligent and automated development of power grid scheduling, and improve the overall effect of power grid operation and user satisfaction.

[0153] Reference Manual Attached Figure 2 , showing a structural schematic diagram of a power grid intelligent dispatching system integrating RPA and AI provided by the present invention.

[0154] The present invention further provides a power grid intelligent dispatching system 20 integrating RPA and AI, which is applied to the above-mentioned power grid intelligent dispatching method integrating RPA and AI, including:

[0155] Processor 201;

[0156] The memory 202 stores computer-readable instructions, and when the computer-readable instructions are executed by the processor 201, the power grid intelligent scheduling method integrating RPA and AI as described in the method embodiment is implemented.

[0157] The power grid intelligent dispatching system 20 integrating RPA and AI provided by the present invention can execute the above-mentioned power grid intelligent dispatching method integrating RPA and AI, and achieve the same or similar technical effects. To avoid repetition, the present invention will not go into details.

[0158] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0159] (1) In the present invention, after the suboptimal grid scheduling plan is created using the whale optimization algorithm, the target scheduling plan is determined from the suboptimal grid scheduling plan based on the user habit deviation, focusing on the user's electricity usage habits, so that users can obtain sufficient electricity supply during high-demand periods to meet their electricity usage habits, ensure daily life and work, and improve user satisfaction.

[0160] (2) In the present invention, the target scheduling plan is executed through the robotic process automation (RPA) technology, which can automatically execute power grid scheduling tasks, significantly improve the task processing speed and efficiency, reduce power grid scheduling errors caused by human negligence or errors, promote the intelligent and automated development of power grid scheduling, and improve the overall effect of power grid operation and user satisfaction.

[0161] It should be understood that the processor in the embodiment of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0162] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0163] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0164] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0165] In the present invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0166] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0167] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0168] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0169] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0170] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0171] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0172] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0173] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, a power grid intelligent scheduling method integrating RPA and AI as described in the method embodiment is implemented.

[0174] A computer-readable storage medium provided by the present invention can implement the steps and effects of the power grid intelligent dispatching method integrating RPA and AI in the above-mentioned method embodiment. To avoid repetition, the present invention will not go into details.

[0175] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0176] (1) In the present invention, after the suboptimal grid scheduling plan is created using the whale optimization algorithm, the target scheduling plan is determined from the suboptimal grid scheduling plan based on the user habit deviation, focusing on the user's electricity usage habits, so that users can obtain sufficient electricity supply during high-demand periods to meet their electricity usage habits, ensure daily life and work, and improve user satisfaction.

[0177] (2) In the present invention, the target scheduling plan is executed through the robotic process automation (RPA) technology, which can automatically execute power grid scheduling tasks, significantly improve the task processing speed and efficiency, reduce power grid scheduling errors caused by human negligence or errors, promote the intelligent and automated development of power grid scheduling, and improve the overall effect of power grid operation and user satisfaction.

[0178] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0179] The following points need to be explained: (1) The drawings of the embodiments of the present invention only involve structures related to the embodiments of the present invention, and other structures can refer to the general design.

[0180] (2) For the sake of clarity, in the drawings used to describe the embodiments of the present invention, the thickness of the layers or regions is exaggerated or reduced, that is, these drawings are not drawn according to the actual scale. It is understood that when an element such as a layer, film, region or substrate is referred to as being "on" or "under" another element, the element may be "directly" "on" or "under" the other element or there may be intermediate elements.

[0181] (3) In the absence of conflict, the embodiments of the present invention and the features therein may be combined with each other to obtain new embodiments.

[0182] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A power grid intelligent dispatching method integrating RPA and AI, characterized in that: Applied to memory, including: S1: Constructing a power grid intelligent dispatching model based on artificial intelligence AI, wherein the power grid intelligent dispatching model specifically includes: an energy usage behavior prediction module, a power grid dispatching scheme creation module, and a dispatching scheme determination module; S2: predicting energy usage behavior through the energy usage behavior prediction module using a three-layer stacked long short-term memory neural network; S3: creating a suboptimal grid dispatching plan through the grid dispatching plan creation module according to the predicted energy usage behavior and using the whale optimization algorithm; S4: Determine a target scheduling scheme from the suboptimal power grid scheduling schemes based on the user habit deviation through the scheduling scheme determination module; S5: Execute the target scheduling plan through robotic process automation (RPA) technology.

2. The power grid intelligent dispatching method integrating RPA and AI according to claim 1 is characterized in that: The three-layer stacked long short-term memory neural network includes a first long short-term memory neural network, a second long short-term memory neural network and a third long short-term memory neural network that are stacked; the input layer of the first long short-term memory neural network is used to obtain a historical energy usage sequence, the hidden layer of the first long short-term memory neural network is connected to the input layer of the second long short-term memory neural network, the hidden layer of the second long short-term memory neural network is connected to the input layer of the third long short-term memory neural network, the output layer of the third long short-term memory neural network is connected to a fully connected layer, and the fully connected layer is used to fuse the hidden states in the hidden layers of the first long short-term memory neural network, the second long short-term memory neural network and the third long short-term memory neural network to obtain a comprehensive hidden state.

3. The power grid intelligent dispatching method integrating RPA and AI according to claim 2 is characterized in that: The S2 specifically includes: S201: Inputting the historical energy usage sequence into the first long-short term neural network to obtain a first hidden state; S202: Inputting the first hidden state into the second long short-term neural network to obtain a second hidden state; S203: inputting the second hidden state into the third long short-term neural network to obtain a third hidden state; S204: Fusing the first hidden state, the second hidden state, and the third hidden state to obtain a comprehensive hidden state: H t =ω1h 1t +ω2h 2t +ω3h 3t Among them, H t represents the comprehensive hidden state, h 1t represents the first hidden state, ω1 represents the weight coefficient of the first hidden state, and h 2t represents the second hidden state, ω2 represents the weight coefficient of the second hidden state, and h 3t represents the third hidden state, ω3 represents the weight coefficient of the third hidden state; S205: Predicting energy usage behavior based on the comprehensive latent state: Y=Sigmoid(W h H t +b h ) Where Y represents the predicted value of energy usage at the future moment, Sigmoid() represents the Sigmoid activation function, and W h represents the weight matrix between the fully connected layer and the prediction layer, b h Represents the prediction layer bias term.

4. The power grid intelligent dispatching method integrating RPA and AI according to claim 1 is characterized in that: The S3 specifically includes: S301: constructing a power grid dispatch matrix for characterizing a dispatch scheme; S302: Setting grid dispatch constraint conditions; S303: Under the constraints of the power grid dispatching constraint conditions, with the goal of reducing electricity costs, peak load ratio and carbon emissions, constructing a power grid dispatching objective function; S304: Based on the grid dispatch objective function, a suboptimal grid dispatch solution is created using a whale optimization algorithm.

5. The power grid intelligent dispatching method integrating RPA and AI according to claim 4 is characterized in that: The power grid dispatch matrix is ​​specifically: Y t =D t E t Among them, Y t represents the energy usage forecast vector at time t, y it represents the predicted value of energy usage of the i-th user at time t, i = 1, 2, ..., m, m represents the total number of users, E t represents the energy supply forecast vector at time t, e jt represents the energy supply of the jth power supply device at time t, j = 1, 2, ..., n, n represents the total number of power supply devices, D t represents the grid dispatch matrix at time t, d ijt It indicates the amount of power supplied by the j-th power supply device to the j-th user at time t.

6. The power grid intelligent dispatching method integrating RPA and AI according to claim 4 is characterized in that: The power grid dispatching constraints specifically include: power balance constraints, equipment power constraints and equipment capacity constraints.

7. The power grid intelligent dispatching method integrating RPA and AI according to claim 4 is characterized in that: The grid dispatch objective function is specifically: Among them, min means minimization, f represents the grid dispatch objective function, D represents the grid dispatch plan, and the grid dispatch plan is composed of the grid dispatch matrix at each time. C represents the electricity cost, A represents the peak load ratio, B represents the carbon emissions, t=1,2,…,T, T represents the total observation time, β1 represents the weight coefficient of the electricity cost, β2 represents the weight coefficient of the peak load ratio, and β3 represents the weight coefficient of the carbon emissions.

8. The power grid intelligent dispatching method integrating RPA and AI according to claim 7 is characterized in that: The electricity cost is specifically: in, represents the grid electricity price at time t, represents the amount of electricity purchased by the power grid at time t, λ j represents the unit power generation cost of the jth power supply equipment, e jt represents the energy supply of the jth power supply device at time t, j = 1, 2, ..., n, and n represents the total number of power supply devices; The peak load ratio is specifically: Among them, max represents the maximum value, d it represents the power supply to the i-th user at time t, d ijt represents the amount of power supplied by the j-th power supply device to the j-th user at time t, i = 1, 2, ..., m, m represents the total number of users, j = 1, 2, ..., n, n represents the total number of power supply devices; The carbon emissions are specifically: Among them, γ i represents the carbon emission coefficient of the ith power supply equipment, e jt It represents the energy supply of the jth power supply device at time t, j = 1, 2, ..., n, and n represents the total number of power supply devices.

9. The power grid intelligent dispatching method integrating RPA and AI according to claim 1 is characterized in that: The S4 specifically includes: S401: Calculate the user habit deviation of each suboptimal power grid dispatching solution: Among them, σ represents the user habit deviation, u i represents the electricity usage habits of the i-th user at time t, i = 1, 2, ..., m, m represents the total number of users, d it represents the power supply to the i-th user at time t, t=1,2,…,T, T represents the total observation time; S402: Determine the suboptimal power grid dispatching scheme with the smallest user habit deviation as the target dispatching scheme.

10. A power grid intelligent dispatching system integrating RPA and AI, characterized in that: include: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the method for intelligent dispatching of a power grid integrating RPA and AI as described in any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Load regulation and control optimization system based on user uncertainty behaviors

    CN113644652A

  • Electric power unit combination scheduling method and system based on artificial intelligence combined driving

    CN116526582A

  • Photovoltaic power prediction method based on VMD decomposition and lamination deep learning

    CN116644970A

  • Comprehensive energy scheduling method and system based on improved differential evolution whale optimization

    CN117634697A

  • Distributed energy real-time scheduling method and system based on reinforcement learning

    CN117726133A

Cited By

  • Intelligent power grid data monitoring method and device based on AI and RPA

    CN121283032A