Power intelligent dispatching method based on artificial intelligence

CN118316024BActive Publication Date: 2024-09-24STATE GRID CORPORATION OF CHINA +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410406721.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-07
Publication Date
2024-09-24
Estimated Expiration
2044-04-07

AI Technical Summary

Technical Problem

Traditional power system dispatch relies on predetermined rules and manual experience, resulting in low efficiency and insufficient accuracy in complex power grid environments. It is especially difficult to balance the supply and load of new energy power nodes, reducing resource utilization.

Method used

Adopt an artificial intelligence-based smart power dispatching method to collect power node data in real time through edge devices and IoT sensors, and use deep reinforcement learning models combined with weather forecasts to optimize power generation and load distribution, adjust power dispatching strategies, and improve the flexibility of power grid operations. and accuracy.

Benefits of technology

It achieves more flexible and accurate power dispatching decisions, improves the efficiency of renewable energy utilization, balances the supply and demand relationship of the power grid, enhances the stability and reliability of the power system, and improves resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118316024B
    Figure CN118316024B
Patent Text Reader

Abstract

The present application provides an artificial intelligence-based power intelligent dispatching method, which relates to the field of smart grid dispatching technology, wherein the method includes: receiving current node power generation parameters from at least one edge device, and determining the current power grid power generation data of the power system according to each current node power generation parameter; inputting the current power grid power generation data and the forecast weather information of the target geographical area corresponding to the future preset time period into the deep reinforcement learning model to determine the target power dispatching strategy for each power node in the future preset time period; for each target power dispatching strategy, sending the target power dispatching strategy to the edge device of the corresponding power node, so that the edge device adjusts the output power generation and power load distribution information for the power node according to the target power dispatching strategy. Thus, the supply and demand relationship of the power grid is effectively balanced, and the overall performance and resource utilization of the power system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart grid dispatching technology, and in particular to an artificial intelligence-based smart power dispatching method. Background Art

[0002] Traditional power system dispatching mainly relies on predetermined rules and manual experience for management. This method has problems of low efficiency and insufficient accuracy when dealing with large-scale and complex power grids. With the widespread access to renewable energy and the rapid changes in the power market, the operating environment of the power grid is becoming increasingly complex, which puts higher requirements on the intelligence of the power dispatching system.

[0003] In particular, traditional power grid dispatching often relies on the dispatcher's experience and a set of fixed operating rules, which limits the flexibility and accuracy of dispatching decisions when faced with emergencies or non-standard operating situations. In addition, dispatchers' power grid dispatching often tends to be post-dispatching, and it is impossible to make advance predictions and plans, especially for new energy power nodes, which will make it difficult to balance the power supply and load of new energy power nodes, reducing the resource utilization of the power system.

[0004] The industry has not yet proposed a better solution to the above problems. Summary of the invention

[0005] The present application provides an artificial intelligence-based intelligent power dispatching method to at least solve the problem in the prior art that power dispatching relying on dispatchers is not intelligent enough.

[0006] The present application provides an artificial intelligence-based intelligent power dispatching method, which is applied to a central server, and the method includes: receiving current node power generation parameters from at least one edge device, and determining current power grid power generation data of the power system according to each of the current node power generation parameters; each of the current node power generation parameters uniquely corresponds to each power node in the power system, and each of the power nodes is used to supply power to power users in a target geographical area; a corresponding edge device and an Internet of Things sensor are respectively provided for each of the power nodes, and the Internet of Things sensor is used to collect the node power generation parameters of the corresponding power node and transmit them to the corresponding edge device; the parameter types of the current node power generation parameters include: node power generation type, node current power generation, node power generation resource surplus, node power grid operation parameters and node load level; the node power generation type in each of the current node power generation parameters covers renewable energy type and coal power generation type, and the renewable energy type includes wind power generation type and photovoltaic power generation type; inputting the current power grid power generation data and the forecast weather information of the target geographical area corresponding to the future preset time period into the deep reinforcement learning model to determine the target power dispatching strategy for each of the power nodes in the future preset time period, the target power dispatching strategy includes the target power generation allocation and the target load allocation; each state in the state space of the deep reinforcement learning model is defined according to the weather information and power grid power generation data, each action in the action set of the deep reinforcement learning model is defined by the power generation adjustment amplitude and the load adjustment amplitude, and the reward of the deep reinforcement learning model is defined by the power grid operation stability and renewable energy utilization efficiency of the power system; for each of the target power dispatching strategies, sending the target power dispatching strategy to the edge device of the corresponding power node, so that the edge device adjusts the output power generation and power load distribution information for the power node according to the target power dispatching strategy.

