Optimized scheduling method for micro-grid in new energy power system

Through the improved artificial fish school algorithm, the problems of accuracy and real-time in microgrid scheduling are solved, efficient optimization of microgrid scheduling is achieved, scheduling reliability and efficiency are improved, and the overall energy consumption of distributed power supplies is minimized and power balance.

CN119070294AInactive Publication Date: 2024-12-03WUHU POWER SUPPLY COMPANY OF STATE GRID ANHUI ELECTRIC POWER

Patent Information

Application Number
CN202411229773.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-12-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology is difficult to accurately and efficiently optimize the microgrid. The random optimization method is not accurate enough to characterize uncertainty. The results of the robust optimization method are relatively conservative and cannot effectively improve the scheduling reliability and real-time performance of the microgrid.

Method used

Using the improved artificial fish school algorithm, by adjusting the field of view, moving distance and congestion factors of artificial fish, an optimized scheduling model is constructed, and the objective function and power balance constraints for minimizing the overall energy consumption of distributed power are determined, and the micro-grid is solved. Grid optimization scheduling plan.

Benefits of technology

It realizes accurate optimization scheduling of the microgrid, improves the reliability and real-time scheduling, improves the optimization effect of the overall energy consumption of distributed power supplies, and enhances the search efficiency and global optimization capabilities of the microgrid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070294A_ABST
    Figure CN119070294A_ABST
Patent Text Reader

Abstract

The invention relates to a micro-grid, in particular to an optimal scheduling method for a micro-grid in a new energy power system, and the method comprises the steps: determining an objective function of the optimal scheduling of the micro-grid and a constraint condition of the optimal scheduling of the micro-grid, and constructing a micro-grid optimal scheduling model according to the objective function and the constraint condition of the optimal scheduling of the micro-grid. Solving the micro-grid optimal scheduling model by adopting an improved artificial fish swarm algorithm to obtain a micro-grid optimal scheduling scheme; in the improved artificial fish swarm algorithm, along with the increase of the number of iterations, adjusting and optimizing the visual field range of the artificial fish, the moving distance of each time and a crowding degree factor for adjusting the crowding degree of the fish swarm; according to the technical scheme provided by the invention, the defect that accurate and efficient optimal scheduling is difficult to carry out on the micro-grid in the prior art can be effectively overcome.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a microgrid, and in particular to an optimization dispatching method for a microgrid in a new energy power system. Background Art

[0002] With the continuous development of economy and technology, the problem of carbon emissions caused by the combustion of fossil fuels has become increasingly prominent. In order to cope with the problem of carbon emissions, the scale of renewable energy power generation in various countries has gradually expanded, but the current proportion of renewable energy power generation is still small. Microgrids have flexible operating characteristics. They can operate in an isolated island or in grid connection. In addition, microgrids are mainly distributed power sources, and use energy storage and control devices for adjustment to achieve energy balance. Microgrids contain a variety of renewable energy sources, generally hydropower, wind power, and photovoltaics. The complementarity of multiple energy sources improves the overall efficiency of the energy system and the reliability of energy supply, and increases the flexibility of renewable energy consumption. Therefore, microgrids play a vital role in the new energy consumption and dispatching process of new energy power systems.

[0003] In recent years, more and more researchers have studied microgrid dispatching methods, and currently two main methods are used: stochastic optimization and robust optimization. Stochastic optimization methods use probability theory to deal with uncertainty factors, and usually need to assume the probability distribution of random variables first, but the assumed probability distribution may not accurately characterize uncertainty, and it is necessary to balance between computational accuracy and computational efficiency. Robust optimization methods are a type of uncertainty decision-making method based on interval disturbance information, but because the optimal solution under the worst scenario is considered, the results may be more conservative. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] In view of the above-mentioned shortcomings of the prior art, the present invention provides a method for optimizing the scheduling of a microgrid in a new energy power system, which can effectively overcome the defect of the prior art that it is difficult to accurately and efficiently optimize the scheduling of the microgrid.

[0006] (II) Technical solution

[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0008] An optimal dispatching method for a microgrid in a new energy power system, determining an objective function of the optimal dispatching of a microgrid and constraints of the optimal dispatching of a microgrid, constructing an optimal dispatching model of a microgrid according to the objective function and constraints of the optimal dispatching of a microgrid, solving the optimal dispatching model of a microgrid by using an improved artificial fish swarm algorithm, and obtaining an optimal dispatching scheme of a microgrid;

