Partially-shielded scene photovoltaic array reconstruction method and system based on ant colony algorithm

By reconfiguring the photovoltaic array based on the ant colony algorithm, the problem of insufficient output power of the photovoltaic array in some shading scenarios is solved, and a smoother I-V and P-V curves and higher output power are achieved.

CN119416619AInactive Publication Date: 2025-02-11STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411373639.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-02-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art is difficult to obtain the maximum output power of the photovoltaic array in partial shading scenarios, and the I-V curve and P-V curve are not smooth enough and have large fluctuations.

Method used

The photovoltaic array is reconfigured using an ant colony algorithm to optimize the arrangement of the photovoltaic array through the pheromone and taboo table mechanism left by the ants on the path to increase the total power and smooth the curve.

Benefits of technology

It achieves a greater global maximum output power in partial shading scenarios, making the I-V curve and P-V curve smoother, and improving the reliability and stability of photovoltaic power generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119416619A_ABST
    Figure CN119416619A_ABST
Patent Text Reader

Abstract

The invention discloses a partially-shielded scene photovoltaic array reconstruction method and system based on an ant colony algorithm, and the method comprises the steps: initializing a photovoltaic array, a pheromone concentration matrix and a tabu table, and randomly placing # imgabs0 # ants on the photovoltaic array; for each ant, the ant is moved to the next photovoltaic panel based on the probability, and after the ant is moved, the photovoltaic panel where the ant is located is placed in the taboo table until the ant walks all the photovoltaic array; calculating the total power generated by a photovoltaic array under the photovoltaic array arrangement according to the photovoltaic array arrangement formed by the ant moving path, and updating the pheromone concentration matrix; and judging whether a preset ending condition is met or not, and if the preset ending condition is met, outputting the photovoltaic array arrangement with the optimal total power and the total power generated by the photovoltaic arrays under the photovoltaic array arrangement. The invention aims to reconfigure the photovoltaic array by using the ant colony algorithm to extract the maximum power and improve the reliability and stability of photovoltaic power generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of photovoltaic arrays, and in particular to a method and system for reconstructing a photovoltaic array in a partially shielded scene based on an ant colony algorithm. Background Art

[0002] The rapid development of solar energy has posed a challenge to ensure the reliability and stability of photovoltaic power generation. In practical applications, photovoltaic modules are interconnected to form photovoltaic arrays to meet high load demands, but there are many factors that can cause the output power of photovoltaic arrays to decrease. One of the most important issues affecting the efficiency of photovoltaic arrays is partial (local) shading. Partial shading is caused by the passage of clouds, buildings and trees. The losses caused by partial shading are mainly due to the electrical connection of the modules in the array, because the shaded module in series with other unshaded modules limits the series current and thus reduces the maximum power generated by the array.

[0003] To solve this problem, the position of the photovoltaic panels and the connection method can be changed. For example, in the prior art (see the literature: G. Sai Krishna and T. Moger, SuDoKu and Optimal SuDoKu Reconfigurationfor TCT PV array Under Non-Uniform Irradiance Condition, 2018 IEEE 8th PowerIndia International Conference, 1-6, 2018.), a comparative study was conducted on the SuDoKu and optimal SuDoKu reconstruction techniques of a 9×9 total cross-connection (TCT) photovoltaic array. However, this method still has the following problems: it is still difficult to obtain the maximum output power in a partially shaded scenario; the obtained IV curve and PV curve are not smooth enough and have large fluctuations. Summary of the invention

[0004] Technical problem to be solved by the present invention: In view of the above-mentioned problems in the prior art, a method and system for reconstructing a photovoltaic array in a partially shielded scene based on an ant colony algorithm are provided. The present invention aims to use the ant colony algorithm to reconfigure the photovoltaic array to extract maximum power, so that the IV curve and the PV curve are smoother, thereby improving the reliability and stability of photovoltaic power generation.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: A photovoltaic array reconstruction method for a partially shielded scene based on an ant colony algorithm comprises the following steps: S1, initialize the photovoltaic array, pheromone concentration matrix and taboo table, where the pheromone concentration matrix is ​​used to record the intensity of pheromones left by ants on the path, and the taboo table is used to record the paths that ants have recently visited. The ants were randomly placed on the photovoltaic panels of the photovoltaic array; S2, for each ant, move the ant to the next photovoltaic panel other than the photovoltaic panel recorded in the taboo table based on probability, and put the photovoltaic panel where the ant was previously located into the taboo table after the ant moves, until the ant has walked through the photovoltaic array; S3, calculate the total power generated by the photovoltaic array under the photovoltaic array arrangement formed by the path of ant movement, and update the pheromone concentration matrix; S4, judging whether the preset end condition is met, if not, jumping to step S2; otherwise, the photovoltaic array arrangement with the best total power and the total power output generated by the photovoltaic array under this photovoltaic array arrangement are generated.