[0007] Optionally, the deep reinforcement learning model adopts a DDPG model, and the DDPG model includes an Actor network module and a Critic network module; the current power grid power generation data and the forecast weather information of the target geographical area corresponding to a preset time period in the future are input into the deep reinforcement learning model to determine a target power dispatching strategy for each of the power nodes in the preset time period in the future, including: the Actor network module is used to determine at least one transferable state for the current state of the second power node in the state space, and determine a corresponding state transfer action based on the current state and each of the transferable states; the current state is determined by matching the current power grid power generation data and the forecast weather information from each state in the state space; the Critic network module is used to determine the state transfer reward value corresponding to each state-action pair, and determine the target power dispatching strategy for the second power node based on the state transfer action with the largest corresponding state transfer reward value.

[0008] Optionally, the reward function of the Critic network module is:

[0009]

[0010] In the formula, R total represents the reward value, V represents the node grid voltage, F represents the node grid frequency, REG represents the total renewable energy power generation of the power system, TEG represents the total power generation of the power system; ΔDemand represents the deviation information between the actual grid load and the predicted load of the power system determined according to the training sample set.

[0011] Optionally, the loss function of the Critic network module is:

[0012]

[0013] Where L represents the loss value, λ is the preset coefficient used to control the intensity of the time coherence penalty; y i represents the target value, which is calculated by the immediate reward and the expected reward value of the next state; s i ,a i represents the state and action corresponding to the i-th sample; Q(s i ,a i |θ Q ) represents the reward value estimate of the Critic network module for the i-th sample state-action pair; w i represents the weight assigned based on the importance of the i-th sample state; N represents the total number of samples in the training sample set.

[0014] Optionally, w i1 >wi2 >w i3 , w i1 represents the first sample in the training sample set corresponding to the peak period of power grid consumption, w i2 represents the second sample in the training sample set corresponding to the grid level value period, and w i3 Represents the third sample in the training sample set corresponding to the valley period of power consumption in the power grid.

[0015] Optionally, the construction process of the data sample set includes: obtaining the original data sample set; performing conditional resampling on the original data sample set to achieve data enhancement, including: determining key power supply conditions based on input information; the input information includes at least one of the following focus dimensions: extreme weather information, high demand peak period, power supply load changes and renewable energy fluctuation information; according to the key power supply conditions, dividing the original data sample set into a first data sample subset and a second data sample subset; each sample in the first data sample subset meets the key power supply conditions, and each sample in the second data sample subset does not meet the key power supply conditions; for each sample in the first data sample subset, determining the synthetic sample corresponding to the sample based on an adaptive synthetic sampling method; expanding the original data sample set according to each of the synthetic samples to construct the data sample set.

[0016] The artificial intelligence-based intelligent power dispatching method provided by this application can produce at least the following technical effects:

[0017] (1) By integrating IoT sensors and edge computing devices, detailed data of power nodes, including power generation and load levels, are collected in real time, providing a rich and real-time data foundation for the deep reinforcement learning model, enabling the model to intelligently make more flexible and accurate dispatching decisions based on the actual operation of the power grid. Compared with the traditional dispatching method that relies on manual experience and fixed rules, it can more effectively respond to emergencies and complex power grid environments, and improve the flexibility and accuracy of power grid operation.

[0018] (2) In the power dispatch decision management, renewable energy nodes, such as wind power and photovoltaic power generation, are comprehensively considered, and weather forecast information for a preset time period in the future is used to enable the deep reinforcement learning model to predict the potential output of renewable energy and optimize power generation and load dispatch accordingly. This can significantly improve the utilization efficiency of renewable energy in the power system, reduce dependence on traditional fossil fuels, and promote the green and sustainable development of the power grid.

[0019] (3) By adjusting power generation and load distribution in real time through the deep reinforcement learning model, the supply and demand relationship of the power grid can be more effectively balanced. The reward mechanism of the model also emphasizes the stability of power grid operation, prompting the dispatching strategy to maintain the stable operation of the power grid and improve the efficiency of renewable energy utilization. As a result, the adaptability of the power system to load changes is improved, the possibility of power grid failure is reduced, and the reliability and stability of the entire power system are enhanced.