[0009] Among them, in the improved artificial fish school algorithm, as the number of iterations increases, the field of view of the artificial fish, the distance it moves each time, and the crowding factor used to adjust the crowding degree of the fish school are adjusted and optimized.

[0010] Preferably, the objective function of determining the microgrid optimization scheduling includes:

[0011] Establish the objective function F to minimize the overall energy consumption of distributed power sources in the microgrid:

[0012] F=min(C 水 +C 风 +C 光 +C 储 );

[0013] Among them, C 水 The energy consumption generated by the hydroelectric generator set is τ 水 is the energy consumption coefficient of the hydropower unit, P 水 (t) is the actual grid-connected power of the hydropower unit in period t, Δt is the duration of period t, and T is the operation cycle;

[0014] C 风 The energy consumption generated by the wind turbine is τ 风 is the energy consumption coefficient of the wind power generation unit, P 风 (t) is the actual grid-connected power of the wind power generation unit during period t;

[0015] C 光 is the energy consumption generated by the photovoltaic power generation unit, τ 光 is the energy consumption coefficient of the photovoltaic power generation unit, P 光 (t) is the actual grid-connected power of the photovoltaic power generation unit during period t;

[0016] C 储 Energy consumption generated by the energy storage system:

[0017] τ 储 is the energy consumption coefficient of the energy storage system, P 充 (t), P 放 (t) is the actual charging and discharging power of the energy storage system during period t, Δt 充 , Δt 放 are the charging and discharging time of the energy storage system, Δt 充 +Δt 放 =Δt,γ 充 , γ 放 are the charging and discharging parameters of the energy storage system respectively. When the energy storage system is in the charging state, γ 充 =1,γ 放=0, when the energy storage system is in the discharge state γ 充 =0,γ 放 =1.

[0018] Preferably, the determining of the constraint conditions for the microgrid optimization scheduling includes:

[0019] Establish constraints for microgrid power balance:

[0020] The actual power generation of the hydroelectric power generation unit, wind power generation unit, photovoltaic power generation unit, and the actual discharge power of the energy storage system must not be less than the minimum load power of the microgrid. At the same time, the actual power generation of the hydroelectric power generation unit, wind power generation unit, and photovoltaic power generation unit must not be greater than the maximum load power of the microgrid, the actual charging power of the energy storage system, and the allowable injection power of the distribution network:

[0021] P min (t)≤P 水 (t)+P 风 (t)+P 光 (t)+P 放 (t);

[0022] P 水 (t)+P 风 (t)+P 光 (t)≤P max (t)+P 充 (t)+P 注 (t);

[0023] Among them, P min (t), P max (t) are the minimum and maximum load power of the microgrid during period t, P 注 (t) is the power allowed to be injected into the distribution network during period t.

[0024] Preferably, the determining of the constraint conditions for the microgrid optimization scheduling includes:

[0025] Establish constraints on the power generation capacity of the microgrid hydroelectric unit:

[0026] The power generation flow of the hydroelectric unit must not be less than the minimum flow of the basin and not greater than the maximum flow of the basin:

[0027]

[0028] Among them, η is the power generation efficiency of the hydroelectric generator set, H is the water head of the hydropower station, and d min d max are the minimum and maximum flow rates in the basin, respectively.

[0029] Preferably, the determining of the constraint conditions for the microgrid optimization scheduling includes:

[0030] Establish the constraints for the power generation capacity of the wind power generation unit in the microgrid:

[0031] When the actual wind speed is not greater than the cut-in wind speed, the actual power generation of the wind power generation unit is equal to 0; when the actual wind speed is between the cut-in wind speed and the cut-out wind speed, the actual power generation of the wind power generation unit is related to the wind speed; when the actual wind speed is equal to the cut-out wind speed, the actual power generation of the wind power generation unit is equal to the rated power; when the actual wind speed is greater than the cut-out wind speed, the actual power generation of the wind power generation unit is equal to 0:

[0032]

[0033] Among them, c 风 is the installed capacity of the wind turbine, v, v in 、v out They are actual wind speed, cut-in wind speed, and cut-out wind speed respectively.

[0034] Preferably, the determining of the constraint conditions for the microgrid optimization scheduling includes:

[0035] Establish constraints on the power generation capacity of the microgrid photovoltaic power generation unit:

[0036] The actual power generation of the photovoltaic power generation unit should not be less than its minimum power generation and should not be greater than its maximum power generation:

[0037] P 光min (t)≤P 光 (t)≤P 光max (t);

