A method for optimizing unit output considering the primary frequency regulation capability of thermal power units

By obtaining the power response data of thermal power units and constructing a system frequency response model, the output distribution of thermal power units is optimized, which solves the problem of primary frequency regulation capability that fails to take into account the operating condition changes of thermal power units in the existing technology, and improves the system frequency safety and frequency regulation capability.

CN120049465BActive Publication Date: 2025-09-26YUNNAN POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510526232.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-25
Publication Date
2025-09-26
Estimated Expiration
2045-04-25

AI Technical Summary

Technical Problem

Existing optimization methods fail to consider in detail the actual primary frequency regulation capability of thermal power units as operating conditions change, resulting in frequency safety risks in the optimization results.

Method used

By obtaining the power response data of the thermal power units, building a system frequency response model, performing random load disturbance simulation, recording the system frequency curve, selecting system parameters, building a unit output optimization distribution model, optimizing the output distribution of the thermal power units, and considering the primary frequency regulation capability of the thermal power units.

Benefits of technology

It increases the total primary frequency regulation capability of thermal power units, improves the system frequency, is suitable for high-order nonlinear thermal power unit models, reduces standby waste, and improves system frequency safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120049465B_ABST
    Figure CN120049465B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for optimizing the output of a thermal power unit taking into account the primary frequency regulation capability of the thermal power unit, which relates to the technical field of power system and thermal system analysis. The method comprises the following steps: given the start / stop status of the thermal power unit, setting a maximum frequency difference limit, and inputting the thermal parameters, control parameters, and structural parameters of the thermal power unit; obtaining the power response data of the thermal power unit; calculating the primary frequency regulation capability of the thermal power unit based on the obtained power response data; constructing a system frequency response model, performing random load disturbance simulation, recording the system frequency curve, and selecting system parameters; constructing a unit output optimization allocation model, performing unit output optimization, and outputting the optimized thermal power unit output allocation result. The method for optimizing the output of a thermal power unit taking into account the primary frequency regulation capability of the thermal power unit provided by the present invention improves the total primary frequency regulation capability of the unit by rationally allocating the output of the thermal power unit, thereby improving the system frequency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system and thermal system analysis, and in particular to a method for optimizing unit output by taking into account the primary frequency regulation capability of a thermal power unit. Background Art

[0002] With the development of new power systems, the capacity share of renewable energy units such as wind and photovoltaic power generation in the power grid is increasing. To ensure the absorption of renewable energy, the load factor of thermal power units has been significantly reduced and exhibits significant intraday fluctuations. For example, in areas with a large share of photovoltaic power generation, the peak output characteristics of photovoltaic power generation result in a "duck curve"-like intraday load factor for thermal power units. To adapt to the fluctuations of renewable energy, thermal power units are widely undergoing flexibility retrofits. While this enhances the peak-shaving capacity of thermal power units, helping to reduce wind and solar curtailment, it also significantly affects the primary frequency regulation capability of thermal power units, which is detrimental to system frequency security. To ensure frequency security, existing unit combinations primarily use frequency security constraints as constraints for unit startup and shutdown optimization. However, this approach does not consider the impact of varying thermal power unit operating conditions on frequency security. Therefore, it is necessary to develop a unit output optimization method that considers the primary frequency regulation capability of thermal power units as they vary with operating conditions.

[0003] Currently, in unit commitment optimization, system frequency response models are generally used for theoretical derivation to establish inequalities for system frequency safety constraints. However, the system frequency response models used in most studies fail to reflect the impact of thermal power unit operating conditions on the model. Specifically, unit model parameters do not change with operating conditions, and system frequency safety is only affected by unit startup and shutdown. As the load factor of thermal power units decreases, the impact of unit operating conditions on their primary frequency regulation capability becomes increasingly important. Therefore, in unit commitment, some studies have additionally considered the primary frequency regulation capability of units that varies with operating conditions. However, due to a lack of in-depth understanding of actual thermal power units, the thermal power unit models used in these studies do not effectively reflect the actual primary frequency regulation capability of the units, resulting in optimization results that still present frequency safety risks. Summary of the Invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problem solved by the present invention is that the existing optimization method does not take into account the detailed thermal power unit model and cannot reflect the actual primary frequency regulation capability of the thermal power unit as the operating conditions change, resulting in the optimization result still having the problem of frequency safety risk.