[0020] In the technical solution provided in the present application, by forecasting the weather and the power generation parameters of the power grid at each node, the power dispatch strategy for the preset time period in the future is planned in advance. Especially when facing variable renewable energy output, it is possible to respond to possible changes in the power grid load in advance, especially during high demand periods or when the supply of renewable energy is unstable, effectively balancing the supply and demand of the power grid and improving the overall performance and resource utilization of the power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0022] Figure 1 A flowchart showing an example of an artificial intelligence-based power intelligent dispatching method according to an embodiment of the present application is shown;

[0023] Figure 2 A schematic diagram showing the principle of state transfer in a reinforcement learning model;

[0024] Figure 3 A structural block diagram of an example of a deep reinforcement learning model according to an embodiment of the present application is shown;

[0025] Figure 4 A flowchart of an example of constructing a data sample set according to an embodiment of the present application is shown;

[0026] Figure 5 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0028] Figure 1 A flowchart of an example of an artificial intelligence-based intelligent power dispatching method according to an embodiment of the present application is shown.

[0029] Regarding the execution subject of the method of the embodiment of the present application, it can be any electronic device with processing and computing capabilities, such as a computer terminal, a mobile phone terminal, etc. More specifically, in combination with the business scenario of the power grid system command center platform, its execution subject can be a central server to achieve the intelligent output of corresponding power automation dispatching solutions for different power nodes in the power system by using artificial intelligence algorithms, thereby providing more objective, accurate and personalized analysis results to optimize the performance and resource utilization of the power system.

[0030] like Figure 1 As shown, in step S110, current node power generation parameters are received from at least one edge device, and current power grid power generation data is determined according to each current node power generation parameter.

[0031] Here, each current node power generation parameter uniquely corresponds to each power node in the power system, and each power node is used to supply power to the power equipment in the target geographical area. For example, the target geographical area may represent city A, and each power node may represent a power facility that can provide power supply to the power equipment in city A, such as a plurality of different power supply stations distributed around the city.

[0032] Corresponding edge devices and IoT sensors are provided for each power node. The IoT sensors are used to collect the node power generation parameters of the corresponding power node and transmit them to the corresponding edge devices.

[0033] Here, the parameter types of the current node power generation parameters include: node power generation type, node current power generation, node power generation resource margin, node grid operation parameters and node load level. Therefore, by setting the IoT sensors corresponding to the multi-modal parameters, the power generation situation of the power node can be understood more comprehensively and in real time.

[0034] In terms of the deployment of IoT sensors, due to the fact that different IoT sensors are manufactured by different manufacturers and have inconsistent semantics and data expression formats, there is obvious complexity in data communication and data interaction. The functional volume of project construction has been significantly increased, and at the same time, there is a certain degree of waste.

[0035] In order to effectively solve the above problems, a convergence controller is also set up in each edge device to standardize and unify various types of sensors in terms of semantics and data expression format by building a sensor information model. Based on the construction of the sensor information model, it can facilitate the plug-and-play and interconnection of various types of sensors, and greatly improve the interaction efficiency between various application sensor systems in the power Internet of Things.

[0036] Furthermore, the node power generation type in each current node power generation parameter includes renewable energy type and coal power generation type, and the renewable energy type includes wind power generation type and photovoltaic power generation type. Continuing with the example above, among the various power nodes that provide power supply to City A, there are both traditional energy power nodes that realize power supply and distribution through thermal energy and new energy power nodes that realize power supply and distribution through renewable energy. In this case, a refined power dispatching strategy is particularly needed to ensure the stability and efficiency of the power system.

[0037] In step S120, the current power grid power generation data and the forecast weather information of the target geographical area corresponding to the future preset time period are input into the deep reinforcement learning model to determine the target power dispatching strategy for each power node in the future preset time period, and the target power dispatching strategy includes the target power generation allocation and the target load allocation.

[0038] In some embodiments, the preset time period may represent a day or a week, and then the power generation data of the power system today or this week is analyzed to intelligently formulate the power dispatch strategy for each power node in the power system tomorrow or next week. Accordingly, the target power dispatch strategy may represent the power generation allocation and target load allocation of the power node on the second day or the second week. Specifically, the power generation allocation specifies the power supply that the power node should output during this period, and the target load allocation specifies the area or load device group that the power node should provide power to during this period.

[0039] Figure 2 A schematic diagram showing the principle of state transfer in the reinforcement learning model.