[0038] Among them, P 光min (t), P 光max (t) are the minimum and maximum power generation of the photovoltaic power generation unit during period t.

[0039] Preferably, the improved artificial fish swarm algorithm is used to solve the microgrid optimization scheduling model to obtain the microgrid optimization scheduling scheme, including:

[0040] S1. Initialize parameters and randomly generate an initial fish school of corresponding size according to the set parameters. Each artificial fish represents a solution, and its position corresponds to a point in the solution space.

[0041] S2, each artificial fish selects an execution behavior based on the current state and environmental information;

[0042] S3, substituting the position of each artificial fish into the objective function F, and calculating the corresponding fitness value;

[0043] S4, record and update the global optimal solution;

[0044] S5, adjusting and optimizing the visual range of the artificial fish, the distance of each movement, and the crowding factor for adjusting the crowding degree of the fish school;

[0045] S6. Determine whether the iteration termination condition is met. If the iteration termination condition is not met, return to S2, otherwise the current global optimal solution is used as the microgrid optimization scheduling plan.

[0046] Preferably, in S2, each artificial fish selects an execution behavior according to the current state and environmental information, including:

[0047] Each artificial fish selects one of the following behaviors to perform: foraging behavior, flocking behavior, tail-chasing behavior, or random behavior based on the current state and environmental information:

[0048] Foraging behavior, the artificial fish moves randomly in the water and tries to find food, i.e., the solution to the optimization problem, by comparing the fitness value between the current position and the target position to decide whether to move in that direction;

[0049] Swarming behavior, the behavior of artificial fish moving towards the center, that is, moving towards the center of all companions within the field of view or the area with the highest density. Specifically, it involves calculating the center position of all companions within the field of view and considering the crowding factor to avoid overcrowding;

[0050] Tail-chasing behavior, in which the artificial fish follows the companion with the highest fitness value within the field of view, and the crowding factor also needs to be considered to avoid overcrowding;

[0051] Random behavior: When other behaviors do not meet the conditions, the artificial fish randomly selects a position within the field of view to move.

[0052] Preferably, the implementation process of the clustering behavior includes:

[0053] S211. Calculate the center position of all companions within the field of view:

[0054]

[0055] Among them, L C is the center position of all companions within the field of view, L i is the current position of artificial fish i within the field of view, and n is the number of artificial fish within the field of view;

[0056] S212: Determine whether the overcrowding condition is met:

[0057]

[0058] Among them, F(L C ) is the center position L of all companions within the field of view CThe fitness value, F(L N ) is the current position L of the artificial fish to be moved N The fitness value of , δ is the crowding factor used to adjust the crowding degree of the fish school;

[0059] S213, if the above overcrowding condition is not met, the artificial fish is moved to the center position L of all its companions within the field of view. C move;

[0060] The implementation process of the rear-end collision behavior includes:

[0061] S221. Determine the current position of the companion with the highest fitness value within the field of view:

[0062] L BEST = arg max i∈View F(L i );

[0063] Among them, F(L i ) is the current position L of the artificial fish i within the field of view i The fitness value, max i∈View F(L i ) represents the selection of the artificial fish with the highest fitness value from all the artificial fish within the field of view, and arg is the function for calculating the current position of the artificial fish;

[0064] S222: Determine whether the overcrowding condition is met:

[0065] F(L BEST )≤δ·F(L N );

[0066] Among them, F(L BEST ) is the current position L of the artificial fish with the highest fitness value within the field of view BEST The fitness value of

[0067] S223, if the above overcrowding condition is not met, the artificial fish to be moved to the current position L of the artificial fish with the highest fitness value within the field of view. BEST move.

[0068] Preferably, in S5, the visual field of the artificial fish, the distance of each movement, and the crowding factor for adjusting the crowding degree of the fish school are adjusted and optimized, including:

[0069] The following formula is used to adjust and optimize the visual range of the artificial fish:

[0070] V k+1 =V k (1-α);

[0071] Among them, Vk is the visual range of the artificial fish at the kth iteration, V k+1 is the field of view of the artificial fish at the k+1th iteration, α is the attenuation factor, α∈(0,1);

[0072] For each movement distance of the artificial fish, when the fish school is close to the true global optimal solution, the step size is appropriately reduced to search for the optimal solution more accurately; when the fish school is far away from the true global optimal solution, the step size is appropriately increased to expand the search range;

[0073] The following formula is used to adjust and optimize the congestion factor:

[0074]

