Real-time power generation control method and related device for renewable energy power system

By applying the Mongoose optimization algorithm in the renewable energy power system, combined with the dynamic response model and real-time data adjustment, the problem of power allocation of AGC units in the existing technology has been solved, the safe, stable and economical operation of the system has been achieved, and the control accuracy has been improved. and speed.

CN117977725BActive Publication Date: 2024-08-30STATE GRID HUBEI ELECTRIC POWER RES INST +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410361262.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2024-08-30
Estimated Expiration
2044-03-28

AI Technical Summary

Technical Problem

Existing technology makes it difficult to achieve optimal power allocation of automatic generation control (AGC) units in renewable energy power systems, making it difficult to ensure system safety, stability and economy. Intelligent optimization algorithms such as genetic algorithms and particle swarm optimization are used in complex There are problems in system optimization such as slow convergence speed, low accuracy and poor stability.

Method used

The Mongoose optimization algorithm is used to optimize the dynamic response model. By setting the objective function and constraint conditions, and adjusting the adjustable power constraints based on real-time power and frequency data, the real-time power generation optimal control of the renewable energy power system is achieved. The Lapra of the frequency model is used. Search using inverse transform and Levy expression to balance global and local search.

Benefits of technology

It achieves stable, accurate and fast power generation control of renewable energy power systems, minimizes operating costs, improves the safety and stability of the system, and is more scientific and safer than traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117977725B
    Figure CN117977725B
Patent Text Reader

Abstract

The present invention discloses a real-time power generation control method for a renewable energy power system and related devices, the method comprising: building a dynamic response model of renewable energy and energy storage system; setting the objective function and constraint conditions of the dynamic response model; collecting real-time power and frequency data of the renewable energy power system in the current control period to determine the total power shortage; adjusting the adjustable power constraints of each unit in the constraint conditions according to the collected real-time power and frequency data; solving the optimal active output allocation strategy between the adjustable units in the dynamic response model; controlling each unit and energy storage system to execute the optimal active output allocation strategy. Compared with traditional mathematical optimization algorithms and conventional heuristic algorithms, the present invention can obtain the best decision-making plan at a faster speed, higher accuracy and stronger stability, providing strong support for the safe and stable operation of renewable energy power systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of operation and control technology of renewable energy power system, and in particular to a real-time power generation control method and related devices of a renewable energy power system, which is suitable for real-time optimal power generation control of a power grid composed of renewable energy. Background Art

[0002] The potential threat posed by ongoing climate change has driven social discussions on the possibility of low-carbon or even negative-carbon sustainable energy systems. As the main force in energy conservation and consumption reduction, the power system has a long way to go in the process of achieving sustainable development, and the transformation of the power energy structure is imperative. With the increasing maturity of renewable energy power generation technologies represented by wind power and photovoltaics, their proportion of power supply in the power system is increasing, and the power system is gradually transforming to a renewable energy system.

[0003] Renewable energy power system can be defined as a power system whose power supply comes entirely from renewable energy (such as hydropower, wind power, photovoltaic power generation, etc.) and energy storage system (ESS). However, the inherent randomness and volatility of wind power and photovoltaic power generation have brought great challenges to the safe, stable and economical operation of renewable energy power system. Therefore, how to optimize and regulate each power module in the renewable energy power system, realize the optimal power allocation of automatic generation control (AGC) units, and ensure the safe and economical operation of the system is crucial to the green transformation of the power system.

[0004] In essence, the above problem is a multi-constrained nonlinear optimization problem. In actual engineering, this is not optimized, and power allocation is often carried out according to the adjustable capacity ratio, climbing speed sorting, etc., which makes it difficult to achieve the purpose of optimal control. Although traditional mathematical optimization methods (such as Lagrange multiplier method and interior point method) have fast solution speed, they have poor global search capabilities and are prone to fall into local optimal solutions. In comparison, intelligent optimization algorithms represented by genetic algorithm (GA), particle swarm optimization (PSO), and simulated annealing algorithm (SA) have higher flexibility and practicality. However, due to the inability to balance global exploration and local search well, the above algorithms often have problems such as slow convergence speed, low accuracy and poor stability in complex system optimization. Therefore, it is urgent to develop intelligent optimization algorithms with better optimization performance for optimal control of RESPS real-time power generation. Summary of the invention