[0006] Optionally, the calculation function expression of the probability in step S2 is: , In the above formula, For the Only ants in Moment from photovoltaic panels Moving to photovoltaic panels The probability of for Moment from photovoltaic panels To photovoltaic panels The pheromone concentration, As the inspiration factor, for Moment from photovoltaic panels To photovoltaic panels Visibility, is the expected heuristic factor, For the Only ants can move a collection of photovoltaic panels.

[0007] Optionally, Moment from photovoltaic panels To photovoltaic panels Visibility The value is 0, the expected heuristic factor The value is 0.

[0008] Optionally, in step S3, the function expression for calculating the total power generated by the photovoltaic array under this photovoltaic array arrangement is: , In the above formula, For this PV array arrangement, the total power generated by the PV array is: is the total number of rows of the photovoltaic array, is the voltage of a single row of photovoltaic panels, is the number of rows of the bypassed PV array, It is the minimum total row current of the remaining PV array that is not bypassed.

[0009] Optionally, the function expression for updating the pheromone concentration matrix in step S3 is: , In the above formula, for Photovoltaic panels To photovoltaic panels The pheromone concentration, It is a pheromone volatile factor. for Photovoltaic panels To photovoltaic panels The pheromone concentration, For all Only ants in Time has come The pheromone increment released at all times, For the Only ants in Time has come The pheromone increments released at every moment.

[0010] Optionally, Only ants in Time has come The calculation function expression of the pheromone increment released at a certain moment is: , In the above formula, For the The total power generated by the photovoltaic array under the photovoltaic array arrangement formed by the paths of the ants moving, is a constant, Photovoltaic panels To photovoltaic panels Path.

[0011] Optionally, the preset end condition in step S4 refers to the number of iterations being equal to a preset threshold.

[0012] In addition, the present invention also provides a partially shielded scene photovoltaic array reconstruction system based on an ant colony algorithm, comprising an interconnected microprocessor and a memory, wherein the microprocessor is programmed or configured to execute the partially shielded scene photovoltaic array reconstruction method based on an ant colony algorithm.

[0013] In addition, the present invention also provides a computer-readable storage medium, which stores a computer program or instruction, and the computer program or instruction is programmed or configured to execute the partially shielded scene photovoltaic array reconstruction method based on the ant colony algorithm through a processor.

[0014] In addition, the present invention also provides a computer program product, including a computer program or instructions, which are programmed or configured to execute the partially shielded scene photovoltaic array reconstruction method based on the ant colony algorithm through a processor.

[0015] Compared with the prior art, the present invention mainly has the following advantages: 1. The present invention can solve the problem of power reduction of photovoltaic arrays in partially shielded situations by reconstructing photovoltaic arrays in partially shielded scenarios based on the ant colony algorithm (ACO). The ant colony algorithm is based on the behavior of an ant colony when searching for food. The positive feedback mechanism of the ant colony algorithm (ACO) is applied to make the search results converge continuously, and finally approach the optimal solution to obtain a larger global maximum output power.

[0016] 2. The present invention reconstructs the photovoltaic array in a partially shielded scene based on the ant colony algorithm (ACO). Each ant individual in the ant colony algorithm (ACO) can change the surrounding environment by releasing pheromones and can perceive the changes in the surrounding environment in real time, so each individual can communicate indirectly through the environment. By searching for the optimal solution based on the ant colony algorithm, distributed solution can be achieved in the search process. Multiple ant individuals perform parallel calculations at the same time, which greatly improves the computing power and operating efficiency of the algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 Schematic diagram of a 9×9 fully cross-arranged photovoltaic array in an embodiment of the present invention.

[0018] Figure 2 Schematic diagram of the basic flow of the method of the embodiment of the present invention.

[0019] Figure 3 It is the prescribed route of the photovoltaic panel in the embodiment of the present invention.

[0020] Figure 4 1 and 2. The TCT arrangement (a) and ACO reconstruction arrangement (b) in scenario 1 in an embodiment of the present invention.

[0021] Figure 5 1 is the IV curve of the TCT arrangement and the ACO reconstruction arrangement in scenario 1 in the embodiment of the present invention.