[0075] Among them, δ k is the crowding factor at the kth iteration, ε k is the extreme value approach level factor used to measure the degree of the algorithm's approach to the true global optimal solution at the kth iteration, ε∈(0,1], n max is the maximum number of artificial fish expected to be gathered.

[0076] (III) Beneficial effects

[0077] Compared with the prior art, the optimization scheduling method of a microgrid in a new energy power system provided by the present invention has the following beneficial effects:

[0078] 1) Establish the objective function of minimizing the overall energy consumption of distributed power sources in the microgrid, and at the same time establish constraints on the power balance of the microgrid, the power generation of the microgrid hydropower unit, the power generation of the microgrid wind power unit, and the power generation of the microgrid photovoltaic power unit. According to the objective function and constraints of the microgrid optimal scheduling, a microgrid optimal scheduling model is constructed. The improved artificial fish swarm algorithm is used to solve the microgrid optimal scheduling model, which can obtain an accurate microgrid optimal scheduling plan and effectively improve the reliability of microgrid scheduling;

[0079] 2) In the improved artificial fish school algorithm, as the number of iterations increases, the field of view of the artificial fish, the distance moved each time, and the crowding factor used to adjust the crowding degree of the fish school are adjusted and optimized, thereby improving the performance, convergence speed and global optimization ability of the algorithm, which helps to improve the search efficiency of the microgrid optimization scheduling scheme and effectively improve the real-time performance of the microgrid scheduling. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0081] Figure 1 It is a schematic diagram of the process of the present invention;

[0082] Figure 2 It is a flow chart of solving the microgrid optimization scheduling model by using the improved artificial fish swarm algorithm in the present invention. DETAILED DESCRIPTION

[0083] 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.

[0084] An optimization dispatching method for microgrids in a new energy power system, such as Figure 1 As shown, the objective function of microgrid optimization scheduling and the constraints of microgrid optimization scheduling are determined, a microgrid optimization scheduling model is constructed according to the objective function and constraints of microgrid optimization scheduling, and the improved artificial fish swarm algorithm is used to solve the microgrid optimization scheduling model to obtain the microgrid optimization scheduling plan;

[0085] Among them, in the improved artificial fish school algorithm, as the number of iterations increases, the field of view of the artificial fish, the distance it moves each time, and the crowding factor used to adjust the crowding degree of the fish school are adjusted and optimized.

[0086] ① Determine the objective function of microgrid optimization scheduling, including:

[0087] Establish the objective function F to minimize the overall energy consumption of distributed power sources in the microgrid:

[0088] F=min(C 水 +C 风 +C 光 +C 储 );

[0089] Among them, C 水 The energy consumption generated by the hydroelectric generator set is τ 水 is the energy consumption coefficient of the hydropower unit, P水 (t) is the actual grid-connected power of the hydropower unit in period t, Δt is the duration of period t, and T is the operation cycle;

[0090] C 风 The energy consumption generated by the wind turbine is τ 风 is the energy consumption coefficient of the wind power generation unit, P 风 (t) is the actual grid-connected power of the wind power generation unit during period t;

[0091] C 光 The energy consumption generated by the photovoltaic power generation unit, τ 光 is the energy consumption coefficient of the photovoltaic power generation unit, P 光 (t) is the actual grid-connected power of the photovoltaic power generation unit during period t;

[0092] C 储 Energy consumption generated by the energy storage system:

[0093] τ 储 is the energy consumption coefficient of the energy storage system, P 充 (t), P 放 (t) is the actual charging and discharging power of the energy storage system during period t, Δt 充 , Δt 放 are the charging and discharging time of the energy storage system, Δt 充 +Δt 放 =Δt,γ 充 , γ 放 are the charging and discharging parameters of the energy storage system respectively. When the energy storage system is in the charging state, γ 充 =1,γ 放 =0, when the energy storage system is in the discharge state γ 充 =0,γ 放 =1.

[0094] ② Determine the constraints for optimal dispatch of microgrids, including:

[0095] 1) Establish constraints for microgrid power balance:

[0096] The actual power generation of the hydroelectric power generation unit, wind power generation unit, photovoltaic power generation unit, and the actual discharge power of the energy storage system must not be less than the minimum load power of the microgrid. At the same time, the actual power generation of the hydroelectric power generation unit, wind power generation unit, and photovoltaic power generation unit must not be greater than the maximum load power of the microgrid, the actual charging power of the energy storage system, and the allowable injection power of the distribution network:

[0097] P min (t)≤P 水 (t)+P风 (t)+P 光 (t)+P 放 (t);

[0098] P 水 (t)+P 风 (t)+P 光 (t)≤P max (t)+P 充 (t)+P 注 (t);

[0099] Among them, P min (t), P max (t) are the minimum and maximum load power of the microgrid during period t, P 注 (t) is the power allowed to be injected into the distribution network during period t;

[0100] 2) Establish constraints on the power generation capacity of the microgrid hydroelectric unit:

[0101] The power generation flow of the hydroelectric unit must not be less than the minimum flow of the basin and not greater than the maximum flow of the basin:

[0102]

[0103] Among them, η is the power generation efficiency of the hydroelectric generator set, H is the water head of the hydropower station, and d min d max are the minimum and maximum flow rates in the basin, respectively;

[0104] 3) Establish constraints on the power generation capacity of wind power generation units in microgrids:

[0105] When the actual wind speed is not greater than the cut-in wind speed, the actual power generation of the wind power generation unit is equal to 0; when the actual wind speed is between the cut-in wind speed and the cut-out wind speed, the actual power generation of the wind power generation unit is related to the wind speed; when the actual wind speed is equal to the cut-out wind speed, the actual power generation of the wind power generation unit is equal to the rated power; when the actual wind speed is greater than the cut-out wind speed, the actual power generation of the wind power generation unit is equal to 0:

[0106]

[0107] Among them, c 风 is the installed capacity of the wind turbine, v, v in , vout are the actual wind speed, cut-in wind speed, and cut-out wind speed respectively;

[0108] 4) Determine the constraints for optimal dispatch of microgrids, including:

[0109] Establish constraints on the power generation capacity of the microgrid photovoltaic power generation unit:

[0110] The actual power generation of the photovoltaic power generation unit should not be less than its minimum power generation and should not be greater than its maximum power generation:

[0111] P 光min (t)≤P 光 (t)≤P 光max (t);

[0112] Among them, P 光min (t), P 光max (t) are the minimum and maximum power generation of the photovoltaic power generation unit during period t.

[0113] ③ The improved artificial fish swarm algorithm is used to solve the microgrid optimization scheduling model and obtain the microgrid optimization scheduling scheme, such as Figure 2 As shown, including:

[0114] S1. Initialize parameters and randomly generate an initial fish school of corresponding size according to the set parameters. Each artificial fish represents a solution, and its position corresponds to a point in the solution space.

[0115] S2, each artificial fish selects an execution behavior based on the current state and environmental information;

[0116] S3, substituting the position of each artificial fish into the objective function F, and calculating the corresponding fitness value;

[0117] S4, record and update the global optimal solution;

[0118] S5, adjusting and optimizing the visual range of the artificial fish, the distance of each movement, and the crowding factor for adjusting the crowding degree of the fish school;

[0119] S6. Determine whether the iteration termination condition is met. If the iteration termination condition is not met, return to S2, otherwise the current global optimal solution is used as the microgrid optimization scheduling plan.

[0120] 1) In S2, each artificial fish selects an action to perform based on the current state and environmental information, including:

[0121] Each artificial fish selects one of the following behaviors to perform: foraging behavior, flocking behavior, tail-chasing behavior, or random behavior based on the current state and environmental information:

[0122] Foraging behavior, the artificial fish moves randomly in the water and tries to find food, i.e., the solution to the optimization problem, by comparing the fitness value between the current position and the target position to decide whether to move in that direction;

[0123] Swarming behavior, the behavior of artificial fish moving towards the center, that is, moving towards the center of all companions within the field of view or the area with the highest density. Specifically, it involves calculating the center position of all companions within the field of view and considering the crowding factor to avoid overcrowding;

[0124] Tail-chasing behavior, in which the artificial fish follows the companion with the highest fitness value within the field of view, and the crowding factor also needs to be considered to avoid overcrowding;

[0125] Random behavior: When other behaviors do not meet the conditions, the artificial fish randomly selects a position within the field of view to move.

[0126] Specifically, the implementation process of clustering behavior includes:

[0127] S211. Calculate the center position of all companions within the field of view:

[0128]

[0129] Among them, L C is the center position of all companions within the field of view, L i is the current position of artificial fish i within the field of view, and n is the number of artificial fish within the field of view;

[0130] S212: Determine whether the overcrowding condition is met:

[0131]