[0040] like Figure 2 As shown, the state transition diagram involves multiple basic states f1~f nIn the state space composed of the state transitions between different basic states, for example, a1 represents the state transition from f1 to f2, a2 ​​represents the state transition from f2 to f1, a3 represents the state transition from f1 to f3, and so on. Here, the corresponding state transitions can occur based on the state transition strategy, and each state transition strategy can be used to cause different state transitions. For example, based on the state transition strategy for the basic state f1, state transitions a2 or a3 can occur.

[0041] In addition, the state range to which a basic state in the state space can be transferred to another state (also called a transferable state) is generally restricted or conditional. For example, any of f1 to f3 will not be transferred to f4 to f5. n State transfer occurs between them, and the states that can be transferred to for state f1 are f2 and f3, and so on.

[0042] In the example of the embodiment of the present application, each state in the state space of the deep reinforcement learning model is defined according to weather information and power grid power generation data, each action in the action set of the deep reinforcement learning model is defined by the power generation adjustment range and the load adjustment range, and the reward of the deep reinforcement learning model is defined by the power grid operation stability and renewable energy utilization efficiency. Therefore, the deep reinforcement learning model can predict the output of renewable energy and optimize its use in the power grid. In addition, the power grid operation stability and renewable energy utilization efficiency are emphasized in the reward function of the deep reinforcement learning model, so that the intelligently determined scheduling strategy can take into account both the stable operation of the power system and the high renewable energy utilization efficiency, improve the utilization rate of renewable energy while ensuring the stable operation of the power grid, reduce dependence on fossil fuels, and promote the green development of the power system.

[0043] In step S130, for each target power dispatching strategy, the target power dispatching strategy is sent to the edge device of the corresponding power node, so that the edge device adjusts the output power generation and power load distribution information for the power node according to the target power dispatching strategy.

[0044] Through the embodiments of the present application, a deep reinforcement learning model is used to analyze the node power generation conditions of each power node in the distributed power grid, and the forecast weather for future time periods is integrated to plan in advance the power dispatching strategy for future preset time periods. Especially when facing variable renewable energy output, it is possible to improve the utilization rate of renewable energy in the power system while ensuring the stable operation of the overall power system, effectively balance the supply and demand relationship of the power grid, and improve the overall performance and resource utilization of the power system.

[0045] Figure 3A structural block diagram of an example of a deep reinforcement learning model according to an embodiment of the present application is shown.

[0046] like Figure 3 As shown, the deep reinforcement learning model 300 adopts the DDPG (Deep Deterministic Policy Gradient) model, which specifically includes a cascaded Actor network module 310 and a Critic network module 320, which can process continuous action space and high-dimensional state space.

[0047] In some embodiments, the Actor network module 310 is used to determine at least one transferable state for the current state of the second power node in the state space, and determine the corresponding state transfer action according to the current state and each transferable state. Here, the current state is determined by matching the current power grid power generation data and the forecast weather information from each state in the state space.

[0048] The critic network module 320 is used to determine the state transition reward value corresponding to each state-action pair, and determine the target power dispatch strategy of the second power node according to the state transition action with the largest corresponding state transition reward value. For more details on the working principle of reinforcement learning, please refer to the combined Figure 2 The example description is omitted here.

[0049] It should be noted that in the embodiment of the present application, DDPG is selected as the model of the deep reinforcement learning model, instead of other types of reinforcement learning agents (for example, DQN, etc.), considering that DDPG can better handle continuous action spaces and high-dimensional state spaces. In conjunction with the present technical scenario, in power dispatching decisions, decisions such as power generation adjustment and load distribution are usually continuous action spaces, and DDPG can directly generate deterministic strategies in such a continuous space, which is suitable for such complex control problems. In addition, DDPG combines the functional approximation capabilities of deep learning and the direct policy search of the policy gradient method, and can handle a wide range of input types (such as power grid data, weather information, etc.), so that it can effectively learn complex strategies in high-dimensional state spaces and adapt to the diversity and complexity of power dispatching.

[0050] More specifically, the structure of the Actor network module 310 can adopt the general DDPG model structure to achieve the construction of a variety of feasible state-action pairs in the state space. Furthermore, in some examples of the embodiments of the present application, the structure and definition of the Critic network module 320 are optimized for a variety of power dispatching scenarios.

[0051] More specifically, the reward function of the Critic network module 320 is:

[0052]