[0022] Figure 6 PV curves of the TCT arrangement and the ACO reconstruction arrangement in scenario 1 in an embodiment of the present invention.

[0023] Figure 7 1 and 2 are the TCT arrangement (a) and ACO reconstruction arrangement (b) in scenario 2 in an embodiment of the present invention.

[0024] Figure 8 1 is the IV curve of the TCT arrangement and the ACO reconstruction arrangement in scenario 2 in the embodiment of the present invention.

[0025] Fig. 9 PV curves of the TCT arrangement and the ACO reconstruction arrangement in scenario 2 in an embodiment of the present invention. DETAILED DESCRIPTION

[0026] A photovoltaic array is composed of many photovoltaic modules, and a photovoltaic panel is composed of many photovoltaic cells. In a full cross connection, adjacent photovoltaic panels in each row and column are connected in sequence. Figure 1 As shown, 81 photovoltaic panels form a full cross arrangement of 9 rows and 9 columns. The numbers on the photovoltaic panels represent the positions of the photovoltaic panels in the arrangement. For example, any photovoltaic panel Index middle, Represents the first photovoltaic panel in the array OK, Represents the first photovoltaic panel in the array The current generated by each photovoltaic panel can be calculated by the following formula: , (1) In the above formula, Indicates Line The current generated by the photovoltaic panels in the row, for example, the photovoltaic panel in row 1 and column 1 The current generated is , the photovoltaic panel in row 1 and column 2 The current generated is , ..., the photovoltaic panel in the second row and first column The current generated is , the photovoltaic panel in row 2 and column 2 The current generated is , ..., the photovoltaic panel in row 9 and column 9 The current generated is . = , Indicates Line The irradiance received by the photovoltaic panels in the column, represents the standard irradiance, Indicates standard irradiance (1000 ) The current generated by the photovoltaic panel under the condition of . Using Kirchhoff's voltage law, the voltage of the photovoltaic array can be calculated: , (2) In the above formula, Represents the total voltage of the photovoltaic panel, Represents the voltage of the photovoltaic panel in the i-th row, such as Figure 1 As shown, ~ Indicates the voltage of the photovoltaic panels in rows 1 to 9.

[0027] Total current per row It can be calculated by the following formula: , (3) In the above formula, Indicates Line The electric current generated by a column of photovoltaic panels.

[0028] like Figure 2 As shown, the photovoltaic array reconstruction method for partially shielded scenes based on the ant colony algorithm in this embodiment includes the following steps: S1, initialize the photovoltaic array, pheromone concentration matrix and taboo table, where the pheromone concentration matrix is ​​used to record the intensity of pheromones left by ants on the path, and the taboo table is used to record the paths that ants have recently visited. The ants were randomly placed on the photovoltaic panels of the photovoltaic array; S2, for each ant, move the ant to the next photovoltaic panel other than the photovoltaic panel recorded in the taboo table based on probability, and put the photovoltaic panel where the ant was before into the taboo table after the ant moves, until the ant completes the photovoltaic array; all ants move along the prescribed route of the photovoltaic panel. If a photovoltaic panel is already in the taboo table, the ant continues to move along the prescribed route to the next photovoltaic panel of the photovoltaic panel, so that all ants can explore the unfinished path in parallel; the prescribed route of the photovoltaic panel can be specified according to actual needs. For example, as an optional implementation, the prescribed route of the photovoltaic panel in this embodiment Figure 3 As shown, the high digit of the two-digit number represents the row of the photovoltaic panel in the arrangement. , low position means that the photovoltaic panel is in the middle of the arrangement ; S3, calculate the total power generated by the photovoltaic array under the photovoltaic array arrangement formed by the path of ant movement, and update the pheromone concentration matrix; S4, judging whether the preset end condition is met, if not, jumping to step S2; otherwise, the photovoltaic array arrangement with the best total power and the total power output generated by the photovoltaic array under this photovoltaic array arrangement are generated.

[0029] The photovoltaic array initialized in step S1 of this embodiment is a fully cross arrangement of 9 rows and 9 columns under different shielding conditions, and the pheromone concentration matrix and the taboo table are initially matrices with 9 rows and 9 columns empty.

[0030] The calculation function expression of the probability in step S2 of this embodiment is: , (4) In the above formula, For the Only ants in Moment from photovoltaic panels Moving to photovoltaic panels The probability of for Moment from photovoltaic panels To photovoltaic panels The pheromone concentration, As the inspiration factor, for Moment from photovoltaic panels To photovoltaic panels Visibility, is the expected heuristic factor, For the Only ants can move a collection of photovoltaic panels.