[0132] Among them, F(L C ) is the center position L of all companions within the field of view C The fitness value, F(L N ) is the current position L of the artificial fish to be moved N The fitness value of , δ is the crowding factor used to adjust the crowding degree of the fish school;

[0133] S213, if the above overcrowding condition is not met, the artificial fish is moved to the center position L of all its companions within the field of view. C move;

[0134] The implementation process of rear-end collision includes:

[0135] S221. Determine the current position of the companion with the highest fitness value within the field of view:

[0136] L BEST = arg max i∈View F(L i );

[0137] Among them, F(L i) is the current position L of the artificial fish i within the field of view i The fitness value, max i∈View F(L i ) represents the selection of the artificial fish with the highest fitness value from all the artificial fish within the field of view, and arg is the function for calculating the current position of the artificial fish;

[0138] S222: Determine whether the overcrowding condition is met:

[0139] F(L BEST )≤δ·F(L N );

[0140] Among them, F(L BEST ) is the current position L of the artificial fish with the highest fitness value within the field of view BEST The fitness value of

[0141] S223, if the above overcrowding condition is not met, the artificial fish to be moved to the current position L of the artificial fish with the highest fitness value within the field of view. BEST move.

[0142] 2) In S5, the visual range of the artificial fish, the distance it moves each time, and the crowding factor used to adjust the crowding degree of the fish school are adjusted and optimized, including:

[0143] The following formula is used to adjust and optimize the field of view of the artificial fish:

[0144] V k+1 =V k (1-α);

[0145] Among them, V k is the visual range of the artificial fish at the kth iteration, V k+1 is the field of view of the artificial fish at the k+1th iteration, α is the attenuation factor, α∈(0,1);

[0146] For each movement distance of the artificial fish, when the fish school is close to the true global optimal solution, the step size is appropriately reduced to search for the optimal solution more accurately; when the fish school is far away from the true global optimal solution, the step size is appropriately increased to expand the search range;

[0147] The following formula is used to adjust and optimize the congestion factor:

[0148]

[0149] Among them, δ k is the crowding factor at the kth iteration, ε k is the extreme value approach level factor used to measure the degree of the algorithm's approach to the true global optimal solution at the kth iteration, ε∈(0,1], n maxis the maximum number of artificial fish expected to be gathered.

[0150] The technical solution of the present application establishes an objective function for minimizing the overall energy consumption of distributed power sources in a microgrid, and at the same time establishes constraints on the power balance of the microgrid, the power generation power of the microgrid hydroelectric unit, the power generation power of the microgrid wind power unit, and the power generation power of the microgrid photovoltaic unit. A microgrid optimization scheduling model is constructed according to the objective function and constraints of the microgrid optimization scheduling, and an improved artificial fish swarm algorithm is used to solve the microgrid optimization scheduling model, so that an accurate microgrid optimization scheduling plan can be obtained, which effectively improves the reliability of microgrid scheduling.

[0151] In the improved artificial fish school algorithm, as the number of iterations increases, the field of view of the artificial fish, the distance moved each time, and the crowding factor used to adjust the crowding degree of the fish school are adjusted and optimized, thereby improving the performance, convergence speed and global optimization ability of the algorithm, which helps to improve the search efficiency of the microgrid optimization scheduling plan and effectively improve the real-time performance of the microgrid scheduling.

[0152] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements will not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for optimizing the dispatching of a microgrid in a new energy power system, characterized by: Determine the objective function of microgrid optimization scheduling and the constraints of microgrid optimization scheduling, build a microgrid optimization scheduling model based on the objective function and constraints of microgrid optimization scheduling, use the improved artificial fish swarm algorithm to solve the microgrid optimization scheduling model, and obtain the microgrid optimization scheduling plan; Among them, in the improved artificial fish school algorithm, as the number of iterations increases, the field of view of the artificial fish, the distance moved each time, and the crowding factor used to adjust the crowding degree of the fish school are adjusted and optimized.