[0005] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and to provide a real-time optimal power generation control method and related devices for a renewable energy sources power system (RESPS). The method obtains an optimal balancing strategy under the optimization of a mongoose optimization algorithm, thereby realizing the real-time optimal power generation control of the automatic generation control (AGC) unit of the RESPS, and has stable, accurate and fast control performance, which can ensure the safe and stable operation of the power system while minimizing its operating cost.

[0006] The purpose of the present invention is achieved through the following technical solution: A real-time power generation control method for a renewable energy power system comprises the following steps:

[0007] Build dynamic response models of renewable energy and energy storage systems;

[0008] Setting the objective function and constraint conditions of the dynamic response model;

[0009] Collect real-time power and frequency data of renewable energy power systems in the current control period to determine the total power deficit;

[0010] Adjusting the adjustable power constraints of each unit in the constraint conditions according to the collected real-time power and frequency data;

[0011] Based on the set objective function and the adjusted constraints, the optimal active output allocation strategy between the adjustable units in the dynamic response model is solved by the mongoose optimization algorithm;

[0012] Control each unit and the energy storage system to execute the optimal active power distribution strategy.

[0013] Furthermore, the dynamic response model of the renewable energy and energy storage system is represented by the Laplace inverse transform of the frequency model, as follows:

[0014]

[0015] In the formula, m and They represent the mth type of automatic generation control unit and its corresponding adjustment delay, m=1, 2, 3, 4 represent hydropower units, wind turbines, photovoltaic power stations and energy storage systems respectively; t and Represents time and control period respectively; and They represent the expected output power and actual output power of the mth AGC unit respectively; k and K are the kth control cycle and the maximum control cycle respectively; The transfer function of the mth AGC unit is expressed as:

[0016]

[0017] Where, T * Represents the known parameters of the transfer function (*∈{1, 2, 3, 4, R, E}).

[0018] Furthermore, the objective function f of the dynamic response model is set as follows:

[0019]

[0020] Where M is the total number of AGC units, and the optimization goal of the objective function f is to minimize the total power deviation of the system, which is represented by the sum of the absolute values ​​of the deviations between the expected power and the actual output power of the AGC units;

[0021] The constraints take into account power balance, unit capacity and ramp constraints, as follows:

[0022]

[0023] In the formula, They represent the upper and lower limits of the adjustable power and the maximum ramp rate of the mth AGC unit respectively; It is the total expected output of the AGC unit in the kth control cycle, that is, the total power shortage of the system.

[0024] Furthermore, the real-time power and frequency data of the renewable energy power system in the current control period are collected to determine the total power shortage, specifically including: collecting the real-time frequency deviation of the system in the current control period , get the power deviation of the power grid , calculate the current total power shortage based on the power deviation .

[0025] Furthermore, the adjustable power constraints of each unit in the constraint conditions are adjusted according to the collected real-time power and frequency data, specifically including: the adjustable constraints are adjusted according to the collected current unit power data, the upper limit of the adjustable power is obtained by subtracting the current output from the upper limit of the unit's output, and the lower limit of the adjustable power is obtained by subtracting the lower limit from the current power.

[0026] Furthermore, the steps of solving the optimal active power distribution strategy between adjustable units in the dynamic response model by using the mongoose optimization algorithm are as follows:

[0027] Step 1: Initialize the algorithm parameters and the spatial position of the mongoose, set the number of iterations it=1, where the individual decision is represented by the solution vector:

[0028] In the formula, represents the initial decision of the h-th meerkat; Respectively represent the power allocation instructions of hydropower units, wind turbines, photovoltaic power stations and energy storage systems; is a normally distributed random number in the range of 0 to 1; Respectively represent the adjustable upper and lower limits of the mth decision variable;

[0029] Step 2: Calculate individual fitness and select the best individual. Calculate the current fitness value of the mongoose using formula (4): , and the mongoose with the smallest fitness value is determined as the best mongoose, and its decision is ;

[0030] Step 3: Safe search, the meerkat chooses a behavior based on the presence or absence of predators and alarms, and a random number r1 between 0 and 1 is less than the safety margin S a Under the safety condition of , the mongoose individuals hunt or search for food with the same probability, which can be expressed as:

[0031]

[0032] Where sp is the update step size that decreases as the number of iterations increases, ensuring the convergence of the algorithm, and is defined as follows:

[0033]

[0034] In the formula, It represents the maximum number of iterations; r2 is a constant between 0 and 1;

[0035] In addition, if the random number r3>C in the range of 0~1 rate , then randomly select other individuals for collaborative search and hunting, expressed as

[0036]

[0037] In the formula, represents the spatial position of a randomly selected collaborative individual from all individuals; rand represents a random number between 0 and 1; C rate is the search mode control factor;

[0038] Step 4: Dangerous area search, if the safety condition is not met, that is, r1 ≥ S a When the mongoose is in danger, it fights with its predator or chooses to escape.

[0039]

[0040] In the formula, They represent duel strategy and escape strategy respectively;

[0041] Step 5: Random search, in order to find as much food as possible, the mongoose group in each iteration, if rand <P gs , perform the following random search

[0042]

[0043] Where Le is the Levy expression, as follows:

[0044]

[0045] represents the direction vector that follows the normal distribution, P gs is the random search probability.

[0046] Step 6: Update the fitness value of the mongoose group and select the best mongoose through formula (4);

[0047] Step 7: Determine whether to continue iterating. If it ≥ It, output the decision and fitness value of the current best mongoose; otherwise, return to step 3 to continue optimizing.

[0048] A real-time power generation control device for a renewable energy power system, comprising:

[0049] Dynamic response model building module, used to build dynamic response models of renewable energy and energy storage systems;

[0050] A model setting module, used to set the objective function and constraint conditions of the dynamic response model;

[0051] A data acquisition module, used to collect real-time power and frequency data of the renewable energy power system in the current control cycle;

[0052] A constraint condition adjustment module, used to adjust the adjustable power constraint of each unit in the constraint condition according to the collected real-time power and frequency data;

[0053] A model solving module, used for solving the optimal active output distribution strategy among the adjustable units in the dynamic response model through the mongoose optimization algorithm based on the set objective function and the adjusted constraint conditions;

[0054] The strategy execution module is used to control each unit and the energy storage system to execute the optimal active power distribution strategy.

[0055] Furthermore, when the dynamic response model building module builds the dynamic response model of the renewable energy and energy storage system, the Laplace inverse transform of the frequency model is specifically used to represent it, as follows:

[0056]

[0057] In the formula, m and They represent the mth type of automatic generation control unit and its corresponding adjustment delay, m=1, 2, 3, 4 represent hydropower units, wind turbines, photovoltaic power stations and energy storage systems respectively; t and Represents time and control period respectively; and They represent the expected output power and actual output power of the mth AGC unit respectively; k and K are the kth control cycle and the maximum control cycle respectively; The transfer function of the mth AGC unit is expressed as:

[0058]

[0059] Where, T * Represents the known parameters of the transfer function (*∈{1, 2, 3, 4, R, E}).

[0060] Furthermore, the objective function f of the dynamic response model is set as follows:

[0061]

[0062] Where M is the total number of AGC units, and the optimization goal of the objective function f is to minimize the total power deviation of the system, which is represented by the sum of the absolute values ​​of the deviations between the expected power and the actual output power of the AGC units;

[0063] The constraints take into account power balance, unit capacity and ramp constraints, as follows:

[0064]

[0065] In the formula, They represent the upper and lower limits of the adjustable power and the maximum ramp rate of the mth AGC unit respectively; It is the total expected output of the AGC unit in the kth control cycle, that is, the total power shortage of the system.

[0066] Furthermore, the steps of the strategy execution module solving the optimal active output allocation strategy among the adjustable units in the dynamic response model through the mongoose optimization algorithm are as follows:

[0067] Step 1: Initialize the algorithm parameters and the spatial position of the mongoose, set the number of iterations it=1, where the individual decision is represented by the solution vector:

[0068] In the formula, represents the initial decision of the h-th meerkat; Respectively represent the power allocation instructions of hydropower units, wind turbines, photovoltaic power stations and energy storage systems; is a normally distributed random number in the range of 0 to 1; Respectively represent the adjustable upper and lower limits of the mth decision variable;