[0031] Since photovoltaic panels To photovoltaic panels The visibility of has no practical significance, so in this embodiment, Moment from photovoltaic panels To photovoltaic panels Visibility The value is 0, the expected heuristic factor The value is 0.

[0032] In step S3 of this embodiment, the function expression for calculating the total power generated by the photovoltaic array under this photovoltaic array arrangement is: , (5) In the above formula, For this PV array arrangement, the total power generated by the PV array is: is the total number of rows of the photovoltaic array, is the voltage of a single row of photovoltaic panels, is the number of rows of the bypassed PV array, The smallest row total current in the remaining unbypassed photovoltaic array. Because each row of nine photovoltaic panels is connected in parallel as a group, each group is connected in series. In a series circuit, the current of the entire loop will be limited to the current of the smallest group by the group with the smallest current. Therefore, in order to obtain the maximum power, it is sometimes necessary to bypass the group with smaller current. The voltage of the overall loop will be reduced, and the smallest row total current in the remaining unbypassed photovoltaic array will also change due to the bypass situation.

[0033] The function expression for updating the pheromone concentration matrix in step S3 of this embodiment is: , (6) In the above formula, for Photovoltaic panels To photovoltaic panels The pheromone concentration, It is a pheromone volatile factor. for Photovoltaic panels To photovoltaic panels The pheromone concentration, For all Only ants in Time has come The pheromone increment released at all times, For the Only ants in Time has come The pheromone increments released at every moment.

[0034] In this embodiment, Only ants in Time has come The calculation function expression of the pheromone increment released at a certain moment is: , (7) In the above formula, For the The total power generated by the photovoltaic array under the photovoltaic array arrangement formed by the paths of the ants moving, is a constant, Photovoltaic panels To photovoltaic panels Path.

[0035] The preset end condition in step S4 of this embodiment refers to the number of iterations being equal to a preset threshold, and the preset threshold can be specified according to actual needs.

[0036] In order to verify the partial shielding scene photovoltaic array reconstruction method based on ant colony algorithm in this embodiment, this embodiment uses Figure 1The 9×9 PV array shown is verified with full cross connection.

[0037] Scenario 1: Short-term large-area occlusion scenario with random failures.

[0038] In the simulation, about half of the photovoltaic panels were shaded to varying degrees, and four faulty photovoltaic panels could not work. We divided the photovoltaic panels into four groups according to the irradiance they received: the first group was normal photovoltaic panels, which received an irradiance of 900W / m 2 The second group was exposed to 600W / m 2 The third and fourth groups received an irradiance of 400W / m 2 and 200W / m 2 , while the irradiance of the faulty photovoltaic panel is 0. The output current of each row in the photovoltaic array can be calculated by formula (3).

[0039] Figure 4 The TCT arrangement (a) and ACO reconstruction arrangement (b) in scenario 1 of this embodiment, wherein the TCT arrangement (a) is the arrangement result obtained by the existing method (TCT arrangement is full cross arrangement), and the ACO reconstruction arrangement (b) is the reconstruction arrangement result obtained by the method of this embodiment. Figure 4 For the TCT arrangement in scenario 1 (a), the output current of each row in the TCT-arranged PV array is calculated as follows: , (8) , (9) , (10) , (11) , (12) , (13) according to Figure 4 For the ACO reconstruction arrangement in scenario 1 (b) shown, the output current of each row in the TCT-arranged PV array is calculated as follows: , (14) , (15) , (16) , (17) , (18) in, ~ are the output currents of rows 1 to 9 respectively, Indicates standard irradiance (1000 ) The current generated by the photovoltaic panel under the condition of . Considering the existence of the bypass, the output voltage and maximum output power of each photovoltaic array are calculated as shown in Table 1, and the current of each row is also shown in the order of Table 1.

[0040] Table 1. The location of the global maximum power point P of the TCT arrangement and ACO reconstruction arrangement in scenario 1

[0041] In Table 1, V m is the voltage of a single row of photovoltaic panels. As can be seen from Table 1, the TCT arrangement can only obtain the global maximum power when rows 1, 2, 3 and 4 are bypassed. However, the ant colony algorithm of the method of this embodiment can obtain the maximum output power without bypassing. The maximum power obtained in the ACO reconstructed arrangement is 51.3 V m I m , while only 34.5 can be obtained from TCT arrangement V m I m .

