Power grid overload simulation method and device and storage medium
By acquiring and processing various operating parameters in the power grid in real time, performing power flow calculations and risk mapping, the real-time and accuracy problems of traditional power grid overload simulation analysis are solved, and dynamic assessment and real-time monitoring of power grid overload risk are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-26
- Publication Date
- 2026-03-10
AI Technical Summary
Traditional power grid overload simulation analysis suffers from poor real-time performance, analysis lag, fragmented functional modules, and disconnected risk assessment, making it difficult to meet the needs of modern power grids for real-time safety monitoring and dynamic risk assessment.
By acquiring various operating parameters of power equipment and the environment in the power grid, writing them into the topology in real time, performing power flow calculations, calculating the degree of overload and mapping it to the risk level, and combining fault simulation and failure rate calculation, the real-time assessment and dynamic updating of power grid overload risk can be achieved.
It improves the accuracy and real-time performance of power grid overload simulation, enabling timely reflection of overload risks when power grid parameters change, and supporting real-time safety situation awareness and proactive early warning of the power grid.
Smart Images

Figure CN121638008A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of electric power, and particularly relates to a power grid overload simulation method, device and storage medium. BACKGROUND
[0002] Under the background of energy transformation and new-type power system construction, the power grid currently faces many challenges brought by large-scale grid connection of new energy, including management of a large number of control objects, response to high uncertainty factors, and decision making of multiple targets and multiple constraints, etc. Meanwhile, new energy generation has intermittency and uncertainty, which puts forward higher requirements for the safe and stable operation of the power grid. In the meantime of ensuring the safety of the power system, new energy is maximally utilized.
[0003] Overload simulation analysis technology is usually one of the common technologies for responding to these challenges. However, the traditional numerical simulation tool is mostly in an offline calculation mode. When the power grid parameters change or a fault occurs, manual triggering calculation or waiting for a fixed period of scanning is relied on, which leads to lagging analysis and poor real-time performance. SUMMARY
[0004] Therefore, the application provides a power grid overload simulation method, device and storage medium, so as to improve the real-time performance of power grid overload simulation.
[0005] A first aspect of the application provides a power grid overload simulation method, comprising:
[0006] When an overload simulation instruction triggered by a power grid is received, a plurality of operating parameters collected from power equipment and environment in the power grid are acquired;
[0007] The plurality of operating parameters are written into each element in the power grid topology structure;
[0008] Power flow calculation is performed on the topology structure to obtain an operating state of the element;
[0009] An overload degree of the element is calculated according to the operating state;
[0010] The overload degree is mapped to an overload risk level of the element; the overload risk level is positively correlated with the overload degree.
[0011] Optionally, the power equipment includes a line and a generator set, the generator set includes a wind turbine generator set and a photovoltaic generator set, and the plurality of operating parameters include a load value, a wind speed and an irradiance;
[0012] The plurality of operating parameters written into each element in the power grid topology structure include:
[0013] The topology structure of the power grid is queried; the topology structure has a plurality of elements;
[0014] calculating active power of a wind turbine in the power grid according to the wind speed, and writing the active power of the wind turbine into an element in the topology structure representing the wind turbine;
[0015] calculating active power of a photovoltaic generator in the power grid according to the irradiance, and writing the active power of the photovoltaic generator into an element in the topology structure representing the photovoltaic generator;
[0016] writing the load value into an element in the topology structure representing the power equipment.
[0017] Optionally, the operating state includes current or power of the element, and the calculating overload degree of the element according to the operating state includes:
[0018] calculating a ratio between the current and a preset first rated capacity as the overload degree of the element representing the line or the generator;
[0019] or,
[0020] calculating a ratio between the power and a preset second rated capacity as the overload degree of the element representing the line or the generator.
[0021] Optionally, the mapping the overload degree into an overload risk level of the element includes:
[0022] determining a plurality of risk mapping relationships; the risk mapping relationship includes a degree range and an overload risk level; the numerical value of the degree range is positively correlated with the overload risk level;
[0023] determining the overload risk level of the element in the degree range where the overload degree is located.
[0024] Optionally, further comprising:
[0025] when receiving a fault simulation instruction triggered by the power grid, determining the power equipment to be simulated in the power grid as a target equipment;
[0026] reconstructing the topology structure according to the target equipment, and returning to execute the writing of a plurality of operating parameters into each element in the topology structure of the power grid.
[0027] Optionally, the reconstructing the topology structure according to the target equipment includes:
[0028] in the topology structure, removing the element representing the target equipment;
[0029] or
[0030] In the topology structure, the impedance in the element representing the target device is modified to a specified value to simulate an open circuit.
[0031] Optionally, the method further comprises:
[0032] In the topology structure, the reconfigured overload degree and the operating parameters of the environment are queried from the element representing the target device as fault simulation information.
[0033] The simulation failure rate of the element representing the target device is calculated according to the fault simulation information.
[0034] Optionally, the simulation failure rate of the element representing the target device is calculated according to the fault simulation information, comprising:
[0035] A failure rate function is determined, wherein the failure rate function is represented as λ = λ 0 · g(k), wherein λ is a simulation failure rate, λ 0 is a basic failure rate, and g(k) is a growth function related to the overload degree and the operating parameters of the environment.
[0036] The fault simulation information is substituted into the failure rate function to obtain the simulation failure rate of the element representing the target device.
[0037] A second aspect of the present application provides a power grid overload simulation device, comprising:
[0038] An operating parameter acquisition module is configured to acquire a plurality of operating parameters collected from power devices and an environment in the power grid when receiving an overload simulation instruction triggered by the power grid.
[0039] An operating parameter packaging module is configured to write a plurality of the operating parameters into each element in the topology structure of the power grid.
[0040] A power flow calculation module is configured to perform power flow calculation on the topology structure to obtain an operating state of the element.
[0041] An overload degree calculation module is configured to calculate an overload degree of the element according to the operating state.
[0042] An overload risk level mapping module is configured to map the overload degree to an overload risk level of the element, wherein the overload risk level is positively correlated with the overload degree.
[0043] Optionally, the power devices include lines and generator sets, the generator sets include wind turbine generators and photovoltaic generators, and the plurality of operating parameters include load values, wind speeds and irradiance.
[0044] The operating parameter packaging module is further configured to:
[0045] querying a topology of the power grid; the topology having a plurality of elements therein;
[0046] calculating an active power of a wind turbine generator in the power grid according to the wind speed, and writing the active power of the wind turbine generator into an element in the topology representing the wind turbine generator;
[0047] calculating an active power of a photovoltaic generator in the power grid according to the irradiance, and writing the active power of the photovoltaic generator into an element in the topology representing the photovoltaic generator;
[0048] writing the load value into an element in the topology representing the power device.
[0049] Optionally, the operating state comprises a current or a power of the element, and the overload degree calculation module is further configured to:
[0050] calculate a ratio between the current and a preset first rated capacity as the overload degree of the element representing the line or the generator;
[0051] or,
[0052] calculate a ratio between the power and a preset second rated capacity as the overload degree of the element representing the line or the generator.
[0053] Optionally, the overload risk level mapping module is further configured to:
[0054] determine a plurality of risk mapping relationships; the risk mapping relationships comprising a degree range and an overload risk level; the value of the degree range is positively correlated with the overload risk level;
[0055] determine the overload risk level mapped by the degree range in which the overload degree of the element is located.
[0056] Optionally, the method further comprises:
[0057] a fault device determination module configured to, when receiving a fault simulation instruction triggered by the power grid, determine the power device in the power grid to be simulated for a fault as a target device;
[0058] a topology reconfiguration module configured to reconfigure the topology according to the target device and return to execute the operating parameter packaging module.
[0059] Optionally, the topology reconfiguration module is further configured to:
[0060] remove the element representing the target device in the topology;
[0061] or
[0062] In the topology, the impedance in the element representing the target device is modified to a specified value to simulate an open circuit.
[0063] Optionally, the method further comprises:
[0064] querying, in the topology, the element representing the target device, the reconfigured overload degree and the operating parameter of the environment as fault simulation information;
[0065] calculating, according to the fault simulation information, a simulation failure rate of the element representing the target device.
[0066] Optionally, the simulation failure rate calculating module is further configured to:
[0067] determine a failure rate function, wherein the failure rate function is expressed as λ = λ 0 · g(k), wherein λ is a simulation failure rate, λ 0 is a basic failure rate, and g(k) is a growth function related to the overload degree and the operating parameter of the environment;
[0068] substitute the fault simulation information into the failure rate function to obtain the simulation failure rate of the element representing the target device.
[0069] A third aspect of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the power grid overload simulation method according to the first aspect.
[0070] A fourth aspect of the present application provides a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the power grid overload simulation method according to the first aspect.
[0071] A fifth aspect of the present application provides a computer program product, which, when executed on a computer, causes the computer to perform the power grid overload simulation method according to the first aspect.
[0072] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0073] In the embodiment, when receiving the overload simulation instruction triggered by the power grid, a plurality of operating parameters collected from the power equipment and the environment in the power grid are acquired; the plurality of operating parameters are written into each element in the power grid topology structure; power flow calculation is performed on the topology structure to obtain the operating state of the element; the overload degree of the element is calculated according to the operating state; the overload degree is mapped to the overload risk level of the element; and the overload risk level is positively correlated with the overload degree. The overload risk analysis in the embodiment is established on the basis of real-time power flow, and when the operating parameters of the power grid change, the change is reflected on the overload simulation in real time, thereby effectively improving the accuracy of the overload simulation analysis. BRIEF DESCRIPTION OF DRAWINGS
[0074] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0075] Figure 1 is a schematic diagram of a power grid overload simulation method provided by the embodiment of the present application;
[0076] Figure 2 is a schematic diagram of a power grid overload simulation and fault probability calculation linkage provided by the embodiment of the present application;
[0077] Figure 3 is a schematic diagram of another power grid overload simulation method provided by the embodiment of the present application;
[0078] Figure 4 is a schematic diagram of a power grid overload simulation device provided by the embodiment of the present application;
[0079] Figure 5 is a schematic diagram of an electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION
[0080] In the following description, specific details are set forth in order to provide a thorough understanding of the embodiments of the present application, but these specific details do not limit the present application. It should be apparent to those skilled in the art that other embodiments can be implemented without these specific details. In other cases, well-known systems, devices, circuits, and methods have not been described in detail in order not to obscure the description of the present application with unnecessary detail.
[0081] The traditional power grid overload simulation and risk analysis usually has the following defects:
[0082] 1. Parameter isolation, lack of linkage: The operating parameters of external environments affecting the operation state of the power grid, such as load changes, wind speed, and irradiance, are usually set and changed independently. The internal coupling relationship and linkage effect (such as an increase in wind speed leading to an increase in wind turbine output and changes in load-side electricity consumption) are difficult to reflect in simulation, resulting in simulation results that do not match the real scene.
[0083] 2. Analysis lag, non-real-time: Most are offline calculation mode. When the system parameters of the power grid change or a fault occurs, manual calculation is triggered or a fixed period of scanning is waited for, which cannot track and warn of risks in real time at the millisecond / second level for continuous changes in system state, making it difficult to meet the needs of modern power grids for real-time safety monitoring.
[0084] 3. Disconnection between fault simulation and risk assessment: When simulating line or unit faults, only simple power flow calculation or protection logic verification is usually performed, without linking fault events with changes in system-wide overload risk probability. After a fault occurs, the fault probability of each element is static and cannot be dynamically updated according to the new system operating state (such as line overload caused by power transfer), making the risk assessment results less accurate.
[0085] 4. Fragmented functional modules: Power flow calculation, stability analysis, and overload checking are usually located in different subsystems, with low data exchange efficiency. The analysis process is in series rather than in parallel, making it difficult to support integrated real-time linkage of "regulation-simulation-analysis" and unable to quickly respond to frequent parameter disturbance simulation requirements.
[0086] The technical solution in this embodiment is applicable to the field of modern power system dispatching operation and safety analysis containing a high proportion of fluctuating new energy such as wind power and photovoltaic power. As a core calculation engine, it is integrated into an intelligent power grid dispatching system or a digital twin platform to solve the problem of real-time risk assessment and fault probability updating caused by the interplay of continuous fluctuations in wind speed, irradiance, load, and other parameters and sudden faults in lines and units. It is particularly suitable for real-time safety situation awareness and deduction of regional power grids, and through dynamic topology visualization and risk quantification, it realizes the transition from static analysis to dynamic simulation and from passive alarm to active warning.
[0087] The technical solution of the present application will be described below through specific embodiments.
[0088] Referring to Figure 1 , a schematic diagram of a power grid overload simulation method provided by an embodiment of the present application is shown, which can specifically include the following steps:
[0089] Step 101: When an overload simulation instruction triggered by the power grid is received, multiple operating parameters collected from power equipment and the environment in the power grid are obtained.
[0090] In the embodiment, as shown in Figure 2 a user can operate in a graphical human-computer interface to trigger an overload simulation instruction for a power grid.
[0091] Upon receiving the overload simulation instruction triggered for the power grid, a dispatching device of multi-parameter linkage simulation receives a new parameter set from an application layer of the power grid, the new parameter set including a plurality of operating parameters collected from power equipment and an environment in the power grid.
[0092] Exemplarily, the power equipment includes lines and generator sets, the generator sets including wind turbine generators and photovoltaic generators, and the plurality of operating parameters in the new parameter set including load values (P_load, Q_load), wind speeds (V_wind), and irradiance (I_solar), etc.
[0093] The dispatching device, as a unified triggering engine, processes the plurality of operating parameters (load, wind speed, irradiance, etc.) input from outside (user operation or data interface) as an indivisible environmental scene snapshot, generates a simulation calculation task event using the plurality of operating parameters, and automatically and linkingly triggers a complete calculation chain to realize accurate linkage simulation of a power grid operating state and an external environment.
[0094] In this way, the system is no longer a simple response to a single variable change, but simulates a complex power grid state under the joint action of multiple weather factors in reality, significantly improving the authenticity and accuracy of the simulation scene.
[0095] Step 102, write the plurality of operating parameters into each element in a topology structure of the power grid.
[0096] In the embodiment, the plurality of operating parameters can be pre-processed and / or simply logically processed to improve the quality of the operating parameters.
[0097] As shown in Figure 2 write the operating parameters (which can be original operating parameters or operating parameters after logical processing) into each element in a real-time topology structure of the power grid, and update the topology structure carrying the operating parameters to a database.
[0098] In a specific implementation, the real-time topology structure of the power grid can be queried from the database; the topology structure has a plurality of elements, including line first and last end nodes, generator set connection relationships, impedance parameters, etc., the new parameter set is substituted into the topology structure of the power grid to update a calculation model.
[0099] In an example, the active power output P_wind of the wind turbine generator in the power grid is calculated according to the wind speed V_wind, and the active power output P_wind of the wind turbine generator is written into an element representing the wind turbine generator in the topology structure.
[0100] In another example, the active power P_pv of the photovoltaic unit in the power grid is calculated according to the irradiance I_solar, and the active power P_pv of the photovoltaic unit is written into the element representing the photovoltaic unit in the topology.
[0101] In yet another example, the load value (P_load, Q_load) is written into the element representing the power device in the topology.
[0102] Step 103, power flow calculation is performed on the topology to obtain the operating state of the element.
[0103] In the embodiment, as shown in Figure 2 , the topology with the new parameter set written for the power grid can be subjected to power flow calculation, at this time, an iterative algorithm such as Newton-Raphson method is used to solve the power flow distribution of the entire topology to obtain the operating state of all elements, for example, voltage amplitude and phase angle, active / reactive power of all lines (including cables and transformers), and power output of all generator units, etc., and the operating state of each element in the topology is written into the power flow result table in the database in real time.
[0104] Step 104, the overload degree of the element is calculated according to the operating state.
[0105] In the embodiment, as shown in Figure 2 , the overload risk real-time analysis model can actively subscribe to the power flow result table in the database, and when the change of the power flow result table in the database is detected, the overload analysis real-time analysis model can read the operating state of each element in the topology from the database, and calculate the overload degree of each element in the topology according to the operating state, and write the overload degree of each element in the topology into the database.
[0106] In a specific implementation, the operating state includes the current I_line or power S_line of the element (including lines and units).
[0107] In one case, the ratio between the current I_line and a preset first rated capacity I_rated can be calculated as the overload degree k (k=I_line / I_rated) of the element representing the line or generator unit.
[0108] In another case, the ratio between the power S_line and a preset second rated capacity S_rated is calculated as the overload degree k= (k=S_line / S_rated) of the element representing the line or generator unit.
[0109] Step 105, the overload degree is mapped to the overload risk level of the element.
[0110] In this embodiment, the overload degree can be mapped to an overload risk level of the element using a linear or nonlinear risk function R=f(k), where k is the overload degree, f() represents a mapping function, and R represents the overload risk level.
[0111] The overload risk level is positively correlated with the overload degree, that is, the greater the overload degree, the higher the overload risk level, and the higher the risk of overload; conversely, the smaller the overload degree, the lower the overload risk level, and the lower the risk of overload.
[0112] In one mapping manner, a plurality of risk mapping relationships are determined; the risk mapping relationship is a piecewise function manner of the risk function, and the risk mapping relationship includes a degree range and an overload risk level.
[0113] The numerical value of the degree range is positively correlated with the overload risk level, thereby supporting the positive correlation between the overload risk level and the overload degree, that is, the greater the numerical value of the degree range, the higher the overload risk level, and conversely, the smaller the numerical value of the degree range, the lower the overload risk level.
[0114] Exemplarily, the risk mapping relationship includes: when k<1.0, R=0 (safe); when 1.0≤k<1.2, R=1 (warning); and when k≥1.2, R=2 (danger).
[0115] The overload degree is compared with the degree range in each risk mapping relationship in turn, the degree range in which the overload degree is located is found, and thereby the overload risk level of the element mapped in the degree range in which the overload degree is located is determined.
[0116] The overload risk level of each element (especially each line and each generator set) is output in real time, the overload risk level of each element (especially each line and each generator set) is written into a database in real time, and the application layer is notified to update the display of the graphical man-machine interface, for example, the lines and generator sets at risk (overload level is warning or danger) are highlighted using different colors.
[0117] In this embodiment, when an overload simulation instruction triggered by the power grid is received, a plurality of operating parameters collected for power equipment and environment in the power grid are acquired; the plurality of operating parameters are written into each element in the power grid topology structure; a power flow calculation is performed on the topology structure to obtain an operating state of the element; the overload degree of the element is calculated according to the operating state; the overload degree is mapped to an overload risk level of the element; and the overload risk level is positively correlated with the overload degree. This embodiment establishes overload risk analysis on the basis of real-time power flow, and reflects changes in operating parameters of the power grid on overload simulation in real time, thereby effectively improving the accuracy of overload simulation analysis.
[0118] Reference Figure 3The diagram illustrates another power grid overload simulation method provided by an embodiment of the present invention, which may specifically include the following steps:
[0119] Step 301: Upon receiving an overload simulation command triggered on the power grid, acquire various operating parameters of the power equipment and environment in the power grid.
[0120] Step 302: Write various operating parameters into each element of the power grid topology.
[0121] Step 303: Perform power flow calculation on the topology to obtain the running status of the elements.
[0122] Step 304: Calculate the overload level of the element based on its operating status.
[0123] Step 305: Map the overload level to the overload risk level of the element.
[0124] Among them, the overload risk level is positively correlated with the degree of overload.
[0125] Step 306: When receiving a fault simulation command triggered by the power grid, determine the power equipment in the power grid to be simulated as the target equipment.
[0126] In this embodiment, the user can operate on the graphical user interface to specify the power equipment (such as line L12) that is simulating a fault in the power grid, thereby triggering a fault simulation command.
[0127] like Figure 2 As shown, when the fault simulation and probability recalculation engine receives a fault simulation command triggered by the power grid, it parses the parameters in the fault simulation command and determines the power equipment in the power grid to be simulated as the target equipment.
[0128] Step 307: Reconstruct the topology based on the target device; return to execute steps 302-305.
[0129] In response to the fault simulation command, the topology of the power grid can be reconstructed using the target device to be simulated for the fault, so that the topology of the power grid reflects the fault of the target device. At this time, steps 302-305 are re-executed, and a new round of power flow calculation is performed using the faulty topology to solve the operating state of the power grid topology after the fault.
[0130] For example, if line L12 is disconnected, the power it originally transmitted may be transferred to line L13 connected in parallel with it, causing L13 to be overloaded.
[0131] In one reconstruction approach, the element representing the target device is removed from the topology.
[0132] In another reconstruction mode, in the topology, the impedance in the element representing the target device is modified to a specified value (extreme value) to simulate an open circuit.
[0133] Step 308, in the topology, the reconfigured overload degree and the operating parameters of the environment of the element representing the target device are queried as the fault simulation information.
[0134] Step 309, the simulation failure rate of the element representing the target device is calculated according to the fault simulation information.
[0135] As shown in Figure 2 , the fault simulation and probability recalculation engine queries the reconfigured overload degree and the operating parameters of the environment of the element representing the target device in the topology as the fault simulation information when the power flow calculation is completed, and calculates the simulation failure rate of the element representing the target device according to the fault simulation information based on deep learning technology or machine learning technology.
[0136] Exemplarily, a failure rate function is determined; the failure rate function is a stress-strength model, which is represented as λ = λ0·g(k), wherein λ is the simulation failure rate, λ0 is the basic failure rate, and g(k) is a growth function related to the overload degree and the operating parameters of the environment.
[0137] The simulation failure rate of the element representing the target device is obtained by substituting the fault simulation information into the failure rate function.
[0138] In this embodiment, the state of the reconfigured topology structure database (such as the operating state of the power flow calculation, the risk level, the failure probability, etc.) is continuously provided to the graphical human-computer interface of the application layer for graphical display, and can also be used as the initial state of the next parameter change or fault simulation, forming a complete and recyclable automatic simulation system.
[0139] Traditional fault simulation often analyzes the safety of “N-1” opening itself, and this embodiment reveals the internal relationship between local events and global state through the linkage of technical processes. For example, when a wind turbine generator is simulated to exit operation due to reduced wind speed, not only the power flow change and the line overload risk directly related to it are calculated, but also the failure probability of a remote thermal power generator that may be forced to bear more power due to line overload is updated. In this way, the globality and integrity of simulation and analysis can be achieved, hidden associated risks can be revealed, and operators can understand risk distribution from the perspective of the whole system rather than isolated single events, so as to develop more comprehensive and effective prevention and control strategies.
[0140] As shown in Figure 2As shown, the calculation results (such as new topology, operating state of power flow calculation, risk level, failure probability, etc.) are encapsulated into a unified data frame, and the data frame is actively pushed (feedback) to the client through WebSocket (Web Socket) to update the rendering area topology map, for example, to distinguish the risk level of the line by color (such as red for overload), to dynamically display the failure probability value on the unit icon, etc., and to update the power flow information display.
[0141] By unifying the output and visualization of the data frame, the results of a series of complex calculations are fused and actively pushed to the front-end graphical human-computer interaction interface in the form of color, numerical value, and graphics, and the complex calculation results are converted into decision-making information that is easy to understand. The operating personnel can directly see on the geographical topology map which lines have become red (overload) due to the current operation, which units have suddenly increased in failure probability value and are flashing alarm, etc. This ability to convert data into insights enhances the intuitiveness of human-computer interaction and the effectiveness of decision support, reduces the analysis threshold, and shortens the time from problem discovery to decision-making.
[0142] The embodiment introduces a global failure probability dynamic updating model based on real-time state, so that the risk assessment not only reflects the current state, but also predicts the possibility of failure of other power equipment under the current operating mode, has foresight, and provides a decision basis for preventing and controlling cascading failures.
[0143] It should be noted that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0144] Referring to Figure 4 , a schematic diagram of a power grid overload simulation device provided by an embodiment of the present application is shown, which can specifically include the following modules:
[0145] The operating parameter acquisition module 401 is configured to acquire a plurality of operating parameters collected from power equipment and environment in the power grid when receiving an overload simulation instruction triggered for the power grid;
[0146] The operating parameter encapsulation module 402 is configured to write the plurality of operating parameters into each element in the power grid topology structure;
[0147] The power flow calculation module 403 is configured to perform power flow calculation on the topology structure to obtain the operating state of the element;
[0148] The overload degree calculation module 404 is configured to calculate the overload degree of the element according to the operating state;
[0149] The overload risk level mapping module 405 is configured to map the overload degree to an overload risk level of the element; the overload risk level is positively correlated with the overload degree.
[0150] In an embodiment of the present application, the power equipment comprises a line and a generator set, the generator set comprises a wind turbine generator set and a photovoltaic generator set, and the operation parameters comprise a load value, a wind speed and an irradiance;
[0151] The operation parameter packaging module 402 is further configured to:
[0152] query a topology of the power grid; the topology comprises a plurality of elements;
[0153] calculate an active power of a wind turbine generator set in the power grid according to the wind speed, and write the active power of the wind turbine generator set into an element in the topology representing the wind turbine generator set;
[0154] calculate an active power of a photovoltaic generator set in the power grid according to the irradiance, and write the active power of the photovoltaic generator set into an element in the topology representing the photovoltaic generator set;
[0155] write the load value into an element in the topology representing the power equipment.
[0156] In an embodiment of the present application, the operation state comprises a current or a power of the element, and the overload degree calculation module 404 is further configured to:
[0157] calculate a ratio between the current and a preset first rated capacity as the overload degree of the element representing the line or the generator set;
[0158] or,
[0159] calculate a ratio between the power and a preset second rated capacity as the overload degree of the element representing the line or the generator set.
[0160] In an embodiment of the present application, the overload risk level mapping module 405 is further configured to:
[0161] determine a plurality of risk mapping relationships; the risk mapping relationships comprise a degree range and an overload risk level; the value of the degree range is positively correlated with the overload risk level;
[0162] determine the overload risk level of the element in the degree range where the overload degree is located.
[0163] In an embodiment of the present application, the present application further comprises:
[0164] A fault device determination module is configured to determine the power device to be simulated in the power grid as a target device when receiving a power grid triggered fault simulation instruction.
[0165] A topology reconfiguration module is configured to reconfigure the topology according to the target device and return to execute the operation parameter encapsulation module 402.
[0166] In an embodiment of the present application, the topology reconfiguration module is further configured to:
[0167] remove the element representing the target device in the topology;
[0168] or
[0169] modify the impedance in the element representing the target device in the topology to a specified value to simulate an open circuit.
[0170] In an embodiment of the present application, the topology reconfiguration module further comprises:
[0171] A fault simulation information query module is configured to query the reconfigured overload degree and environmental operation parameters of the element representing the target device in the topology as fault simulation information.
[0172] A simulated fault rate calculation module is configured to calculate a simulated fault rate of the element representing the target device according to the fault simulation information.
[0173] In an embodiment of the present application, the simulated fault rate calculation module is further configured to:
[0174] determine a fault rate function; the fault rate function is represented as λ = λ 0 · g(k), wherein λ is a simulated fault rate, λ 0 is a basic fault rate, and g(k) is a growth function related to the overload degree and the environmental operation parameters;
[0175] substitute the fault simulation information into the fault rate function to obtain the simulated fault rate of the element representing the target device.
[0176] The power grid overload simulation device provided by the embodiment of the present application can realize each step in each power grid overload simulation method embodiment.
[0177] It should be noted that the division of the modules in the various power grid overload simulation devices provided in the above embodiments is illustrative, and is merely a logical functional division. In actual implementation, another division manner can also be used. In addition, each functional module in each embodiment of the present application can be integrated in one processor, or can be physically separated, or two or more modules can be integrated into one module. The integrated module can be realized in the form of hardware or in the form of a software functional module.
[0178] When the integrated module is realized in the form of a software functional module and sold or used as an independent product, the integrated module can be stored in a computer readable storage medium. Based on this understanding, all or part of the technical solutions of the embodiments of the present application can be embodied in the form of a computer program product stored in a computer storage medium, including a plurality of instructions for causing an electronic device or a processor to execute all or part of the steps of the method in each embodiment of the present application. The foregoing computer storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0179] In addition, the power grid overload simulation device and the power grid overload simulation method provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be described here.
[0180] Referring to Figure 5 , a schematic diagram of an electronic device provided by an embodiment of the present application is shown. As shown in Figure 5 , the electronic device in the embodiment of the present application includes a processor, a memory, and a computer program stored in the memory and executable on the processor. The processor implements the steps in the power grid overload simulation method embodiments when executing the computer program. Alternatively, the processor implements the functions of each module in the power grid overload simulation device embodiments when executing the computer program.
[0181] For example, the computer program can be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present application. The one or more modules can be a series of computer program instruction segments capable of completing a specific function, which can be used to describe the execution process of the computer program in the electronic device.
[0182] The electronic device can be a desktop computer, a cloud server, or the like computing device. The electronic device can include, but is not limited to, a processor, a memory. Those skilled in the art can understand that Figure 5 The electronic device is only an example and does not constitute a limitation on the electronic device, and can include more or fewer components than shown, or combine certain components, or include different components, for example, the electronic device can also include an input / output device, a network access device, a bus, and the like.
[0183] The processor can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, and the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0184] The memory can be an internal storage unit of the electronic device, such as a hard disk or a memory of the electronic device. The memory can also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, and the like. Further, the memory can include both the internal storage unit and the external storage device of the electronic device. The memory is used to store the computer program and other programs and data required by the electronic device. The memory can also be used to temporarily store data that has been output or will be output.
[0185] The embodiments of the present application also disclose an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the power grid overload simulation method according to the foregoing embodiments when executing the computer program.
[0186] The embodiments of the present application also disclose a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the power grid overload simulation method according to the foregoing embodiments.
[0187] The embodiment of the present application further discloses a computer program product, which enables a computer to execute the power grid overload simulation method described in the foregoing embodiments when the computer program product runs on the computer.
[0188] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit the present application. Although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: the technical solutions recorded in the foregoing embodiments can still be modified, or some technical features can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method of power grid overload simulation, characterized in that, The method comprises: Upon receiving an overload simulation instruction triggered by a power grid, obtaining a plurality of operating parameters collected from power equipment and environment in the power grid; writing the plurality of operating parameters into each element in the topology structure of the power grid; performing a power flow calculation on the topology structure to obtain an operating state of the element; calculating an overload degree of the element according to the operating state; mapping the overload degree to an overload risk level of the element; the overload risk level is positively correlated with the overload degree.
2. The method of claim 1, wherein, The power equipment includes lines and generator sets, and the generator sets include wind turbine generators and photovoltaic generators. The plurality of operating parameters include load values, wind speeds and irradiance. The writing of the plurality of operating parameters into each element in the topology structure of the power grid comprises: querying the topology structure of the power grid; the topology structure has a plurality of elements; calculating the active power output of the wind turbine generator in the power grid according to the wind speed, and writing the active power output of the wind turbine generator into an element representing the wind turbine generator in the topology structure; calculating the active power output of the photovoltaic generator in the power grid according to the irradiance, and writing the active power output of the photovoltaic generator into an element representing the photovoltaic generator in the topology structure; writing the load value into an element representing the power equipment in the topology structure.
3. The method of claim 2, wherein, The operating state includes current or power of the element. The calculation of the overload degree of the element according to the operating state comprises: calculating the ratio between the current and a preset first rated capacity as the overload degree of the element representing the line or the generator set; or calculating the ratio between the power and a preset second rated capacity as the overload degree of the element representing the line or the generator set. The mapping of the overload degree to the overload risk level of the element comprises:
4. The method of claim 1, wherein, determining a plurality of risk mapping relationships; the risk mapping relationship includes a degree range and an overload risk level; the numerical value of the degree range is positively correlated with the overload risk level; determining the overload risk level mapped by the degree range in which the overload degree of the element is located. The method further comprises:
5. The method according to any one of claims 1-4, characterized in that, Upon receiving a fault simulation instruction triggered by the power grid, determining the power equipment to be simulated in the power grid as a target device; reconstructing the topology structure according to the target device and returning to the writing of the plurality of operating parameters into each element in the topology structure of the power grid. The reconstruction of the topology structure according to the target device comprises:
6. The method of claim 5, wherein, removing the element representing the target device in the topology structure; or modifying the impedance in the element representing the target device to a specified value in the topology structure to simulate an open circuit. The method further comprises: querying the reconstructed overload degree and the operating parameters of the environment in the element representing the target device in the topology structure as fault simulation information; 7. The method of claim 5, wherein, calculating a simulation failure rate of the element representing the target device according to the fault simulation information. The calculation of the simulation failure rate of the element representing the target device according to the fault simulation information comprises: 8. The method of claim 7, wherein, determining a failure rate function; the failure rate function is expressed as λ=λ0·g(k), wherein λ is a simulation failure rate, λ0 is a basic failure rate, and g(k) is a growth function related to the overload degree and the operating parameters of the environment; substituting the failure simulation information into the failure rate function to obtain a simulation failure rate of the element of the target device.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor implements the power grid overload simulation method of any one of claims 1-8 when executing the computer program.
10. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 9. The computer program is executed by the processor to implement the power grid overload simulation method of any one of claims 1-8.