2. The method for optimizing the dispatching of microgrids in a new energy power system according to claim 1, characterized in that: The objective function of determining the optimal scheduling of the microgrid includes: Establish the objective function F to minimize the overall energy consumption of distributed power sources in the microgrid: F=min(C 水 +C 风 +C 光 +C 储 ); Among them, C 水 The energy consumption generated by the hydroelectric generator set is τ 水 is the energy consumption coefficient of the hydropower unit, P 水 (t) is the actual grid-connected power of the hydropower unit in period t, Δt is the duration of period t, and T is the operation cycle; C 风 The energy consumption generated by the wind turbine is τ 风 is the energy consumption coefficient of the wind power generation unit, P 风 (t) is the actual grid-connected power of the wind power generation unit during period t; C 光 The energy consumption generated by the photovoltaic power generation unit, τ 光 is the energy consumption coefficient of the photovoltaic power generation unit, P 光 (t) is the actual grid-connected power of the photovoltaic power generation unit during period t; C 储 Energy consumption generated by the energy storage system: τ 储 is the energy consumption coefficient of the energy storage system, P 充 (t), P 放 (t) is the actual charging and discharging power of the energy storage system during period t, Δt 充 , Δt 放 are the charging and discharging time of the energy storage system, Δt 充 +Δt 放 =Δt,γ 充 , γ 放 are the charging and discharging parameters of the energy storage system respectively. When the energy storage system is in the charging state, γ 充 =1,γ 放 =0, when the energy storage system is in the discharge state γ 充 =0,γ 放 =1.

3. The method for optimizing the dispatching of microgrids in a new energy power system according to claim 2, characterized in that: The determination of the constraint conditions for the microgrid optimization scheduling includes: Establish constraints for microgrid power balance: The actual power generation of the hydroelectric power generation unit, wind power generation unit, photovoltaic power generation unit, and the actual discharge power of the energy storage system must not be less than the minimum load power of the microgrid. At the same time, the actual power generation of the hydroelectric power generation unit, wind power generation unit, and photovoltaic power generation unit must not be greater than the maximum load power of the microgrid, the actual charging power of the energy storage system, and the allowable injection power of the distribution network: P min (t)≤P 水 (t)+P 风 (t)+P 光 (t)+P 放 (t); P 水 (t)+P 风 (t)+P 光 (t)≤P max (t)+P 充 (t)+P 注 (t); Among them, P min (t), P max (t) are the minimum and maximum load power of the microgrid during period t, P 注 (t) is the power allowed to be injected into the distribution network during period t.

4. The method for optimizing the dispatching of microgrids in a new energy power system according to claim 3, characterized in that: The determination of the constraint conditions for the microgrid optimization scheduling includes: Establish constraints on the power generation capacity of the microgrid hydroelectric unit: The power generation flow of the hydroelectric unit must not be less than the minimum flow of the basin and not greater than the maximum flow of the basin: Among them, η is the power generation efficiency of the hydroelectric generator set, H is the water head of the hydropower station, and d min ,d max are the minimum and maximum flow rates in the basin, respectively.

5. The method for optimizing the dispatching of microgrids in a new energy power system according to claim 4, characterized in that: The determination of the constraint conditions for the microgrid optimization scheduling includes: Establish the constraints for the power generation capacity of the wind power generation unit in the microgrid: When the actual wind speed is not greater than the cut-in wind speed, the actual power generation of the wind power generation unit is equal to 0; when the actual wind speed is between the cut-in wind speed and the cut-out wind speed, the actual power generation of the wind power generation unit is related to the wind speed; when the actual wind speed is equal to the cut-out wind speed, the actual power generation of the wind power generation unit is equal to the rated power; when the actual wind speed is greater than the cut-out wind speed, the actual power generation of the wind power generation unit is equal to 0: Among them, c 风 is the installed capacity of the wind turbine, v, v in 、v out They are actual wind speed, cut-in wind speed, and cut-out wind speed respectively.

6. The method for optimizing the dispatching of microgrids in a new energy power system according to claim 5, characterized in that: The determination of the constraint conditions for the microgrid optimization scheduling includes: Establish constraints on the power generation capacity of the microgrid photovoltaic power generation unit: The actual power generation of the photovoltaic power generation unit should not be less than its minimum power generation and should not be greater than its maximum power generation: P 光min (t)≤P 光 (t)≤P 光max (t); Among them, P 光min (t), P 光max (t) are the minimum and maximum power generation of the photovoltaic power generation unit during period t.

7. The method for optimizing the dispatching of microgrids in a new energy power system according to claim 1, characterized in that: The improved artificial fish swarm algorithm is used to solve the microgrid optimization scheduling model to obtain the microgrid optimization scheduling scheme, including: S1. Initialize parameters and randomly generate an initial fish school of corresponding size according to the set parameters. Each artificial fish represents a solution, and its position corresponds to a point in the solution space. S2, each artificial fish selects an execution behavior based on the current state and environmental information; S3, substituting the position of each artificial fish into the objective function F, and calculating the corresponding fitness value; S4, record and update the global optimal solution; S5, adjusting and optimizing the visual range of the artificial fish, the distance of each movement, and the crowding factor for adjusting the crowding degree of the fish school; S6. Determine whether the iteration termination condition is met. If the iteration termination condition is not met, return to S2, otherwise the current global optimal solution is used as the microgrid optimization scheduling plan.