[0042] In this embodiment, the IV curve (current-voltage curve) and PV curve (power-voltage curve) simulated by Matlab-Simulink platform for scenario 1 are as follows: Figure 5 and Figure 6 See Figure 5 and Figure 6 It can be seen that the maximum output power of the photovoltaic array of the ACO reconstruction arrangement reaches 4.377kW, which is significantly higher than the 3.065kW of the TCT arrangement. It can be seen that the IV curve (current-voltage curve) and PV curve (power-voltage curve) obtained by the photovoltaic array reconstruction method for partially shielded scenes based on the ant colony algorithm in this embodiment are smoother and have a larger global maximum output power than the TCT arrangement.

[0043] Scenario 2: Long-term small-area shading scenario with random failures.

[0044] In scenario 2, about 1 / 3 of the photovoltaic panels are shielded to varying degrees. In this embodiment, the photovoltaic panels are still divided into the same five types as in scenario 1. Figure 7 The TCT arrangement (a) and ACO reconstruction arrangement (b) in scenario 2 of this embodiment, wherein the TCT arrangement (a) is the arrangement result obtained by the existing method, and the ACO reconstruction arrangement (b) is the reconstruction arrangement result obtained by the method of this embodiment. Figure 7In the TCT arrangement in scenario 2 (a) shown, the output current of each row in the TCT-arranged PV array is calculated as follows: , (19) , (20) ,(twenty one) ,(twenty two) ,(twenty three) ,(twenty four) , (25) , (26) according to Figure 7 For the ACO reconstruction arrangement in scenario 1 (b) shown, the output current of each row in the TCT-arranged PV array is calculated as follows: , (27) , (28) , (29) , (30) , (31) The output current of each row, the output voltage of the PV array, and the global maximum output power are shown in Table 2.

[0045] Table 2. The location of the global maximum power point P of the TCT arrangement and ACO reconstruction arrangement in scenario 2

[0046] It can be observed from Table 2 that only when the 8th row is bypassed, the TCT arrangement can achieve the maximum output power of 48.0 V m I m , and the ACO reconstruction arrangement can achieve a maximum output power of 57.6 without bypassing V m I m .

[0047] In this embodiment, the IV curve (current-voltage curve) and PV curve (power-voltage curve) simulated by the Matlab-Simulink platform for scenario 2 are as follows: Figure 8 and Fig. 9 See Figure 8 and Fig. 9It can be seen that the curve of the ACO reconstruction arrangement is obviously smoother than that of the TCT arrangement. The maximum output power of the ACO reconstruction arrangement is 4.906kW, while that of the TCT arrangement is only 4.277kW. It can be seen that the IV curve (current-voltage curve) and PV curve (power-voltage curve) obtained by the photovoltaic array reconstruction method for partially shielded scenes based on the ant colony algorithm in this embodiment are smoother and have a larger global maximum output power than that of the TCT arrangement.

[0048] In summary, in order to solve the problem of reduced power of photovoltaic arrays under partial shading, this embodiment proposes a reconstruction method based on the ant colony algorithm (ACO). The ant colony algorithm is based on the behavior of an ant colony in searching for food, and applies a positive feedback mechanism to make the search results converge continuously and finally approach the optimal solution. In addition, each individual can change the surrounding environment by releasing pheromones and can perceive the changes in the surrounding environment in real time, so each individual can communicate indirectly through the environment. The method of this embodiment searches for the optimal solution based on the ant colony algorithm, so that distributed solution can be achieved during the search process. Multiple ant individuals perform parallel calculations at the same time, which greatly improves the computing power and operation efficiency of the algorithm. The photovoltaic array reconstruction method based on the ant colony algorithm in the partially shading scene of this embodiment is a photovoltaic array reconstruction scheme based on the ant colony algorithm under partial shading conditions to obtain a larger global maximum output power. By comparing with the full cross arrangement through simulation in Matlab-Simulink, the proposed reconstruction method obtains better results and verifies its feasibility.

[0049] In addition, this embodiment also provides a partially shielded scene photovoltaic array reconstruction system based on an ant colony algorithm, including an interconnected microprocessor and a memory, wherein the microprocessor is programmed or configured to execute the partially shielded scene photovoltaic array reconstruction method based on an ant colony algorithm.

[0050] In addition, this embodiment also provides a computer-readable storage medium, in which a computer program or instruction is stored. The computer program or instruction is programmed or configured to execute the partially shielded scene photovoltaic array reconstruction method based on the ant colony algorithm through a processor.

