A method, device, equipment and medium for constructing a power system operation mode
By obtaining the historical operating mode of the power system, calculating the total output value of the generator sets and updating the reactive compensation, a target operating mode that meets the convergence of the power system flow is generated. This solves the problems of large operating mode deviation and similarity in the existing technology and realizes efficient scenario construction.
Patent Information
- Application Number
- CN202510171109.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2045-02-17
AI Technical Summary
The existing power system operation mode construction scheme has a large deviation from the actual grid operation. The constructed operation mode is highly similar, resulting in incomplete learning and reduced accuracy of scenario construction.
By obtaining multiple historical operating modes of the target power system, the total output value of the generator set is calculated, and the initial operating mode is generated according to the random fluctuation coefficient and reactive compensation update. If the power system flow converges, the target operating mode is selected.
Quickly and accurately construct the power system operation mode, providing effective input for subsequent model training and simulation, reducing learning bias and improving the accuracy of scenario construction.
Smart Images

Figure CN119944695B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of scenario construction technology, and in particular to a method, device, equipment and medium for constructing an electric power system operation mode. Background Art
[0002] With the significant improvement in computing power and the continuous optimization of machine learning algorithms, the new generation of artificial intelligence has demonstrated work capabilities that reach or even exceed those of humans in specific tasks, and has gradually shifted from special-purpose intelligence to general-purpose intelligence. Artificial intelligence has now entered the era of large models.
[0003] In modern large AC / DC hybrid power grids, time-domain simulation is the primary method for identifying potential safety and stability risks and developing preventive measures. Currently, research integrating artificial intelligence with power system simulation is widespread, and the application of AI in power systems is gaining increasing attention. Therefore, building a large number of power system operating modes as AI training samples is becoming increasingly necessary.
[0004] Existing technical approaches primarily involve: building upon a limited number of operating modes constructed using traditional technology, uniformly amplifying loads and generator output in a specific area to construct different or extreme operating modes; or constructing active power scenarios through year-round hourly operational simulations. However, these constructed operating modes can deviate significantly from actual grid operation. This involves creating improbable operating modes for AI to learn from, leading to learning biases. Furthermore, the constructed operating modes are often highly similar, resulting in incomplete learning and reduced accuracy even when tens of millions of scenarios are constructed. Summary of the Invention
[0005] The present invention provides a method, device, equipment and medium for constructing an electric power system operation mode, which solves the technical problems that the existing operation mode construction scheme may have a large deviation from the actual power grid operation and the constructed operation mode has a large similarity, which easily leads to incomplete learning and reduced accuracy of scenario construction.
[0006] A first aspect of the present invention provides a method for establishing an electric power system operation mode, comprising:
[0007] Obtain multiple historical operating modes of the target power system;
[0008] In response to the operation index input data, the total output value of each generator set in the target power system is calculated by combining each of the historical operation modes one by one;
[0009] According to the random fluctuation coefficient and the total output value, the generators in each of the generator groups are configured to generate an initial operating mode;
[0010] performing reactive compensation update on the initial operation mode according to each of the historical operation modes to generate a plurality of intermediate operation modes;
[0011] If the power system power flow corresponding to any of the intermediate operating modes converges, the corresponding intermediate operating mode is selected as the target operating mode.
[0012] Optionally, the responding operation index input data and combining each of the historical operation modes one by one to calculate the total output value of each generator set in the target power system include:
[0013] In response to the operation index input data, respectively calculating the initial output value of each generator set in the target power system;
[0014] Extracting the historical output value corresponding to each of the generator sets from each of the historical operating modes one by one;
[0015] comparing the initial output values with the historical output values;
[0016] If all of the initial output values are less than or equal to the historical output values of the corresponding types and the DC transmission level is less than or equal to the historical DC transmission level, then each of the initial output values is determined as the total output value of each generator set in the target power system;
[0017] If any of the initial output values is greater than the historical output value or the DC transmission level is greater than the historical DC transmission level, the operating indicator input data is updated according to a preset adjustment gradient, and the step of responding to the operating indicator input data and respectively calculating the initial output value of each generator set in the target power system is jumped to execution.
[0018] Optionally, the operation indicator input data includes a total load value, a DC transmission level, a new energy penetration rate, a hydropower output ratio, and a wind power output ratio; and the initial output value of each generator set in the target power system is calculated in response to the operation indicator input data, including:
[0019] In response to the operation index input data, the sum of the load total value and the DC transmission level is calculated to obtain a total load level;
[0020] After calculating the product of the total load level and the preset grid loss ratio superposition value, the difference between the product and the deviation value is calculated to obtain the total output of the unit;
[0021] Calculating the initial output value of each generator set in the target power system based on the proportion of hydropower output and the proportion of wind power output, in combination with the new energy penetration rate and the total output of the generator set;
[0022] Among them, the generator sets include hydropower sets, thermal power sets, wind power sets and photovoltaic sets.
[0023] Optionally, configuring the output of the generators in each generator group according to the random fluctuation coefficient and the total output value to generate an initial operation mode includes:
[0024] Traversing the generators in each of the generator groups, and obtaining corresponding installed capacity information respectively;
[0025] Calculating the ratio of the total output value to the total installed capacity of the corresponding type of units to obtain the apportionment ratio;
[0026] Determining a first output value of the current generator according to the apportionment ratio, the installed capacity information, a preset random number, and a random fluctuation coefficient;
[0027] If the first output value is greater than the total output value, configuring the actual output value of the current generator to be the total output value, and recording the generator serial number of the current generator;
[0028] If the first output value is not greater than the total output value, configuring the actual output value of the current generator to be the first output value;
[0029] According to the actual output value and the installed capacity information, the total output value, the total installed capacity value and the apportionment ratio are updated;
[0030] The generators are reordered with the generator to which the generator sequence number belongs being the first, to generate an initial operation mode.
[0031] Optionally, performing reactive compensation updating on the initial operating mode according to each of the historical operating modes to generate multiple intermediate operating modes includes:
[0032] According to a preset search quantity, selecting a compensation operation mode that best matches the initial operation mode from the plurality of historical operation modes;
[0033] The initial operation mode is updated according to the reactive power supplement value of the reactive power compensation node in each compensation operation mode to obtain multiple intermediate operation modes.
[0034] Optionally, if the power system power flow corresponding to any of the intermediate operating modes converges, selecting the corresponding intermediate operating mode as the target operating mode includes:
[0035] Calling power flow calculation software to calculate the power system power flow corresponding to each of the intermediate operation modes;
[0036] If any of the power system flows converges, determining whether the output of the balancing node in the power system flow is within a preset output range;
[0037] If not, then calculating the output multiplier between the maximum output of the balancing node and the adjustment coefficient;
[0038] Calculating the difference between the actual output value in the power coefficient flow and the output multiplication value as a deviation value, jumping to the step of calculating the multiplication value between the total load level and the preset network loss ratio superposition value, and then calculating the difference between the multiplication value and the deviation value to obtain the total output of the unit;
[0039] If so, the intermediate operating mode is selected as the target operating mode.
[0040] Optionally, the method further includes:
[0041] Updating the operating indicator input data according to a preset adjustment step;
[0042] Jump to the step of calculating the total output value of each generator set in the target power system according to each of the historical operating mode data one by one, until a target operating mode with a target demand quantity is generated.
[0043] A second aspect of the present invention provides a device for establishing an electric power system operation mode, comprising:
[0044] A historical operation mode acquisition module is used to acquire multiple historical operation modes of the target power system;
[0045] a total output value calculation module, configured to respond to the operation index input data and calculate the total output value of each generator set in the target power system in combination with each of the historical operation modes;
[0046] An initial operation mode generating module is used to configure the output of the generators in each of the generator groups according to the random fluctuation coefficient and the total output value, and generate an initial operation mode;
[0047] a reactive compensation updating module, configured to perform reactive compensation updating on the initial operating mode according to each of the historical operating modes, and generate a plurality of intermediate operating modes;
[0048] The target operation mode determination module is used to select the corresponding intermediate operation mode as the target operation mode if the power system power flow corresponding to any of the intermediate operation modes converges.
[0049] A third aspect of the present invention provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for constructing an electric power system operation mode as described in any one of the first aspects of the present invention.
[0050] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed, implements the method for constructing an electric power system operation mode as described in any one of the first aspects of the present invention.
[0051] It can be seen from the above technical solutions that the present invention has the following advantages:
[0052] The present invention obtains multiple historical operating modes of the target power system; responds to operating indicator input data, combines each historical operating mode one by one, and calculates the total output value of each generator set in the target power system; configures the output of the generators in each generator set according to the random fluctuation coefficient and the total output value to generate an initial operating mode; updates the initial operating mode with reactive power compensation based on each historical operating mode to generate multiple intermediate operating modes; if the power system flow corresponding to any intermediate operating mode converges, the intermediate operating mode is selected as the target operating mode. This allows the power system operating mode to be quickly and accurately constructed, providing effective input for subsequent model training and simulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0054] Figure 1 A flowchart of a method for establishing a power system operation mode according to an embodiment of the present invention;
[0055] Figure 2 This is a structural block diagram of a device for establishing an electric power system operation mode provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The embodiments of the present invention provide a method, device, equipment and medium for constructing an electric power system operation mode, which is used to solve the technical problem that the existing operation mode construction scheme may have a large deviation from the actual power grid operation and the constructed operation mode has a large similarity, which easily leads to incomplete learning and reduced accuracy of scenario construction.
[0057] In order to make the purpose, features, and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0058] See also Figure 1 , Figure 1 A flowchart of the steps of a method for establishing an electric power system operation mode provided by an embodiment of the present invention.
[0059] The present invention provides a method for establishing an electric power system operation mode, comprising:
[0060] Step 101, obtaining multiple historical operating modes of the target power system;
[0061] The historical operating mode refers to the actual operating mode of the target power system over a certain period of time in the past. Its content includes but is not limited to the total output of its different types of units, total installed capacity, total DC transmission level, total load, and other indicators. The reactive power configuration level of N nodes with reactive power compensation equipment is recorded for each operating mode.
[0062] In this embodiment, a total of 8760 actual hourly operation modes of a target power system in a power grid in the past year can be obtained, and the total output and installed capacity of its hydropower units, thermal power units, wind power units, and photovoltaic units are counted, which are recorded as 、 、 、 as well as 、 、 、 , historical DC transmission level (DC power sent out or received by the grid, with DC power received being negative) , total DC capacity , total load value .in Refers to different moments. For one of the methods, there are a total of N nodes with capacitance or reactance on the low-voltage side of the transformer, and the capacity invested is: ,in The installed capacity value refers to the maximum output of each unit, not the current output.
[0063] Step 102 , in response to the input data of the operating indicators, the total output value of each generator set in the target power system is calculated by combining each historical operating mode one by one;
[0064] Operation index input data refers to a series of operation mode aggregate value indicators generated based on the grid structure of the target power system at any time, including but not limited to the total load value , DC transmission level , new energy penetration rate , the proportion of hydropower output and wind power output ratio .
[0065] In this embodiment, the initial output value corresponding to each generator set of the target power system is calculated based on the response operation index input data. The total installed capacity of each generator set of the target power system is then compared with the total DC transmission level of the generator set of the target power system in the historical operation mode to determine whether the generated initial output value meets the requirements, thereby obtaining the total output value of each generator set in the target power system.
[0066] In an example of the present application, step 102 may include the following sub-steps S11-S15:
[0067] S11, in response to the input data of the operating index, respectively calculating the initial output value of each generator set in the target power system;
[0068] Furthermore, the input data of the operation indicators include the total load value, the DC transmission level, the penetration rate of new energy, the proportion of hydropower output, and the proportion of wind power output; S11 may include the following sub-steps:
[0069] In response to the operation index input data, the sum of the total load value and the DC transmission level is calculated to obtain the total load level;
[0070] After calculating the product of the total load level and the preset grid loss ratio superposition value, the difference between the total load level and the deviation value is calculated to obtain the total output of the unit;
[0071] Calculate the initial output value of each generator set in the target power system based on the proportion of hydropower and wind power in the output, combined with the penetration rate of new energy and the total output of the units;
[0072] Among them, the generating units include hydropower units, thermal power units, wind power units and photovoltaic units.
[0073] In this embodiment, the i-th operating mode is used as the comparison basis, and the initial output value of the generator set of each power generation type is calculated in response to the input operating index input data in combination with the following formula, which is expressed in terms of the total output of the unit:
[0074] Total load level:
[0075] Total output of the unit:
[0076] in, It is the network loss ratio, which can be set to 0.02-0.04. is the deviation value, which is 0.0 when entering this step for the first time.
[0077] Total output of hydropower units:
[0078] Total output of thermal power units:
[0079] Total output of wind turbines:
[0080] Total output of photovoltaic units:
[0081] S12, extracting the historical output value corresponding to each generator set from each historical operating mode one by one;
[0082] S13, comparing each initial output value with each historical output value;
[0083] S14. If all initial output values are less than or equal to the historical output values of the corresponding types and the DC transmission level is less than or equal to the historical DC transmission level, then each initial output value is determined as the total output value of each generator set in the target power system;
[0084] In this embodiment, each historical operating mode is extracted and compared one by one. Each extracted historical output value is compared with each initial output value. If, during this historical operating mode comparison, all initial output values are less than or equal to the historical output values of the corresponding type and the DC transmission level is less than or equal to the historical DC transmission level, then each initial output value is determined as the aggregate output value of each generator set in the target power system.
[0085] For example, judging 、 、 、 、 If so, proceed to the next step and determine the initial output values as the total output values of each generator set in the target power system.
[0086] S15. If any initial output value is greater than a historical output value or the DC transmission level is greater than a historical DC transmission level, the operation index input data is updated according to a preset adjustment gradient, and the execution is jumped to the step of respectively calculating the initial output value of each generator set in the target power system in response to the operation index input data.
[0087] In this embodiment, if, during a single historical operating mode comparison, any initial output value is greater than a historical output value or a DC transmission level is greater than a historical DC transmission level, each parameter in the operating indicator input data is updated according to a preset adjustment gradient, and the initial output value is recalculated.
[0088] Step 103, according to the random fluctuation coefficient and the total output value, the generators in each generator group are configured to generate an initial operation mode;
[0089] In an example of the present application, step 103 may include the following sub-steps:
[0090] Traverse the generators in each generator group and obtain the corresponding installed capacity information;
[0091] Calculate the ratio of the total output value to the total installed capacity of the corresponding type of units to obtain the allocation ratio;
[0092] Determine the first output value of the current generator according to the allocation ratio, installed capacity information, a preset random number and a random fluctuation coefficient;
[0093] If the first output value is greater than the total output value, the actual output value of the current generator is configured as the total output value, and the generator serial number of the current generator is recorded;
[0094] If the first output value is not greater than the total output value, the actual output value of the current generator is configured as the first output value;
[0095] Update the total output value, total installed capacity value and apportionment ratio according to the actual output value and installed capacity information;
[0096] The generators are reordered with the generator to which the generator sequence number belongs being the first, and an initial operation mode is generated.
[0097] The installed capacity information includes but is not limited to the installed capacity, DC rated power and node load.
[0098] In this embodiment, the conventional units (such as hydropower, wind power, thermal power or photovoltaic) and the installed capacity are taken as an example. generators, with installed capacities of , here Calculate its apportionment ratio , the random volatility coefficient is .
[0099] Calculate the order The specific output of the generator, for the Generators:
[0100] 1) If at this time , then directly order , and go to 4); otherwise go to 2).
[0101] 2) ,in for A random number within a range, different each time.
[0102] 3) If , then set the Output of generators , and record the generator serial number at this time .
[0103] Recalculate the relevant parameters: , , .
[0104] 4) Reorder the generators of this type. If Condition, then let the original serial number The generator is the first one, The second generator, ..., the original generator number 1 is the Taiwan, ..., original serial number The generator is If it has not hit 2); otherwise, Then sort.
[0105] Thermal power units, hydropower units, wind turbines, photovoltaic units, DC power levels, and loads are all allocated in a similar manner as above. For DC, in step 2) Take the rated power of DC as the load; for the load, step 2) Get the original value of this node in the current i-th operation mode.
[0106] The output values allocated to each node (including unit output, load, and DC transmission power) are used to replace the corresponding values of the i-th operating mode as a new initial operating mode. .
[0107] Step 104, performing reactive compensation update on the initial operating mode according to each historical operating mode to generate multiple intermediate operating modes;
[0108] In one example of the present application, step 104 may include the following sub-steps:
[0109] According to the preset search quantity, the compensation operation mode closest to the initial operation mode is selected from multiple historical operation modes;
[0110] The initial operation mode is updated according to the reactive power supplement value of the reactive power compensation node in each compensation operation mode to obtain multiple intermediate operation modes.
[0111] In this embodiment, for DC, the filter capacity is determined by looking up the table based on its transmission power and updated. The capacitance and reactance of the main transformer are determined as follows:
[0112] According to the total load level In the historical operation mode, find the preset search quantity closest to the value of A historical operation mode, and based on this Reactive power compensation situation in historical operation mode is updated to the initial operation mode , that is, with reference to The reactive power supplement value of the reactive power-free node in the method replaces the corresponding value in the generation method T to obtain the intermediate operation mode , .
[0113] Step 105: If the power system power flow corresponding to any intermediate operation mode converges, the corresponding intermediate operation mode is selected as the target operation mode.
[0114] In one example of the present application, step 105 may include the following sub-steps:
[0115] Call the power flow calculation software to calculate the power system power flow corresponding to each intermediate operation mode;
[0116] If any power system flow converges, determine whether the output of the balancing node in the power system flow is within the preset output range;
[0117] If not, calculate the output multiplier between the maximum output of the balancing node and the adjustment coefficient;
[0118] Calculating the difference between the actual output value and the output multiplication value in the power coefficient flow as a deviation value, jumping to the step of calculating the multiplication value between the total load level and the preset network loss ratio superposition value, and then calculating the difference between the multiplication value and the deviation value to obtain the total output of the unit;
[0119] If so, the intermediate operating mode is selected as the target operating mode.
[0120] In this embodiment, Intermediate operating mode , call the general power system flow calculation software to perform calculations. Intermediate operating mode If one of the calculations converges, one of them is selected for subsequent steps and the rest are discarded.
[0121] If none of them converge, return to adjust the running indicator input data according to the gradient and regenerate it.
[0122] For converged data, if the output of the balance node in the calculation result is within a reasonable range, that is, the actual output is between 0 and the maximum output value, then based on the basic method If the new target operating mode is generated successfully, the intermediate operating mode is determined as the target operating mode. Otherwise, the difference to be adjusted is calculated:
[0123]
[0124] in, is the maximum output of the balancing node, i.e. the installed capacity. It is the actual output value of the power flow calculation.
[0125] After jumping to execute the multiplication between the total load level and the preset network loss ratio superposition value in S11, calculate the difference between the total load level and the deviation value to obtain the total output step of the unit, and only update However, there is no need to re-specify the input indicator data for each operation and then regenerate a new initial operation mode.
[0126] In one example of the present application, the method further includes the following steps S21-S22:
[0127] S21. Update the operation index input data according to the preset adjustment step size;
[0128] S22 , jumping to the step of calculating the total output value of each generator set in the target power system according to each historical operation mode data one by one, until a target operation mode with a target demand quantity is generated.
[0129] In this embodiment, by updating the operating indicator input data according to a preset adjustment step and looping through steps 102-105, a convergent and practical operating mode of the power system that meets the target demand quantity is generated as a sample for purposes such as artificial intelligence training.
[0130] The following is an exemplary description of the process of generating the target operating mode of the target power system in the form of simulated data.
[0131] Obtain the historical operating mode in a certain power grid, that is, , , , , In a certain way, , , =5600MW, , , , The capacities of the first three nodes with capacitance or reactance are 60MW, 120MW, -60MW, etc.
[0132] Respond to user input of operational indicator input data to specify relevant parameters, such as , ,Pick , .but: , , The above values are all within the limit range and you can proceed to the next step.
[0133] Further, take , taking conventional units as an example, the first calculation .
[0134] Assume that the first machine is assembled For 500MW, calculate the random number is 0.5, then the output value of the first unit is:
[0135] 128.9MW
[0136] Its value does not meet , no further correction is required.
[0137] renew , , R=0.2574949.
[0138] Assume that the second machine is assembled For 400MW, calculate the random number is -0.5, then the output value of the second unit is:
[0139] 87.5MW
[0140] Its value does not meet , no further correction is required.
[0141] renew , , R=0.258027.
[0142] By analogy, other types of units, DC, and loads are also allocated using the same method.
[0143] according to The value of the operation mode is found in the 8760 historical operations, and the production operation mode is updated.
[0144] First, update the DC filter. In a DC filter strategy, the power When the filter is between 500MVar and the power is between The current power is 800MW, in the first interval, so the filter is changed to 500Mvar.
[0145] For the compensation value of the main transformer, if the reactive power compensation of a node in a similar method is 135 Mvar, then the reactive power compensation of the same node in the generation method is set to 135 Mvar. After all nodes are processed, a generation method 1 with reactive power configured is obtained. A total of 10 new generation methods are obtained.
[0146] There are five convergence methods after calculation. Take the first one. After the power flow calculation, the output of the balancing machine is 600MW, and its limit range is ,but =350MW. Then return to step (2) and recalculate. The second time entering this step, after the power flow calculation, the balancing machine output is 240MW, which is within the limit. Therefore, this generation method can be retained as a training sample.
[0147] Total load value The DC transmission level DCsum will be changed from 20000MW to 8000MW in steps of 2000MW. The new energy penetration rate will be changed from 2000MW to 30000MW in steps of 1000MW. The ratio of hydropower units to conventional units output is changed from 0.4 to 0.7 in steps of 0.1. The proportion of wind turbines in renewable energy output is changed from 0.5 to 0.9 in steps of 0.2. The change is from 0.3 to 0.7 in steps of 0.2. Running modes, 8760 basic modes can generate up to Even if the limit is exceeded in step 102 or the system exits prematurely due to non-convergence in step 105, resulting in the failure of generating some operating modes, the total number of operating modes that can ultimately converge will exceed 10 million.
[0148] In an embodiment of the present application, multiple historical operating modes of a target power system are obtained; in response to input operating indicator data, each historical operating mode is combined one by one to calculate the total output value of each generator set in the target power system; the output of each generator set is configured according to the random fluctuation coefficient and the total output value to generate an initial operating mode; the initial operating mode is updated with reactive power compensation according to each historical operating mode to generate multiple intermediate operating modes; if the power system flow corresponding to any intermediate operating mode converges, the corresponding intermediate operating mode is selected as the target operating mode. This allows production to be based on the load level of actual power grid production, avoiding the construction of non-existent operating modes caused by random production. By introducing a random fluctuation factor, the randomness and volatility of the unit output under the new power system are addressed, and a sufficient number of samples are generated. Through a reasonable voltage configuration method, the constructed operating mode converges to a reasonable voltage, which can be used as input for subsequent simulation and training types. The power system operating mode is quickly and accurately constructed, providing effective input for subsequent model training and simulation.
[0149] See also Figure 2 , Figure 2 A structural block diagram of a power system operation mode construction device in an embodiment of the present application is shown.
[0150] An embodiment of the present invention provides a device for establishing an operation mode of a power system, including:
[0151] A historical operation mode acquisition module 201 is used to acquire multiple historical operation modes of the target power system;
[0152] The total output value calculation module 202 is used to respond to the operation index input data and calculate the total output value of each generator set in the target power system in combination with each historical operation mode;
[0153] The initial operation mode generating module 203 is used to configure the output of the generators in each generator group according to the random fluctuation coefficient and the total output value, and generate the initial operation mode;
[0154] The reactive power compensation updating module 204 is configured to update the reactive power compensation of the initial operation mode according to each historical operation mode to generate multiple intermediate operation modes;
[0155] The target operation mode determination module 205 is configured to select the corresponding intermediate operation mode as the target operation mode if the power system power flow corresponding to any intermediate operation mode converges.
[0156] Optionally, the total output value calculation module 202 includes:
[0157] The initial output value calculation submodule is used to respond to the operation index input data and calculate the initial output value of each generator set in the target power system;
[0158] The historical output value extraction submodule is used to extract the historical output value corresponding to each generator set from each historical operation mode one by one;
[0159] The processing and comparison submodule is used to compare each initial output value with each historical output value;
[0160] a total output value determination submodule, configured to determine each initial output value as the total output value of each generator set in the target power system if all initial output values are less than or equal to the historical output value of the corresponding type and the DC transmission level is less than or equal to the historical DC transmission level;
[0161] The first loop submodule is configured to update the operating indicator input data according to a preset adjustment gradient if any initial output value is greater than a historical output value or the DC transmission level is greater than a historical DC transmission level, and jump to the step of respectively calculating the initial output value of each generator set in the target power system in response to the operating indicator input data.
[0162] Optionally, the operating indicator input data includes a total load value, a DC transmission level, a new energy penetration rate, a hydropower output ratio, and a wind power output ratio; the initial output value calculation submodule is specifically used to:
[0163] In response to the operation index input data, the sum of the total load value and the DC transmission level is calculated to obtain the total load level;
[0164] After calculating the product of the total load level and the preset grid loss ratio superposition value, the difference between the total load level and the deviation value is calculated to obtain the total output of the unit;
[0165] Calculate the initial output value of each generator set in the target power system based on the proportion of hydropower and wind power in the output, combined with the penetration rate of new energy and the total output of the units;
[0166] Among them, the generating units include hydropower units, thermal power units, wind power units and photovoltaic units.
[0167] Optionally, the initial operation mode generating module 203 is specifically configured to:
[0168] Traverse the generators in each generator group and obtain the corresponding installed capacity information;
[0169] Calculate the ratio of the total output value to the total installed capacity of the corresponding type of units to obtain the allocation ratio;
[0170] Determine the first output value of the current generator according to the allocation ratio, installed capacity information, a preset random number and a random fluctuation coefficient;
[0171] If the first output value is greater than the total output value, the actual output value of the current generator is configured as the total output value, and the generator serial number of the current generator is recorded;
[0172] If the first output value is not greater than the total output value, the actual output value of the current generator is configured as the first output value;
[0173] Update the total output value, total installed capacity value and apportionment ratio according to the actual output value and installed capacity information;
[0174] The generators are reordered with the generator to which the generator sequence number belongs being the first, and an initial operation mode is generated.
[0175] Optionally, the reactive power compensation updating module 204 is specifically configured to:
[0176] According to the preset search quantity, the compensation operation mode closest to the initial operation mode is selected from multiple historical operation modes;
[0177] The initial operation mode is updated according to the reactive power supplement value of the reactive power compensation node in each compensation operation mode to obtain multiple intermediate operation modes.
[0178] Optionally, the target operation mode determination module 205 is specifically configured to:
[0179] Call the power flow calculation software to calculate the power system power flow corresponding to each intermediate operation mode;
[0180] If any power system flow converges, determine whether the output of the balancing node in the power system flow is within the preset output range;
[0181] If not, calculate the output multiplier between the maximum output of the balancing node and the adjustment coefficient;
[0182] Calculating the difference between the actual output value and the output multiplication value in the power coefficient flow as a deviation value, jumping to the step of calculating the multiplication value between the total load level and the preset network loss ratio superposition value, and then calculating the difference between the multiplication value and the deviation value to obtain the total output of the unit;
[0183] If so, the intermediate operating mode is selected as the target operating mode.
[0184] Optionally, the device further comprises:
[0185] A data adjustment module is used to update the operating indicator input data according to a preset adjustment step size;
[0186] The second loop module is used to jump to the step of calculating the total output value of each generator set in the target power system according to each historical operation mode data one by one until a target operation mode with a target demand quantity is generated.
[0187] An embodiment of the present invention provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method for constructing a power system operation mode as described in any embodiment of the present invention.
[0188] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed, the method for establishing a power system operation mode as described in any embodiment of the present invention is implemented.
[0189] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, modules and sub-modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0190] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0191] 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 modules. Some or all of the modules may be selected to achieve the purpose of the present embodiment according to actual needs.
[0192] In addition, the functional modules in various embodiments of the present invention may be integrated into a single processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or software functional modules.
[0193] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing an electronic device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0194] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for constructing an electric power system operation mode, characterized in that: include: Obtain multiple historical operating modes of the target power system; In response to the operation index input data, the total output value of each generator set in the target power system is calculated by combining each of the historical operation modes one by one; According to the random fluctuation coefficient and the total output value, the generators in each of the generator groups are configured to generate an initial operating mode; performing reactive compensation update on the initial operation mode according to each of the historical operation modes to generate a plurality of intermediate operation modes; If the power system power flow corresponding to any of the intermediate operating modes converges, the corresponding intermediate operating mode is selected as the target operating mode.
2. The method according to claim 1, characterized in that The response operation index input data is combined with each of the historical operation modes one by one to calculate the total output value of each generator set in the target power system, including: In response to the operation index input data, respectively calculating the initial output value of each generator set in the target power system; Extracting the historical output value corresponding to each of the generator sets from each of the historical operating modes one by one; comparing the initial output values with the historical output values; If all of the initial output values are less than or equal to the historical output values of the corresponding types and the DC transmission level is less than or equal to the historical DC transmission level, then each of the initial output values is determined as the total output value of each generator set in the target power system; If any of the initial output values is greater than the historical output value or the DC transmission level is greater than the historical DC transmission level, the operating indicator input data is updated according to a preset adjustment gradient, and the step of responding to the operating indicator input data and respectively calculating the initial output value of each generator set in the target power system is jumped to execution.
3. The method according to claim 2, characterized in that The input data of the operating indicators include the total load value, the DC transmission level, the penetration rate of new energy, the proportion of hydropower output and the proportion of wind power output; The responding operation index input data and calculating the initial output value of each generator set in the target power system respectively include: In response to the operation index input data, the sum of the load total value and the DC transmission level is calculated to obtain a total load level; After calculating the product of the total load level and the preset grid loss ratio superposition value, the difference between the product and the deviation value is calculated to obtain the total output of the unit; Calculating the initial output value of each generator set in the target power system based on the proportion of hydropower output and the proportion of wind power output, in combination with the new energy penetration rate and the total output of the generator set; Among them, the generator sets include hydropower sets, thermal power sets, wind power sets and photovoltaic sets.
4. The method according to claim 1, wherein The step of configuring the output of the generators in each generator group according to the random fluctuation coefficient and the total output value to generate an initial operation mode includes: Traversing the generators in each of the generator groups, and obtaining corresponding installed capacity information respectively; Calculating the ratio of the total output value to the total installed capacity of the corresponding type of units to obtain the apportionment ratio; Determining a first output value of the current generator according to the apportionment ratio, the installed capacity information, a preset random number, and a random fluctuation coefficient; If the first output value is greater than the total output value, configuring the actual output value of the current generator as the total output value, and recording the generator serial number of the current generator; If the first output value is not greater than the total output value, configuring the actual output value of the current generator to be the first output value; According to the actual output value and the installed capacity information, the total output value, the total installed capacity value and the apportionment ratio are updated; The generators are reordered with the generator to which the generator sequence number belongs being the first, to generate an initial operation mode.
5. The method according to claim 1, wherein The step of performing reactive compensation updating on the initial operating mode according to each of the historical operating modes to generate a plurality of intermediate operating modes includes: According to a preset search quantity, selecting a compensation operation mode that best matches the initial operation mode from the plurality of historical operation modes; The initial operation mode is updated according to the reactive power supplement value of the reactive power compensation node in each compensation operation mode to obtain multiple intermediate operation modes.
6. The method according to claim 3, characterized in that If the power system power flow corresponding to any of the intermediate operating modes converges, selecting the corresponding intermediate operating mode as the target operating mode includes: Calling power flow calculation software to calculate the power system power flow corresponding to each of the intermediate operation modes; If any of the power system flows converges, determining whether the output of the balancing node in the power system flow is within a preset output range; If not, then calculating the output multiplier between the maximum output of the balancing node and the adjustment coefficient; Calculating the difference between the actual output value in the power system flow and the output multiplication value as a deviation value, jumping to the step of calculating the multiplication value between the total load level and the preset network loss ratio superposition value, and then calculating the difference between the multiplication value and the deviation value to obtain the total output of the unit; If so, the intermediate operating mode is selected as the target operating mode.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: Updating the operating indicator input data according to a preset adjustment step; Jump to the step of combining each of the historical operating modes one by one to calculate the total output value of each generator set in the target power system until a target operating mode with a target demand quantity is generated.
8. A device for constructing an electric power system operation mode, characterized in that: include: A historical operation mode acquisition module is used to acquire multiple historical operation modes of the target power system; a total output value calculation module, configured to respond to the operation index input data and calculate the total output value of each generator set in the target power system in combination with each of the historical operation modes; An initial operation mode generating module is used to configure the output of the generators in each of the generator groups according to the random fluctuation coefficient and the total output value, and generate an initial operation mode; a reactive compensation updating module, configured to perform reactive compensation updating on the initial operating mode according to each of the historical operating modes, and generate a plurality of intermediate operating modes; The target operation mode determination module is used to select the corresponding intermediate operation mode as the target operation mode if the power system power flow corresponding to any of the intermediate operation modes converges.
9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method for constructing the power system operation mode according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the method for constructing the power system operation mode according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Typical operation mode generation method and device of power system
CN118174273A
Power system regulation and control method and device based on reinforcement learning and data driving
CN119382100A