[0053] In the formula, R total represents the reward value, V represents the node grid voltage, F represents the node grid frequency, REG represents the total renewable energy generation of the power system, and TEG represents the total power generation of the power system. ΔDemand represents the deviation information between the actual grid load and the predicted load of the power system determined according to the training sample set.

[0054] It should be noted that in the reward function provided in the embodiment of the present application, a dynamic adjustment mechanism is introduced to make the sensitivity of the reward to the state of the power grid change with time and conditions. For the node grid voltage and node grid frequency of the power grid stability, the hyperbolic tangent function (tanh) is used, which not only punishes extreme fluctuations, but also gives lower rewards when the stability is better, maintains a moderate incentive level, and realizes dynamically adjusted power grid stability rewards. For the renewable energy utilization rate part in the reward function, according to the actual demand of the power grid and the availability of renewable energy, the Sigmoid function is used to dynamically adjust the reward according to the demand difference to realize conditional renewable energy efficiency rewards. As a result, the reward function not only takes into account the basic needs of the power grid, but also introduces dynamic adjustment and conditional evaluation mechanisms, making it more sophisticated, flexible and adaptable, and can effectively promote the efficient and sustainable operation of the power system.

[0055] It should be noted that in the scenario of intelligent power dispatching, the difference ΔDemand between the actual grid load and the predicted load is a key indicator, which can measure the accuracy of power demand forecasting and the adaptability of grid operation. It is particularly useful when designing reward functions, which helps the model evaluate the effectiveness of its prediction and dispatching strategies, enabling DDPG to achieve more accurate demand forecasting.

[0056] Furthermore, the loss function of the Critic network module is:

[0057]

[0058] Where L represents the loss value, and λ is a preset coefficient used to control the intensity of the temporal coherence penalty. i Represents the target value, which is calculated by the immediate reward and the expected reward value of the next state. i ,a i represents the state and action corresponding to the i-th sample. i ,a i |θ Q ) represents the reward value estimate of the Critic network module for the i-th sample state-action pair. irepresents the weight assigned based on the importance of the i-th sample state, and N represents the total number of samples in the training sample set.

[0059] It should be noted that in the loss function provided in the embodiment of the present application, a weighted mean square error loss is introduced. and the loss considering timing dependencies By introducing a weighting factor w in the weighted mean square error loss i To adjust the importance of different types of errors, for example, in power system dispatch, prediction errors that are critical to grid stability should be given higher weights. Through the loss of timing dependency, the highly timing-dependent environment in the power system generation technology scenario is matched. Therefore, the loss function can be designed to consider the temporal coherence of the prediction, and an additional term λ is introduced to penalize mutations in time series prediction. As a result, the Critic network module can more effectively learn and evaluate the actions determined by the Actor network module in the power system, enhancing the stability and reliability of grid dispatch.

[0060] Specifically, the weight w based on the specific grid state i The DDPG can be regulated to adjust the influence of each sample in the loss function according to the importance and sensitivity of the power grid state. i It is a dynamic weight that assigns different levels of importance to actions taken in a specific grid state, reflecting the importance of making the right decision in that state.

[0061] In some examples of the embodiments of the present application, w i1 >w i2 >w i3 , w i1 represents the first sample in the training sample set corresponding to the peak period of power grid consumption, w i2 represents the second sample in the training sample set corresponding to the grid level value period, and w i3 It represents the third sample in the training sample set corresponding to the valley period of power grid consumption. Therefore, the importance of samples corresponding to the peak period of power grid consumption is further highlighted, which can effectively ensure the correctness and rationality of power dispatching decisions when the power system faces load pressure during peak periods, and can minimize the impact caused by errors in power system dispatching decisions.

[0062] On the other hand, it should be noted that λ in formula (2) can be set according to the management requirements of the actual power system. Specifically, in the reinforcement learning model, λ can be used to implement the degree of penalty for sudden or rapid changes in time series prediction, which is particularly important in scenarios such as power system scheduling that require time continuity. It can ensure that the actions generated by the model not only consider the current optimal decision, but also its impact on future states, as well as the continuity and smoothness of these actions in time.

[0063] More specifically, when the value of λ is large, the DDPG model pays more attention to the temporal coherence of actions during training to avoid drastic or incoherent changes in actions. When the value of λ is small, the DDPG model focuses more on improving the accuracy of predictions, even though this may result in larger fluctuations in the temporal behavior of actions. For example, in a diverse type of power system, especially in high-demand power supply areas or sensitive periods, it is very important to maintain the continuity and smoothness of dispatch decisions to avoid causing instability in the power grid.

