Gas fuel mixed energy power station resource configuration method and device, equipment and medium
By acquiring grid frequency data in real time and dynamically adjusting the active power distribution coefficient, the resource allocation of gas-fired and oil-fired hybrid power plants is optimized, solving the resource allocation problem when the grid frequency fluctuates. This enables the stable operation of gas-fired generator units and the rapid response of oil-fired generator units, thereby improving grid stability and economy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TIANJIN PAUWAY POWER EQUIP CO LTD
- Filing Date
- 2026-04-03
- Publication Date
- 2026-07-14
AI Technical Summary
Gas-fired and oil-fired hybrid power plants cannot allocate resources properly when the grid frequency fluctuates, causing gas generator sets to be unable to respond quickly to grid demands and affecting grid stability.
By acquiring real-time grid frequency data and extracting frequency change characteristics, the active power allocation coefficients of gas and oil generator sets are dynamically adjusted to optimize resource allocation, ensuring that gas generator sets operate within a stable range and oil generator sets respond quickly to grid demands.
It has achieved stable and low-cost operation of gas generator sets and rapid response of oil generator sets, optimized resource allocation of hybrid energy power plants, and improved the reliability of grid frequency regulation and the safety and economy of unit operation.
Smart Images

Figure CN121965600B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of resource allocation technology, and more specifically, relates to a resource allocation method, apparatus, equipment, and medium for a gas-fired and oil-fired hybrid energy power plant. Background Technology
[0002] Hybrid power plants combining gas and oil power offer the economic stability of gas turbines and the rapid response of oil turbines, making them widely used in regional power grid frequency regulation and emergency power supply scenarios. Power grid load fluctuations can easily cause frequency shifts, requiring hybrid power plants to dynamically adjust their total active power output to maintain grid stability.
[0003] Because gas-fired power generation is cheaper than oil-fired power generation and is considered a clean energy source, it is typically used as the primary power source in hybrid power plants, while oil-fired power generation is often on standby or used as a supplementary source. However, when the external power grid frequency fluctuates, the limited adjustable range of gas-fired power generation often makes it difficult to allocate resources effectively in hybrid power plants. Summary of the Invention
[0004] The purpose of this application is to provide a method, apparatus, equipment, and medium for resource allocation in a gas-fired and oil-fired hybrid energy power plant, so as to optimize the resource allocation of the hybrid energy power plant.
[0005] A first aspect of this application provides a resource allocation method for a gas-fired and oil-fired hybrid energy power plant. This method is applied to a controller in a hybrid energy power plant resource allocation system. The system further includes a hybrid energy power plant containing gas-fired generator sets and oil-fired generator sets for power generation. The resource allocation method includes: Acquire the frequency data of the power grid, and extract the current frequency of the power grid and the frequency change characteristics corresponding to the current frequency from the frequency data; The total active power output of the hybrid energy power plant is determined based on the current frequency. If the total active power output exceeds the base load active power output of the gas generator set, the base load active power output will be set to the gas active power output of the gas generator set. The base load active power output refers to the active power output that the gas generator set can continuously output with a fluctuation level less than the preset fluctuation threshold. The active power allocation coefficient is determined based on the frequency change characteristics corresponding to the current frequency; the active power allocation coefficient is used to adjust the active power output ratio between gas generator sets and oil generator sets. The active power output of the gas is adjusted based on the active power allocation coefficient to obtain the adjusted active power output of the gas. The active power output of the fuel oil is determined based on the adjusted active power output of the gas and the total active power output. The resources of the hybrid energy power plant are allocated based on the adjusted active power output of the gas and the active power output of the fuel oil.
[0006] A second aspect of this application provides a resource allocation device for a gas-fired and oil-fired hybrid energy power plant. This device is applied to a controller in a hybrid energy power plant resource allocation system. The system further includes a hybrid energy power plant containing a gas-fired generator set and an oil-fired generator set for power generation. The resource allocation device includes: The power grid data acquisition module is used to acquire the frequency data of the power grid and extract the current frequency of the power grid and the frequency change characteristics corresponding to the current frequency from the frequency data. The total power determination module is used to determine the total active power output of the hybrid energy power plant based on the current frequency. The gas power setting module is used to set the base load active power to the gas active power of the gas generator set if the total active power output exceeds the base load active power output of the gas generator set. The base load active power output refers to the active power output that the gas generator set can continuously output with a fluctuation level less than a preset fluctuation threshold. The allocation coefficient determination module is used to determine the active power allocation coefficient based on the frequency change characteristics corresponding to the current frequency; the active power allocation coefficient is used to adjust the active power output ratio between the gas generator set and the oil generator set. The resource allocation module is used to adjust the active power output of the gas based on the active power allocation coefficient to obtain the adjusted active power output of the gas. Based on the adjusted active power output of the gas and the total active power output, the active power output of the fuel oil is determined. Based on the adjusted active power output of the gas and the active power output of the fuel oil, the resources of the hybrid energy power plant are allocated.
[0007] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the steps of the above-described resource allocation method for a gas and oil hybrid energy power plant.
[0008] In a fourth aspect of this application, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the steps of the above-described resource allocation method for a gas-fired and oil-fired hybrid energy power plant.
[0009] The beneficial effects of the resource allocation method, apparatus, equipment, and medium for hybrid energy power plants provided in this application are as follows: This application effectively senses grid frequency fluctuations by acquiring grid frequency data in real time and extracting current frequency and frequency change characteristics, providing a reliable basis for determining total active power output and avoiding the blindness of traditional adjustment methods. Secondly, in the embodiments of this application, when the total active power exceeds the active power of the gas turbine unit's base load, the gas turbine unit is locked in the stable base load output range, which can keep it in a low-fluctuation, continuous and reliable working state, giving full play to the advantages of low cost and clean and environmentally friendly gas power generation. At the same time, the active power allocation coefficient is dynamically determined by combining frequency change characteristics, and the gas power output is adaptively adjusted and the output of the oil turbine unit is allocated accordingly, which can realize the output coordination and rapid matching of the two units and optimize the resource allocation of the hybrid energy power plant. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 A schematic flowchart illustrating a resource allocation method for a gas-fired and oil-fired hybrid energy power plant according to an embodiment of this application; Figure 2 A structural block diagram of a resource allocation device for a gas-fired and oil-fired hybrid energy power plant provided in an embodiment of this application; Figure 3 This is a schematic block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0012] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0013] To make the objectives, technical solutions, and advantages of this application clearer, the following description will be provided in conjunction with the accompanying drawings and specific embodiments.
[0014] In one embodiment of this application, the resource allocation method for a gas-fired and oil-fired hybrid energy power plant can be applied to a controller in a hybrid energy power plant resource allocation system. This system also includes a hybrid energy power plant containing gas-fired generator sets and oil-fired generator sets for power generation. In this embodiment, the gas-fired and oil-fired generator sets are controlled by the controller and supply power independently. The electricity generated by the gas-fired and oil-fired generator sets can be connected to the power grid through grid-connected components such as inverters to supply power to the grid.
[0015] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a method for allocating resources in a gas-fired and oil-fired hybrid energy power plant according to an embodiment of this application. The method may include steps S101-S105.
[0016] S101: Acquire the frequency data of the power grid, and extract the current frequency of the power grid and the frequency change characteristics corresponding to the current frequency from the frequency data.
[0017] In this embodiment, the power grid frequency data refers to time-series electrical signal data acquired by the power grid side, characterizing the real-time operating frequency of the power grid. This data may include multi-dimensional operational information such as instantaneous frequency values and frequency change processes, reflecting the power grid's active power supply and demand balance. Frequency change characteristics are used to describe the dynamic change patterns of the power grid frequency.
[0018] In this embodiment, the frequency change characteristics may include: the rate of change of the current frequency, the duration of frequency exceeding the limit, and the deviation value relative to the rated frequency. The duration of frequency exceeding the limit refers to the cumulative time during which the current frequency of the power grid deviates from the preset allowable fluctuation range of the rated frequency, and the unit can be seconds. The rated frequency is generally set to 50 Hz.
[0019] S102: Determine the total active power output of the hybrid energy power station based on the current frequency.
[0020] In this embodiment, the total active power output refers to the total active power command value that the hybrid energy power station needs to output to the grid based on the grid's operating status requirements, which is the sum of the active power output of the gas generator set and the oil generator set.
[0021] In one embodiment of this application, determining the total active power output of a hybrid energy power station based on the current frequency includes: determining the total active power output of the hybrid energy power station based on the current frequency by: calculating the total active power output based on the current frequency through a preset frequency-active power adjustment relationship; wherein the total active power output is negatively correlated with the current frequency.
[0022] In this embodiment, when the current frequency of the power grid decreases, it indicates that the active power of the power grid is in a state of insufficient supply, and the total active power output should be increased accordingly to increase the total output of the power station to make up for the active power deficit of the power grid; when the current frequency of the power grid increases, it indicates that the active power of the power grid is in a state of excessive supply, and the total active power output should be decreased accordingly to reduce the total output of the power station and reduce the active power redundancy of the power grid.
[0023] In this embodiment, the preset frequency-active power regulation relationship refers to a mapping relationship or mathematical function pre-written into the controller. Specifically, it can be a piecewise function. If the difference between the current frequency and the rated frequency is less than a first preset deviation and greater than a second preset deviation, the total active power output of the hybrid energy power station can remain unchanged, maintaining the current operating state. If the difference between the current frequency and the rated frequency is positive and greater than or equal to the first preset deviation, the total active power output can be adjusted based on a negatively correlated linear or nonlinear relationship. If the difference between the current frequency and the rated frequency is negative and less than or equal to the second preset deviation, the total active power output can be adjusted based on the same negatively correlated linear or nonlinear relationship. The negatively correlated linear or nonlinear relationship can be obtained by fitting multiple historical data and experiments. The first preset deviation is greater than the second preset deviation.
[0024] S103: If the total active power output exceeds the base load active power output of the gas generator set, then the base load active power output is set to the gas active power output of the gas generator set.
[0025] In this embodiment, the base load active power output refers to the active power output of the gas generator set that can be continuously output with fluctuations less than a preset fluctuation threshold. Specifically, the base load active power output refers to the rated steady-state active power output of the gas generator set under steady-state operating conditions, which can be continuously and stably output over a long period of time, with the fluctuation amplitude and fluctuation rate of the output power both less than the preset fluctuation threshold, and without large dynamic fluctuations. This is also the upper limit of the optimal stable operating output range of the gas generator set. The preset fluctuation threshold can be set based on experience.
[0026] In this embodiment, if the total active power output does not exceed the base load active power output, the gas turbine can match the corresponding output demand. However, if the total active power output exceeds the base load active power output, it means that the gas turbine alone cannot achieve the output of the total active power output. Therefore, it is necessary to start the fuel generator set for compensation. Thus, the base load active power output can be set to the gas active power output of the gas generator set to prevent exceeding the upper limit.
[0027] S104: Determine the active power allocation coefficient based on the frequency change characteristics corresponding to the current frequency.
[0028] In this embodiment, the active power allocation coefficient is used to adjust the ratio of active power output between the gas generator set and the fuel generator set.
[0029] In one embodiment, determining the active power allocation coefficient based on the frequency change characteristics corresponding to the current frequency includes: Determine the initial active power allocation coefficient; The frequency disturbance intensity is determined based on the deviation value and the frequency change rate; and the current frequency adjustment condition of the power grid is determined based on the deviation value and the frequency change rate; the frequency adjustment condition is used to characterize the deviation state and adjustment trend of the current frequency relative to the rated frequency. The initial active power allocation coefficient is adjusted based on the frequency disturbance intensity, frequency adjustment conditions, and duration of frequency over-limit, to obtain the active power allocation coefficient.
[0030] In this embodiment, the initial active power allocation coefficient refers to the active power allocation benchmark coefficient calibrated based on the normal operating conditions of the hybrid energy power plant. Generally speaking, the initial active power allocation coefficient of the hybrid energy power plant under normal operating conditions can be set to a value close to 1, that is, the majority of the power is supplied by gas generator sets, and fuel oil generator sets are used for auxiliary power supply.
[0031] In one embodiment, determining the frequency disturbance intensity based on the deviation value and the frequency change rate includes: determining a deviation fraction based on the deviation value, determining a frequency change fraction based on the frequency change rate, and determining the frequency disturbance intensity based on the deviation fraction and the frequency change fraction.
[0032] In this embodiment, the absolute values of both the deviation and the frequency change rate are positively correlated with the frequency disturbance. The intensity of the frequency disturbance can be determined as follows: convert the absolute values of both the deviation and the frequency change rate into percentage scores, i.e., obtain a deviation score and a frequency change score, and then perform a weighted calculation on the two scores. The weights for the weighted calculation can both be 0.5, resulting in a final percentage score used to characterize the intensity of the frequency disturbance.
[0033] In this embodiment, the frequency adjustment conditions can include frequency drop conditions and frequency recovery conditions. A frequency drop condition refers to the condition where the deviation value is negative and the frequency change rate is negative, while a frequency recovery condition refers to the condition where the deviation value is negative and the frequency change rate is positive. If there is a case where the frequency change rate is 0, it is considered to belong to other conditions.
[0034] It should be noted that, as can be seen from the aforementioned embodiments, the current frequency is negatively correlated with the total active power output of the hybrid energy power station. When the power grid is in a normal and stable state, the power demand of most of the power grid can be met by relying on the gas generator set. Therefore, when the total active power output exceeds the base load active power output of the gas generator set, it indicates that the current frequency of the power grid is low. Therefore, in this embodiment, the deviation values are all negative.
[0035] In this embodiment, the intensity of frequency disturbance can determine the magnitude of the adjustment of the initial active power allocation coefficient (the more severe the disturbance, the greater the adjustment magnitude), the frequency adjustment condition can determine the direction of the adjustment of the initial active power allocation coefficient (such as lowering the coefficient under the drop condition, and raising or lowering the coefficient as needed under the recovery condition), and the duration of frequency exceeding the limit can determine the gradient of the adjustment of the initial active power allocation coefficient (the longer the duration, the greater the adjustment magnitude as needed). Finally, an active power allocation coefficient that adapts to the current grid frequency state is obtained, ensuring that the coefficient can both optimize the output ratio of gas and oil units and quickly respond to the grid frequency regulation needs, taking into account both the unit operation stability and the grid support capacity.
[0036] S105: Adjust the active power output of the gas based on the active power allocation coefficient to obtain the adjusted active power output of the gas. Determine the active power output of the fuel oil based on the adjusted active power output of the gas and the total active power output. Allocate resources for the hybrid energy power plant based on the adjusted active power output of the gas and the active power output of the fuel oil.
[0037] In this embodiment, the active power output of the gas can be adjusted first to obtain the adjusted active power output of the gas. Then, the difference between the total active power output and the adjusted active power output of the gas is taken as the active power output of the fuel. Finally, the adjusted active power output of the gas and the calculated active power output of the fuel are taken as the output commands of the two types of generator sets, respectively, and sent to the corresponding power generation units through the controller, so as to realize the output coordination and rapid matching of the two units.
[0038] As can be seen from the above, this embodiment of the application accurately perceives the active power supply and demand balance of the power grid by acquiring grid frequency data and its variation characteristics. Combined with a preset frequency-active power negative correlation adjustment relationship, it determines the total active power output, ensuring that the total output of the hybrid energy power plant matches the grid frequency demand, alleviating the grid frequency deviation problem, and guaranteeing stable grid operation. Secondly, this embodiment of the application locks the base load active power output of the gas turbine generator set, leveraging the advantages of gas-fired power generation's economy, cleanliness, and stable operation while preventing its output from exceeding the steady-state range and causing operational degradation. Simultaneously, based on frequency variation characteristics, it dynamically adjusts the active power allocation coefficient, flexibly adjusting the output ratio of gas and oil-fired units. This fully utilizes the rapid response characteristics of oil-fired units, compensating for the limited adjustable range of gas turbine units, and achieving coordinated optimization of the two units. Finally, this embodiment of the application also ensures that resource allocation meets both grid control requirements and unit operation safety and economy by limiting the active power output of the gas turbine and issuing precise commands to both types of units, thereby improving the rationality of resource allocation and operational reliability of the hybrid energy power plant.
[0039] In one embodiment of this application, the initial active power allocation coefficient is adjusted based on the frequency disturbance intensity, frequency adjustment condition, and duration of frequency over-limit, to obtain the active power allocation coefficient, including: In response to the frequency adjustment condition changing to a frequency drop condition, the following operations are performed: When the frequency disturbance intensity is lower than the first preset disturbance threshold and the duration of frequency exceeding the limit is less than the first preset duration threshold, the initial active power allocation coefficient is reduced by the first ratio to obtain the active power allocation coefficient. When the frequency disturbance intensity is not lower than the first preset disturbance threshold and is lower than the second preset disturbance threshold, and the duration of frequency exceeding the limit is not lower than the first preset duration threshold and is lower than the second preset duration threshold, the initial active power allocation coefficient is reduced according to the second ratio to obtain the active power allocation coefficient. Among them, the first preset disturbance threshold is less than the second preset disturbance threshold, the first preset duration threshold is less than the second preset duration threshold, the first ratio is less than the second ratio, and the first preset disturbance threshold, the second preset disturbance threshold, the first ratio and the second ratio can be set based on experience.
[0040] In this embodiment, when the frequency disturbance intensity is lower than the first preset disturbance threshold and the duration of the frequency exceeding the limit is less than the first preset duration threshold, it indicates that the grid frequency drop is slight and short-lived, and the demand for rapid power support is low. Therefore, a smaller first ratio is used to slightly reduce the initial active power allocation coefficient to maximize the stability of the gas turbine output while meeting the basic frequency support requirements. When the frequency disturbance intensity is not lower than the first preset disturbance threshold and is lower than the second preset disturbance threshold, and the duration of the frequency exceeding the limit is not lower than the first preset duration threshold and is lower than the second preset duration threshold, it indicates that the grid frequency drop is larger, faster, and the risk of instability is significantly increased, and the demand for rapid active power support is sharply increased. Therefore, a larger second ratio is used to significantly reduce the initial active power allocation coefficient to quickly reduce the output ratio of the gas turbine and increase the output ratio of the oil turbine, fully utilizing the rapid response characteristics of the oil turbine.
[0041] In one embodiment of this application, the initial active power allocation coefficient is adjusted based on the frequency disturbance intensity, frequency adjustment condition, and duration of frequency over-limit, to obtain the active power allocation coefficient, including: In response to the frequency adjustment condition changing to the frequency recovery condition, the following operations are performed: When the frequency disturbance intensity is lower than the third preset disturbance threshold and the duration of frequency exceeding the limit is less than the third preset duration threshold, the initial active power allocation coefficient is increased according to the third ratio to obtain the active power allocation coefficient. When the frequency disturbance intensity is not lower than the third preset disturbance threshold and is lower than the fourth preset disturbance threshold, and the duration of frequency exceeding the limit is not lower than the third preset duration threshold and is lower than the fourth preset duration threshold, the initial active power allocation coefficient is reduced according to the fourth ratio to obtain the active power allocation coefficient. Among them, the third preset disturbance threshold is less than the fourth preset disturbance threshold, the third preset duration threshold is less than the fourth preset duration threshold, the third ratio is less than the fourth ratio, the third preset disturbance threshold can be equal to the first preset disturbance threshold, and the fourth preset disturbance threshold can be equal to the second preset disturbance threshold. The third ratio and the fourth ratio can be set by the user.
[0042] In this embodiment, when the frequency disturbance intensity is lower than the third preset disturbance threshold and the duration of frequency exceeding the limit is less than the third preset duration threshold, it indicates that the power grid frequency recovery is stable, the disturbance impact is weak, and the power grid's active power support demand is gradually decreasing. At this time, the initial active power allocation coefficient is slightly increased using the third ratio to gradually increase the output ratio of gas turbine units and smoothly transition to the gas-fired base load steady-state operation mode. When the frequency disturbance intensity is not lower than the third preset disturbance threshold and is lower than the fourth preset disturbance threshold, and the duration of frequency exceeding the limit is not lower than the third preset duration threshold and is lower than the fourth preset duration threshold, it indicates that although the power grid has entered a recovery trend, the disturbance level is still high, the risk of frequency instability has not been completely eliminated, and a strong rapid active power support capability still needs to be maintained. At this time, the initial active power allocation coefficient is decreased using the fourth ratio to continue to maintain a high output ratio of fuel-fired units and ensure the stability of the power grid frequency recovery process.
[0043] In one embodiment of this application, the active power output of the gas is adjusted based on the active power allocation coefficient to obtain the adjusted active power output of the gas, including: Calculate the product of the active power distribution factor and the active power output of the gas. If the product is within the preset adjustable power range, the product will be used as the adjusted active power output of the gas. If the product is greater than the upper limit of the preset adjustable power range, the upper limit will be set as the adjusted active power output of the gas. If the product is less than the lower limit of the preset adjustable power range, the lower limit will be set as the adjusted active power output of the gas.
[0044] In this embodiment, the preset adjustable power range is a safe and stable operating range for adjusting the active power output of the gas generator set, preventing the gas generator set from shutting down or operating under overload. If the theoretical adjustment value falls within the adjustable power range, it indicates that the output meets both the grid control requirements and the safe operating conditions of the unit, and the product result is directly used as the adjusted active power output of the gas generator set. If the theoretical adjustment value exceeds the upper limit of the adjustable power range, it indicates that the output calculated according to the coefficient has exceeded the upper limit of the safe and stable operation of the unit, and the upper limit value is forcibly used as the adjusted active power output of the gas generator set to achieve upper limit protection. If the theoretical adjustment value is lower than the lower limit of the adjustable power range, it indicates that the output calculated according to the coefficient is lower than the minimum stable operating power of the unit, and the lower limit value is forcibly used as the adjusted active power output of the gas generator set to achieve lower limit protection.
[0045] As can be seen from the above, this application embodiment addresses frequency drop conditions by setting two levels of disturbance thresholds and duration thresholds, and adjusting the initial active power allocation coefficient proportionally. For minor disturbances, the coefficient is slightly lowered to maximize the steady-state operation of the gas turbine units; for moderate disturbances, the coefficient is significantly lowered to rapidly increase the output ratio of the oil-fired units, fully leveraging their rapid response advantage and accurately matching the grid support needs for different frequency drop levels, thus preventing continuous frequency instability. For frequency recovery conditions, differentiated adjustments are implemented based on the disturbance intensity and duration of exceeding limits. During stable recovery, the coefficient is raised to gradually return to the gas-fired baseload operation mode, taking into account economic efficiency; when the disturbance has not been eliminated, the coefficient is lowered to maintain the support capacity of the oil-fired units, ensuring a smooth frequency recovery process and preventing secondary fluctuations during recovery. Meanwhile, this embodiment limits the active power output of the gas turbine by pre-setting an adjustable power range to prevent the unit from becoming overloaded or unstable under low load. While responding to the grid control requirements, it ensures the safe and stable operation of the gas turbine unit, and ultimately achieves precise allocation of hybrid energy power plant resources, improving the reliability of grid frequency control and the safety and economy of unit operation.
[0046] Corresponding to the resource allocation method for gas and oil hybrid power plants in the above embodiments, Figure 2 This is a structural block diagram of a resource allocation device for a gas-fired and oil-fired hybrid energy power plant according to an embodiment of this application. For ease of explanation, only the parts relevant to the embodiment of this application are shown. References Figure 2 The resource allocation device 20 for the gas and oil hybrid energy power plant is used as a controller in the hybrid energy power plant resource allocation system. The system also includes a hybrid energy power plant containing gas generator sets and oil generator sets for power generation. The resource allocation device includes: a power grid data acquisition module 21, a total power determination module 22, a gas power setting module 23, an allocation coefficient determination module 24, and a resource allocation module 25.
[0047] Among them, the power grid data acquisition module 21 is used to acquire the frequency data of the power grid and extract the current frequency of the power grid and the frequency change characteristics corresponding to the current frequency from the frequency data; Total power determination module 22 is used to determine the total active power output of the hybrid energy power station based on the current frequency; The gas power setting module 23 is used to set the base load active power to the gas active power of the gas generator set if the total active power output exceeds the base load active power output of the gas generator set. The base load active power output refers to the active power output that the gas generator set can continuously output with a fluctuation level less than the preset fluctuation threshold. The allocation coefficient determination module 24 is used to determine the active power allocation coefficient based on the frequency change characteristics corresponding to the current frequency; the active power allocation coefficient is used to adjust the active power output ratio between the gas generator set and the oil generator set. The resource allocation module 25 is used to adjust the active power output of the gas based on the active power allocation coefficient to obtain the adjusted active power output of the gas, determine the active power output of the fuel oil based on the adjusted active power output of the gas and the total active power output, and allocate resources for the hybrid energy power plant based on the adjusted active power output of the gas and the active power output of the fuel oil.
[0048] In one embodiment of this application, the frequency change characteristics corresponding to the current frequency include: the frequency change rate of the current frequency, the duration of frequency exceeding the limit, and the deviation value relative to the rated frequency. The allocation coefficient determination module 24 is specifically used to determine the initial active power allocation coefficient; The frequency disturbance intensity is determined based on the deviation value and the frequency change rate; and the current frequency adjustment condition of the power grid is determined based on the deviation value and the frequency change rate; the frequency adjustment condition is used to characterize the deviation state and adjustment trend of the current frequency relative to the rated frequency. The initial active power allocation coefficient is adjusted based on the frequency disturbance intensity, frequency adjustment conditions, and duration of frequency over-limit, to obtain the active power allocation coefficient.
[0049] In one embodiment of this application, the allocation coefficient determination module 24 is further configured to perform the following operation in response to the frequency adjustment condition being a frequency drop condition, wherein the frequency drop condition refers to the condition in which the deviation value is negative and the frequency change rate is negative: When the frequency disturbance intensity is lower than the first preset disturbance threshold and the duration of frequency exceeding the limit is less than the first preset duration threshold, the initial active power allocation coefficient is reduced by the first ratio to obtain the active power allocation coefficient. When the frequency disturbance intensity is not lower than the first preset disturbance threshold and is lower than the second preset disturbance threshold, and the duration of frequency exceeding the limit is not lower than the first preset duration threshold and is lower than the second preset duration threshold, the initial active power allocation coefficient is reduced according to the second ratio to obtain the active power allocation coefficient. Among them, the first preset disturbance threshold is less than the second preset disturbance threshold, the first preset duration threshold is less than the second preset duration threshold, and the first ratio is less than the second ratio.
[0050] In one embodiment of this application, the allocation coefficient determination module 24 is further configured to perform the following operation in response to the frequency adjustment condition being a frequency recovery condition, wherein the frequency recovery condition refers to the condition in which the deviation value is negative and the frequency change rate is positive: When the frequency disturbance intensity is lower than the third preset disturbance threshold and the duration of frequency exceeding the limit is less than the third preset duration threshold, the initial active power allocation coefficient is increased according to the third ratio to obtain the active power allocation coefficient. When the frequency disturbance intensity is not lower than the third preset disturbance threshold and is lower than the fourth preset disturbance threshold, and the duration of frequency exceeding the limit is not lower than the third preset duration threshold and is lower than the fourth preset duration threshold, the initial active power allocation coefficient is reduced according to the fourth ratio to obtain the active power allocation coefficient. Among them, the third preset disturbance threshold is less than the fourth preset disturbance threshold, the third preset duration threshold is less than the fourth preset duration threshold, and the third ratio is less than the fourth ratio.
[0051] In one embodiment of this application, the total power determination module 22 is specifically used to calculate the total active power output based on the current frequency through a preset frequency-active power adjustment relationship; wherein the total active power output is negatively correlated with the current frequency.
[0052] In one embodiment of this application, the resource allocation module 25 is specifically used to calculate the product of the active power allocation coefficient and the active power output of the gas. If the product is within the preset adjustable power range, the product will be used as the adjusted active power output of the gas. If the product is greater than the upper limit of the preset adjustable power range, the upper limit will be set as the adjusted active power output of the gas. If the product is less than the lower limit of the preset adjustable power range, the lower limit will be set to the adjusted active power output of the gas.
[0053] In one embodiment of this application, the allocation coefficient determination module 24 is further configured to determine the deviation fraction based on the deviation value and the frequency change fraction based on the frequency change rate. The frequency disturbance intensity is determined based on the deviation fraction and the frequency change fraction.
[0054] See Figure 3 , Figure 3 This is a schematic block diagram of an electronic device provided according to an embodiment of this application. Figure 3 The electronic device 300 in this embodiment may include one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The processors 301, input devices 302, output devices 303, and memories 304 communicate with each other via a communication bus 305. The memories 304 store computer programs, including program instructions. The processors 301 execute the program instructions stored in the memories 304. Specifically, the processors 301 are configured to invoke the program instructions to perform the functions of each module / unit in the above-described device embodiments, for example... Figure 2 The functions of the power grid data acquisition module 21, total power determination module 22, gas power setting module 23, allocation coefficient determination module 24, and resource allocation module 25 are shown.
[0055] It should be understood that, in the embodiments of this application, the processor 301 may be a central processing unit (CPU), but it may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0056] Input device 302 may include a touchpad, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint orientation information), a microphone, etc., and output device 303 may include a display (LCD, etc.), a speaker, etc.
[0057] The memory 304 may include read-only memory and random access memory, and provides instructions and data to the processor 301. A portion of the memory 304 may also include non-volatile random access memory. For example, the memory 304 may also store device type information.
[0058] In specific implementations, the processor 301, input device 302, and output device 303 described in the embodiments of this application can execute the implementation method described in the resource allocation method for gas and oil hybrid energy power plants provided in the embodiments of this application, or they can execute the implementation method of the electronic devices described in the embodiments of this application, which will not be repeated here.
[0059] In another embodiment of this application, a computer-readable storage medium is provided. This computer-readable storage medium stores a computer program, which includes program instructions. When executed by a processor, the program instructions implement all or part of the processes in the methods described above. Alternatively, the computer program can instruct related hardware to complete the process. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0060] The computer-readable storage medium can be an internal storage unit of the electronic device in any of the foregoing embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device. Furthermore, the computer-readable storage medium can include both internal and external storage units of the electronic device. The computer-readable storage medium is used to store computer programs and other programs and data required by the electronic device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0061] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0062] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the electronic devices and units described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0063] In the several embodiments provided in this application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces or units, or it may be an electrical, mechanical, or other form of connection.
[0064] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of this application, depending on actual needs.
[0065] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0066] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A resource allocation method for a gas-fired and oil-fired hybrid energy power plant, characterized in that, A controller is applied to a resource allocation system for a hybrid energy power plant, the system further comprising a hybrid energy power plant containing gas-fired generator sets and oil-fired generator sets for power generation; the resource allocation method includes: Acquire the frequency data of the power grid, and extract the current frequency of the power grid and the frequency change characteristics corresponding to the current frequency from the frequency data; The total active power output of the hybrid energy power station is determined based on the current frequency. If the total active power output exceeds the base load active power output of the gas generator set, then the base load active power output is set as the gas active power output of the gas generator set; the base load active power output refers to the active power output that the gas generator set can continuously output with a fluctuation level less than a preset fluctuation threshold. The active power allocation coefficient is determined based on the frequency change characteristics corresponding to the current frequency; the active power allocation coefficient is used to adjust the active power output ratio between the gas generator set and the oil generator set. The active power output of the gas is adjusted based on the active power allocation coefficient to obtain the adjusted active power output of the gas. The active power output of the fuel oil is determined based on the adjusted active power output of the gas and the total active power output. The hybrid energy power plant is then configured with resources based on the adjusted active power output of the gas and the active power output of the fuel oil. The frequency change characteristics corresponding to the current frequency include: the frequency change rate of the current frequency, the duration of frequency exceeding the limit, and the deviation value relative to the rated frequency. The determination of the active power allocation coefficient based on the frequency change characteristics corresponding to the current frequency includes: Determine the initial active power allocation coefficient; A deviation fraction is determined based on the deviation value; a frequency change fraction is determined based on the frequency change rate; a frequency disturbance intensity is determined based on the deviation fraction and the frequency change fraction; and the current frequency adjustment condition of the power grid is determined based on the deviation value and the frequency change rate; the frequency adjustment condition is used to characterize the deviation state and adjustment trend of the current frequency relative to the rated frequency. The initial active power allocation coefficient is adjusted based on the frequency disturbance intensity, the frequency adjustment condition, and the duration of the frequency exceeding the limit, to obtain the active power allocation coefficient.
2. The resource allocation method for a gas-fired and oil-fired hybrid energy power plant as described in claim 1, characterized in that, The adjustment of the initial active power allocation coefficient based on the frequency disturbance intensity, the frequency adjustment condition, and the duration of the frequency exceeding the limit, to obtain the active power allocation coefficient, includes: In response to the frequency adjustment condition being a frequency drop condition, the following operation is performed, where the frequency drop condition refers to the condition in which the deviation value is negative and the frequency change rate is negative: When the frequency disturbance intensity is lower than the first preset disturbance threshold and the duration of the frequency exceeding the limit is less than the first preset duration threshold, the initial active power allocation coefficient is reduced by a first ratio to obtain the active power allocation coefficient. When the frequency disturbance intensity is not lower than the first preset disturbance threshold and is lower than the second preset disturbance threshold, and the duration of the frequency exceeding the limit is not lower than the first preset duration threshold and is lower than the second preset duration threshold, the initial active power allocation coefficient is reduced according to the second ratio to obtain the active power allocation coefficient. Wherein, the first preset disturbance threshold is less than the second preset disturbance threshold, the first preset duration threshold is less than the second preset duration threshold, and the first ratio is less than the second ratio.
3. The resource allocation method for a gas-fired and oil-fired hybrid energy power plant as described in claim 1, characterized in that, The adjustment of the initial active power allocation coefficient based on the frequency disturbance intensity, the frequency adjustment condition, and the duration of the frequency exceeding the limit, to obtain the active power allocation coefficient, includes: In response to the frequency adjustment condition being a frequency recovery condition, the following operation is performed, where the frequency recovery condition refers to the condition in which the deviation value is negative and the frequency change rate is positive: When the frequency disturbance intensity is lower than the third preset disturbance threshold and the duration of frequency exceeding the limit is less than the third preset duration threshold, the initial active power allocation coefficient is increased according to the third ratio to obtain the active power allocation coefficient. When the frequency disturbance intensity is not lower than the third preset disturbance threshold and is lower than the fourth preset disturbance threshold, and the duration of frequency exceeding the limit is not lower than the third preset duration threshold and is lower than the fourth preset duration threshold, the initial active power allocation coefficient is reduced according to the fourth ratio to obtain the active power allocation coefficient. Wherein, the third preset disturbance threshold is less than the fourth preset disturbance threshold, the third preset duration threshold is less than the fourth preset duration threshold, and the third ratio is less than the fourth ratio.
4. The resource allocation method for a gas-fired and oil-fired hybrid energy power plant as described in claim 1, characterized in that, Determining the total active power output of the hybrid energy power station based on the current frequency includes: The total active power output is calculated based on the current frequency using a preset frequency-active power adjustment relationship; wherein the total active power output is negatively correlated with the current frequency.
5. The resource allocation method for a gas-fired and oil-fired hybrid energy power plant as described in claim 1, characterized in that, The step of adjusting the active power output of the gas based on the active power allocation coefficient to obtain the adjusted active power output of the gas includes: Calculate the product of the active power distribution coefficient and the active power output of the gas; If the product is within a preset adjustable power range, the product is used as the adjusted active power output of the gas. If the product is greater than the upper limit of the preset adjustable power range, then the upper limit is set as the adjusted gas active power output. If the product is less than the lower limit of the preset adjustable power range, then the lower limit is set as the adjusted gas active power output.
6. A resource allocation device for a gas-fired and oil-fired hybrid energy power plant, characterized in that, A controller is applied to a resource allocation system for a hybrid energy power plant, the system further comprising a hybrid energy power plant containing gas-fired generator sets and oil-fired generator sets for power generation; the resource allocation device includes: The power grid data acquisition module is used to acquire the frequency data of the power grid and extract the current frequency of the power grid and the frequency change characteristics corresponding to the current frequency from the frequency data. The total power determination module is used to determine the total active power output of the hybrid energy power station based on the current frequency; The gas power setting module is used to set the base load active power to the gas active power of the gas generator set if the total active power output exceeds the base load active power output of the gas generator set; the base load active power output refers to the active power output that the gas generator set can continuously output with a fluctuation level less than a preset fluctuation threshold. The allocation coefficient determination module is used to determine the active power allocation coefficient based on the frequency change characteristics corresponding to the current frequency; the active power allocation coefficient is used to adjust the active power output ratio of the gas generator set and the oil generator set. The resource allocation module is used to adjust the active power output of the gas based on the active power allocation coefficient to obtain the adjusted active power output of the gas; determine the active power output of the fuel oil based on the adjusted active power output of the gas and the total active power output; and allocate resources for the hybrid energy power plant based on the adjusted active power output of the gas and the active power output of the fuel oil. The frequency change characteristics corresponding to the current frequency include: the frequency change rate of the current frequency, the duration of frequency exceeding the limit, and the deviation value relative to the rated frequency. The allocation coefficient determination module is specifically used to determine the initial active power allocation coefficients; A deviation fraction is determined based on the deviation value; a frequency change fraction is determined based on the frequency change rate; a frequency disturbance intensity is determined based on the deviation fraction and the frequency change fraction; and the current frequency adjustment condition of the power grid is determined based on the deviation value and the frequency change rate; the frequency adjustment condition is used to characterize the deviation state and adjustment trend of the current frequency relative to the rated frequency. The initial active power allocation coefficient is adjusted based on the frequency disturbance intensity, the frequency adjustment condition, and the duration of the frequency exceeding the limit, to obtain the active power allocation coefficient.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 5.