[0069] Step 2: Calculate individual fitness and select the best individual. Calculate the current fitness value of the mongoose using formula (4): , and the mongoose with the smallest fitness value is determined as the best mongoose, and its decision is ;

[0070] Step 3: Safe search, the meerkat chooses a behavior based on the presence or absence of predators and alarms, and a random number r1 between 0 and 1 is less than the safety margin S a Under the safety condition of , the mongoose individuals hunt or search for food with the same probability, which can be expressed as:

[0071]

[0072] Where sp is the update step size that decreases as the number of iterations increases, ensuring the convergence of the algorithm, and is defined as follows:

[0073]

[0074] In the formula, It represents the maximum number of iterations; r2 is a constant between 0 and 1;

[0075] In addition, if the random number r3>C in the range of 0~1 rate , then randomly select other individuals for collaborative search and hunting, expressed as

[0076]

[0077] In the formula, represents the spatial position of a randomly selected collaborative individual from all individuals; rand represents a random number between 0 and 1; C rate is the search mode control factor;

[0078] Step 4: Dangerous area search, if the safety condition is not met, that is, r1 ≥ S a When the mongoose is in danger, it fights with its predator or chooses to escape.

[0079]

[0080] In the formula, They represent duel strategy and escape strategy respectively;

[0081] Step 5: Random search, in order to find as much food as possible, the mongoose group in each iteration, if rand <P gs , perform the following random search

[0082]

[0083] Where Le is the Levy expression, as follows:

[0084]

[0085] represents the direction vector that follows the normal distribution, P gs is the random search probability.

[0086] Step 6: Update the fitness value of the mongoose group and select the best mongoose through formula (4);

[0087] Step 7: Determine whether to continue iterating. If it ≥ It, output the decision and fitness value of the current best mongoose; otherwise, return to step 3 to continue optimizing.

[0088] A real-time power generation control system for a renewable energy power system, comprising: a computer-readable storage medium and a processor;

[0089] The computer-readable storage medium is used to store executable instructions;

[0090] The processor is used to read the executable instructions stored in the computer-readable storage medium to execute the real-time power generation control method of the renewable energy power system.

[0091] A non-transitory computer-readable storage medium stores a computer program, which, when executed by a processor, implements the real-time power generation control method for a renewable energy power system.

[0092] Compared with the prior art, the present invention has the following advantages and effects:

[0093] (1) The present invention constructs a renewable energy power generation system that combines hydropower stations, wind power plants, photovoltaic power stations and energy storage systems. Compared with traditional power generation systems, it is cleaner and more long-lasting. Under a series of policy trends proposed around the "dual carbon goals", it has good feasibility and broad application prospects.

[0094] (2) The power generation control method of the present invention determines the total power shortage of the system according to the real-time frequency deviation value of the power grid and the real-time active power adjustable range of each unit, and takes minimizing the power deviation as the goal. The optimal power allocation decision is obtained through the mongoose optimization algorithm, thereby minimizing the frequency deviation of the system, providing strong support for the safe and stable operation of the renewable energy power system. Compared with the method of allocating power generation according to the adjustable capacity ratio in traditional engineering, this method is more scientific and safer.

[0095] (3) The mongoose optimization algorithm adopted in the present invention coordinates the optimization through safe search, dangerous search and random search, and strikes a good balance between global search and local search. Compared with traditional mathematical optimization algorithms and conventional heuristic algorithms, it can obtain the best decision-making plan with faster speed, higher accuracy and stronger stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0096] Figure 1 This is a flow chart of a method for real-time power generation control of a renewable energy power system according to an embodiment of the present invention;

[0097] Figure 2 This is a diagram of an optimal intelligent control model for real-time power generation in a renewable energy power system according to an embodiment of the present invention.

[0098] Figure 3 It is a schematic diagram comparing the total power response and frequency deviation obtained by using the Mongoose Optimization Algorithm (GMO) and Genetic Algorithm (GA) optimization under 60 MW load disturbance. DETAILED DESCRIPTION

[0099] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0100] In this embodiment, the active power control model of the renewable energy power system is taken as the research object, and the model includes four types of AGC units: hydropower station, wind power plant, photovoltaic power station and energy storage system. Figure 1 In this embodiment, the optimal control scheme for real-time power generation of the model includes the following steps:

[0101] (1) A dynamic response model of renewable energy and energy storage system is constructed. In this embodiment, the Laplace inverse transform of the frequency model is used to represent the dynamic response model, as follows:

[0102]

[0103] In the formula, m and They represent the mth type of automatic generation control unit and its corresponding adjustment delay, m=1, 2, 3, 4 represent hydropower units, wind turbines, photovoltaic power stations and energy storage systems respectively; t and Represents time and control period respectively; and They represent the expected output power and actual output power of the mth AGC unit respectively; k and K are the kth control cycle and the maximum control cycle respectively; The transfer function of the mth AGC unit is expressed as:

[0104]

[0105] Where, T * Represents the known parameters of the transfer function (*∈{1, 2, 3, 4, R, E}).

[0106] (2) Setting the objective function and constraints. In this embodiment, the objective function f is set to

[0107]

[0108] Wherein, M=4 is the total number of AGC units. It is not difficult to see that the optimization goal of the present invention is to minimize the total power deviation of the system, which is represented by the sum of the absolute values ​​of the deviations between the expected power and the actual output power of the AGC units.

[0109] In order to ensure the scientificity and practicality of the optimization decision, power balance, unit capacity and ramp rate are considered as the constraints of this embodiment, as follows:

[0110]

[0111] In the formula, They represent the upper and lower limits of the adjustable power and the maximum ramp rate of the mth AGC unit respectively; It is the total expected output of the AGC unit in the kth control cycle, that is, the total power shortage of the system.

[0112] (3) Collect the real-time power and frequency data of the renewable energy power system in a control cycle to determine the power shortage. The total power shortage is determined by collecting the real-time output power and frequency deviation of the current control cycle and the real-time output power of each unit, and then combining it with the controller. .

[0113] (4) Adjust the adjustable power constraints of each unit based on the data collected in step (3) .

[0114] (5) The optimal active power allocation strategy is solved by the Mongoose optimization algorithm. The detailed steps are as follows:

[0115] Step 1: Initialize the algorithm parameters and the spatial position of the mongoose (i.e., individual decision), and set the number of iterations it=1, where the individual decision is represented by the solution vector

[0116]

[0117] In the formula, represents the initial decision of the h-th meerkat; Respectively represent the power allocation instructions of hydropower units, wind turbines, photovoltaic power stations and energy storage systems; is a normally distributed random number in the range of 0 to 1; They respectively represent the adjustable upper and lower limits of the mth decision variable (i.e. the mth unit).

[0118] Step 2: Calculate individual fitness and select the best individual. Use formula (4) to calculate the current fitness value of the meerkat (also known as the objective function value): , and the mongoose with the smallest fitness value is determined as the best mongoose, and its decision is .

[0119] Step 3: Safe search, the meerkat chooses a behavior based on the presence or absence of predators and alarms, and a random number r1 between 0 and 1 is less than the safety margin S a (default is 0.3) under the safety condition that the mongoose individuals hunt or search for food with the same probability, expressed as

[0120]

[0121] Where sp is the update step size that decreases as the number of iterations increases, ensuring the convergence of the algorithm, and is defined as follows:

[0122]

[0123] In the formula, It represents the maximum number of iterations; r2 is a constant between 0 and 1, which can be set according to requirements and is 0.5 by default.

[0124] In addition, if the random number r3>C in the range of 0~1 rate (default is 0.5), then other individuals are randomly selected for collaborative search and hunting, expressed as

[0125]

[0126] In the formula, It represents the spatial position of a collaborating individual randomly selected from all individuals; rand represents a random number between 0 and 1.

[0127] Step 4: Dangerous area search, if the safety condition is not met, that is, r1 ≥ S a When the mongoose is in danger, it fights with its predator or chooses to escape.

[0128]

[0129] In the formula, They represent duel strategy and escape strategy respectively.

[0130] Step 5: Random search, in order to find as much food as possible, the mongoose group in each iteration, if rand <P gs (The default value in this example is 0.5), and the following random search is performed

[0131]

[0132] Where Le is the Levy expression, as follows:

[0133]

[0134] Represents the direction vector that follows the normal distribution.

[0135] Step 6: Update the fitness value of the mongoose population and select the best mongoose using formula (4).