8. The method for optimizing the dispatching of microgrids in a new energy power system according to claim 7, characterized in that: In S2, each artificial fish selects actions to perform based on the current state and environmental information, including: Each artificial fish selects one of the following behaviors to perform: foraging behavior, flocking behavior, tail-chasing behavior, or random behavior based on the current state and environmental information: Foraging behavior, the artificial fish moves randomly in the water and tries to find food, i.e., the solution to the optimization problem, by comparing the fitness value between the current position and the target position to decide whether to move in that direction; Swarming behavior, the behavior of artificial fish moving towards the center, that is, moving towards the center of all companions within the field of view or the area with the highest density. Specifically, it involves calculating the center position of all companions within the field of view and considering the crowding factor to avoid overcrowding; Tail-chasing behavior, in which the artificial fish follows the companion with the highest fitness value within the field of view, and the crowding factor also needs to be considered to avoid overcrowding; Random behavior: When other behaviors do not meet the conditions, the artificial fish randomly selects a position within the field of view to move.

9. The method for optimizing the dispatching of microgrids in a new energy power system according to claim 8, characterized in that: The implementation process of the clustering behavior includes: S211. Calculate the center position of all companions within the field of view: Among them, L C is the center position of all companions within the field of view, L i is the current position of artificial fish i within the field of view, and n is the number of artificial fish within the field of view; S212: Determine whether the overcrowding condition is met: Among them, F(L C ) is the center position L of all companions within the field of view C The fitness value, F(L N ) is the current position L of the artificial fish to be moved N The fitness value of , δ is the crowding factor used to adjust the crowding degree of the fish school; S213, if the above overcrowding condition is not met, the artificial fish is moved to the center position L of all its companions within the field of view. C move; The implementation process of the rear-end collision behavior includes: S221. Determine the current position of the companion with the highest fitness value within the field of view: L BEST max arg i∈View F(L i ); Among them, F(L i ) is the current position L of the artificial fish i within the field of view i The fitness value, max i∈View F(L i ) represents the selection of the artificial fish with the highest fitness value from all the artificial fish within the field of view, and arg is the function for calculating the current position of the artificial fish; S222: Determine whether the overcrowding condition is met: F(L BEST )≤δ·F(L N ); Among them, F(L BEST ) is the current position L of the artificial fish with the highest fitness value within the field of view BEST The fitness value of S223, if the above overcrowding condition is not met, the artificial fish to be moved to the current position L of the artificial fish with the highest fitness value within the field of view BEST move.

10. The method for optimizing the dispatching of microgrids in a new energy power system according to claim 7, characterized in that: S5 has optimized the field of view of the artificial fish, the distance it moves each time, and the crowding factor used to adjust the crowding of the fish school, including: The following formula is used to adjust and optimize the visual range of the artificial fish: V k+1 =V k ·(1-α); Among them, V k is the visual range of the artificial fish at the kth iteration, V k+1 is the field of view of the artificial fish at the k+1th iteration, α is the attenuation factor, α∈(0,1); For each movement distance of the artificial fish, when the fish school is close to the true global optimal solution, the step size is appropriately reduced to search for the optimal solution more accurately; when the fish school is far away from the true global optimal solution, the step size is appropriately increased to expand the search range; The following formula is used to adjust and optimize the congestion factor: Among them, δ k is the crowding factor at the kth iteration, ε k is the extreme value approach level factor used to measure the degree of the algorithm's approach to the true global optimal solution at the kth iteration, ε∈(0,1], n max is the maximum number of artificial fish expected to be gathered.

Citation Information

Patent Citations

  • Microscope automatic focusing window selection method based on artificial fish swarm algorithm

    CN108459406A

  • Optimization method for water-wind-solar power supply capacity configuration in microgrid

    CN110707754A

  • Unmanned aerial vehicle path planning method based on artificial fish schools

    CN112650287A

  • Energy storage optimization method and system for joint scheduling with new energy

    CN116454987A

  • Micro-grid source grid load storage optimization configuration method based on improved artificial fish swarm algorithm

    CN118446089A

Cited By

  • Micro-grid cluster power scheduling method, device, equipment and medium

    CN121529612A