[0006] To solve the above technical problems, the present invention provides the following technical solution: a method for optimizing the output of a thermal power unit taking into account the primary frequency regulation capability of the thermal power unit, comprising:

[0007] Given the start and stop status of the thermal power unit, set the maximum frequency difference limit, and input the thermal parameters, control parameters and structural parameters of the thermal power unit;

[0008] Obtain power response data of thermal power units;

[0009] Calculate the primary frequency regulation capability of thermal power units based on the acquired power response data;

[0010] Based on the primary frequency regulation capability of the unit, a system frequency response model is constructed, random load disturbance simulation is performed, the system frequency curve is recorded, and system parameters are selected;

[0011] Input the coal consumption function, load effect coefficient, system load and maximum power disturbance of the thermal power unit, build the unit output optimization allocation model, optimize the unit output, and output the optimized thermal power unit output allocation result.

[0012] As a preferred solution of the method for optimizing the unit output considering the primary frequency regulation capability of the thermal power unit according to the present invention, wherein: the obtaining of the power response data of the thermal power unit includes a model simulation method or a field test method;

[0013] The model simulation method selects multiple operating points through model simulation, inputs a frequency difference step signal with a maximum frequency difference limit, and records the power response curve of the unit under different operating conditions;

[0014] The field test method carries out a frequency modulation test through field testing according to the selected operating point and the set maximum frequency difference limit, and records the power response curve of the unit.

[0015] As a preferred solution of the method for optimizing the unit output considering the primary frequency regulation capability of the thermal power unit according to the present invention, the primary frequency regulation capability of the thermal power unit is calculated as follows:

[0016] ,

[0017] Among them, P pfm_G(i,Pj) For unit i in P j Primary frequency regulation capability at output, f Pij For unit i in P j Δf at output m Frequency difference step power response curve, τ mk is the kth maximum frequency difference moment that meets the selection principle, and l is the number of moments that meet the selection principle.

[0018] As an optimal solution of the unit output optimization method considering the primary frequency regulation capability of the thermal power unit described in the present invention, the coal consumption function of the thermal power unit includes calculating the equivalent value of the unit's power generation coal consumption, and after obtaining the unit's power generation coal consumption at multiple operating points, the unit's power generation coal consumption is fitted.

[0019] As a preferred solution of the method for optimizing the unit output considering the primary frequency regulation capability of the thermal power unit according to the present invention, the equivalent value of the unit's power generation coal consumption is expressed as follows:

[0020] ,

[0021] Among them, B std is the converted coal consumption of the unit for power generation, B des is the fuel consumption in the boiler manual of the unit, Q net.at is the low calorific value of the design coal type in the unit boiler manual, Q std is the calorific value of standard coal;

[0022] The coal consumption of the fitted unit for power generation is expressed as,

[0023] ,

[0024] Among them, B std(i) is the coal consumption function of unit i, a i 、b i 、c i is the fitting parameter of the equivalent coal consumption function of unit i, P i The output of the unit.

[0025] As a preferred solution of the method for optimizing the unit output considering the primary frequency regulation capability of the thermal power unit according to the present invention, the unit output optimization allocation model is expressed as follows:

[0026] ,

[0027] Among them, N is the number of units, L is the system load power, P imin is the lower limit of unit i output, P imax is the upper limit of unit i output, P pfm_G(i,Pi) For unit i in P i Primary frequency regulation capability during output, Δ P L,max is the maximum power disturbance.

[0028] As a preferred solution of the unit output optimization method considering the primary frequency regulation capability of the thermal power unit described in the present invention, when the unit output optimization allocation model is successfully solved, the unit output allocation obtained by the solution is recorded;

