Power system operation mode generation method and device, terminal equipment and storage medium
By acquiring active power data and network topology models of the power system, DC power flow calculations and frequency simulations are performed to generate minute-level power system operation mode data. This solves the problem that traditional tools cannot analyze security issues at short time scales of minutes, and enables more accurate power system security and stability analysis.
Patent Information
- Application Number
- CN202511073807.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-01
- Publication Date
- 2025-11-18
AI Technical Summary
Traditional power grid operation mode generation tools cannot effectively analyze the operation mode of new power systems at the minute-level short time scale, making it difficult to conduct more accurate safety and stability analysis.
By acquiring active power data and network topology models of the power system, DC power flow calculation and reactive power compensation are performed to generate long-term operating mode data. Frequency simulation is also performed to extract minute-level active power values, calculate reactive load and injection volume, and generate minute-level power system operating mode data.
It enables the generation of power system operation mode data at the minute level, supporting more accurate safety and stability analysis.
Smart Images

Figure CN120978787A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of operation mode generation, in particular to a power system operation mode generation method and device, a terminal equipment and a storage medium. BACKGROUND
[0002] With the transformation of new power systems to high proportion of new energy and high proportion of power electronic devices, large-scale access of intermittent power sources such as wind power and photovoltaic power, the operation mode of new power systems is complex and variable, and the operation risk of power grid increases sharply. The traditional power grid operation mode mainly focuses on typical scenarios such as "rich and dry", which cannot meet the needs of minute-level quasi-steady-state operation risk analysis of new power systems.
[0003] Traditional transient simulation tools often focus on time scales of 1 hour or more when generating operation modes, but lack effective analysis means for generating operation modes at minute-level short time scales in new power systems, forming a time scale analysis gap, making it difficult to conduct more accurate safety and stability analysis on operation modes at minute-level short time scales. Therefore, the prior art has the problem that it is difficult to more accurately analyze the safety and stability of the power system due to the inability to generate operation modes at minute-level short time scales. SUMMARY
[0004] The present application provides a power system operation mode generation method, device, terminal equipment and storage medium, which can solve the problem that it is difficult to more accurately analyze the safety and stability of the power system due to the inability to generate operation modes at minute-level short time scales in the prior art.
[0005] An embodiment of the present application provides a power system operation mode generation method, comprising:
[0006] Obtaining active power data of a power system at a preset long-scale time period, a preset network topology model, and a first node reactive load of each node in the preset network topology model;
[0007] Performing DC power flow calculation and reactive power compensation according to the preset network topology model to obtain a first reactive power injection amount of each preset reactive power compensation control node in the preset network topology model, and then obtaining operation mode data of the long-scale time period; wherein the operation mode data of the long-scale time period comprises: the active power data, the first node reactive load, the first reactive power injection amount, and the preset network topology model;
[0008] Performing frequency simulation on the operation mode data of the long-scale time period to generate a power simulation curve of the active power data varying with time within a preset simulation total time period of the power system;
[0009] minute active power values of each preset minute-level short-scale time period in the preset simulation total time length are extracted from the power simulation curve;
[0010] According to the minute active power values, second node reactive loads and second reactive injection amounts of each preset reactive compensation control node are calculated, and minute-level power system operation mode data is generated; wherein the minute-level power system operation mode data includes the minute active power values, the second node reactive loads, the second reactive injection amounts and the preset network topology model.
[0011] Further, the construction of the preset network topology model includes:
[0012] The busbars of each power station in the power system are nodes of the preset network topology model;
[0013] The connection relationship between the busbars is an edge of the preset network topology model, and the preset network topology model is constructed.
[0014] Further, the first node reactive loads of the power system in the preset long-scale time period are obtained, including:
[0015] The node active loads of each node in the preset network topology model are extracted from the active power data;
[0016] According to the node active loads and the corresponding preset load proportion, the first node reactive loads corresponding to each node are calculated.
[0017] Further, the first reactive injection amounts of each preset reactive compensation control node in the preset network topology model are obtained by performing DC power flow calculation and reactive compensation according to the preset network topology model, including:
[0018] The voltage phase angles of each node in the preset network topology model and the corresponding reactances of each edge are obtained;
[0019] The active power flow distribution of the preset network topology model is obtained by performing DC power flow calculation according to the voltage phase angles and the reactances;
[0020] The preset reactive compensation control nodes are extracted from the preset network topology model, and the outgoing line rated capacity of each preset reactive compensation control node is obtained;
[0021] According to the active power flow distribution, the outgoing line active power flow of each preset reactive compensation control node is determined;
[0022] For each preset reactive power compensation control node, the active load rate of the preset reactive power compensation control node is calculated based on the ratio of the sum of the absolute values of the above outgoing active power flow to the sum of the above outgoing rated capacity.
[0023] Based on the above active load rate and the preset low-capacity and low-resistance grid configuration table, reactive power compensation is performed on each preset reactive power compensation control node to obtain the first reactive power injection amount of each reactive power compensation control node.
[0024] Furthermore, frequency simulation is performed on the aforementioned long-scale operating mode data to generate power simulation curves showing the change of active power data over time within a preset total simulation duration, including:
[0025] Obtain the preset system equivalent inertia, initial system frequency, preset disturbance power, and preset simulation step size of the above power system;
[0026] Repeat the frequency simulation operation until the current total simulation time is not less than the preset total simulation time. Based on all active power values obtained within the current total simulation time, generate the above power simulation curve.
[0027] The frequency simulation operations mentioned above include:
[0028] Obtain the current system frequency; where the initial system frequency is the initial system frequency mentioned above;
[0029] Based on the current system frequency and the aforementioned preset disturbance power, and within the aforementioned preset simulation step size, frequency simulation is performed on the aforementioned long-scale time period operation mode data to obtain the current active power value of each node in the aforementioned preset network topology model.
[0030] The current total simulation time is calculated based on the sum of the previous total simulation time and the preset simulation step size.
[0031] If the current total simulation time is less than the preset total simulation time, the current additional active power of each node in the preset network topology model is calculated based on the current active power value of each node in the preset network topology model.
[0032] Based on the preset disturbance power, all current additional active power, and the preset system equivalent inertia, the current system frequency change rate is calculated.
[0033] The sum of the current system frequency change rate and the current system frequency is used as the updated system frequency.
[0034] Furthermore, based on the aforementioned minute-level active power values, the reactive load of the second node and the second reactive power injection amount of each preset reactive power compensation control node are calculated, including:
[0035] From all the above minute-level active power values, the minute-level active power values of the load nodes and the minute-level active power values of each preset reactive power compensation control node are extracted.
[0036] Based on the minute-level active power values of the above load nodes and the above-preset load ratio, the second node reactive load of each load node is calculated.
[0037] For each preset reactive power compensation control node, reactive power compensation is performed based on the minute-level active power value of the preset reactive power compensation control node, the rated capacity of the outgoing line, and the preset low-capacity and low-voltage grid configuration table to obtain the second reactive power injection amount of the preset reactive power compensation control node.
[0038] Based on the above method embodiments, the present invention provides corresponding apparatus embodiments;
[0039] This invention provides a power system operation mode generation device, comprising:
[0040] The system includes a data acquisition module, a long-scale operation mode generation module, a frequency simulation module, a minute-level active power extraction module, and a minute-level operation mode generation module.
[0041] The aforementioned data acquisition module is used to acquire active power data of the power system over a preset long-term period, a preset network topology model, and the reactive load of the first node of each node in the preset network topology model.
[0042] The aforementioned long-scale operation mode generation module is used to perform DC power flow calculation and reactive power compensation based on the aforementioned preset network topology model, to obtain the first reactive power injection amount of each preset reactive power compensation control node in the aforementioned preset network topology model, and then to obtain the operation mode data for the long-scale period; wherein, the aforementioned long-scale period operation mode data includes: the aforementioned active power data, the aforementioned reactive power load of the first node, the aforementioned first reactive power injection amount, and the aforementioned preset network topology model.
[0043] The frequency simulation module described above is used to perform frequency simulation on the operating mode data of the above long-scale period and generate a power simulation curve of the active power data of the power system changing with time within the preset total simulation duration.
[0044] The aforementioned minute-level active power extraction module is used to extract minute-level active power values from the aforementioned power simulation curve for each preset minute-level short-scale time period within the preset total simulation duration.
[0045] The aforementioned minute-level operation mode generation module is used to calculate the reactive load of the second node and the second reactive power injection amount of each preset reactive power compensation control node based on the aforementioned minute-level active power value, and then generate minute-level power system operation mode data; wherein, the aforementioned minute-level power system operation mode data includes: the aforementioned minute-level active power value, the aforementioned reactive load of the second node, the aforementioned second reactive power injection amount, and the aforementioned preset network topology model.
[0046] Furthermore, the aforementioned data acquisition module includes:
[0047] Node generation unit and edge generation unit;
[0048] The aforementioned node generation unit is used to take the substation busbars of each substation in the aforementioned power system as nodes in the aforementioned preset network topology model.
[0049] The aforementioned edge generation unit is used to construct the aforementioned preset network topology model by using the connection relationship between the aforementioned power plant buses as the edges of the aforementioned preset network topology model.
[0050] Based on the above method embodiments, the present invention provides a corresponding terminal device embodiment;
[0051] The present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a power system operation mode generation method according to any embodiment of the present invention.
[0052] Based on the above method embodiments, the present invention provides a corresponding storage medium embodiment;
[0053] The present invention provides a storage medium including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a power system operation mode generation method according to any embodiment of the present invention.
[0054] The embodiments of the present invention have the following beneficial effects:
[0055] This invention provides a method, apparatus, terminal equipment, and storage medium for generating power system operation modes. The method includes: acquiring active power data of the power system over a preset long-term time period, a preset network topology model, and the first node reactive load of each node in the preset network topology model; subsequently performing DC power flow calculation and reactive power compensation based on the preset network topology model to obtain the first reactive power injection amount of each preset reactive power compensation control node in the preset network topology model, thereby obtaining the operation mode data for the long-term time period; wherein the operation mode data for the long-term time period includes: the active power data, the first node reactive load, the first reactive power injection amount, and the preset network topology model; then... Frequency simulation is performed on the aforementioned long-term operating mode data to generate a power simulation curve showing the change of active power data over time within a preset total simulation duration. Subsequently, minute-level active power values for each preset minute-level short-term period within the preset total simulation duration are extracted from the power simulation curve. Finally, based on the minute-level active power values, the reactive load of the second node and the second reactive power injection amount for each preset reactive power compensation control node are calculated, thereby generating minute-level power system operating mode data. This minute-level power system operating mode data includes: the aforementioned minute-level active power values, the aforementioned reactive load of the second node, the aforementioned second reactive power injection amount, and the aforementioned preset network topology model. Therefore, this invention, by performing frequency simulation on long-term operating mode data to obtain a power simulation curve showing the change of active power data over time, and then extracting minute-level active power values from the power simulation curve to generate operating mode data, results in minute-level power system operating mode data. This allows for more accurate safety and stability analysis based on minute-level power system operating mode data. Attached Figure Description
[0056] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0057] Figure 1 This is a flowchart illustrating a method for generating power system operation modes according to an embodiment of the present invention.
[0058] Figure 2 This is a schematic diagram of the system's active power operation scenario data provided in an embodiment of the present invention.
[0059] Figure 3 This is a schematic diagram of a time-domain simulation curve provided in an embodiment of the present invention.
[0060] Figure 4 This is a schematic diagram illustrating the frequency response model provided in an embodiment of the present invention.
[0061] Figure 5 This is a schematic diagram of data extraction provided in an embodiment of the present invention.
[0062] Figure 6 This is a schematic diagram of the structure of a power system operation mode generation device provided in an embodiment of the present invention. Detailed Implementation
[0063] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0064] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.
[0065] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.
[0066] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0067] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0068] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).
[0069] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.
[0070] See Figure 1 To address the problem in existing technologies that fail to generate short-term operating modes at the minute level, hindering accurate safety and stability analysis of power systems, an embodiment of the present invention provides a method for generating power system operating modes, comprising:
[0071] Step S101: Obtain the active power data of the power system under a preset long-term time period, the preset network topology model, and the reactive load of the first node of each node in the preset network topology model;
[0072] Specifically, the aforementioned preset long-scale time period is on the order of hours or 15 minutes. The power system includes generating units, DC systems, renewable energy plants, and load nodes. Among them, generating units include hydropower, thermal power, nuclear power, wind power, and photovoltaic generating units. Therefore, the above active power data includes the active power output of generating units, the DC transmission power of DC systems, the active power of renewable energy plants, and the nodal active load of load nodes.
[0073] Specifically, based on production operation simulation or power market simulation, coarse-grained system active power operation scenarios at the hourly or 15-minute level can be obtained (i.e., system active power operation scenarios generated every hour or every 15 minutes). From the data of the system active power operation scenarios, the specific type of generator set can be distinguished according to information such as generator model card, governor card type, and "motor type" in the M card. A schematic diagram of system active power operation scenario data is shown below. Figure 2 As shown, Figure 2 The “Name” field specifies the name of each plant’s busbar, the “Level” field specifies the voltage level of each plant’s busbar in kV, the “Type” field specifies the busbar type of each plant’s busbar, the “Capacity” field specifies the generator capacity and DC capacity, and the “Plant / District” field specifies the region where each plant’s busbar is located.
[0074] In a preferred embodiment, the construction of the aforementioned preset network topology model includes:
[0075] The substation busbars of each power plant in the aforementioned power system are taken as nodes in the aforementioned preset network topology model;
[0076] Using the connection relationships between the aforementioned power plant busbars as the edges of the aforementioned preset network topology model, the aforementioned preset network topology model is constructed.
[0077] Specifically, the aforementioned power plants and stations include: power plants, DC converter stations, new energy power plants and stations, and load stations.
[0078] Indicatively, from the active power operation scenario data of the system, specific plant types can be distinguished according to information such as "type", and each node in the network topology model can be obtained. Furthermore, based on the actual topological connection relationship of these nodes in the power system, the edges of the network topology model can be generated.
[0079] In this preferred embodiment, a preset network topology model is constructed using the power plant busbars as nodes and the connections between them as edges.
[0080] In another preferred embodiment, obtaining the reactive load of the first node of the power system over a preset long-term time period includes:
[0081] The active power load of each node in the above-mentioned preset network topology model is extracted from the above active power data.
[0082] Based on the active load of the above nodes and the corresponding preset load ratio, the reactive load of the first node corresponding to each node is calculated.
[0083] Specifically, based on the principle of keeping the ratio of reactive load to active load at a node constant, the reactive load at a node can be corrected to obtain the aforementioned first node reactive load, given the known active load at the node.
[0084] In this preferred embodiment, the reactive load of the first node of the load node is calculated by pre-setting the load ratio.
[0085] Step S102: Perform DC power flow calculation and reactive power compensation based on the above-mentioned preset network topology model to obtain the first reactive power injection amount of each preset reactive power compensation control node in the above-mentioned preset network topology model, and then obtain the long-term operation mode data; wherein, the above-mentioned long-term operation mode data includes: the above-mentioned active power data, the above-mentioned reactive power load of the first node, the above-mentioned first reactive power injection amount and the above-mentioned preset network topology model.
[0086] Specifically, nodes with low capacitance (low-voltage capacitors) and low reactance (low-voltage reactors) pre-configured in the preset network topology model are used as the aforementioned preset reactive power compensation control nodes.
[0087] In a preferred embodiment, the above-mentioned DC power flow calculation and reactive power compensation based on the above-mentioned preset network topology model to obtain the first reactive power injection amount of each preset reactive power compensation control node in the above-mentioned preset network topology model includes:
[0088] Obtain the voltage phase angle of each node in the above-mentioned preset network topology model, as well as the reactance of each edge;
[0089] Based on the voltage phase angle and the reactance mentioned above, DC power flow calculation is performed to obtain the active power flow distribution of the preset network topology model.
[0090] Specifically, based on a pre-defined network topology model and node active power, the aforementioned voltage phase angle is obtained through DC power flow calculation. The DC power flow calculation used here is existing technology and will not be elaborated further. The active power on each branch in the active power flow distribution is calculated using the following formula:
[0091]
[0092] In the formula, P ij θ represents the active power of the branch between node i and node j. i θ represents the voltage phase angle at node i. j The voltage phase angle at node j is represented by x. ij This represents the reactance of the branch between node i and node j.
[0093] Preset reactive power compensation control nodes are extracted from the above-mentioned preset network topology model, and the outgoing rated capacity of each preset reactive power compensation control node is obtained.
[0094] Based on the above active power flow distribution, determine the outgoing active power flow of each preset reactive power compensation control node.
[0095] Specifically, the aforementioned outgoing active power flow is the sum of the active power transmitted on all edges connected to the aforementioned preset reactive power compensation nodes in the preset network topology model.
[0096] For each preset reactive power compensation control node, the active load rate of the preset reactive power compensation control node is calculated based on the ratio of the sum of the absolute values of the above outgoing active power flow to the sum of the above outgoing rated capacity.
[0097] Based on the above active load rate and the preset low-capacity and low-resistance grid configuration table, reactive power compensation is performed on each preset reactive power compensation control node to obtain the first reactive power injection amount of each reactive power compensation control node.
[0098] Specifically, reactive power compensation is performed based on the pre-set grid low-capacity and low-resistance configuration table and active power load rate. The reactive power compensation rules are as follows: If the active power load rate of the reactive power compensation control node on the high-voltage side of the main transformer is less than 0.1, all low-voltage side low-resistance devices are activated; if the active power load rate of the reactive power compensation control node on the high-voltage side of the main transformer is between 0.1 and 0.5, the activation value of the low-voltage side low-resistance devices is calculated based on the load rate; if the active power load rate of the reactive power compensation control node on the high-voltage side of the main transformer is equal to 0.5, neither the low-voltage side low-capacity nor the low-voltage side low-resistance devices are activated; if the active power load rate of the reactive power compensation control node on the high-voltage side of the main transformer is between 0.5 and 0.9, the activation value of the low-voltage side low-capacity devices is calculated based on the load rate; if the active power load rate of the reactive power compensation control node on the high-voltage side of the main transformer is greater than 0.9, all low-voltage side low-capacity devices are activated.
[0099] In this preferred embodiment, DC power flow calculation and reactive power compensation are performed based on the preset network topology model, active power data, and reactive load of the first node, thereby obtaining the first reactive power injection amount of each preset reactive power compensation control node in the preset network topology model.
[0100] Step S103: Perform frequency simulation on the above-mentioned long-scale time period operation mode data to generate a power simulation curve of the power system active power data changing with time within the preset total simulation duration;
[0101] Specifically, considering power fluctuations from new energy sources and load nodes, a fast frequency simulation method based on single-node equivalence is used to perform time-domain simulation calculations on the generated long-term operation data. The total simulation duration is preset to 1 hour or 15 minutes to obtain the aforementioned power simulation curve.
[0102] In a preferred embodiment, the above-mentioned frequency simulation of the operating mode data over the long-scale period generates a power simulation curve showing the change of active power data of the power system over time within a preset total simulation duration, including:
[0103] Obtain the preset system equivalent inertia, initial system frequency, preset disturbance power, and preset simulation step size of the above power system;
[0104] Repeat the frequency simulation operation until the current total simulation time is not less than the preset total simulation time. Based on all active power values obtained within the current total simulation time, generate the above power simulation curve.
[0105] This is illustrative; the frequency simulation operation is a time-domain simulation, therefore the time-domain simulation curve diagram is shown below. Figure 3 As shown, Figure 3 The horizontal axis represents time in seconds, and the vertical axis represents active power output (i.e., the active power value mentioned above).
[0106] Preferably, after performing frequency simulation, a simulation curve showing the change of system frequency over time within the current total simulation duration can also be obtained.
[0107] The frequency simulation operations mentioned above include:
[0108] Obtain the current system frequency; where the initial system frequency is the initial system frequency mentioned above;
[0109] Based on the current system frequency and the aforementioned preset disturbance power, and within the aforementioned preset simulation step size, frequency simulation is performed on the aforementioned long-scale time period operation mode data to obtain the current active power value of each node in the aforementioned preset network topology model.
[0110] Specifically, since each node in the preset network topology model is the bus of each power plant in the power system, the current active power value of each node is the current active power value of the synchronous generator unit, the current active power value of the DC converter station, the current active power of the new energy power plant, and the current active power value of the load station in the corresponding power plant. In the power flow calculation, the active power value of these power plants is the active power value injected by the corresponding bus (i.e., node).
[0111] The current total simulation time is calculated based on the sum of the previous total simulation time and the preset simulation step size.
[0112] If the current total simulation time is less than the preset total simulation time, the current additional active power of each node in the preset network topology model is calculated based on the current active power value of each node in the preset network topology model.
[0113] Based on the preset disturbance power, all current additional active power, and the preset system equivalent inertia, the current system frequency change rate is calculated.
[0114] Specifically, frequency simulation requires prior construction of frequency response models for all synchronous generator units, DC converter stations, renewable energy plants, and load stations within the system. This is followed by establishing the system rotor motion equations, which are then used to calculate the system frequency change rate. The current additional active power at each node represents the additional active power generated or absorbed by all synchronous generators, DC converter stations, renewable energy plants, and load stations after a system frequency adjustment. The preset disturbance power represents the active power deficit that causes a change in the power system frequency, typically resulting from actions such as generator tripping, renewable energy grid disconnection, load shedding, and DC blocking. The system rotor motion equations are constructed as follows:
[0115]
[0116] In the formula, H represents the preset system equivalent inertia. ΔP represents the rate of change of the system frequency. 同步机 ΔP represents the additional active power of a synchronous generator set. 直流 ΔP represents the additional active power of a DC converter station. 新能源 ΔP represents the additional active power of new energy power plants. 负荷 ΔP represents the additional active power at the load site. 扰动 This indicates the preset disturbance power.
[0117] The sum of the current system frequency change rate and the current system frequency is used as the updated system frequency.
[0118] Specifically, the equipment involved in system frequency adjustment mainly includes synchronous generator units (i.e., power plants), new energy power plants, DC converter stations, and load stations. To meet the simulation analysis requirements for mode-oriented data, the frequency response model will be built with reference to its electromechanical transient model. A schematic diagram illustrating the frequency response model is shown below. Figure 4 As shown, Figure 4 The GI, GJ, TB, LB, etc., refer to various model cards. The frequency response model of the synchronous generator set references the electromechanical transient models of the governor and prime mover. For typical operating mode data, the model card types include: GI+GA+TB, GJ+GA+TA, GJ+GA+TB, GJ+GA+TC, GS+TA, GS+TB, GG, GM+GA+TV, GM+GA+TW, GN+GA+TV, GM+GU+TU, and GH, totaling 12 model types. The frequency response model of the DC system references the electromechanical transient models of FLC control for conventional DC and frequency modulation control for flexible DC. The frequency response model of the new energy power plant references the electromechanical transient model of VSC converter frequency modulation control. The frequency response model of the load node references the electromechanical transient models of constant power, constant current, constant impedance, and motor loads. The specific implementations of the above frequency response models are existing technologies and will not be elaborated here.
[0119] In this preferred embodiment, frequency simulation of operating mode data over a long time period is performed to generate a power simulation curve showing the change of active power data over time.
[0120] Step S104: Extract the minute-level active power values from the power simulation curves for each preset minute-level short-scale period within the preset total simulation duration.
[0121] Specifically, since the power simulation curve is a curve of active power changing with time, the corresponding active power value can be extracted at a time segment every minute to form a fine-grained active power scenario at the minute level.
[0122] Step S105: Based on the above minute-level active power value, calculate the reactive load of the second node and the second reactive power injection amount of each preset reactive power compensation control node, and then generate minute-level power system operation mode data; wherein, the above minute-level power system operation mode data includes: the above minute-level active power value, the above second node reactive load, the above second reactive power injection amount and the above preset network topology model.
[0123] Preferably, after obtaining minute-level power system operation mode data, if the AC power flow calculation based on the minute-level power system operation mode data does not converge, reactive power optimization adjustment can be performed on the minute-level power system operation mode data to generate fine-grained time-level operation mode data that can achieve AC power flow convergence.
[0124] The schematic diagram of data extraction for the power system operation mode generation method provided by this invention is shown below. Figure 5 As shown, firstly, based on the system's active power operation scenario of 8760 hours throughout the year, long-scale operation mode data is collected. Then, time-domain simulation is performed on the long-scale operation mode data with a preset total simulation duration of 15 minutes. Finally, minute-level active power values are obtained from the simulation results.
[0125] Preferably, the power system operation mode generation method of the present invention takes into account the power fluctuation characteristics of new energy sources and loads, and realizes the rapid generation of minute-level quasi-steady-state time-series operation modes.
[0126] Preferably, after obtaining minute-level power system operation data, the power flow equations are solved based on this data and tools such as MATPOWER to obtain the node voltage amplitude of each node in the preset network topology model. For each node, by calculating the absolute value of the difference between the node voltage amplitude and the preset rated voltage amplitude, and comparing it with the preset rated voltage amplitude, the voltage deviation rate of the corresponding bus can be obtained. This allows for power system safety and stability analysis. Specifically, based on the relationship between the voltage deviation rate and a preset voltage deviation threshold, if the voltage deviation rate exceeds the preset threshold, it can be determined that the power system voltage is unstable, potentially leading to load voltage collapse, and thus an early warning can be issued.
[0127] In a preferred embodiment, the calculation of the reactive load of the second node and the second reactive power injection amount of each preset reactive power compensation control node based on the minute-level active power value includes:
[0128] From all the above minute-level active power values, the minute-level active power values of the load nodes and the minute-level active power values of each preset reactive power compensation control node are extracted.
[0129] Based on the minute-level active power values of the above load nodes and the above-preset load ratio, the second node reactive load of each load node is calculated.
[0130] For each preset reactive power compensation control node, reactive power compensation is performed based on the minute-level active power value of the preset reactive power compensation control node, the rated capacity of the outgoing line, and the preset low-capacity and low-voltage grid configuration table to obtain the second reactive power injection amount of the preset reactive power compensation control node.
[0131] Specifically, when performing reactive power compensation based on minute-level active power values, the second reactive power injection amount can be obtained by directly combining the preset grid low-capacity and low-resistance configuration table and the corresponding active load rate. Similarly, the corresponding active load rate is calculated based on the ratio of the sum of the absolute values of minute-level active power values to the sum of the rated capacities of outgoing lines.
[0132] In this preferred embodiment, the reactive load of the second node and the second reactive power injection amount of each preset reactive power compensation control node are calculated using minute-level active power values.
[0133] Based on the above method embodiments, the present invention provides corresponding apparatus embodiments.
[0134] like Figure 6 As shown, one embodiment of the present invention provides a power system operation mode generation device, comprising:
[0135] The system includes a data acquisition module, a long-scale operation mode generation module, a frequency simulation module, a minute-level active power extraction module, and a minute-level operation mode generation module.
[0136] The aforementioned data acquisition module is used to acquire active power data of the power system over a preset long-term period, a preset network topology model, and the reactive load of the first node of each node in the preset network topology model.
[0137] The aforementioned long-scale operation mode generation module is used to perform DC power flow calculation and reactive power compensation, obtain the first reactive power injection amount of each preset reactive power compensation control node in the aforementioned preset network topology model, and then obtain the operation mode data for the long-scale period; wherein, the aforementioned long-scale period operation mode data includes: the aforementioned active power data, the aforementioned first node reactive power load, the aforementioned first reactive power injection amount, and the aforementioned preset network topology model.
[0138] The frequency simulation module described above is used to perform frequency simulation on the operating mode data of the above long-scale period and generate a power simulation curve of the active power data of the power system changing with time within the preset total simulation duration.
[0139] The aforementioned minute-level active power extraction module is used to extract minute-level active power values from the aforementioned power simulation curve for each preset minute-level short-scale time period within the preset total simulation duration.
[0140] The aforementioned minute-level operation mode generation module is used to calculate the reactive load of the second node and the second reactive power injection amount of each preset reactive power compensation control node based on the aforementioned minute-level active power value, and then generate minute-level power system operation mode data; wherein, the aforementioned minute-level power system operation mode data includes: the aforementioned minute-level active power value, the aforementioned reactive load of the second node, the aforementioned second reactive power injection amount, and the aforementioned preset network topology model.
[0141] In another preferred embodiment, the data acquisition module includes:
[0142] Node generation unit and edge generation unit;
[0143] The aforementioned node generation unit is used to take the substation busbars of each substation in the aforementioned power system as nodes in the aforementioned preset network topology model.
[0144] The aforementioned edge generation unit is used to construct the aforementioned preset network topology model by using the connection relationship between the aforementioned power plant buses as the edges of the aforementioned preset network topology model.
[0145] It should be noted that the device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without creative effort. The above schematic diagrams are merely examples of a power system operation mode generation device and do not constitute a limitation on a power system operation mode generation device. It may include more or fewer components than illustrated, or combine certain components, or use different components.
[0146] Based on the above method embodiments, the present invention provides corresponding terminal device embodiments.
[0147] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a power system operation mode generation method described in any embodiment of the present invention.
[0148] For example, in this embodiment, 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 invention. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the device.
[0149] The aforementioned terminal devices may be computing devices such as desktop computers, laptops, handheld computers, and cloud servers. These devices may include, but are not limited to, processors and memory.
[0150] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. This processor is the control center of the device, connecting various parts of the device via various interfaces and lines.
[0151] The aforementioned memory can be used to store the aforementioned computer programs and / or modules. The aforementioned processor implements various functions of the aforementioned device by running or executing the computer programs and / or modules stored in the aforementioned memory, and by calling data stored in the memory. The aforementioned memory may mainly include a program storage area and a data storage area, wherein the program storage area may store the operating system, at least one application program required for a function, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0152] Based on the above method embodiments, the present invention provides corresponding storage medium embodiments.
[0153] Another embodiment of the present invention provides a storage medium including a stored computer program, wherein, when the computer program is running, it controls the device where the storage medium is located to execute the power system operation mode generation method described in any embodiment of the present invention.
[0154] In this embodiment, the storage medium is a computer-readable storage medium, and the computer program includes computer program code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0155] The above are preferred embodiments of the present invention. It should be noted that, for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for generating power system operation modes, characterized in that, include: Acquire active power data of the power system over a preset long-term period, a preset network topology model, and the reactive load of the first node of each node in the preset network topology model; DC power flow calculation and reactive power compensation are performed based on the preset network topology model to obtain the first reactive power injection amount of each preset reactive power compensation control node in the preset network topology model, and then the long-term operation mode data is obtained; wherein, the long-term operation mode data includes: the active power data, the reactive load of the first node, the first reactive power injection amount, and the preset network topology model. Frequency simulation is performed on the operating mode data of the long-scale period to generate a power simulation curve of the active power data of the power system changing with time within a preset total simulation duration; The minute-level active power values for each preset minute-level short-scale period within the preset total simulation duration are extracted from the power simulation curve. Based on the minute-level active power value, the reactive load of the second node and the second reactive power injection amount of each preset reactive power compensation control node are calculated, thereby generating minute-level power system operation mode data; wherein, the minute-level power system operation mode data includes: the minute-level active power value, the reactive load of the second node, the second reactive power injection amount, and the preset network topology model.
2. The method for generating power system operation modes according to claim 1, characterized in that, The construction of the preset network topology model includes: The power plant busbars of each power plant in the power system are used as nodes in the preset network topology model; The preset network topology model is constructed by using the connection relationships between the power plant buses as the edges of the preset network topology model.
3. The method for generating power system operation modes according to claim 2, characterized in that, Obtaining the reactive load of the first node in the power system over a preset long-term time period includes: The active power load of each node in the preset network topology model is extracted from the active power data; Based on the active load of the nodes and the corresponding preset load ratio, the reactive load of the first node corresponding to each node is calculated.
4. The method for generating power system operation modes according to claim 3, characterized in that, The step of performing DC power flow calculation and reactive power compensation based on the preset network topology model to obtain the first reactive power injection amount of each preset reactive power compensation control node in the preset network topology model includes: Obtain the voltage phase angle of each node in the preset network topology model, and the reactance of each edge; DC power flow calculations are performed based on the voltage phase angle and the reactance to obtain the active power flow distribution of the preset network topology model; Preset reactive power compensation control nodes are extracted from the preset network topology model, and the outgoing rated capacity of each preset reactive power compensation control node is obtained. Based on the active power flow distribution, determine the outgoing active power flow of each preset reactive power compensation control node; For each preset reactive power compensation control node, the active load rate of the preset reactive power compensation control node is calculated based on the ratio of the sum of the absolute values of the outgoing active power flow to the sum of the outgoing rated capacity. Based on the active load rate and the preset low-capacity and low-resistance grid configuration table, reactive power compensation is performed on each preset reactive power compensation control node to obtain the first reactive power injection amount of each reactive power compensation control node.
5. The method for generating power system operation modes according to claim 4, characterized in that, The step of performing frequency simulation on the operating mode data over the long-scale period to generate a power simulation curve showing the change of active power data over time within a preset total simulation duration includes: Obtain the preset system equivalent inertia, initial system frequency, preset disturbance power, and preset simulation step size of the power system. Repeat the frequency simulation operation until the current total simulation time is not less than the preset total simulation time, and generate the power simulation curve based on all active power values obtained within the current total simulation time; The frequency simulation operation includes: Obtain the current system frequency; wherein, the initial system frequency is the initial system frequency; Based on the current system frequency and the preset disturbance power, and at the preset simulation step size, frequency simulation is performed on the operating mode data of the long-scale period to obtain the current active power value of each node in the preset network topology model. The current total simulation time is calculated based on the sum of the previous total simulation time and the preset simulation step size. If the current total simulation time is less than the preset total simulation time, the current additional active power of each node in the preset network topology model is calculated based on the current active power value of each node in the preset network topology model. The current system frequency change rate is calculated based on the preset disturbance power, all current additional active power, and the preset system equivalent inertia. The sum of the current system frequency change rate and the current system frequency is used as the updated system frequency.
6. The method for generating power system operation modes according to claim 5, characterized in that, The calculation of the reactive load of the second node and the second reactive power injection amount of each preset reactive power compensation control node based on the minute-level active power value includes: From all the minute-level active power values, the minute-level active power values of the load nodes and the minute-level active power values of each preset reactive power compensation control node are extracted. Based on the minute-level active power value of the load node and the preset load ratio, the second node reactive load of each load node is calculated. For each preset reactive power compensation control node, reactive power compensation is performed based on the minute-level active power value of the preset reactive power compensation control node, the rated capacity of the outgoing line, and the preset low-capacity and low-voltage grid configuration table to obtain the second reactive power injection amount of the preset reactive power compensation control node.
7. A power system operation mode generation device, characterized in that, include: The system includes a data acquisition module, a long-scale operation mode generation module, a frequency simulation module, a minute-level active power extraction module, and a minute-level operation mode generation module. The data acquisition module is used to acquire active power data of the power system during a preset long-term period, a preset network topology model, and the reactive load of the first node of each node in the preset network topology model. The long-scale operation mode generation module is used to perform DC power flow calculation and reactive power compensation based on the preset network topology model, obtain the first reactive power injection amount of each preset reactive power compensation control node in the preset network topology model, and then obtain the operation mode data for the long-scale period; wherein, the operation mode data for the long-scale period includes: the active power data, the reactive power load of the first node, the first reactive power injection amount, and the preset network topology model. The frequency simulation module is used to perform frequency simulation on the operating mode data of the long-scale period and generate a power simulation curve of the active power data of the power system changing with time within a preset total simulation duration. The minute-level active power extraction module is used to extract the minute-level active power values from the power simulation curve for each preset minute-level short-scale time period in the preset total simulation time. The minute-level operation mode generation module is used to calculate the reactive load of the second node and the second reactive power injection amount of each preset reactive power compensation control node based on the minute-level active power value, and then generate minute-level power system operation mode data; wherein, the minute-level power system operation mode data includes: the minute-level active power value, the reactive load of the second node, the second reactive power injection amount, and the preset network topology model.
8. The power system operation mode generation device according to claim 7, characterized in that, The data acquisition module includes: Node generation unit and edge generation unit; The node generation unit is used to take the power plant busbars of each power plant in the power system as nodes of the preset network topology model. The edge generation unit is used to construct the preset network topology model by using the connection relationship between the power plant buses as the edges of the preset network topology model.
9. A terminal device, characterized in that, The system includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement a method for generating a power system operation mode as described in any one of claims 1 to 6.
10. A storage medium, characterized in that, The storage medium includes a stored computer program, wherein, when the computer program is running, it controls the device where the storage medium is located to execute a power system operation mode generation method as described in any one of claims 1 to 6.