Electric power system operation mode construction method and device, equipment and medium
By obtaining and processing the historical operation mode of the power system, combining the random fluctuation coefficients and operating indicators, a variety of operation modes of the power system are constructed, which solves the problems of deviation and similarity of the operation mode in the existing technology, and achieves a more accurate and comprehensive scenario construction.
Patent Information
- Application Number
- CN202510171109.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-02-17
AI Technical Summary
The existing power system operation mode construction plan may have a large deviation from the actual power grid operation, and the construction operation mode is relatively similar, resulting in incomplete learning and reduced accuracy of scenario construction.
By obtaining multiple historical operating modes of the target power system, responding to the input data of the operation index, calculate the total output value of each generator set, and perform the output configuration according to the random fluctuation coefficient and the total output value to generate the initial operating mode. Then, reactive compensation is updated according to the historical operation mode to generate an intermediate operation mode. If the power system trend converges, this operation mode is selected as the target operation mode.
Quickly and accurately construct the operating mode of the power system, reduce the deviation from the actual power grid operation, improve the accuracy of scenario construction and comprehensive learning, and provide effective input for subsequent model training and simulation.
Smart Images

Figure CN119944695A_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 the ability to reach or even exceed human capabilities 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 AC / DC hybrid large power grids, time domain simulation is the main way to explore its potential safety and stability risks and formulate preventive control measures. At present, research on combining artificial intelligence with power system simulation is widely carried out, and the application of artificial intelligence in power systems is also receiving increasing attention. Therefore, it is an urgent need to construct a large number of power system operation modes as artificial intelligence training samples.
[0004] The existing technical means are mainly: on the basis of a few operating modes constructed by traditional technical routes, different operating modes or extreme operating modes are constructed by uniformly amplifying the load and generator output of a certain area; or active power scenarios are constructed through hourly operation simulation throughout the year. However, the constructed operating mode may deviate greatly from the actual power grid operation, that is, some operating modes that do not have the possibility of operation are created out of thin air for artificial intelligence to learn, which will lead to learning deviations. At the same time, the constructed operating modes are relatively similar. Even if tens of millions of scenarios are constructed, it will still cause incomplete learning and reduce the accuracy of scenario construction. 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 operation mode of a power system, comprising:
[0007] Acquire multiple historical operation 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 sets are configured to generate an initial operation mode;
[0010] Perform reactive power compensation update on the initial operation mode according to each of the historical operation modes to generate multiple 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 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:
[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 operation modes one by one;
[0015] Comparing each of the initial output values with each of 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 index input data is updated according to a preset adjustment gradient, and the step of responding to the operating index input data and calculating the initial output value of each generator set in the target power system is jumped to execute.
[0018] Optionally, the operation index 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 response operation index input data is used to calculate the initial output value of each generator set in the target power system, 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 multiplication value between the total load level and the preset network 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;
[0021] Calculate the initial output value of each generator set in the target power system according to the output ratio of hydropower and the output ratio of wind power, combined 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, the step of configuring the output of the generators in each of the generator sets 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] Calculate the ratio of the total output value to the total installed capacity of the corresponding type of units to obtain the apportionment ratio;
[0026] Determine 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, 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;
[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, update the total output value, the total installed capacity value and the apportionment ratio;
[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, the performing reactive power compensation updating on the initial operation mode according to each of the historical operation modes to generate a plurality of intermediate operation 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 operation modes converges, selecting the corresponding intermediate operation mode as the target operation 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] Calculate the difference between the actual output value in the power coefficient flow and the output multiplication value as a deviation value, jump to execute the step of calculating the multiplication value between the total load level and the preset network loss ratio superposition value, and then calculate the difference between the deviation value to obtain the total output of the unit;
[0039] If yes, then the intermediate operation mode is selected as the target operation mode.
[0040] Optionally, the method further comprises:
[0041] Update the operating index 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 operation mode data one by one, until a target operation mode with a target demand quantity is generated.
[0043] A second aspect of the present invention provides a device for establishing an operation mode of a power system, 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 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 of the historical operation modes one by one;
[0046] An initial operation mode generating module is used to configure the output of the generators in each of the generator sets according to the random fluctuation coefficient and the total output value, and generate an initial operation mode;
[0047] A reactive power compensation updating module, used for updating the reactive power compensation of the initial operation mode according to each of the historical operation modes, and generating a plurality of intermediate operation 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 aspect of the present invention.
[0050] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, 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 operation modes of the target power system; responds to the input data of the operation index, combines each historical operation mode one by one, 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, and generates the initial operation mode; updates the initial operation mode with reactive power compensation according to each historical operation mode, and generates multiple intermediate operation modes; if the power system flow corresponding to any intermediate operation mode converges, the corresponding intermediate operation mode is selected as the target operation mode. In this way, the power system operation mode is constructed quickly and accurately, 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 drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 creative labor.
[0054] Figure 1 A flowchart of a method for constructing an electric power system operation mode provided by an embodiment of the present invention;
[0055] Figure 2 A structural block diagram of a device for establishing an electric power system operation mode provided in 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 are used to solve 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 may easily cause incomplete learning and reduce the 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 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 in an embodiment of the present invention.
[0059] The present invention provides a method for constructing an electric power system operation mode, comprising:
[0060] Step 101, obtaining multiple historical operation modes of the target power system;
[0061] The historical operation mode refers to the actual operation mode record of the target power system in a certain period of time in the past, including but not limited to the total output of different types of units, total installed capacity, total DC transmission level, total load and other indicators. The reactive configuration level of N nodes with reactive compensation equipment is recorded for each operation mode.
[0062] In this embodiment, a total of 8760 actual operation modes of the target power system in a certain power grid at the hourly level in the past year can be obtained, and the total output and total 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 (the DC power sent out or received by the grid, with the 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 Among them, the installed capacity value is the maximum output of each unit, not the current output.
[0063] Step 102, 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 historical operation 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 load aggregate value. , DC transmission level , New energy penetration rate , Hydropower output ratio And wind power output ratio .
[0065] In this embodiment, the initial output value corresponding to each type of generator set in the target power system is calculated based on the response operation index input data. Then, the total installed capacity value and the total DC transmission level value of each type of generator set in the historical operation mode are compared 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 operation index, respectively calculating the initial output value of each generator set in the target power system;
[0068] Furthermore, the operation index input data includes the total load value, the DC transmission level, the new energy penetration rate, the hydropower output ratio and the wind power output ratio; 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 multiplication between 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 output ratio of hydropower and wind power, 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 operation 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 operation index input data in combination with the following formula, which is expressed as 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 operation 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 operation mode is extracted and compared one by one, and each extracted historical output value is compared with each initial output value. If, during the historical operation mode comparison process, 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 total output value of each generator set in the target power system.
[0085] For example, judging , , , , If yes, proceed to the next step to 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 the historical output value or the DC transmission level is greater than the historical DC transmission level, the operation index input data is updated according to the preset adjustment gradient, and the execution is jumped to the step of responding to the operation index input data and calculating the initial output value of each generator set in the target power system respectively.
[0087] In this embodiment, if during a single historical operation mode comparison process, any initial output value is greater than the historical output value or the DC transmission level is greater than the historical DC transmission level, the various parameters in the operation index input data are updated according to the preset adjustment gradient, and then the initial output value is recalculated.
[0088] Step 103, according to the random fluctuation coefficient and the total output value, the output of the generators in each generator group is 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 respectively;
[0091] Calculate the ratio of the total output value to the total installed capacity of the corresponding type of units to obtain the apportionment ratio;
[0092] Determine the first output value of the current generator according to the allocation ratio, installed capacity information, preset random numbers and random fluctuation coefficients;
[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] According to the actual output value and installed capacity information, update the total output value, total installed capacity value and apportionment ratio;
[0096] The generators are reordered with the generator number being the first to generate the initial operation mode.
[0097] The installed capacity information includes but is not limited to 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 information are taken as an example. Generators with installed capacities , here Calculate its apportionment ratio , the random volatility coefficient is .
[0099] Sequential calculation The specific output of the generator is 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 in the interval, 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 the following conditions are met: Condition, then let the original serial number The generator is the first one, is the second generator, ..., the generator with original serial 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 power units, photovoltaic units, DC power levels, and loads are all allocated in a similar manner as above. For DC, step 2) Take as the rated power of DC; 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 operation mode as a new initial operation mode. .
[0107] Step 104, updating the initial operation mode with reactive power compensation according to each historical operation mode, and generating a plurality of intermediate operation modes;
[0108] In an example of the present application, step 104 may include the following sub-steps:
[0109] According to the preset search quantity, a 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 a plurality of intermediate operation modes.
[0111] In this embodiment, for direct current, the filter capacity is determined by looking up the table according to its transmission power and updated. For the capacitive reactance of the main transformer, it is 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 historical operation mode, and based on this Reactive power compensation situation in historical operation mode, update to initial operation mode , that is, with reference to The reactive power supplement value of the reactive and uncompensated 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 an 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, it is determined 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] Calculate the difference between the actual output value and the output multiplication value in the power coefficient flow as the deviation value, jump to execute the step of calculating the multiplication value between the total load level and the preset network loss ratio superposition value, and then calculate the difference between the deviation value to obtain the total output of the unit;
[0119] If yes, then the intermediate operation mode is selected as the target operation mode.
[0120] In this embodiment, Intermediate operation mode , call the general power flow calculation software for the power system to perform calculations. Intermediate operation 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 index 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 operation mode is generated successfully, the intermediate operation mode is determined as the target operation 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 S11 to calculate the multiplication between the total load level and the preset network loss ratio superposition value, calculate the difference between the deviation value and the total output of the unit, and only update However, there is no need to re-specify each operation input indicator data 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, updating the operation index input data according to the preset adjustment step size;
[0128] S22, jumping to execute 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, the operating indicator input data is updated according to a preset adjustment step and steps 102-105 are executed in a loop, thereby generating a convergent and practical operating mode of the power system that meets the target demand quantity, which can be used as a sample for artificial intelligence training and other purposes.
[0130] The following is an exemplary description of the process of generating the target operation mode of the target power system in the form of simulation data.
[0131] Obtain the historical operation 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 allocated in the same way.
[0143] according to The value is used to find the 10 closest operating modes among the 8760 historical operations, and the production operating mode is updated.
[0144] First, update the DC filter. In a DC filter strategy, the power When the filter is between 500 MVar, the power The current power is 800MW, in the first interval, so the filter is modified to 500Mvar.
[0145] For the compensation value of the main transformer, the reactive power compensation of a node in a similar mode is 135Mvar, then the reactive power compensation of the same node in the generation mode is set to 135Mvar. After all nodes are processed, a generation mode 1 with reactive power configured is obtained. A total of 10 new generation modes are obtained.
[0146] After the calculation, there are 5 ways to converge. 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 this step is entered, the output of the balancing machine after the power flow calculation is 240MW, which is within the limit, so this generation method can be retained as a training sample.
[0147] Total load value The DC transmission level DCsum will change from 2000MW to 8000MW in steps of 2000MW. The new energy penetration rate will change from 2000MW to 30000MW in steps of 1000MW. The ratio of the output of hydropower units to the output of conventional units 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 be generated at most Even if the generation of some operating modes fails due to the limit crossing in step 102 or the premature exit without convergence in step 105, the overall number of operating modes that can eventually converge will exceed 10 million.
[0148] In the embodiment of the present application, multiple historical operating modes of the target power system are obtained; in response to the input data of the operating index, each historical operating mode is combined one by one to calculate the total output value of each generator set in the target power system; according to the random fluctuation coefficient and the total output value, the generators in each generator set are configured to generate the initial operating mode; the initial operating mode is updated with reactive 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. Thus, the production is made with reference to the load level of the actual power grid production to avoid the construction of some non-existent operating modes caused by random production. By introducing random fluctuation factors, the randomness and volatility of the unit output under the new power system can be dealt with, and a sufficient number of samples can be generated. Through a reasonable voltage configuration method, the constructed operating mode converges with a reasonable voltage, which can be used as the input for subsequent simulations and training of various types. The power system operating mode is constructed quickly and accurately to provide 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, comprising:
[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 one by one;
[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 used 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 used 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] A processing comparison submodule is used to compare each initial output value with each historical output value;
[0160] A total output value determination submodule is used 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 values 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 used to update the operation index input data according to the preset adjustment gradient if any initial output value is greater than the historical output value or the DC transmission level is greater than the historical DC transmission level, and jump to execute the step of responding to the operation index input data and calculating the initial output value of each generator set in the target power system respectively.
[0162] Optionally, the operation index 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 for:
[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 multiplication between 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 output ratio of hydropower and wind power, 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 used for:
[0168] Traverse the generators in each generator group and obtain the corresponding installed capacity information respectively;
[0169] Calculate the ratio of the total output value to the total installed capacity of the corresponding type of units to obtain the apportionment ratio;
[0170] Determine the first output value of the current generator according to the allocation ratio, installed capacity information, preset random numbers and random fluctuation coefficients;
[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] According to the actual output value and installed capacity information, update the total output value, total installed capacity value and apportionment ratio;
[0174] The generators are reordered with the generator number being the first to generate the initial operation mode.
[0175] Optionally, the reactive power compensation updating module 204 is specifically used for:
[0176] According to the preset search quantity, a 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 a plurality of intermediate operation modes.
[0178] Optionally, the target operation mode determination module 205 is specifically used for:
[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, it is determined 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] Calculate the difference between the actual output value and the output multiplication value in the power coefficient flow as the deviation value, jump to execute the step of calculating the multiplication value between the total load level and the preset network loss ratio superposition value, and then calculate the difference between the deviation value to obtain the total output of the unit;
[0183] If yes, then the intermediate operation mode is selected as the target operation mode.
[0184] Optionally, the device further comprises:
[0185] A data adjustment module, used to update the operation index input data according to a preset adjustment step;
[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 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 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 constructing an operation mode of a power system as described in any embodiment of the present invention is implemented.
[0189] Those skilled in the art can 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 the present 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 only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, 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 separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0192] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.
[0193] If the integrated module is implemented in the form of a software function 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 is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for an electronic device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[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 aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may 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 operation mode of a power system, characterized in that: include: Acquire multiple historical operation 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 sets are configured to generate an initial operation mode; Perform reactive power compensation update on the initial operation mode according to each of the historical operation modes to generate multiple 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 operation modes one by one; Comparing each of the initial output values with each of 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 index input data is updated according to a preset adjustment gradient, and the step of responding to the operating index input data and calculating the initial output value of each generator set in the target power system is jumped to execute.
3. The method according to claim 2, characterized in that The operation index input data include the total load value, DC transmission level, new energy penetration rate, hydropower output ratio and wind power output ratio; The response operation index input data is used to calculate the initial output value of each generator set in the target power system, including: 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 multiplication value between the total load level and the preset network 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; Calculate the initial output value of each generator set in the target power system according to the output ratio of hydropower and the output ratio of wind power, combined 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, characterized in that: The step of configuring the output of the generators in each of the generator sets 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; Calculate the ratio of the total output value to the total installed capacity of the corresponding type of units to obtain the apportionment ratio; Determine 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, 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; 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, update the total output value, the total installed capacity value and the apportionment ratio; 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, characterized in that The step of updating the initial operation mode with reactive power compensation according to each of the historical operation modes to generate a plurality of intermediate operation 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 operation modes converges, selecting the corresponding intermediate operation mode as the target operation 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; Calculate the difference between the actual output value in the power coefficient flow and the output multiplication value as a deviation value, jump to execute the step of calculating the multiplication value between the total load level and the preset network loss ratio superposition value, and then calculate the difference between the deviation value to obtain the total output of the unit; If yes, then the intermediate operation mode is selected as the target operation mode.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Update the operating index input data according to a preset adjustment step; 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 operation mode data one by one, until a target operation mode with a target demand quantity is generated.
8. A device for constructing an operation mode of an electric power system, 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 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 of the historical operation modes one by one; An initial operation mode generating module is used to configure the output of the generators in each of the generator sets according to the random fluctuation coefficient and the total output value, and generate an initial operation mode; A reactive power compensation updating module, used for updating the reactive power compensation of the initial operation mode according to each of the historical operation modes, and generating a plurality of intermediate operation 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: It 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 as described in 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 as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Configuration method and device based on energy storage system and intelligent soft switch
CN117096954A
Typical operation mode generation method and device of power system
CN118174273A
Power grid long-period operation sample data generation method and device, equipment and medium
CN118313956A
Power system regulation and control method and device based on reinforcement learning and data driving
CN119382100A
Joint random simulation method and apparatus for hydro-wind-photovoltaic resources in drainage basin
WO2024093493A1