[0029] If the optimization solution fails, the total frequency regulation capacity of the thermal power units ∑P pfm_G(i,Pi) With the maximum as the goal, the unit output is re-optimized and distributed.

[0030] As a preferred solution of the method for optimizing the unit output considering the primary frequency regulation capability of the thermal power unit according to the present invention, the re-optimization of the unit output distribution is expressed as:

[0031] .

[0032] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the unit output optimization method considering the primary frequency regulation capability of the thermal power unit are implemented as described above.

[0033] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned method for optimizing the output of a thermal power unit taking into account the primary frequency regulation capability of the thermal power unit.

[0034] Beneficial effects of the present invention: The unit output optimization method considering the primary frequency regulation capability of thermal power units provided by the present invention is aimed at the thermal power units determined by start and stop, and by reasonably allocating the output of the thermal power units, the total primary frequency regulation capability of the units is improved, thereby improving the system frequency. Since the primary frequency regulation capability function of the units involved is a quantitative feature extracted based on the power response of the units, the present invention is also applicable to high-order nonlinear thermal power unit models, and can more accurately reflect the changes in the primary frequency regulation capability of the thermal power units with the operating conditions. At a time when the load rate of thermal power units is changing more and more frequently, the present invention fully considers the impact of the primary frequency regulation capability of thermal power units with changes in operating conditions, which helps to improve the primary frequency regulation capability of the system through unit output allocation at low load rates; and give full play to the primary frequency regulation capability of the units at high load rates to reduce standby waste. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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.

[0036] Figure 1 An overall flow chart of a method for optimizing unit output taking into account the primary frequency regulation capability of a thermal power unit is provided in accordance with one embodiment of the present invention.

[0037] Figure 2 A system frequency response model diagram in a method for optimizing unit output taking into account the primary frequency regulation capability of a thermal power unit provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0038] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the following detailed description of the specific embodiments of the present invention is given in conjunction with the accompanying drawings. It is obvious that the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in this field without creative work should fall within the scope of protection of the present invention.

[0039] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0040] Example 1

[0041] Reference Figure 1-Figure 2 , which is an embodiment of the present invention, provides a method for optimizing the unit output taking into account the primary frequency regulation capability of a thermal power unit, comprising:

[0042] Step 1: Given the start and stop status of the thermal power unit, set the maximum frequency difference limit Δf m , input the thermal parameters, control parameters and structural parameters of the thermal power unit. This step provides the necessary parameters for the unit simulation in step 2 and the system simulation in steps 3 and 9.

[0043] Specifically, in the present invention, the primary frequency regulation capability of a unit is defined as follows: For a given unit, its primary frequency regulation capability P pfm_G For Δf m Under the frequency difference step of τ m Power change at time ΔP G . Among them, τ m is the system parameter, and the maximum frequency difference caused by the system is Δf m The maximum frequency difference distribution during primary frequency regulation is determined. The existing evaluation method of the primary frequency regulation capability of the unit is mainly based on the evaluation of the disturbance after the event. Such a system cannot be used for the optimization of the primary frequency regulation capability of the system in advance. Therefore, it is necessary to propose a method for quantifying the primary frequency regulation capability of an independent unit based on the response mechanism of the primary frequency regulation of the system, and the quantification result can be used for system optimization. The method for quantifying the primary frequency regulation capability of the unit given by the present invention has both accuracy and feasibility. It fully considers the system characteristics and concentrates the system influence on τ m The selection of , ensures that each unit can obtain quantitative results through independent testing, without considering the impact of being connected to the grid.

[0044] Step 2: To obtain the primary frequency regulation capability of the thermal power unit, two methods can be used: model simulation and field test. If model simulation is used, the thermal power unit operating point needs to be selected, and the thermal power unit model under different operating conditions needs to be input with Δf m If a field test is used, the frequency difference step signal is recorded and the power curve of the unit is recorded. If a field test is used, the maximum frequency difference limit Δf is set according to the selected thermal power unit operating point. m , carry out a corresponding frequency modulation test and record the power curve of the unit. This step provides the Δf of the unit at different outputs for step 5. m Frequency difference step power response curve.

