Automatic power generation control system and method for hydraulic power plant
Through modular design and the principles of high cohesion and low coupling, the problem of insufficient connection between the internal elements of the automatic power generation control logic configuration module of the hydropower plant is solved and the excessive connection between the modules is achieved, and the efficient maintenance of the automatic power generation control system of the hydropower plant is achieved. Improve development efficiency.
Patent Information
- Application Number
- CN202411265094.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-12-13
AI Technical Summary
The internal elements of the automatic power generation control logic configuration module of the hydropower plant are not closely connected enough, and too many connections between modules lead to high maintenance costs and low development efficiency.
A hydropower plant automatic power generation control system was designed, adopting a modular design, each module has a single responsibility, follows the principles of high cohesion and low coupling, and uses AGC investment judgment, active reference, active allocation calculation and allocation value distribution modules, etc. Submodule to realize the simplicity, efficiency, maintainability, scalability and reusability of logical configuration.
It reduces maintenance costs and time, improves development efficiency, realizes simplicity and efficiency of logical configuration, and has high maintenance, scalability and reusability.
Smart Images

Figure BDA0005036900800000151 
Figure BDA0005036900800000161 
Figure BDA0005036900800000171
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of automatic power generation control, and in particular relates to an automatic power generation control system and method for a hydropower plant. Background Art
[0002] Automatic Generation Control (AGC) refers to the technology of automatically controlling the active power of a hydropower plant to meet the needs of the system in a rapid and economical manner according to predetermined conditions and requirements. It is a way to achieve full power plant automation based on the automatic control of hydro-generator sets. Based on the upstream water volume of the reservoir and the requirements of the power system, the operating restrictions of the power plant and the units are considered. Under the premise of ensuring the safe operation of the power plant, the number of operating units of the power plant, the combination of operating units and the load distribution between units are determined based on the principle of economic operation. When completing these functions, it is necessary to avoid frequent starting and stopping of units due to short-term fluctuations in the load of the power system.
[0003] In the monitoring system of a hydropower plant, the configuration logic of AGC generally exists in the form of function blocks in the host computer program of the monitoring system. The program structure of the AGC configuration logic can be divided into the interface style layer, the business logic layer and the data acquisition layer. Among them, the interface style layer is responsible for realizing the interactive function of the human-computer interface, the data acquisition layer is responsible for realizing the data interaction with the database, and the business logic layer is the core of the AGC function realization. The key lies in realizing the simplicity and efficiency of the logic configuration as well as the maintainability, scalability and reusability through the reasonable design of the overall structure, function modules, data structure, algorithm and interface of the logic configuration. Summary of the invention
[0004] The purpose of the present invention is to overcome the problems that the elements in the logic configuration module of the automatic power generation control of the hydropower plant are not closely connected and there are too many connections between modules, resulting in high maintenance costs and low development efficiency. A hydropower plant automatic power generation control system and method are proposed.
[0005] In order to achieve the above object, the present invention adopts the following technical scheme:
[0006] An automatic power generation control system for a hydropower plant, including an AGC input judgment and active power setting module, used to judge whether the AGC of the whole hydropower plant is put into operation and determine the active power setting mode of the whole hydropower plant;
[0007] Active power distribution calculation module, used to calculate the active power distribution value of the whole AGC of the hydropower plant;
[0008] The AGC allocation value sending module is used to calculate the AGC allocation value of each unit put into AGC, and send the AGC allocation value to each unit when the AGC is in closed-loop regulation mode;
[0009] The AGC input judgment and active power setting module includes a plant-wide active power setting mode sub-module, which is used to determine whether the active power setting value of the whole plant adopts a fixed value mode or a curve mode according to external input. When the fixed value mode is adopted, the control right of the AGC is determined according to the external input. When the curve mode is adopted, the control right of the AGC belongs to the power plant; the control right of the AGC belongs to the power plant, dispatching or centralized control.
[0010] Furthermore, the single-machine AGC on / off condition judgment submodule is used to switch the single-machine AGC on / off state and off state according to the single-machine AGC on / off condition;
[0011] The plant-wide AGC on / off condition judgment submodule is used to switch the plant-wide AGC on / off state according to the plant-wide AGC on / off conditions;
[0012] The active power distribution calculation module includes an input fault tolerance check submodule, which is used to check whether the externally input plant-wide active power setting value is within the upper and lower limits and whether it avoids the plant-wide vibration zone;
[0013] The load control submodule is used to calculate the AGC active power distribution value of the whole plant through the load control submodule when the system bus frequency is within the normal frequency modulation frequency band;
[0014] The frequency control submodule is used to calculate the AGC active power distribution value of the whole plant when the system bus frequency exceeds the normal frequency modulation frequency band range;
[0015] The AGC distribution value sending module includes a basic load distribution submodule, which is used to distribute the AGC active distribution value of the whole plant among the units that have been put into AGC in the whole plant in proportion to the capacity;
[0016] The small load distribution submodule is used to select a unit for small load adjustment when the AGC adjustment value of the whole plant is within the small load distribution range;
[0017] The small load distribution unit priority submodule is used to determine the small load distribution unit priority according to the load increase and load reduction situations, and distribute the plant-wide AGC adjustment value to the unit with the highest priority.
[0018] A method for controlling automatic power generation in a hydropower plant, using the automatic power generation control system of the hydropower plant, comprises the following steps:
[0019] S1. Use the AGC input judgment and active power setting module to judge whether the AGC of the whole hydropower plant is put into use and determine the active power setting mode of the whole hydropower plant;
[0020] S2, using the active power distribution calculation module to calculate the active power distribution value of the whole AGC of the hydropower plant;
[0021] S3. Calculate the AGC allocation value of each unit put into AGC by using the AGC allocation value sending module, and send the AGC allocation value to each unit when the AGC is in the closed-loop regulation mode.
[0022] Further, S1 includes the following steps: sequentially executing the whole plant active power setting mode submodule, the single machine AGC on / off condition judgment submodule and the whole plant AGC on / off condition judgment submodule, judging whether the whole plant AGC is on, if the whole plant AGC is on, entering S2, if the whole plant AGC is not on, returning to continue to execute the above three submodules;
[0023] S2 includes the following steps: determining whether the system bus frequency is within the normal frequency modulation frequency band, if the system bus frequency is within the normal frequency modulation frequency band, executing the input fault tolerance check submodule and the load control submodule in sequence, if the system bus frequency is not within the normal frequency modulation frequency band, executing the frequency control submodule; after calculating the whole plant AGC active power distribution value through the load control submodule or the frequency control submodule, entering S3;
[0024] S3 includes the following steps: determining whether the absolute value of the plant-wide AGC adjustment value is within the small load distribution range, if the absolute value of the plant-wide AGC adjustment value is within the small load distribution range, executing the small load distribution submodule and calling the small load distribution unit priority submodule, if the absolute value of the plant-wide AGC adjustment value is not within the small load distribution range, executing the basic load distribution submodule;
[0025] After calculating the AGC allocation value of each unit put into AGC through the small load allocation submodule or the basic load allocation submodule, it is determined whether the AGC is in closed-loop regulation. If the AGC is in closed-loop regulation, the AGC allocation value of each unit is issued and S3 is ended. If the AGC is not in closed-loop regulation, S3 is ended directly.
[0026] Furthermore, the whole plant active power setting mode submodule performs the following steps: determining whether the whole plant active power setting value adopts the curve mode, if the curve mode is adopted, switching the AGC control right to the power plant, assigning the whole plant active power setting value to the value at the corresponding time point of the daily load curve, and ending the process of the whole plant active power setting mode submodule;
[0027] If the curve method is not adopted, it is determined whether the active power setting value of the whole plant adopts the fixed value method. If the fixed value method is not adopted, it returns to the beginning of the process of the submodule of the active power setting method of the whole plant;
[0028] If the fixed value mode is adopted, it is determined whether the AGC control right belongs to the power plant. If it belongs to the power plant, the active power setting value of the whole plant is assigned to the setting value of the power plant operator on the AGC screen, and the process of the submodule of the active power setting mode of the whole plant is ended;
[0029] If it does not belong to the power plant, determine whether the AGC control right belongs to the dispatcher. If it belongs to the dispatcher, the active power setting value of the whole plant is assigned to the value issued by the dispatcher through telecontrol communication, and the process of the submodule of the active power setting mode of the whole plant ends;
[0030] If it does not belong to dispatch, determine whether the AGC control right belongs to centralized control. If it belongs to centralized control, the active power setting value of the whole plant is assigned to the value issued by the centralized control through telecontrol communication, and the process of the submodule of the active power setting mode of the whole plant is ended;
[0031] If it does not belong to centralized control, it returns to determine whether the AGC control right belongs to the power plant.
[0032] Further, the stand-alone AGC investment and exit condition judgment submodule performs the following steps: judging whether the stand-alone AGC has been invested, if the stand-alone AGC has been invested, judging whether the stand-alone AGC automatic exit condition is met, if the stand-alone AGC automatic exit condition is met, the stand-alone AGC is automatically exited, and the process of the stand-alone AGC investment and exit condition judgment submodule ends;
[0033] If the stand-alone AGC automatic exit condition is not met, continue to determine whether there is a stand-alone AGC exit instruction. If there is a stand-alone AGC exit instruction, exit the stand-alone AGC and end the process of the stand-alone AGC investment and exit condition judgment submodule. If there is no stand-alone AGC exit instruction, directly end the process of the stand-alone AGC investment and exit condition judgment submodule.
[0034] If the stand-alone AGC is not put into operation, determine whether the stand-alone AGC input condition is met. If the stand-alone AGC input condition is not met, directly end the process of the stand-alone AGC input / output condition judgment submodule;
[0035] If the stand-alone AGC input conditions are met, it is determined whether there is a stand-alone AGC input instruction. If there is a stand-alone AGC input instruction, the stand-alone AGC is put into operation and then the process of the stand-alone AGC input and output condition judgment submodule is ended. If there is no stand-alone AGC input instruction, the process of the stand-alone AGC input and output condition judgment submodule is ended directly.
[0036] Furthermore, the conditions for the single-unit AGC input include that the unit has no accident shutdown or emergency shutdown signal, the speed governor is in automatic state or opening mode, the communication between the monitoring and the speed governor is normal, the unit is in grid-connected state, the unit active power measurement value is accurate, the current unit active power does not exceed the upper and lower limits under the current water head and is not in the vibration zone, and the system bus frequency does not exceed the upper and lower limits of the fault frequency;
[0037] The automatic exit conditions of a single-unit AGC include the unit receiving an accident shutdown or emergency shutdown signal, the speed governor is not in automatic state or opening mode, the communication between the monitoring and the speed governor is abnormal, the unit is not in the grid-connected state, the unit active power measurement is inaccurate, the current unit active power exceeds the upper and lower limits under the current water head or is not in the vibration zone, the system bus frequency exceeds the upper and lower limits of the fault frequency, or the AGC of the entire plant switches from input to exit.
[0038] Furthermore, the plant-wide AGC on / off condition judgment submodule performs the following steps: judging whether the plant-wide AGC has been put into operation, if the plant-wide AGC has been put into operation, judging whether there is a fault signal that triggers the plant-wide AGC to exit, if there is a fault signal that triggers the plant-wide AGC to exit, the plant-wide AGC is automatically exited, and the process of the plant-wide AGC on / off condition judgment submodule ends;
[0039] If there is no fault signal triggering the exit of the whole plant AGC, it is determined whether there is an exit command of the whole plant AGC. If there is an exit command of the whole plant AGC, the whole plant AGC is exited and the process of the whole plant AGC investment and exit condition judgment submodule is ended. If there is no exit command of the whole plant AGC, the process of the whole plant AGC investment and exit condition judgment submodule is directly ended.
[0040] If the whole plant AGC is not put into operation, it is determined whether at least one unit is put into operation for single-machine AGC. If no unit is put into operation for single-machine AGC, the process of the whole plant AGC operation and deactivation condition judgment submodule is directly terminated;
[0041] If at least one unit is put into single-unit AGC, it is determined whether there is a command for the whole plant AGC to be put into operation. If there is a command for the whole plant AGC to be put into operation, the whole plant AGC is put into operation, and the whole plant active power setting mode is switched to the power plant setting mode, and the process of the whole plant AGC on / off condition judgment submodule is ended;
[0042] If there is no AGC activation instruction for the entire plant, the process of the AGC activation and deactivation condition judgment submodule for the entire plant will be terminated directly.
[0043] Further, the frequency control submodule performs the following steps: determining whether the system bus frequency is within the emergency frequency modulation frequency band, and if the system bus frequency is within the emergency frequency modulation frequency band, using the normal frequency modulation coefficient to calculate the plant-wide AGC active power distribution value, and ending the frequency control submodule process;
[0044] If the system bus frequency is not within the emergency frequency modulation frequency range, determine whether the system bus frequency is within the upper and lower limits of the fault frequency. If the system bus frequency is within the upper and lower limits of the fault frequency, use the emergency frequency modulation coefficient to calculate the AGC active power distribution value of the whole plant, and end the frequency control submodule process;
[0045] If the system bus frequency is not within the upper and lower limits of the fault frequency, the frequency control submodule process ends after exiting the plant-wide AGC.
[0046] Further, the small load distribution unit priority submodule performs the following steps: sorting the current actual transmission values of the units that have been put into AGC, judging whether the AGC adjustment value of the whole plant is greater than the positive dead zone of the active power regulation of the whole plant, if the AGC adjustment value of the whole plant is greater than the positive dead zone of the active power regulation of the whole plant, judging whether there are multiple units with the same and minimum actual transmission values, if there are multiple units with the same and minimum actual transmission values, the unit with the smallest current actual transmission value and a small number has the highest priority, and the small load distribution unit priority submodule process ends;
[0047] If there are not multiple units with the same and smallest actual transmission values, the unit with the smallest current actual transmission value has the highest priority, and the small load distribution unit priority submodule process ends;
[0048] If the whole plant AGC adjustment value is not greater than the positive dead zone of the whole plant active power regulation, then determine whether the whole plant AGC adjustment value is less than the negative dead zone of the whole plant active power regulation. If the whole plant AGC adjustment value is not less than the negative dead zone of the whole plant active power regulation, then directly end the small load distribution unit priority submodule process;
[0049] If the AGC adjustment value of the whole plant is less than the negative dead zone of the whole plant active power regulation, it is determined whether there are multiple units with the same and maximum actual transmission values. If there are multiple units with the same and maximum actual transmission values, the unit with the largest current actual transmission value and the smallest number has the highest priority, and the small load distribution unit priority submodule process ends;
[0050] If there are not multiple units with the same and maximum actual transmission values, the unit with the largest current actual transmission value has the highest priority, and the small load distribution unit priority submodule process ends.
[0051] Compared with the prior art, the present invention has the following beneficial technical effects:
[0052] The present invention proposes an automatic power generation control system for a hydropower plant, focusing on the main process framework of the business logic layer of the automatic generation control (AGC) and the functions, external interfaces and internal algorithm design of its submodules, to achieve simplicity and efficiency of the logic configuration as well as maintainability, scalability and reusability. A modular design is adopted, each module has a single responsibility, and the modules follow the principles of high cohesion and low coupling. High cohesion means that the elements within the module are closely connected. When modifications occur within the module, it will not affect external callers or dependents, thereby reducing maintenance costs and time; low coupling reduces the connection between modules, which helps to improve development efficiency.
[0053] Furthermore, the present invention follows the principle of interface isolation and abstraction. The modules, functions or methods to be called are abstracted into interfaces to hide the implementation details, thereby realizing the separation of interfaces from internal details; on the other hand, the number and complexity of interfaces are effectively balanced, so that the number of interfaces is as small as possible and the interface complexity is low.
[0054] Furthermore, the present invention follows the principles of simplicity and efficiency in the design of the overall process structure, functional module definition, external interface and internal algorithm, avoids code redundancy and repetition, improves code reuse rate, and has high maintainability, scalability and reusability. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The drawings in the specification are used to provide further understanding of the present invention and constitute a part of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0056] Figure 1 It is a main flow chart of AGC logic configuration of a hydropower plant automatic power generation control method of the present invention;
[0057] Figure 2 It is a submodule flow chart of the whole plant active power setting mode of a hydropower plant automatic power generation control method of the present invention;
[0058] Figure 3 It is a flow chart of a single-machine AGC on / off condition judgment submodule of a hydropower plant automatic power generation control method of the present invention;
[0059] Figure 4 It is a flow chart of the whole plant AGC on / off condition judgment submodule of a hydropower plant automatic power generation control method of the present invention;
[0060] Figure 5 A frequency control submodule flow chart of a method for automatic power generation control in a hydropower plant according to the present invention;
[0061] Figure 6 This is a flow chart of a small load distribution unit priority submodule of an automatic power generation control method for a hydropower plant according to the present invention. DETAILED DESCRIPTION
[0062] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0063] Embodiment 1
[0064] See also Figure 1 , an automatic power generation control system for a hydropower plant, including an AGC input judgment and active power setting module, used to judge whether the AGC of the whole hydropower plant is put into use and determine the active power setting mode of the whole hydropower plant;
[0065] Active power distribution calculation module, used to calculate the active power distribution value of the whole AGC of the hydropower plant;
[0066] The AGC allocation value sending module is used to calculate the AGC allocation value of each unit put into AGC, and send the AGC allocation value to each unit when the AGC is in closed-loop regulation mode;
[0067] The AGC input judgment and active power setting module includes a plant-wide active power setting mode sub-module, which is used to determine whether the active power setting value of the whole plant adopts a fixed value mode or a curve mode according to external input. When the fixed value mode is adopted, the control right of the AGC is determined according to the external input. When the curve mode is adopted, the control right of the AGC belongs to the power plant; the control right of the AGC belongs to the power plant, dispatching or centralized control.
[0068] The single-machine AGC on / off condition judgment submodule is used to switch the single-machine AGC on / off state according to the single-machine AGC on / off condition;
[0069] The plant-wide AGC on / off condition judgment submodule is used to switch the plant-wide AGC on / off state according to the plant-wide AGC on / off conditions;
[0070] The active power distribution calculation module includes an input fault tolerance check submodule, which is used to check whether the externally input plant-wide active power setting value is within the upper and lower limits and whether it avoids the plant-wide vibration zone;
[0071] The load control submodule is used to calculate the AGC active power distribution value of the whole plant through the load control submodule when the system bus frequency is within the normal frequency modulation frequency band;
[0072] The frequency control submodule is used to calculate the AGC active power distribution value of the whole plant when the system bus frequency exceeds the normal frequency modulation frequency band range;
[0073] The AGC distribution value sending module includes a basic load distribution submodule, which is used to distribute the AGC active distribution value of the whole plant among the units that have been put into AGC in the whole plant in proportion to the capacity;
[0074] The small load distribution submodule is used to select a unit for small load adjustment when the AGC adjustment value of the whole plant is within the small load distribution range;
[0075] The small load distribution unit priority submodule is used to determine the small load distribution unit priority according to the load increase and load reduction situations, and distribute the plant-wide AGC adjustment value to the unit with the highest priority.
[0076] Embodiment 2
[0077] A method for automatic power generation control in a hydropower plant, see Figure 1, using a hydropower plant automatic power generation control system described in Example 1, including the following steps:
[0078] S1. Use the AGC input judgment and active power setting module to judge whether the AGC of the whole hydropower plant is put into use and determine the active power setting mode of the whole hydropower plant;
[0079] S2, using the active power distribution calculation module to calculate the active power distribution value of the whole AGC of the hydropower plant;
[0080] S3. Calculate the AGC allocation value of each unit put into AGC by using the AGC allocation value sending module, and send the AGC allocation value to each unit when the AGC is in the closed-loop regulation mode.
[0081] S1 includes the following steps: executing the whole plant active power setting mode submodule, the single machine AGC on / off condition judgment submodule and the whole plant AGC on / off condition judgment submodule in sequence, judging whether the whole plant AGC is on, if the whole plant AGC is on, entering S2, if the whole plant AGC is not on, returning to continue to execute the above three submodules;
[0082] S2 includes the following steps: determining whether the system bus frequency is within the normal frequency modulation frequency band, if the system bus frequency is within the normal frequency modulation frequency band, executing the input fault tolerance check submodule and the load control submodule in sequence, if the system bus frequency is not within the normal frequency modulation frequency band, executing the frequency control submodule; after calculating the whole plant AGC active power distribution value through the load control submodule or the frequency control submodule, entering S3;
[0083] S3 includes the following steps: determining whether the absolute value of the plant-wide AGC adjustment value is within the small load distribution range, if the absolute value of the plant-wide AGC adjustment value is within the small load distribution range, executing the small load distribution submodule and calling the small load distribution unit priority submodule, if the absolute value of the plant-wide AGC adjustment value is not within the small load distribution range, executing the basic load distribution submodule;
[0084] After calculating the AGC allocation value of each unit put into AGC through the small load allocation submodule or the basic load allocation submodule, it is determined whether the AGC is in closed-loop regulation. If the AGC is in closed-loop regulation, the AGC allocation value of each unit is issued and S3 is ended. If the AGC is not in closed-loop regulation, S3 is ended directly.
[0085] See also Figure 2 The whole plant active power setting mode submodule performs the following steps: determine whether the whole plant active power setting value adopts the curve mode, if the curve mode is adopted, the AGC control right is switched to the power plant, the whole plant active power setting value is assigned to the value at the corresponding time point of the daily load curve, and the whole plant active power setting mode submodule process is ended;
[0086] If the curve method is not adopted, it is determined whether the active power setting value of the whole plant adopts the fixed value method. If the fixed value method is not adopted, it returns to the beginning of the process of the submodule of the active power setting method of the whole plant;
[0087] If the fixed value mode is adopted, it is determined whether the AGC control right belongs to the power plant. If it belongs to the power plant, the active power setting value of the whole plant is assigned to the setting value of the power plant operator on the AGC screen, and the process of the submodule of the active power setting mode of the whole plant is ended;
[0088] If it does not belong to the power plant, determine whether the AGC control right belongs to the dispatcher. If it belongs to the dispatcher, the active power setting value of the whole plant is assigned to the value issued by the dispatcher through telecontrol communication, and the process of the submodule of the active power setting mode of the whole plant ends;
[0089] If it does not belong to dispatch, determine whether the AGC control right belongs to centralized control. If it belongs to centralized control, the active power setting value of the whole plant is assigned to the value issued by the centralized control through telecontrol communication, and the process of the submodule of the active power setting mode of the whole plant is ended;
[0090] If it does not belong to centralized control, it returns to determine whether the AGC control right belongs to the power plant.
[0091] See also Figure 3 The stand-alone AGC investment and exit condition judgment submodule performs the following steps: judging whether the stand-alone AGC has been invested, if the stand-alone AGC has been invested, judging whether the stand-alone AGC automatic exit condition is met, if the stand-alone AGC automatic exit condition is met, the stand-alone AGC is automatically exited, and the process of the stand-alone AGC investment and exit condition judgment submodule ends;
[0092] If the stand-alone AGC automatic exit condition is not met, continue to determine whether there is a stand-alone AGC exit instruction. If there is a stand-alone AGC exit instruction, exit the stand-alone AGC and end the process of the stand-alone AGC investment and exit condition judgment submodule. If there is no stand-alone AGC exit instruction, directly end the process of the stand-alone AGC investment and exit condition judgment submodule.
[0093] If the stand-alone AGC is not put into operation, determine whether the stand-alone AGC input condition is met. If the stand-alone AGC input condition is not met, directly end the process of the stand-alone AGC input / output condition judgment submodule;
[0094] If the stand-alone AGC input conditions are met, it is determined whether there is a stand-alone AGC input instruction. If there is a stand-alone AGC input instruction, the stand-alone AGC is put into operation and then the process of the stand-alone AGC input and output condition judgment submodule is ended. If there is no stand-alone AGC input instruction, the process of the stand-alone AGC input and output condition judgment submodule is ended directly.
[0095] The conditions for the AGC operation of a single unit include that the unit has no accident shutdown or emergency shutdown signal, the speed governor is in automatic state or opening mode, the communication between the monitoring and speed governor is normal, the unit is in grid-connected state, the unit active power measurement value is accurate, the current unit active power does not exceed the upper and lower limits under the current water head and is not in the vibration zone, and the system bus frequency does not exceed the upper and lower limits of the fault frequency;
[0096] The automatic exit conditions of a single-unit AGC include the unit receiving an accident shutdown or emergency shutdown signal, the speed governor is not in automatic state or opening mode, the communication between the monitoring and the speed governor is abnormal, the unit is not in the grid-connected state, the unit active power measurement is inaccurate, the current unit active power exceeds the upper and lower limits under the current water head or is not in the vibration zone, the system bus frequency exceeds the upper and lower limits of the fault frequency, or the AGC of the entire plant switches from input to exit.
[0097] See also Figure 4 The plant-wide AGC investment and exit condition judgment submodule performs the following steps: judging whether the plant-wide AGC has been invested, if the plant-wide AGC has been invested, judging whether there is a fault signal that triggers the exit of the plant-wide AGC, if there is a fault signal that triggers the exit of the plant-wide AGC, the plant-wide AGC is automatically exited, and the process of the plant-wide AGC investment and exit condition judgment submodule ends;
[0098] If there is no fault signal triggering the exit of the whole plant AGC, it is determined whether there is an exit command of the whole plant AGC. If there is an exit command of the whole plant AGC, the whole plant AGC is exited and the process of the whole plant AGC investment and exit condition judgment submodule is ended. If there is no exit command of the whole plant AGC, the process of the whole plant AGC investment and exit condition judgment submodule is directly ended.
[0099] If the whole plant AGC is not put into operation, it is determined whether at least one unit is put into operation for single-machine AGC. If no unit is put into operation for single-machine AGC, the process of the whole plant AGC operation and deactivation condition judgment submodule is directly terminated;
[0100] If at least one unit is put into single-unit AGC, it is determined whether there is a command for the whole plant AGC to be put into operation. If there is a command for the whole plant AGC to be put into operation, the whole plant AGC is put into operation, and the whole plant active power setting mode is switched to the power plant setting mode, and the process of the whole plant AGC on / off condition judgment submodule is ended;
[0101] If there is no AGC activation instruction for the entire plant, the process of the AGC activation and deactivation condition judgment submodule for the entire plant will be terminated directly.
[0102] See also Figure 5 , the frequency control submodule performs the following steps: determine whether the system bus frequency is within the emergency frequency modulation frequency band, if the system bus frequency is within the emergency frequency modulation frequency band, use the normal frequency modulation coefficient to calculate the AGC active power distribution value of the whole plant, and end the frequency control submodule process;
[0103] If the system bus frequency is not within the emergency frequency modulation frequency range, determine whether the system bus frequency is within the upper and lower limits of the fault frequency. If the system bus frequency is within the upper and lower limits of the fault frequency, use the emergency frequency modulation coefficient to calculate the AGC active power distribution value of the whole plant, and end the frequency control submodule process;
[0104] If the system bus frequency is not within the upper and lower limits of the fault frequency, the frequency control submodule process ends after exiting the plant-wide AGC.
[0105] See also Figure 6 , the small load distribution unit priority submodule performs the following steps: sort the current actual transmission values of the units that have been put into AGC, and determine whether the AGC adjustment value of the whole plant is greater than the positive dead zone of the active power regulation of the whole plant. If the AGC adjustment value of the whole plant is greater than the positive dead zone of the active power regulation of the whole plant, then determine whether there are multiple units with the same and minimum actual transmission values. If there are multiple units with the same and minimum actual transmission values, the unit with the smallest current actual transmission value and a small number has the highest priority, and the small load distribution unit priority submodule process ends;
[0106] If there are not multiple units with the same and smallest actual transmission values, the unit with the smallest current actual transmission value has the highest priority, and the small load distribution unit priority submodule process ends;
[0107] If the whole plant AGC adjustment value is not greater than the positive dead zone of the whole plant active power regulation, then determine whether the whole plant AGC adjustment value is less than the negative dead zone of the whole plant active power regulation. If the whole plant AGC adjustment value is not less than the negative dead zone of the whole plant active power regulation, then directly end the small load distribution unit priority submodule process;
[0108] If the AGC adjustment value of the whole plant is less than the negative dead zone of the whole plant active power regulation, it is determined whether there are multiple units with the same and maximum actual transmission values. If there are multiple units with the same and maximum actual transmission values, the unit with the largest current actual transmission value and the smallest number has the highest priority, and the small load distribution unit priority submodule process ends;
[0109] If there are not multiple units with the same and maximum actual transmission values, the unit with the largest current actual transmission value has the highest priority, and the small load distribution unit priority submodule process ends.
[0110] Embodiment 3
[0111] A method for automatic power generation control of a hydropower plant, the specific logic configuration scheme is as follows:
[0112] The first stage function is to determine whether the whole plant AGC is put into use and determine the whole plant active setting mode. The submodules included in the first stage are the whole plant active setting mode submodule, the single machine AGC on / off condition judgment submodule and the whole plant AGC on / off condition judgment submodule. The functions, external interfaces and internal algorithm designs of these three submodules are shown in Table 1:
[0113] Table 1: Submodules for judging whether the whole plant AGC is in operation and determining the active power setting mode of the whole plant
[0114]
[0115]
[0116]
[0117] When the whole plant AGC is put into operation, the whole plant active power setting mode needs to be switched to the power plant setting mode. In addition, when the whole plant AGC is put into operation, the switching conditions of the whole plant active power setting mode are as shown in Table 2:
[0118] Table 2 Switching conditions of the whole plant active power setting mode
[0119]
[0120] The second stage function is to calculate the AGC active power distribution value P of the whole plant AGCSET The submodules included in the second stage are input fault tolerance check submodule, load control submodule and frequency control submodule. The functions, external interfaces and internal algorithm designs of these three submodules are shown in Table 3:
[0121] Table 3 Calculation of the AGC active power distribution value P for the whole plant AGCSET Submodules
[0122]
[0123]
[0124]
[0125] The function of the third stage is to calculate the AGC allocation value of each unit put into AGC, and when AGC is in closed-loop regulation mode, the AGC allocation value is sent to each unit. The submodules included in the third stage are basic load allocation submodule, small load allocation submodule and small load allocation unit priority submodule. The functions, external interfaces and internal algorithm designs of these three submodules are shown in Table 4:
[0126] Table 4: Submodules for calculating the AGC allocation value for each unit put into AGC
[0127]
[0128]
[0129]
[0130] Embodiment 5
[0131] A method for automatic power generation control in a hydropower plant, the specific logic configuration of which is as follows: Figure 1 , Figure 2 , Figure 3 , Figure 4 , Figure 5 and Figure 6 , Figure 1 This is the main flow chart of the automatic generation control (AGC) logic configuration of the hydropower plant of the present invention. The main flow framework of the AGC logic configuration of the hydropower plant at the business logic layer can be divided into three stages. Figure 2 This is the flow chart of the submodule of the whole plant active power setting mode of the present invention. According to the external input, it is determined whether the whole plant active power setting value adopts the fixed value mode or the curve mode; when the fixed value mode is adopted, the control right of the AGC belongs to the power plant according to the external input, and when the curve mode is adopted, the control right of the AGC belongs to the power plant. Figure 3 This is a flow chart of the stand-alone AGC on / off condition judgment submodule of the present invention. The stand-alone AGC on / off state is switched according to the stand-alone AGC on / off condition. Figure 4 This is a flow chart of the plant-wide AGC on / off condition judgment submodule of the present invention. The plant-wide AGC on / off state is switched according to the plant-wide AGC on / off condition. Figure 5 This is a flow chart of the frequency control submodule of the present invention. When the system bus frequency exceeds the normal frequency modulation frequency range, the frequency control submodule is used for calculation. Figure 6 This is a flow chart of the priority submodule of the small load distribution unit of the present invention. According to the two situations of load increase and load decrease, the priority of the small load distribution unit is determined respectively, and the AGC adjustment value of the whole plant is allocated to the unit with the highest priority.
[0132] 1. The main process framework of the hydropower plant AGC logic configuration at the business logic layer can be divided into three stages.
[0133] 1) The function of the first stage is to determine whether the whole plant AGC is put into operation and determine the active power setting mode of the whole plant. The submodules included in the first stage are the submodule of the active power setting mode of the whole plant, the submodule of the single-machine AGC on / off condition judgment and the submodule of the whole plant AGC on / off condition judgment. After the first stage of the main process starts, the submodule of the active power setting mode of the whole plant, the submodule of the single-machine AGC on / off condition judgment and the submodule of the whole plant AGC on / off condition judgment are executed in sequence, and then it is determined whether the whole plant AGC is put into operation. If it is put into operation, it enters the second stage of the main process. If it is not put into operation, it returns to continue to execute the above three submodules.
[0134] 2) The second stage function is to calculate the AGC active power distribution value P of the whole plant AGCSETThe second stage includes the input fault tolerance check submodule, load control submodule and frequency control submodule. After the second stage of the main process starts, first determine whether the system bus frequency is within the normal frequency modulation frequency band. If so, execute the input fault tolerance check submodule and load control submodule in turn, otherwise execute the frequency control submodule. The whole plant AGC active power distribution value P is calculated through the load control submodule or the frequency control submodule. AGCSET Then, enter the third stage of the main process.
[0135] 3) The function of the third stage is to calculate the AGC allocation value of each unit put into AGC, and when AGC is in closed-loop regulation mode, the AGC allocation value is sent to each unit. The submodules included in the third stage are basic load allocation submodule, small load allocation submodule and small load allocation unit priority submodule. After the third stage of the main process starts, the absolute value of the AGC adjustment value of the whole plant is first determined.
[0136] |P AGCSET -P AGC |Whether it is within the small load distribution range, if so, execute the small load distribution submodule and call the small load distribution unit priority submodule, otherwise execute the basic load distribution submodule. After calculating the AGC distribution value of each unit put into AGC through the small load distribution submodule or the basic load distribution submodule, determine whether AGC is in closed-loop regulation. If so, send the AGC distribution value of each unit and end the main process, otherwise directly end the main process.
[0137] 2. Take the functional design of some sub-modules as an example to illustrate.
[0138] 1) Functional design of the submodule for the active power setting mode of the whole plant. Determine whether the active power setting value of the whole plant adopts the fixed value mode or the curve mode according to the external input; when the fixed value mode is adopted, the control right of the AGC is determined according to the external input, and when the curve mode is adopted, the control right of the AGC belongs to the power plant.
[0139] 2) Functional design of the single-machine AGC on / off condition judgment submodule. The single-machine AGC on / off status is switched according to the single-machine AGC on / off conditions.
[0140] 3) Functional design of the submodule for judging the conditions for AGC startup and shutdown of the whole plant. The startup and shutdown states of the whole plant AGC are switched according to the conditions for AGC startup and shutdown of the whole plant.
[0141] 4) Functional design of frequency control submodule: When the system bus frequency exceeds the normal frequency modulation frequency range, the frequency control submodule calculates the AGC active power distribution value of the whole plant.
[0142] 5) Functional design of the priority submodule for small load distribution units. According to the load increase and load decrease, the priority of small load distribution units is determined respectively, and the AGC adjustment value of the whole plant is allocated to the unit with the highest priority.
[0143] 3. Take the external interface design of some sub-modules as an example to illustrate.
[0144] 1) Design of external interface of submodule for active power setting mode of the whole plant. The selection of fixed value / curve setting mode is given externally; the ownership of AGC control right (power plant, dispatching, centralized control) is given externally.
[0145] 2) External interface design of the single-machine AGC on / off condition judgment submodule. The single-machine AGC on / off command is given externally;
[0146] The switch quantity for judging the input condition of single-machine AGC is given externally.
[0147] 3) External interface design of the plant-wide AGC on / off condition judgment submodule. The plant-wide AGC on / off command is given externally;
[0148] The switching quantity of the single-machine AGC is given externally; the fault signal is given externally.
[0149] 4) Design of external interface of frequency control submodule. The sum of active power values of the units that have been put into AGC P AGC , Normal frequency modulation coefficient K fN , Emergency frequency modulation coefficient K fE , the deviation Δf between the system frequency and the standard frequency is given externally.
[0150] 5) External interface design of the priority submodule of small load distribution unit. The current actual value of the unit that has been put into AGC, the AGC adjustment value of the whole plant, and the active power regulation dead zone of the whole plant are given externally.
[0151] 4. Take the internal algorithm design of some sub-modules as an example to illustrate.
[0152] 1) Internal algorithm design of the submodule for the active power setting mode of the whole plant.
[0153] After the process starts, it is first determined whether the active setting value of the whole plant adopts the curve method. If so, the AGC control right is switched to the power plant, and the active setting value of the whole plant is assigned to the value at the corresponding time point of the daily load curve, and the process ends. Otherwise, it continues to determine whether the active setting value of the whole plant adopts the fixed value method. If it is, it returns to the beginning of the process. If it is, it continues to determine whether the AGC control right belongs to the power plant. If it is, the active setting value of the whole plant is assigned to the setting value of the power plant operator on the AGC screen, and the process ends. Otherwise, it continues to determine whether the AGC control right belongs to the dispatching. If it is, the active setting value of the whole plant is assigned to the value sent by the dispatching through telecontrol communication, and the process ends. Otherwise, it continues to determine whether the AGC control right belongs to the centralized control. If it is, the active setting value of the whole plant is assigned to the value sent by the centralized control through telecontrol communication, and the process ends. Otherwise, it returns to continue to determine whether the AGC control right belongs to the power plant.
[0154] 2) Internal algorithm design of single-machine AGC activation and deactivation condition judgment submodule.
[0155] After the process starts, first determine whether the stand-alone AGC has been put into operation. If so, continue to determine whether the stand-alone AGC automatic exit conditions are met. If so, the stand-alone AGC is automatically exited and the process ends. Otherwise, continue to determine whether there is a stand-alone AGC exit instruction. If so, exit the stand-alone AGC and enter the process end. Otherwise, directly enter the process end. If the result of the first judgment link of the process is that the stand-alone AGC is not put into operation, continue to determine whether the stand-alone AGC input conditions are met. If so, directly enter the process end. If so, continue to determine whether there is a stand-alone AGC input instruction. If so, put the stand-alone AGC into operation and enter the process end. Otherwise, directly enter the process end.
[0156] 3) Internal algorithm design of the AGC activation and deactivation condition judgment submodule for the entire plant.
[0157] After the process starts, first determine whether the plant-wide AGC has been put into operation. If so, continue to determine whether there is a fault signal that triggers the exit of the plant-wide AGC. If so, the plant-wide AGC will automatically exit and the process will end. Otherwise, continue to determine whether there is an exit instruction for the plant-wide AGC. If so, exit the plant-wide AGC and enter the process end. Otherwise, directly enter the process end. If the result of the first judgment link of the process is that the plant-wide AGC has not been put into operation, continue to determine whether at least one unit has been put into operation with a single-unit AGC. If so, directly enter the process end. If so, continue to determine whether there is an AGC input instruction for the plant-wide AGC. If so, the plant-wide AGC will be put into operation, and the plant-wide active power setting mode will be switched to the power plant fixed value mode, and the process will end. Otherwise, directly enter the process end.
[0158] 4) Internal algorithm design of frequency control submodule.
[0159] After the process starts, it is first determined whether the system bus frequency is within the emergency frequency modulation frequency band. If so, the normal frequency modulation coefficient is used to calculate the AGC active power distribution value of the entire plant, and the process ends. Otherwise, it continues to determine whether the system bus frequency is within the upper and lower limits of the fault frequency. If so, the emergency frequency modulation coefficient is used to calculate the AGC active power distribution value of the entire plant, and the process ends. Otherwise, the process ends after exiting the AGC of the entire plant.
[0160] 5) Internal algorithm design of small load distribution unit priority submodule.
[0161] After the process starts, the current actual output values of the units that have been put into AGC are first sorted, and then it is determined whether the AGC adjustment value of the whole plant is greater than the positive dead zone of the active power regulation of the whole plant. If so, it continues to determine whether there are multiple units with the same and minimum actual output values. If so, the unit with the smallest current actual output value and a smaller number has the highest priority, and the process ends. Otherwise, the unit with the smallest current actual output value has the highest priority, and the process ends. If the result of the first judgment link of the process is that the AGC adjustment value of the whole plant is not greater than the positive dead zone of the active power regulation of the whole plant, it continues to determine whether the AGC adjustment value of the whole plant is less than the negative dead zone of the active power regulation of the whole plant. If so, it directly ends the process. If so, it continues to determine whether there are multiple units with the same and maximum actual output values. If so, the unit with the largest current actual output value and a smaller number has the highest priority, and the process ends. Otherwise, the unit with the largest current actual output value has the highest priority, and the process ends.
[0162] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit its protection scope. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that after reading the present invention, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the invention, but these changes, modifications or equivalent substitutions are all within the protection scope of the pending claims of the invention.
Claims
1. An automatic power generation control system for a hydropower plant, It is characterized in that It includes AGC input judgment and active power setting module, which is used to judge whether the AGC of the whole hydropower plant is put into use and determine the active power setting mode of the whole hydropower plant; Active power distribution calculation module, used to calculate the active power distribution value of the whole AGC of the hydropower plant; The AGC allocation value sending module is used to calculate the AGC allocation value of each unit put into AGC, and send the AGC allocation value to each unit when the AGC is in closed-loop regulation mode; The AGC input judgment and active power setting module includes a plant-wide active power setting mode sub-module, which is used to determine whether the active power setting value of the whole plant adopts a fixed value mode or a curve mode according to external input. When the fixed value mode is adopted, the control right of the AGC is determined according to the external input. When the curve mode is adopted, the control right of the AGC belongs to the power plant; the control right of the AGC belongs to the power plant, dispatching or centralized control.
2. A hydropower plant automatic power generation control system according to claim 1, It is characterized in that The single-machine AGC on / off condition judgment submodule is used to switch the single-machine AGC on / off state according to the single-machine AGC on / off condition; The plant-wide AGC on / off condition judgment submodule is used to switch the plant-wide AGC on / off state according to the plant-wide AGC on / off conditions; The active power distribution calculation module includes an input fault tolerance check submodule, which is used to check whether the externally input plant-wide active power setting value is within the upper and lower limits and whether it avoids the plant-wide vibration zone; The load control submodule is used to calculate the AGC active power distribution value of the whole plant through the load control submodule when the system bus frequency is within the normal frequency modulation frequency band; The frequency control submodule is used to calculate the AGC active power distribution value of the whole plant when the system bus frequency exceeds the normal frequency modulation frequency band range; The AGC distribution value sending module includes a basic load distribution submodule, which is used to distribute the AGC active distribution value of the whole plant among the units that have been put into AGC in the whole plant in proportion to the capacity; The small load distribution submodule is used to select a unit for small load adjustment when the AGC adjustment value of the whole plant is within the small load distribution range; The small load distribution unit priority submodule is used to determine the small load distribution unit priority according to the load increase and load reduction situations, and distribute the plant-wide AGC adjustment value to the unit with the highest priority.
3. A method for controlling automatic power generation in a hydropower plant, using the automatic power generation control system of a hydropower plant according to claim 1 or 2, It is characterized in that The following steps are involved: S1. Use the AGC input judgment and active power setting module to judge whether the AGC of the whole hydropower plant is put into use and determine the active power setting mode of the whole hydropower plant; S2, using the active power distribution calculation module to calculate the active power distribution value of the whole AGC of the hydropower plant; S3. Calculate the AGC allocation value of each unit put into AGC by using the AGC allocation value sending module, and send the AGC allocation value to each unit when the AGC is in the closed-loop regulation mode.
4. A method for controlling automatic power generation in a hydropower plant according to claim 3, It is characterized in that S1 includes the following steps: executing the whole plant active power setting mode submodule, the single machine AGC on / off condition judgment submodule and the whole plant AGC on / off condition judgment submodule in sequence, judging whether the whole plant AGC is on, if the whole plant AGC is on, entering S2, if the whole plant AGC is not on, returning to continue to execute the above three submodules; S2 includes the following steps: determining whether the system bus frequency is within the normal frequency modulation frequency band, if the system bus frequency is within the normal frequency modulation frequency band, executing the input fault tolerance check submodule and the load control submodule in sequence, if the system bus frequency is not within the normal frequency modulation frequency band, executing the frequency control submodule; after calculating the whole plant AGC active power distribution value through the load control submodule or the frequency control submodule, entering S3; S3 includes the following steps: determining whether the absolute value of the plant-wide AGC adjustment value is within the small load distribution range, if the absolute value of the plant-wide AGC adjustment value is within the small load distribution range, executing the small load distribution submodule and calling the small load distribution unit priority submodule, if the absolute value of the plant-wide AGC adjustment value is not within the small load distribution range, executing the basic load distribution submodule; After calculating the AGC allocation value of each unit put into AGC through the small load allocation submodule or the basic load allocation submodule, it is determined whether the AGC is in closed-loop regulation. If the AGC is in closed-loop regulation, the AGC allocation value of each unit is issued and S3 is ended. If the AGC is not in closed-loop regulation, S3 is ended directly.
5. A method for automatic power generation control of a hydropower plant according to claim 3, It is characterized in that The whole plant active power setting mode submodule performs the following steps: determine whether the whole plant active power setting value adopts the curve mode, if the curve mode is adopted, the AGC control right is switched to the power plant, the whole plant active power setting value is assigned to the value at the corresponding time point of the daily load curve, and the whole plant active power setting mode submodule process is ended; If the curve method is not adopted, it is determined whether the active power setting value of the whole plant adopts the fixed value method. If the fixed value method is not adopted, it returns to the beginning of the process of the submodule of the active power setting method of the whole plant; If the fixed value mode is adopted, it is determined whether the AGC control right belongs to the power plant. If it belongs to the power plant, the active power setting value of the whole plant is assigned to the setting value of the power plant operator on the AGC screen, and the process of the submodule of the active power setting mode of the whole plant is ended; If it does not belong to the power plant, determine whether the AGC control right belongs to the dispatcher. If it belongs to the dispatcher, the active power setting value of the whole plant is assigned to the value issued by the dispatcher through telecontrol communication, and the process of the submodule of the active power setting mode of the whole plant ends; If it does not belong to dispatch, determine whether the AGC control right belongs to centralized control. If it belongs to centralized control, the active power setting value of the whole plant is assigned to the value issued by the centralized control through telecontrol communication, and the process of the submodule of the active power setting mode of the whole plant is ended; If it does not belong to centralized control, it returns to determine whether the AGC control right belongs to the power plant.
6. A method for automatic power generation control of a hydropower plant according to claim 3, It is characterized in that The stand-alone AGC investment and exit condition judgment submodule performs the following steps: judging whether the stand-alone AGC has been invested, if the stand-alone AGC has been invested, judging whether the stand-alone AGC automatic exit condition is met, if the stand-alone AGC automatic exit condition is met, the stand-alone AGC is automatically exited, and the process of the stand-alone AGC investment and exit condition judgment submodule ends; If the stand-alone AGC automatic exit condition is not met, continue to determine whether there is a stand-alone AGC exit instruction. If there is a stand-alone AGC exit instruction, exit the stand-alone AGC and end the process of the stand-alone AGC investment and exit condition judgment submodule. If there is no stand-alone AGC exit instruction, directly end the process of the stand-alone AGC investment and exit condition judgment submodule. If the stand-alone AGC is not put into operation, determine whether the stand-alone AGC input condition is met. If the stand-alone AGC input condition is not met, directly end the process of the stand-alone AGC input / output condition judgment submodule; If the stand-alone AGC input conditions are met, it is determined whether there is a stand-alone AGC input instruction. If there is a stand-alone AGC input instruction, the stand-alone AGC is put into operation and then the process of the stand-alone AGC input and output condition judgment submodule is ended. If there is no stand-alone AGC input instruction, the process of the stand-alone AGC input and output condition judgment submodule is ended directly.
7. A method for controlling automatic power generation in a hydropower plant according to claim 6, It is characterized in that The conditions for the AGC operation of a single unit include that the unit has no accident shutdown or emergency shutdown signal, the speed governor is in automatic state or opening mode, the communication between the monitoring and speed governor is normal, the unit is in grid-connected state, the unit active power measurement value is accurate, the current unit active power does not exceed the upper and lower limits under the current water head and is not in the vibration zone, and the system bus frequency does not exceed the upper and lower limits of the fault frequency; The automatic exit conditions of a single-unit AGC include the unit receiving an accident shutdown or emergency shutdown signal, the speed governor is not in automatic state or opening mode, the communication between the monitoring and the speed governor is abnormal, the unit is not in the grid-connected state, the unit active power measurement is inaccurate, the current unit active power exceeds the upper and lower limits under the current water head or is not in the vibration zone, the system bus frequency exceeds the upper and lower limits of the fault frequency, or the AGC of the entire plant switches from input to exit.
8. A method for controlling automatic power generation in a hydropower plant according to claim 2, It is characterized in that The plant-wide AGC on / off condition judgment submodule performs the following steps: judging whether the plant-wide AGC has been put into operation; if the plant-wide AGC has been put into operation, judging whether there is a fault signal that triggers the plant-wide AGC to exit; if there is a fault signal that triggers the plant-wide AGC to exit, the plant-wide AGC is automatically exited, and the process of the plant-wide AGC on / off condition judgment submodule ends; If there is no fault signal triggering the exit of the whole plant AGC, it is determined whether there is an exit command of the whole plant AGC. If there is an exit command of the whole plant AGC, the whole plant AGC is exited and the process of the whole plant AGC investment and exit condition judgment submodule is ended. If there is no exit command of the whole plant AGC, the process of the whole plant AGC investment and exit condition judgment submodule is directly ended. If the whole plant AGC is not put into operation, it is determined whether at least one unit is put into operation for single-machine AGC. If no unit is put into operation for single-machine AGC, the process of the whole plant AGC operation and deactivation condition judgment submodule is directly terminated; If at least one unit is put into single-unit AGC, it is determined whether there is a command for the whole plant AGC to be put into operation. If there is a command for the whole plant AGC to be put into operation, the whole plant AGC is put into operation, and the whole plant active power setting mode is switched to the power plant setting mode, and the process of the whole plant AGC on / off condition judgment submodule is ended; If there is no AGC activation instruction for the entire plant, the process of the AGC activation and deactivation condition judgment submodule for the entire plant will be terminated directly.
9. A method for controlling automatic power generation in a hydropower plant according to claim 2, It is characterized in that The frequency control submodule performs the following steps: determining whether the system bus frequency is within the emergency frequency modulation frequency band; if the system bus frequency is within the emergency frequency modulation frequency band, the normal frequency modulation coefficient is used to calculate the AGC active power distribution value of the whole plant, and the frequency control submodule process ends; If the system bus frequency is not within the emergency frequency modulation frequency range, determine whether the system bus frequency is within the upper and lower limits of the fault frequency. If the system bus frequency is within the upper and lower limits of the fault frequency, use the emergency frequency modulation coefficient to calculate the AGC active power distribution value of the whole plant, and end the frequency control submodule process; If the system bus frequency is not within the upper and lower limits of the fault frequency, the frequency control submodule process ends after exiting the plant-wide AGC.
10. A method for controlling automatic power generation in a hydropower plant according to claim 2, It is characterized in that The small load distribution unit priority submodule performs the following steps: sort the current actual transmission values of the units that have been put into AGC, and determine whether the AGC adjustment value of the whole plant is greater than the positive dead zone of the active power regulation of the whole plant. If the AGC adjustment value of the whole plant is greater than the positive dead zone of the active power regulation of the whole plant, then determine whether there are multiple units with the same and minimum actual transmission values. If there are multiple units with the same and minimum actual transmission values, the unit with the smallest current actual transmission value and a small number has the highest priority, and the small load distribution unit priority submodule process ends; If there are not multiple units with the same and smallest actual transmission values, the unit with the smallest current actual transmission value has the highest priority, and the small load distribution unit priority submodule process ends; If the whole plant AGC adjustment value is not greater than the positive dead zone of the whole plant active power regulation, then determine whether the whole plant AGC adjustment value is less than the negative dead zone of the whole plant active power regulation. If the whole plant AGC adjustment value is not less than the negative dead zone of the whole plant active power regulation, then directly end the small load distribution unit priority submodule process; If the AGC adjustment value of the whole plant is less than the negative dead zone of the whole plant active power regulation, it is determined whether there are multiple units with the same and maximum actual transmission values. If there are multiple units with the same and maximum actual transmission values, the unit with the largest current actual transmission value and the smallest number has the highest priority, and the small load distribution unit priority submodule process ends; If there are not multiple units with the same and maximum actual transmission values, the unit with the largest current actual transmission value has the highest priority, and the small load distribution unit priority submodule process ends.