[0136] Step 7: Determine whether to continue iteration. If it≥It (in this embodiment, the maximum number of iterations It=100), output the decision and fitness value of the current best meerkat; otherwise, return to step 3 to continue optimizing.

[0137] like Figure 2 As shown, in step (3) of this embodiment, in each control cycle, the power grid dispatching center collects the real-time frequency deviation of the renewable energy power system through the energy management system and the real-time output power of each unit , and then the power deviation of the power grid can be obtained , the current total power shortage can be calculated Adjustable constraints based on the current unit power data collected Adjustment: Subtract the current output from the upper limit of the unit output to get the upper limit of adjustable power, and subtract the lower limit from the current power to get the lower limit of adjustable power. Finally, the power deviation minimization shown in formula (4) is taken as the decision goal, and the expected active output adjustment value of each unit is The mongoose optimization algorithm is used to perform intelligent optimization under the constraints shown in formula (5) to obtain the optimal power allocation decision, realize the real-time optimal regulation of the renewable energy power system, and ensure its safe, reliable and stable operation. The constraints described in formula (5) essentially provide a search space for decision variables. The position of the mongoose in the decision space is the vector of decision variables. The mongoose optimization algorithm performs optimization in the limited search space according to the decision target. Finally, the decision variable vector corresponding to the minimum value of the decision target is the optimal output adjustment combination of the unit (that is, the best position in the decision space).

[0138] Figure 3The total power response ( Figure 3 (a)) and frequency deviation comparison ( Figure 3 Compared with GA, the total power response curve and frequency deviation curve obtained by GMO have smaller overshoot and faster response speed.

[0139] Another embodiment of the present invention provides a real-time power generation control device for a renewable energy power system, comprising:

[0140] Dynamic response model building module, used to build dynamic response models of renewable energy and energy storage systems;

[0141] A model setting module, used to set the objective function and constraint conditions of the dynamic response model;

[0142] A data acquisition module, used to collect real-time power and frequency data of the renewable energy power system in the current control cycle;

[0143] A constraint condition adjustment module, used to adjust the adjustable power constraint of each unit in the constraint condition according to the collected real-time power and frequency data;

[0144] A model solving module, used for solving the optimal active output distribution strategy among the adjustable units in the dynamic response model through the mongoose optimization algorithm based on the set objective function and the adjusted constraint conditions;

[0145] The strategy execution module is used to control each unit and the energy storage system to execute the optimal active power distribution strategy.

[0146] Another embodiment of the present invention provides a real-time power generation control system for a renewable energy power system, comprising: a computer-readable storage medium and a processor;

[0147] The computer-readable storage medium is used to store executable instructions;

[0148] The processor is used to read the executable instructions stored in the computer-readable storage medium to execute the real-time power generation control method of the renewable energy power system.

[0149] Another embodiment of the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the real-time power generation control method for a renewable energy power system as described in the first aspect.

[0150] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0151] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0152] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0153] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0154] 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 it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A real-time power generation control method for a renewable energy power system, characterized in that: The following steps are involved: Build dynamic response models of renewable energy and energy storage systems; Setting the objective function and constraint conditions of the dynamic response model; Collect real-time power and frequency data of renewable energy power systems in the current control period to determine the total power deficit; Adjusting the adjustable power constraints of each unit in the constraint conditions according to the collected real-time power and frequency data; Based on the set objective function and the adjusted constraints, the optimal active output allocation strategy between the adjustable units in the dynamic response model is solved by the mongoose optimization algorithm; Controlling each unit and the energy storage system to execute the optimal active output distribution strategy; The steps of solving the optimal active output allocation strategy between adjustable units in the dynamic response model by using the mongoose optimization algorithm are as follows: Step 1: Initialize the algorithm parameters and the spatial position of the mongoose, set the number of iterations it = 1, where the individual decision is represented by the solution vector: In the formula, represents the initial decision of the hth mongoose; ΔP1, ΔP2, ΔP3, and ΔP4 represent the power allocation instructions of the hydropower unit, wind turbine unit, photovoltaic power station, and energy storage system, respectively; r1 is a normally distributed random number in the range of 0 to 1; and Respectively represent the adjustable upper and lower limits of the mth decision variable; Step 2: Calculate individual fitness and select the best individual. Calculate the current fitness value of the mongoose using formula (4): The mongoose with the smallest fitness value is determined as the best mongoose, and its decision is Step 3: Safe search, the meerkat chooses a behavior based on the presence or absence of predators and alarms, and a random number r1 between 0 and 1 is less than the safety margin S a Under the safety condition of , the mongoose individuals hunt or search for food with the same probability, which can be expressed as: Where sp is the update step size that decreases as the number of iterations increases, ensuring the convergence of the algorithm, and is defined as follows: In the formula, It represents the maximum number of iterations; r2 is a constant between 0 and 1; In addition, if the random number r3>C in the range of 0 to 1 rate , then randomly select other individuals for collaborative search and hunting, expressed as In the formula, represents the spatial position of a randomly selected cooperating individual from all individuals; rand represents a random number between 0 and 1; C rate is the search mode control factor; Step 4: Dangerous area search, if the safety condition is not met, that is, r1 ≥ S a When the mongoose is in danger, it fights with its predator or chooses to escape. In the formula, and They represent duel strategy and escape strategy respectively; Step 5: Random search, in order to find as much food as possible, the mongoose group in each iteration, if rand <P gs , perform the following random search Where Le is the Levy expression, as follows: μ and υ represent direction vectors that follow normal distribution, and Pgs is the random search probability; Step 6: Update the fitness value of the mongoose group and select the best mongoose through formula (4); Step 7: Determine whether to continue iterating. If it ≥ It, output the decision and fitness value of the current best mongoose; otherwise, return to step 3 to continue optimizing.