[0045] Specifically, in order to obtain the primary frequency regulation capability of thermal power units, it is necessary to measure the thermal power units under different operating conditions. m Power response curve under frequency difference step input. This power response curve can be obtained from model simulation or primary frequency regulation test. This key point supplements Key Point 1 and provides a specific method for obtaining the primary frequency regulation capability function related to the unit and operating conditions. The method obtained from the primary frequency regulation test demonstrates the strong applicability of this invention to practical projects. Even without an accurate thermal power unit model, the corresponding unit primary frequency regulation capability function can still be established to optimize the unit output.

[0046] Step 3: Based on the given start-stop status and unit parameters of the thermal power unit, construct Figure 2 The system frequency response model shown in Figure 1 is as follows: L is the system power disturbance, ΔP D is the load output change, ΔP G is the change in unit output, Δf is the system frequency difference, k D is the unit regulation power of the load, T s is the system inertia, G i (s) is the thermal power unit model including the speed governor and prime mover.

[0047] Perform a frequency modulation simulation of the system under random load disturbance and record the system frequency curve as the basis for selecting the system parameter τ m For an actual system, historical frequency modulation data from a past event can be used as a sample. This step provides a random load disturbance sample for step 4.

[0048] Specifically, when constructing the system frequency response model, the thermal power unit model used must include the following modules: steam turbine main control, boiler model and steam turbine model. Among them, the steam turbine main control should refer to the actual control system of the unit, and if there are links such as power measurement feedback, they should be retained; the boiler model is a key link that reflects the changes in the unit's primary frequency regulation capability with operating conditions, and a one-dimensional segmented heat exchanger model can be used. This key point explains the composition of the thermal power unit model used in the present invention, and emphasizes that the thermal power unit model used should include three modules: steam turbine main control, boiler model and steam turbine model. This is because the existing thermal power unit primary frequency regulation model rarely considers the influence of the boiler model, resulting in insufficient accuracy of the simulation results. The present invention can use a complex thermal power unit model that takes into account thermal dynamics, ensuring the simulation accuracy of the method.

[0049] Step 4: Set τ m The selection principle, such as the maximum frequency difference is [-0.9Δf m ,-Δf m ] between the frequency curve. Record the maximum frequency difference moment that meets the selection principle in the sample. If there is no frequency curve that meets the selection principle, you need to manually set τ m This step provides a set of time series τ for step 5. mk .

[0050] Step 5: Establish the unit's primary frequency regulation capability function P pfm_G(i,Pj) The following formula can be used

[0051] ,

[0052] Among them, P pfm_G(i,Pj) For unit i in P j Primary frequency regulation capability at output, f Pij For unit i in P j Δf at output m Frequency difference step power response curve, τ mk is the kth maximum frequency difference moment that meets the selection principle, and l is the number of moments that meet the selection principle. This step provides the unit's primary frequency regulation capability function P for steps 7 and 8. pfm_G(i,Pj) .

[0053] In an optional embodiment of the present invention, it can also be calculated by the following formula:

[0054] ,

[0055] Step 6: Input the coal consumption function B of the thermal power unit std(i) , load effect coefficient k D , system load L and maximum power disturbance ΔP Lmax .

[0056] It should be noted that Δ P Lmax It is a numerical parameter set by the user. Specifically, for a certain power grid, Δ P Lmax It can be the maximum single-machine capacity, maximum power plant capacity, maximum tie-line power, maximum DC power, etc., determined by the user based on simulation requirements.

[0057] Among them, the equivalent calculation method of the unit's power generation coal consumption is as follows:

[0058] ,

[0059] Among them, B std is the converted coal consumption of the unit for power generation, B des is the fuel consumption in the boiler manual of the unit, Q net.at is the low calorific value of the design coal type in the unit boiler manual, Q std The calorific value of standard coal is 29.27MJ / kg. After obtaining the coal consumption of the unit at several operating points, the coal consumption of the unit is fitted according to the following formula:

[0060] ,