[0064] Figure 4 A flowchart of an example of constructing a data sample set according to an embodiment of the present application is shown.

[0065] like Figure 4 As shown, in step S410, an original data sample set is obtained.

[0066] Specifically, data is integrated from multiple data sources, including real-time grid data (such as real-time power generation of each power station, grid load, grid frequency and voltage, etc.), historical grid operation data (such as past power demand, supply, fault records, etc.), weather forecasts and historical weather data (such as wind speed, solar radiation, temperature, etc., which are very important for predicting renewable energy output). Data cleaning is achieved by processing missing values, outliers and noisy data. Important features are extracted according to the model technology scenario, such as time characteristics (hours, weeks, seasonality), weather conditions, etc., and standardized to meet the model input requirements to obtain the original sample data set.

[0067] In step S420, conditional resampling is performed on the original data sample set to achieve data enhancement.

[0068] More specifically, the key power supply conditions are determined based on input information, and the input information includes at least one of the following focus dimensions: extreme weather information, high demand peak periods, power supply load changes, and renewable energy fluctuation information. Exemplarily, the power system administrator enters relevant input information through terminal interactive operations to determine the key power supply conditions. Further, based on the key power supply conditions, the original data sample set is divided into a first data sample subset and a second data sample subset, each sample in the first data sample subset meets the key power supply conditions, and each sample in the second data sample subset does not meet the key power supply conditions. Identification of these conditions can be based on specific thresholds (such as temperature exceeding a certain value, or wind speed below a certain level) or specific events (such as power grid fault records).

[0069] For each sample in the first data sample subset, a synthetic sample corresponding to the sample is determined based on an adaptive synthetic sampling approach (ADASYN).

[0070] The original data sample set is expanded according to each synthetic sample to construct a data sample set.

[0071] More specifically, minority samples are first identified in the power system dataset, which may be rare power grid failure events, load data under extreme weather conditions, etc. Then, the number of generated samples for each minority sample is calculated. Exemplarily, for each minority sample, the number of its neighbors in the feature space is calculated, and these neighbors belong to the majority class. Furthermore, according to the density of majority class samples around the minority sample, the number of new synthetic samples that need to be generated for each minority sample is dynamically determined. If a minority sample is surrounded by many majority class samples, more synthetic samples are generated for it. Then, for each selected minority sample, a neighbor is randomly selected from its K nearest neighbors, and a new synthetic sample is generated between this minority sample and its neighbor, for example, by performing random linear interpolation between the features of the two. Finally, the generated new samples are merged with the original dataset to obtain a more balanced new dataset.

[0072] Through the embodiments of the present application, ADASYN is used to enhance the key minority class samples in the power system dataset, so that the trained model can more comprehensively understand and respond to various possible power grid operation conditions, thereby improving the accuracy and robustness of the power dispatching strategy.

[0073] Figure 5 is a schematic diagram of the hardware structure of an electronic device for executing an artificial intelligence-based power intelligent dispatching method provided by another embodiment of the present application, such as Figure 5 As shown, the device includes:

[0074] One or more processors 510 and memory 520, Figure 5 A processor 510 is taken as an example.

[0075] The device for executing the artificial intelligence-based electric power intelligent dispatching method may further include: an input device 530 and an output device 540 .

[0076] The processor 510, the memory 520, the input device 530 and the output device 540 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0077] The memory 520, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the power intelligent dispatching method based on artificial intelligence in the embodiment of the present application. The processor 510 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 520, that is, the power intelligent dispatching method based on artificial intelligence in the above method embodiment is realized.

[0078] The memory 520 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 520 may optionally include a memory remotely arranged relative to the processor 510, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0079] The input device 530 may receive input digital or character information and generate signals related to user settings and function control of the electronic device. The output device 540 may include a display device such as a display screen.

[0080] The one or more modules are stored in the memory 520, and when executed by the one or more processors 510, the artificial intelligence-based electric power intelligent scheduling method in any of the above method embodiments is executed.

[0081] The above-mentioned product can execute the power intelligent dispatching method based on artificial intelligence provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided in the embodiment of the present application.

[0082] The electronic devices of the embodiments of the present application exist in various forms, including but not limited to:

[0083] (1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions and its main purpose is to provide voice and data communications. This type of terminal includes: smart phones, multimedia phones, functional phones, and low-end phones.

[0084] (2) Ultra-mobile personal computer devices: These devices belong to the category of personal computers, have computing and processing functions, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, etc.

[0085] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players, handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0086] (4) Other onboard electronic devices with data interaction functions, such as on-board devices installed in vehicles.

[0087] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components 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 modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0088] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An artificial intelligence-based power intelligent dispatching method, applied to a central server, the method include: Receiving current node power generation parameters from at least one edge device, and determining current grid power generation data of the power system according to each of the current node power generation parameters; Each of the current node power generation parameters uniquely corresponds to each power node in the power system, and each of the power nodes is used to supply power to power-consuming equipment in the target geographical area; a corresponding edge device and an Internet of Things sensor are respectively provided for each of the power nodes, and the Internet of Things sensor is used to collect the node power generation parameters of the corresponding power node and transmit them to the corresponding edge device; the parameter types of the current node power generation parameters include: node power generation type, node current power generation, node power generation resource surplus, node grid operation parameters and node load level; the node power generation type in each of the current node power generation parameters covers renewable energy type and coal power generation type, and the renewable energy type includes wind power generation type and photovoltaic power generation type; The current power grid generation data and the forecast weather information of the target geographical area corresponding to the preset time period in the future are input into the deep reinforcement learning model to determine the target power dispatch strategy for each power node in the preset time period in the future, wherein the target power dispatch strategy includes a target power generation allocation and a target load allocation; each state in the state space of the deep reinforcement learning model is defined according to weather information and power grid generation data, each action in the action set of the deep reinforcement learning model is defined by a power generation adjustment range and a load adjustment range, and the reward of the deep reinforcement learning model is defined by the power grid operation stability and renewable energy utilization efficiency of the power system; For each of the target power dispatching strategies, the target power dispatching strategy is sent to the edge device of the corresponding power node, so that the edge device adjusts the output power generation and power load distribution information for the power node according to the target power dispatching strategy; The deep reinforcement learning model adopts the DDPG model, which includes an Actor network module and a Critic network module; Inputting the current power grid generation data and the forecast weather information of the target geographical area corresponding to a preset future time period into the deep reinforcement learning model to determine the target power dispatch strategy for each power node in the preset future time period, including: The Actor network module is used to determine at least one transferable state for the current state of the second power node in the state space, and determine a corresponding state transfer action according to the current state and each of the transferable states; the current state is determined by matching the current power grid power generation data and the forecast weather information from each state in the state space; The Critic network module is used to determine the state transition reward values ​​corresponding to each state-action pair, and determine the target power dispatch strategy of the second power node according to the state transition action with the largest corresponding state transition reward value; The reward function of the Critic network module is: In the formula, Represents the reward value, represents the node grid voltage, represents the node grid frequency, represents the total amount of renewable energy generation in the power system, represents the total power generation of the power system; Indicates deviation information between actual grid load and predicted load of the power system determined according to the training sample set; The process of constructing a data sample set includes: Obtaining the original data sample set; The original data sample set is conditionally resampled to achieve data enhancement, including: Determine key power supply conditions based on input information; the input information includes at least one of the following focus dimensions: extreme weather information, high demand peak period, power supply load changes and renewable energy fluctuation information; According to the power supply critical condition, the original data sample set is divided into a first data sample subset and a second data sample subset; each sample in the first data sample subset meets the power supply critical condition, and each sample in the second data sample subset does not meet the power supply critical condition; For each sample in the first data sample subset, determining a synthetic sample corresponding to the sample based on an adaptive synthetic sampling method; The original data sample set is expanded according to each of the synthetic samples to construct the data sample set.

2. The method according to claim 1, in, The loss function of the Critic network module is: In the formula, L represents the loss value, is a preset coefficient used to control the intensity of the temporal coherence penalty; represents the target value, which is calculated by the immediate reward and the expected reward value of the next state; Indicates The state and action corresponding to each sample; Indicates the Critic network module's Reward value estimate for each sample state-action pair; Indicates that based on The weight assigned to the importance of each sample state; N Represents the total number of samples in the training sample set.

3. The method according to claim 2, in, > > , represents the first sample in the training sample set corresponding to the peak power consumption period of the power grid, represents the second sample in the training sample set corresponding to the grid level value period, and Represents the third sample in the training sample set corresponding to the valley period of power consumption in the power grid.