[0051] In addition, this embodiment also provides a computer program product, including a computer program or instructions, which are programmed or configured to execute the partially shielded scene photovoltaic array reconstruction method based on the ant colony algorithm through a processor.

[0052] Those skilled in the art should understand that the technical solutions provided by the embodiments of the present application may be in the form of methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. 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 produce 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 process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in 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.

[0053] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A photovoltaic array reconstruction method for partially shielded scenes based on ant colony algorithm, characterized in that: The steps include: S1, initialize the photovoltaic array, pheromone concentration matrix and taboo table, where the pheromone concentration matrix is ​​used to record the intensity of pheromones left by ants on the path, and the taboo table is used to record the paths that ants have recently visited. The ants were randomly placed on the photovoltaic panels of the photovoltaic array; S2, for each ant, move the ant to the next photovoltaic panel other than the photovoltaic panel recorded in the taboo table based on probability, and put the photovoltaic panel where the ant was previously located into the taboo table after the ant moves, until the ant has walked through the photovoltaic array; S3, calculate the total power generated by the photovoltaic array under the photovoltaic array arrangement formed by the path of ant movement, and update the pheromone concentration matrix; S4, judging whether the preset end condition is met, if not, jumping to step S2; otherwise, the photovoltaic array arrangement with the best total power and the total power output generated by the photovoltaic array under this photovoltaic array arrangement are generated.

2. The method for reconstructing a photovoltaic array in a partially shielded scene based on an ant colony algorithm according to claim 1, characterized in that: The calculation function expression of the probability in step S2 is: , In the above formula, For the Only ants in Moment from photovoltaic panels Moving to photovoltaic panels The probability of for Moment from photovoltaic panels To photovoltaic panels The pheromone concentration, As the inspiration factor, for Moment from photovoltaic panels To photovoltaic panels Visibility, is the expected heuristic factor, For the Only ants can move a collection of photovoltaic panels.

3. The method for reconstructing a photovoltaic array in a partially shielded scene based on an ant colony algorithm according to claim 2, characterized in that: Moment from photovoltaic panels To photovoltaic panels Visibility The value is 0, the expected heuristic factor The value is 0.

4. The method for reconstructing a photovoltaic array in a partially shielded scene based on an ant colony algorithm according to claim 1, characterized in that: The function expression for calculating the total power generated by the photovoltaic array under this photovoltaic array arrangement in step S3 is: , In the above formula, For this PV array arrangement, the total power generated by the PV array is: is the total number of rows of the photovoltaic array, is the voltage of a single row of photovoltaic panels, is the number of rows of the bypassed PV array, It is the minimum total row current of the remaining PV array that is not bypassed.

5. The method for reconstructing a photovoltaic array in a partially shielded scene based on an ant colony algorithm according to claim 1, characterized in that: The function expression for updating the pheromone concentration matrix in step S3 is: , In the above formula, for Photovoltaic panels To photovoltaic panels The pheromone concentration, It is a pheromone volatile factor. for Photovoltaic panels To photovoltaic panels The pheromone concentration, For all Only ants in Time has come The pheromone increment released at all times, For the Only ants in Time has come The pheromone increments released at every moment.

6. The method for reconstructing a photovoltaic array in a partially shielded scene based on an ant colony algorithm according to claim 5, characterized in that: No. Only ants in Time has come The calculation function expression of the pheromone increment released at a certain moment is: , In the above formula, For the The total power generated by the photovoltaic array under the photovoltaic array arrangement formed by the paths of the ants moving, is a constant, Photovoltaic panels To photovoltaic panels Path.

7. The method for reconstructing a photovoltaic array in a partially shielded scene based on an ant colony algorithm according to claim 6, characterized in that: The preset end condition in step S4 is that the number of iterations is equal to a preset threshold.

8. A photovoltaic array reconstruction system for partially shaded scenes based on ant colony algorithm, comprising an interconnected microprocessor and a memory, characterized in that: The microprocessor is programmed or configured to execute the photovoltaic array reconstruction method for a partially shielded scene based on an ant colony algorithm as recited in any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program or instruction stored therein, characterized in that: The computer program or instruction is programmed or configured to execute the method for reconstructing a photovoltaic array in a partially shielded scenario based on an ant colony algorithm as recited in any one of claims 1 to 7 through a processor.

10. A computer program product comprising a computer program or instructions, characterized in that The computer program or instruction is programmed or configured to execute the method for reconstructing a photovoltaic array in a partially shielded scenario based on an ant colony algorithm as recited in any one of claims 1 to 7 through a processor.