[0061] Among them, B std(i) is the coal consumption function of unit i, a i 、b i 、c i is the fitting parameter of the equivalent coal consumption function of unit i, P i This step provides the unit coal consumption function B for step 7. std(i) and the maximum power disturbance ΔP Lmax , which provides the maximum power disturbance ΔP for step 8 Lmax , which provides the load effect coefficient k for step 9 D , system load L and maximum power disturbance ΔP Lmax .

[0062] The method for calculating the coal consumption of power generation units provided by the present invention not only ensures the reliability of the data source, which is taken from the boiler manual of the unit, but also realizes the rapid unification of the coal consumption of different units and reduces the influence of coal quality.

[0063] Step 7: Take the system coal consumption B sys The goal is to optimize the distribution of unit output. The optimization model is as follows:

[0064] ,

[0065] Among them, N is the number of units, L is the system load power, P imin is the lower limit of unit i output, P imax is the upper limit of unit i output, Ppfm_G(i,Pi) For unit i in P i Primary frequency regulation capability during output, Δ P L,max This step provides the unit output optimization result that satisfies the primary frequency regulation capability constraint for step 9.

[0066] Specifically, the frequency safety constraint is an important constraint for optimizing the system's primary frequency regulation capability. It ensures that the system's maximum frequency difference remains within limits after unit output optimization. Existing frequency safety constraints are primarily based on the analytical results of aggregation models, requiring high aggregation algorithm accuracy and low aggregation model complexity. The final representation is often complex and requires further conversion to a form that can be used for optimization calculations. The frequency safety constraint proposed in this invention is simple and intuitive, and does not restrict the primary frequency regulation model of thermal power units, allowing it to retain the high precision characteristics of complex unit models.

[0067] Step 8: If the optimization model is successfully solved, the output distribution of the units is recorded; if the optimization fails, the total frequency regulation capacity of the thermal power units ∑P pfm_G(i,Pi) The maximum is the goal, and the unit output is optimized again. The optimization model is as follows

[0068] ,

[0069] This step provides step 9 with the output optimization result of maximizing the total primary frequency regulation capability of the thermal power units when there is no solution in step 7.

[0070] Step 9: Based on the optimized allocation results, use the system frequency response model to simulate the maximum power disturbance ΔP that the system can withstand under this scheme. Lmax This step verifies the final output result of step 10.

[0071] Step 10: Output the thermal power unit output optimization results.

[0072] Example 2

[0073] An embodiment of the present invention is different from the previous embodiment in that:

[0074] If the functions are implemented as software functional units and sold or used as independent products, they 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 a portion 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 a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0075] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0076] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, and then editing, interpreting, or processing in another suitable manner as necessary, and then storing it in a computer memory.

[0077] It should be understood that various components of the present invention may be implemented using hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof may be used: a discrete logic circuit having logic gate circuits for implementing logic functions on data signals, an application-specific integrated circuit having suitable combinational logic gate circuits, a programmable gate array (PGA), a field-programmable gate array (FPGA), etc.

[0078] Example 3

[0079] One embodiment of the present invention provides a method for optimizing unit output by taking into account the primary frequency regulation capability of a thermal power unit. To verify the beneficial effects of the present invention, scientific demonstration is conducted through economic benefit calculations and simulation experiments.

[0080] For a system consisting of ten thermal power units, the following two power disturbances are considered:

[0081] The first optimization method is: the system load factor is 40%, and the system frequency must be no less than 49.75 Hz when a 115 MW load power increase occurs. The results of the first optimization method are shown in Table 1.

[0082] Table 1 The first power disturbance optimization results

[0083] ,

[0084] The solution of the present invention has the highest equivalent coal consumption but the highest minimum frequency. While the other solutions are more economical, their minimum frequencies exceed 49.75 Hz. Therefore, when the system load factor is low, the present invention can improve the system's primary frequency regulation capability by allocating unit output, ensuring system frequency safety.

[0085] The second optimization method is: the system load factor is 80%, and the system frequency must not be lower than 49.75Hz when a 155MW load power increase occurs. The results of the second optimization method are shown in Table 2.