2. A real-time power generation control method for a renewable energy power system according to claim 1, characterized in that: The dynamic response model of the renewable energy and energy storage system is expressed by the Laplace inverse transform of the frequency model, as follows: In the formula, m and They represent the mth type of automatic generation control unit and its corresponding adjustment delay, m=1, 2, 3, 4 represent hydropower units, wind turbine units, photovoltaic power stations and energy storage systems respectively; t and ΔT represent time and control cycle respectively; and represents the expected output power and actual output power of the mth AGC unit respectively; k and K are the kth control cycle and the maximum control cycle respectively; G m (s) represents the transfer function of the mth AGC unit, expressed as: Where, T * Represents the known parameters of the transfer function, *∈{1,2,3,4,R,E}.

3. A real-time power generation control method for a renewable energy power system according to claim 2, characterized in that: The objective function f of the dynamic response model is set as follows: Where M is the total number of AGC units, and the optimization goal of the objective function f is to minimize the total power deviation of the system, which is represented by the sum of the absolute values ​​of the deviations between the expected power and the actual output power of the AGC units; The constraints take into account power balance, unit capacity and ramp constraints, as follows: In the formula, and Respectively represent the upper and lower limits of the adjustable power and the maximum ramp rate of the mth AGC unit; ΔP exp (k) is the total expected output of the AGC unit in the kth control cycle, that is, the total power shortage of the system.

4. A method for real-time power generation control of a renewable energy power system according to claim 3, characterized in that: The method of collecting real-time power and frequency data of the renewable energy power system in the current control period to determine the total power shortage specifically includes: collecting the real-time frequency deviations Δf1(k) and Δf2(k) of the system in the current control period, obtaining the power deviation Δf(k)=Δf1(k)-Δf2(k) of the power grid, and calculating the current total power shortage ΔP(k)=Δf(k)·(2πT 12 / s).

5. A method for real-time power generation control of a renewable energy power system according to claim 3, characterized in that: The step of adjusting the adjustable power constraints of each unit in the constraint conditions according to the collected real-time power and frequency data specifically includes: the adjustable constraints are adjusted according to the collected current unit power data, the upper limit of the adjustable power is obtained by subtracting the current output from the upper limit of the unit's output, and the lower limit of the adjustable power is obtained by subtracting the lower limit from the current power.