[0086] Table 2 The second power disturbance optimization results

[0087] ,

[0088] The minimum frequency of the solution of the present invention is higher than that of the minimum coal consumption solution, and no frequency over-limit occurs; the equivalent coal consumption is lower than that of the existing solution. Furthermore, the existing solution adds two units, further expanding the economic advantages of the solution of the present invention. Therefore, at high system loads, the present invention can fully utilize the primary frequency regulation capabilities of the units, reducing standby waste.

[0089] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for optimizing the unit output considering the primary frequency regulation capability of a thermal power unit, characterized in that: include: Given the start and stop status of the thermal power unit, set the maximum frequency difference limit, and input the thermal parameters, control parameters and structural parameters of the thermal power unit; Obtain power response data of thermal power units; Calculate the primary frequency regulation capability of thermal power units based on the acquired power response data; Based on the primary frequency regulation capability of the unit, a system frequency response model is constructed, random load disturbance simulation is performed, the system frequency curve is recorded, and system parameters are selected; Input the coal consumption function, load effect coefficient, system load and maximum power disturbance of the thermal power unit, build the unit output optimization allocation model, optimize the unit output, and output the optimized thermal power unit output allocation result; The obtaining of power response data of the thermal power unit includes a model simulation method or a field test method; The model simulation method selects multiple operating points through model simulation, inputs a frequency difference step signal with a maximum frequency difference limit, and records the power response curve of the unit under different operating conditions; The field test method is to conduct a frequency modulation test according to the selected operating point and the set maximum frequency difference limit through field testing, and record the power response curve of the unit; The calculation of the primary frequency regulation capability of the thermal power unit is expressed as: Among them, P pfm_G(i,Pj) For unit i in P j Primary frequency regulation capability at output, f Pij For unit i in P j Δf at output m Frequency difference step power response curve, τ mk is the kth maximum frequency difference moment that meets the selection principle, and l is the number of moments that meet the selection principle; The coal consumption function of the thermal power unit includes calculating the equivalent value of the power generation coal consumption of the unit, and fitting the power generation coal consumption of the unit after obtaining the power generation coal consumption under multiple operating points of the unit; The equivalent value of the coal consumption for power generation of the unit is expressed as, B std =B des ×Q net.at / Q std Among them, B std is the converted coal consumption of the unit for power generation, B des is the fuel consumption in the boiler manual of the unit, Q net.at is the low calorific value of the design coal type in the unit boiler manual, Q std is the calorific value of standard coal; The coal consumption of the fitted unit for power generation is expressed as, B std(i) =a i +b i P i +cP i 2 Among them, B std(i) is the coal consumption function of unit i, a i 、b i 、c i is the fitting parameter of the equivalent coal consumption function of unit i, P i The output of the unit.

2. The method for optimizing unit output taking into account the primary frequency regulation capability of a thermal power unit according to claim 1, characterized in that: The unit output optimization allocation model is expressed as: Among them, N is the number of units, L is the system load power, P imin is the lower limit of unit i output, P imax is the upper limit of unit i output, P pfm_G(i,Pi) For unit i in P i Primary frequency regulation capability at output, ΔP L,max is the maximum power disturbance, B sys Indicates the system coal consumption.

3. The method for optimizing unit output taking into account the primary frequency regulation capability of a thermal power unit as claimed in claim 2, characterized in that: When the unit output optimization allocation model is successfully solved, the unit output allocation obtained by the solution is recorded; If the optimization solution fails, the total frequency regulation capacity of the thermal power units ∑P pfm_G(i,Pi) With the maximum as the goal, the unit output is re-optimized and distributed.

4. The method for optimizing unit output taking into account the primary frequency regulation capability of a thermal power unit as claimed in claim 3, characterized in that: The re-optimization of the unit output distribution is expressed as:

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the unit output optimization method considering the primary frequency regulation capability of the thermal power unit according to any one of claims 1 to 4 are implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the unit output optimization method considering the primary frequency regulation capability of the thermal power unit according to any one of claims 1 to 4 are implemented.