6. A real-time power generation control device for a renewable energy power system, characterized in that: include: Dynamic response model building module, used to build dynamic response models of renewable energy and energy storage systems; A model setting module, used to set the objective function and constraint conditions of the dynamic response model; A data acquisition module, used to collect real-time power and frequency data of the renewable energy power system in the current control cycle; A constraint condition adjustment module, used to adjust the adjustable power constraint of each unit in the constraint condition according to the collected real-time power and frequency data; A model solving module, used for solving the optimal active output distribution strategy among the adjustable units in the dynamic response model through the mongoose optimization algorithm based on the set objective function and the adjusted constraint conditions; A strategy execution module, used to control each unit and energy storage system to execute the optimal active power distribution strategy; The steps for the policy execution module to solve the optimal active power output distribution strategy among adjustable units in the dynamic response model through the mongoose optimization algorithm are as follows: Step 1: Initialize the algorithm parameters and the spatial positions of the mongooses, and set the number of iterations it = 1. Among them, the individual decision is represented by the solution vector as follows: In the formula, represents the initial decision of the hth mongoose; ΔP1, ΔP2, ΔP3, and ΔP4 represent the power allocation instructions of the hydropower unit, wind turbine unit, photovoltaic power station, and energy storage system, respectively; r1 is a normally distributed random number in the range of 0 to 1; and Respectively represent the adjustable upper and lower limits of the mth decision variable; Step 2: Calculate individual fitness and select the best individual. Calculate the current fitness value of the mongoose using formula (4): The mongoose with the smallest fitness value is determined as the best mongoose, and its decision is Step 3: Safe search, the meerkat chooses a behavior based on the presence or absence of predators and alarms, and a random number r1 between 0 and 1 is less than the safety margin S a Under the safety condition of , the mongoose individuals hunt or search for food with the same probability, which can be expressed as: In the formula, sp is the update step size that becomes smaller as the number of iterations increases, ensuring the convergence of the algorithm, and is defined as follows: In the formula, It represents the maximum number of iterations; r2 is a constant between 0 and 1; In addition, if the random number r3>C in the range of 0 to 1 rate , then randomly select other individuals for collaborative search and hunting, expressed as In the formula, represents the spatial position of a randomly selected cooperating individual from all individuals; rand represents a random number between 0 and 1; C rate is the search mode control factor; Step 4: Dangerous area search, if the safety condition is not met, that is, r1 ≥ S a When the mongoose is in danger, it fights with its predator or chooses to escape. In the formula, and They represent duel strategy and escape strategy respectively; Step 5: Random search. In order to find as much food as possible, when the mongoose group iterates each time, if rand < Pgs, the following random search is carried out In the formula, Le is the Levy expression, as follows: μ and υ represent direction vectors that follow normal distribution, P gs is the random search probability; Step 6: Update the fitness values of the mongoose group through formula (4) and select the best mongoose; Step 7: Determine whether to continue the iteration. If it ≥ It, output the decision and fitness value of the current best mongoose; otherwise, return to Step 3 to continue the optimization.

7. A real-time power generation control device for a renewable energy power system according to claim 6, characterized in that: When the dynamic response model establishment module constructs the dynamic response model of the renewable energy and energy storage system, it specifically uses the inverse Laplace transform of the frequency model, as follows: In the formula, m and They represent the mth type of automatic generation control unit and its corresponding adjustment delay, m=1, 2, 3, 4 represent hydropower units, wind turbine units, photovoltaic power stations and energy storage systems respectively; t and ΔT represent time and control cycle respectively; and represents the expected output power and actual output power of the mth AGC unit respectively; k and K are the kth control cycle and the maximum control cycle respectively; G m (s) represents the transfer function of the mth AGC unit, expressed as: Where, T * Represents the known parameters of the transfer function, *∈{1,2,3,4,R,E}.

8. A real-time power generation control device for a renewable energy power system according to claim 7, characterized in that: The objective function f of the dynamic response model is set as follows: In the formula, M is the total number of AGC units. The optimization objective of the objective function f is to minimize the total power deviation of the system, which is characterized by the sum of the absolute values of the deviation between the expected power and the actual output power of the AGC units; The constraint conditions consider power balance, unit capacity, and ramp constraints, as follows: In the formula, and Respectively represent the upper and lower limits of the adjustable power and the maximum ramp rate of the mth AGC unit; ΔP exp (k) is the total expected output of the AGC unit in the kth control cycle, that is, the total power shortage of the system.

Citation Information

Patent Citations

  • Power grid secondary frequency modulation control method and device based on peacock optimization algorithm

    CN114039366A