A method for extracting unknown parameters of photovoltaic model and computer equipment

By performing global search and NM simplex local search in the partial reinforcement optimizer, combined with fitness value learning, the error problem in photovoltaic model parameter extraction is solved and the accuracy and stability of the extraction are improved.

CN118673824BActive Publication Date: 2024-10-22BIG DATA & INFORMATION TECH RES INST OF WENZHOU UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411170686.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-10-22
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

Existing partially enhanced optimizers have large errors in photovoltaic model parameter extraction, resulting in inaccurate extraction.

Method used

By generating an initial parameter vector set and conducting a global search, the optimized parameter vector set is obtained by using fitness value comparison learning, and combined with NM simplex to perform local search and iterative optimization until the maximum number of evaluations is reached to improve the accuracy of parameter extraction.

Benefits of technology

It effectively reduces the error when extracting photovoltaic model parameters by the partially enhanced optimizer, and improves the accuracy of parameter extraction and the convergence accuracy and stability of the algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673824B_ABST
    Figure CN118673824B_ABST
Patent Text Reader

Abstract

The present invention provides a method for extracting unknown parameters of a photovoltaic model and a computer device, belonging to the field of detection of solar cells and photovoltaic power generation arrays. The method comprises: performing a global search on an initial parameter vector set generated based on an unknown parameter range of a photovoltaic model by a partial enhancement optimizer to obtain a first optimization parameter vector set; for each parameter vector in the first optimization parameter vector set, performing learning based on the difference between an unknown parameter extracted from a parameter vector with a smaller fitness value and an unknown parameter extracted from a parameter vector with a larger fitness value in two randomly selected parameter vectors to obtain a second optimization parameter vector set; and further optimizing the optimal parameter vectors in the first optimization parameter vector set and the second optimization parameter vector set by an NM simplex. The method can reduce the error when the partial enhancement optimizer extracts the unknown parameters of the photovoltaic model, improve the accuracy of the unknown parameter extraction, and has good stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of detection of solar cells and photovoltaic power generation arrays, and specifically relates to a method for extracting unknown parameters of a photovoltaic model and a computer device. Background Art

[0002] Sustainable development is an important goal pursued by all countries. Energy is a core issue in promoting sustainable development. As one of the most widely used sustainable energy sources, solar photovoltaic power generation systems have developed rapidly. Scientists have proposed some photovoltaic models, which are extremely important for the simulation, control, analysis, evaluation and design of photovoltaic power generation systems. The commonly used photovoltaic models are implicit transcendental equations, and it is extremely difficult to extract unknown parameters in the equations. Therefore, how to efficiently extract unknown parameters in the model has always been a research problem in this field.

[0003] The Partial Reinforcement Optimizer (PRO) is a meta-heuristic algorithm used to solve optimization problems. In the parameter extraction of the photovoltaic model, PRO can be used to find the optimal values ​​of the model parameters. However, the PRO algorithm mainly emphasizes the reinforcement of its own behavior, which will lead to low convergence accuracy and the inability of individuals in the population to fully communicate information, resulting in large errors in the partial reinforcement optimizer when solving the parameter extraction problem of the photovoltaic model.

[0004] Therefore, how to reduce the error of the photovoltaic model parameters extracted by the partial enhancement optimizer and thus improve the accuracy of parameter extraction becomes a problem to be solved. Summary of the invention

[0005] In order to solve the problem of large errors in some enhanced optimizers when solving the problem of extracting parameters of photovoltaic models, the present invention provides a method for extracting unknown parameters of a photovoltaic model and a computer device.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] A method for extracting unknown parameters of a photovoltaic model, comprising:

[0008] Obtaining a parameter range of unknown parameters of the photovoltaic model; generating an initial parameter vector set and a maximum number of evaluations of the partial enhancement optimizer within the parameter range;

[0009] Performing a global search on the initial parameter vector set by a partial enhancement optimizer to obtain a first optimized parameter vector set;

[0010] For each parameter vector in the first optimization parameter vector set, learning is performed based on the difference between the unknown parameters extracted from the first parameter vector and the unknown parameters extracted from the second parameter vector to obtain a second optimization parameter vector set; wherein the first parameter vector is a parameter vector with a smaller fitness value among two parameter vectors randomly selected from the first optimization parameter vector set, and the second parameter vector is a parameter vector with a larger fitness value among the two parameter vectors; the fitness value is the root mean square error between the measured output current and the predicted output current of the photovoltaic model;

[0011] Determine a first optimal parameter vector from the first optimization parameter vector set and the second optimization parameter vector set based on the fitness value, and obtain a second optimal parameter vector by performing a local search on the first optimal parameter vector through an NM simplex;

[0012] Compare the parameter vectors in the first optimization parameter vector set and the second optimization parameter vector set accordingly, take the parameter vectors with smaller fitness values ​​after pairwise comparison to form a new optimization parameter vector set, and use the new optimization parameter vector set as the input of the partial enhancement optimizer, return to the step of executing the global search to iterate until the number of iterations reaches the maximum number of evaluations;

[0013] The parameter vector with a smaller fitness value among the first optimal parameter vector and the second optimal parameter vector obtained in the last iteration is used as the unknown parameter of the photovoltaic model.

[0014] Optionally, learning is performed based on the difference between the unknown parameters extracted from the first parameter vector and the unknown parameters extracted from the second parameter vector to obtain a second optimized parameter vector set, including:

[0015] In the first optimization parameter vector set, two parameter vectors are determined and ;

[0016] if The fitness value is less than The fitness value of The unknown parameters extracted from The difference of the unknown parameters extracted from the parameter vector is used to update the optimized parameter vector; if The fitness value is greater than The fitness value of The unknown parameters extracted from The difference of the unknown parameters extracted from the parameter vector is used to update the parameter vector to obtain the optimized parameter vector;

[0017] taking a set consisting of each optimized parameter vector as the second optimized parameter vector set;

[0018] Optionally, if The fitness value is less than The fitness value of The unknown parameters extracted from The difference of the unknown parameters extracted from the parameter vector is used to update the optimized parameter vector; if The fitness value is greater than The fitness value of The unknown parameters extracted from The difference of the unknown parameters extracted from the parameter vector is used to update the optimized parameter vector, including:

[0019]

[0020] in, Indicates the newly generated The parameter vector is The value on the dimension, Indicates the current The parameter vector is The value on the dimension, Following the Levy distribution, and express The values ​​of the two random parameter vectors in dimension, and Respectively and The fitness value of .

[0021] Optionally, performing a local search on the first optimal parameter vector by using an NM simplex to obtain a second optimal parameter vector includes:

[0022] Step 1: Construct the first optimal parameter vector points, among which points are the vertices of the initial NM simplex, is the number of unknown parameters of the photovoltaic model;

[0023] Step 2: Sort the fitness values ​​of the vertices: ;

[0024] Step 3: Calculate the reflection point and its fitness value ;if and , then Replace with , then go to step 7; if , then go to step 4; if , then execute step 5;

[0025] Among them, the reflection point is calculated The formula is:

[0026]

[0027] express D The centers of the vertices, and , represents the reflection coefficient;

[0028] Step 4: Calculate the extension points Its fitness value ,if ,Will Replace with Otherwise Replace with , then proceed to step 7;

[0029] Among them, the calculation extension point The formula is:

[0030]

[0031] in, is the expansion coefficient;

[0032] Step 5: If , then calculate the inner contraction point Its fitness value ,if Then Replace with , then proceed to step 7; otherwise, continue to step 6; if , then calculate the external contraction point Its fitness value ,if , then Replace with , then go to step 7; otherwise, go to step 6;

[0033] Among them, calculate the internal contraction point The formula is:

[0034]

[0035] Calculate the external contraction point The formula is:

[0036]

[0037] is the shrinkage coefficient;

[0038] Step 6: Shrink Construct a new simplex from all points other than The position of the point with the smallest fitness value among the points is taken as the second optimal parameter vector;

[0039] The expression of the contraction point is:

[0040]

[0041] in, is the shrinkage coefficient, Indicates the overall contraction point;

[0042] Step 7: Determine whether the search termination condition is met. If the search termination condition is met, the search ends; if the search termination condition is not met, iterate steps 2 to 6.

[0043] Optionally, performing a global search on the initial parameter vector set by a partial enhanced optimizer to obtain a first optimized parameter vector set includes:

[0044] Obtaining a plan table corresponding to each parameter vector, wherein the plan table includes an importance index for each dimension in the parameter vector;

[0045] Calculate the time coefficient according to the ratio of the current evaluation times to the total evaluation times, determine the selection probability of the dimension according to the time coefficient, sort the importance indicators of the dimension in descending order, and determine the target dimension in the sorting result according to the selection probability;

[0046] The stimulation coefficient is determined according to the time coefficient and the random value within a preset range, and the stimulation coefficient is used to determine the

[0047] The target dimension in the parameter vector is updated to generate a new parameter vector;

[0048] If the fitness value of the new parameter vector generated is less than the fitness value of the current parameter vector, the importance index of the target dimension in the plan table is increased; if the fitness value of the new parameter vector generated is greater than the fitness value of the current parameter vector, the importance index of the target dimension in the plan table is reduced;

[0049] The next iteration is performed according to the updated importance index until the termination condition is reached, and the parameter vector set obtained after the iteration is completed is used as the first optimized parameter vector set.

[0050] Optionally, it also includes:

[0051] If the parameter vector falls into a negative reinforcement cycle during the iteration process, the parameter vector and the schedule of the parameter vector are corrected;

[0052] The mathematical expression of the correction is:

[0053]

[0054]

[0055] in, Indicates The parameter vector is The value of the dimension, represents the calculated standard deviation, represents uniform distribution, and Respectively represent the parameter vector in The upper and lower bounds of the dimension, Indicates The parameter vector is Importance index in the planning table on the dimension.

[0056] Optionally, the photovoltaic model includes a single diode model, a double diode model, a triple diode model and a photovoltaic module model;

[0057] Wherein, the mathematical expression of the single diode model is:

[0058]

[0059] is the output current of the single diode model, is the light-induced current, exp(·) is the natural exponential function, represents the output voltage of the single diode model, represents the series resistance in the circuit, represents the elementary charge, Represents the ideality factor of the diode under ideal conditions, is the Boltzmann constant, Indicates temperature, represents the reverse saturation current of the diode, represents the shunt resistance. The unknown parameters of the single diode model include: , , , and ;

[0060] The mathematical expression of the double diode model is:

[0061]

[0062] is the output current of the dual diode model, and represents the reverse saturation current through the diode, and represents the ideal factor; the unknown parameters of the double diode model include: , , , , , and ;

[0063] The mathematical expression of the three-diode model is:

[0064]

[0065] in, is the output current of the three-diode model, , and represents the reverse saturation current through the diode, , and is the ideal factor; the unknown parameters of the three-diode model include: , , , , , , 、 and ;

[0066] The photovoltaic module model has the following mathematical expression:

[0067]

[0068] in, is the output current of the photovoltaic module model, represents the number of solar cells connected in parallel, Represents the number of solar cells connected in series. The unknown parameters of the photovoltaic module model include: , , , and .

[0069] Optionally, the expression for the fitness value is:

[0070] ,

[0071] in, is the fitness value, is the root mean square error, is the number of current data measured, For the The measured output current, is the parameter vector, Indicates A predicted output current.

[0072] The present invention also provides a device for extracting unknown parameters of a photovoltaic model, comprising:

[0073] An initialization module is used to obtain a parameter range of unknown parameters of the photovoltaic model; generate an initial parameter vector set and a maximum number of evaluations of the partial enhancement optimizer within the parameter range;

[0074] A first optimization module, configured to perform a global search on the initial parameter vector set by a partial enhancement optimizer to obtain a first optimized parameter vector set;

[0075] A second optimization module is used to learn, for each parameter vector in the first optimization parameter vector set, based on the difference between the unknown parameters extracted from the first parameter vector and the unknown parameters extracted from the second parameter vector, to obtain a second optimization parameter vector set; wherein the first parameter vector is a parameter vector with a smaller fitness value among two parameter vectors randomly selected from the first optimization parameter vector set, and the second parameter vector is a parameter vector with a larger fitness value among the two parameter vectors; the fitness value is a root mean square error between the measured output current and the predicted output current of the photovoltaic model;

[0076] A third optimization module, configured to determine a first optimal parameter vector from the first optimization parameter vector set and the second optimization parameter vector set based on a fitness value, and obtain a second optimal parameter vector by performing a local search on the first optimal parameter vector through an NM simplex;

[0077] An iteration module, used for comparing the parameter vectors in the first optimization parameter vector set and the second optimization parameter vector set, taking the parameter vectors with smaller fitness values ​​after pairwise comparison to form a new optimization parameter vector set, and using the new optimization parameter vector set as the input of the partial enhancement optimizer, returning to the step of executing the global search to iterate until the number of iterations reaches the maximum number of evaluations;

[0078] The determination module is used to use the parameter vector with a smaller fitness value among the first optimal parameter vector and the second optimal parameter vector obtained in the last iteration as the unknown parameter of the photovoltaic model.

[0079] The present invention also provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for extracting unknown parameters of the photovoltaic model when executing the program.

[0080] The present invention also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method for extracting unknown parameters of the photovoltaic model is implemented.

[0081] The method for extracting unknown parameters of a photovoltaic model provided by the present invention has the following beneficial effects:

[0082] The present invention compares the fitness values ​​of two random parameter vectors in the first parameter vector set based on the global search of the partial enhanced optimizer, and learns based on the difference between the unknown parameters extracted from the parameter vector with a small fitness value and the unknown parameters extracted from the parameter vector with a large fitness value. Since the fitness value is the root mean square error between the measured current and the predicted current of the photovoltaic model, the smaller the fitness value, the closer the unknown parameters of the extracted photovoltaic model are to the true value. Therefore, the learning process can enable the parameter vector set of the enhanced optimizer to learn from a better parameter vector, overcome the defect of lack of information exchange of parameter vectors (individuals) within the parameter vector set (population) of the partial enhanced optimizer, thereby improving the quality of the optimized parameter vector set; secondly, the optimal parameter vector obtained in the global search and learning stages is further optimized by the NM simplex, which can effectively improve the convergence accuracy and stability of the algorithm. In summary, the present invention can reduce the error when the partial enhanced optimizer extracts the parameters of the photovoltaic model and improve the accuracy of parameter extraction by learning from excellent parameter vectors and improving the partial enhanced optimizer by the NM simplex. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] In order to more clearly illustrate the embodiment of the present invention and its design scheme, the following briefly introduces the drawings required for this embodiment. The drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0084] Figure 1 A schematic flow chart of a method for extracting unknown parameters of a photovoltaic model provided in an embodiment of the present invention;

[0085] Figure 2 Equivalent circuit diagrams of various photovoltaic models provided in the embodiments of the present invention; wherein, Figure 2 Figure (a) is the equivalent circuit diagram of a single diode model; Figure 2 Figure (b) is the equivalent circuit diagram of the double diode model; Figure 2 Figure (c) is the equivalent circuit diagram of the three-diode model; Figure 2 Figure (d) is the equivalent circuit diagram of the photovoltaic module model;

[0086] Figure 3A schematic diagram of updating a parameter vector in a learning phase provided by an embodiment of the present invention; wherein, Figure 3 Figure (a) shows X A The fitness value is less than X B Schematic diagram of parameter vector update under the condition of fitness value; Figure 3 Figure (b) shows X B The fitness value is less than X A Schematic diagram of parameter vector update under the condition of fitness value;

[0087] Figure 4 A schematic diagram of constructing an NM simplex provided by an embodiment of the present invention;

[0088] Figure 5 RMSE convergence curve diagram of each algorithm provided by the embodiment of the present invention on a single diode model;

[0089] Figure 6 RMSE convergence curve diagram of each algorithm provided by the embodiment of the present invention on a dual diode model;

[0090] Figure 7 RMSE convergence curve diagram of each algorithm provided by the embodiment of the present invention on a three-diode model;

[0091] Figure 8 RMSE convergence curve diagram of each algorithm provided by the embodiment of the present invention on the photovoltaic model component;

[0092] Fig. 9 RMSE box plot of each algorithm provided in the embodiment of the present invention on a single diode model;

[0093] Fig.10 RMSE box plot of each algorithm provided by the embodiment of the present invention on a dual diode model;

[0094] Fig.11 RMSE box plot of each algorithm provided by the embodiment of the present invention on a three-diode model;

[0095] Fig.12 RMSE box plot of each algorithm provided by the embodiment of the present invention on the photovoltaic model component;

[0096] Fig.13 A schematic diagram of the structure of a device for extracting unknown parameters of a photovoltaic model provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0097] In order to enable those skilled in the art to better understand the technical solution of the present invention and implement it, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the scope of protection of the present invention.

[0098] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the technical solutions of the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0099] In addition, the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. In the description of the present invention, it should be noted that, unless otherwise clearly specified or limited, the terms "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. In the description of the present invention, unless otherwise specified, "plurality" means two or more, which will not be described in detail here.

[0100] Example 1

[0101] Figure 1 A schematic flow chart of a method for extracting unknown parameters of a photovoltaic model provided in an embodiment of the present invention.

[0102] For example, Figure 1 As shown, the execution steps of this method are:

[0103] S1, obtaining the parameter range of the unknown parameters of the photovoltaic model; generating an initial parameter vector set and a maximum number of evaluations of the partial enhancement optimizer within the parameter range.

[0104] Optionally, the photovoltaic model includes a single diode model, a double diode model, a triple diode model and a photovoltaic module model, and different photovoltaic models contain different types and quantities of unknown parameters.

[0105] Among them, the mathematical expression of the single diode model is as follows:

[0106]

[0107] is the output current of the single diode model, is the light induced current, is the current of the shunt resistor, is the diode current.

[0108] The calculation expression is:

[0109]

[0110] Among them, exp(·) is the natural exponential function, represents the output voltage of the single diode model, represents the series resistance in the circuit, represents the elementary charge, Represents the ideality factor of the diode under ideal conditions, is the Boltzmann constant, Indicates temperature, Represents the reverse saturation current of the diode.

[0111] The calculation expression is:

[0112]

[0113] Represents shunt resistance.

[0114] In summary, the mathematical expression of the single diode model is as follows:

[0115]

[0116] It can be seen that the single diode model mainly includes five unknown parameters: , , , and .

[0117] The mathematical representation of the double diode model is as follows:

[0118]

[0119] is the output current of the dual diode model, and represents the reverse saturation current through the diode, and Represents the ideal factor.

[0120] It can be seen that the dual diode model contains 7 unknown parameters: , , , , , and .

[0121] The mathematical representation of the three-diode model is as follows:

[0122]

[0123] in, , and represents the reverse saturation current through the diode, , and is the ideal factor.

[0124] It can be seen that the three-diode model contains nine unknown parameters: , , , , , , 、 and .

[0125] The photovoltaic module model consists of a single diode model, which has better performance and a more complex structure. The mathematical expression is as follows:

[0126]

[0127] in, is the output current of the photovoltaic module model, represents the number of solar cells connected in parallel, Represents the number of solar cells connected in series. It can be seen that the unknown parameters of the photovoltaic module model include: , , , and .

[0128] Figure 2 Equivalent circuit diagrams of various photovoltaic models provided by embodiments of the present invention, wherein: Figure 2 Figure (a) is the equivalent circuit diagram of a single diode model, which consists of a current source in parallel with the diode, a shunt resistor representing the leakage current, and a series resistor representing the load current loss; Figure 2 Figure (b) is the equivalent circuit diagram of the double diode model, which is achieved by adding a diode to the original single diode to characterize the complex loss of carriers in the dissipation region; Figure 2 Figure (c) shows the equivalent circuit diagram of the three-diode model, which is achieved by adding a diode to the original double diode; Figure 2 Figure (d) is the equivalent circuit diagram of the photovoltaic module model, which is the interface for converting light into electrical energy and is usually composed of multiple solar cells connected in series or in parallel.

[0129] The parameter range of the unknown parameters of the photovoltaic model refers to the range of the values ​​of each unknown parameter. The parameter range can be determined based on the data provided by the photovoltaic solar cell manufacturer. For example, the parameter range of a photovoltaic module composed of a single diode solar cell is: ∈[0A,2A], ∈[0A,50A], ∈[0Ω,2Ω], ∈[1Ω,2000Ω], n∈[1,50].

[0130] Furthermore, a partial enhancement optimizer is used to randomly generate N candidate solutions are used as the initial parameter vector set. The number of parameter vectors in the initial parameter vector set and the maximum number of evaluation times can be determined according to the complexity of the problem and computing resources.

[0131] It should be understood that each parameter vector in the parameter vector set is a combination of unknown parameters of a photovoltaic model. When the photovoltaic model is a single diode model, the parameter vector includes , , , and The values ​​of these five unknown parameters; when the photovoltaic model is a double diode model, the parameter vector includes , , , , , and The values ​​of these seven unknown parameters; when the photovoltaic model is a three-diode model, the parameter vector includes , , , , , , 、 and The values ​​of these nine unknown parameters, when the photovoltaic model is a photovoltaic module model, the parameter vector includes , , , and The values ​​of these five unknown parameters.

[0132] S2, performing a global search on the initial parameter vector set through a partial enhancement optimizer to obtain a first optimized parameter vector set.

[0133] In the global search process, a greedy strategy is adopted to update the parameter vector set. Exemplarily, S2 specifically includes the following process:

[0134] Plan: The plan relies on the plan table. Each parameter vector will have a plan table. The values ​​in the plan table are the dimension importance indicators in the parameter vector. Each dimension will correspond to a value in the plan table. The initial value is between 0.9-1. It should be understood that the larger the value, the more important the dimension is to the parameter vector, and the easier it is to produce positive reinforcement.

[0135] The idea of ​​the partial reinforcement optimizer is to first strengthen some dimensions and then gradually increase the number of strengthened dimensions. During the update process, the time coefficient will gradually increase, and the probability of dimension selection is based on the time coefficient. As the time coefficient increases, the selection probability gradually increases until all dimensions are selected.

[0136] Sort the importance indexes of each dimension, and select the target dimension with a larger importance index from the sorting results according to the selection probability.

[0137] The planning process can be abstracted into the following formula:

[0138]

[0139] in, is the time coefficient, Indicates the current evaluation number, represents the total number of evaluations, represents the probability of selection, represents the selected behavior. In the algorithm, it refers to the dimension of the parameter vector selection. Represents the dimension, For the schedule, The result of sorting in descending order is , represents the size of the selected behavior subset, Indicates rounding. represents uniform distribution, express The elements. It should be understood that The initial value of is set between 0.9 and 1.

[0140] Stimulation: Based on the target dimension selected by the planning process, the stimulation coefficient is determined according to the time coefficient and the random value within the preset range. The target dimension in the parameter vector is updated based on the stimulation coefficient to generate a new parameter vector, while the unselected dimensions are not changed.

[0141] The stimulation coefficient is obtained by summing the time coefficient and a random value. The random value is within a preset range, with a minimum of 0 and a maximum of The ratio of the value of the dimension to the maximum value in the current parameter vector plan table. An intermediate difference is selected with equal probability, including the difference between the optimal parameter vector and the current parameter vector on the selected dimension, and the difference between the current parameter vector and the parameter vector worse than this parameter vector on the selected dimension. The newly generated parameter vector is obtained by adding the product of the intermediate difference and the stimulation coefficient to the current parameter vector.

[0142] The mathematical expression for updating the target dimension is as follows:

[0143]

[0144] Indicates the newly generated The parameter vector is The value on the dimension (target dimension), Indicates the current The parameter vector is The value of the dimension, is the stimulus coefficient, Indicates update The parameter vector is The intermediate difference in dimension.

[0145] in, The mathematical expression is as follows:

[0146]

[0147] The optimal parameter vector is The value of the dimension, Indicates that the fitness value of the random parameter vector is worse than the fitness value of the current parameter vector. The value on the dimension, rand represents a random number in [0,1].

[0148] Among them, the stimulation coefficient The expression is:

[0149]

[0150] Indicates in an interval A uniformly distributed random variable, For the The parameter vector is The value of the plan table on the dimension, max (·) means to find the maximum value, For the A schedule of parameter vectors.

[0151] Response: Act on the newly generated parameter vector. If the fitness value of the newly generated parameter vector is less than the fitness value of the current parameter vector (that is, the newly generated parameter vector is better than the current parameter vector), it is positive reinforcement. Otherwise, it is negative reinforcement and the better parameter vector is saved. The purpose is to finally generate the first optimized vector set.

[0152] Reinforcement: The main purpose of reinforcement is to update the schedule. The updating process uses a constant R less than 1. Positive reinforcement increases the value of the schedule on the target dimension. The increased value is the product of the constant R and the value on the original schedule. Otherwise, it decreases. The decreased value is the product of half of the constant R and the value on the original schedule.

[0153] The mathematical expression of the update schedule process is as follows:

[0154]

[0155] Where R is a constant whose value can be 0.7. represents the fitness value, Indicates the newly generated parameter vector, Indicates the current parameter vector.

[0156] Iteration: Perform the next iteration based on the updated schedule until the termination condition is reached, and use the final parameter vector set as the first optimized parameter vector set.

[0157] The termination condition can be that the maximum number of iterations is reached, the fitness value exceeds a certain threshold, or the parameter vector set changes no longer significantly.

[0158] The iterative process gradually increases the number of enhanced dimensions until all dimensions are selected for updating.

[0159] Optionally, if the parameter vector falls into a negative reinforcement cycle during the iteration process, the parameter vector and its corresponding schedule need to be corrected. The mathematical expression of this process is as follows:

[0160]

[0161] in, Indicates The parameter vector is The value of the dimension, represents the calculated standard deviation, represents uniform distribution, and Respectively represent the parameter vector in Upper and lower bounds for dimensions Indicates A schedule of parameter vectors, For the The parameter vector is The value of the schedule on the dimension (importance indicator).

[0162] The purpose of correction is to prevent the parameter vector from being negatively reinforced all the time, so that the value of the schedule keeps decreasing and affects subsequent updates. Therefore, when the variance of the value in the schedule of a parameter vector is 0, correction is performed to initialize the parameter vector and the corresponding schedule.

[0163] S3, for each parameter vector in the first optimization parameter vector set, learning is performed based on the difference between the unknown parameters extracted from the first parameter vector and the unknown parameters extracted from the second parameter vector to obtain a second optimization parameter vector set.

[0164] The first parameter vector is a parameter vector with a smaller fitness value among two parameter vectors randomly selected from the first optimization parameter vector set, and the second parameter vector is a parameter vector with a larger fitness value among the two parameter vectors randomly selected.

[0165] It should be understood that the process of S3 is a learning stage, and the information exchange capability between some enhanced optimizer parameter vectors can be enhanced by performing local search in this learning stage.

[0166] The above S3 process may include the following steps:

[0167] S301, determining two parameter vectors in the first optimization parameter vector set and , and Set two random parameter vectors for the first optimized parameter vector.

[0168] S302, determine parameter vector and The fitness value of The fitness value is less than The fitness value of The unknown parameters extracted from The difference of the unknown parameters extracted from the parameter vector is used to update the optimized parameter vector; if The fitness value is greater than The fitness value of The unknown parameters extracted from The difference of the unknown parameters extracted from the parameter vector is used to update the parameter vector to obtain the optimized parameter vector.

[0169] S303: taking a set consisting of each optimized parameter vector in the first parameter vector set as a second optimized parameter vector set.

[0170] The mathematical expression of the above parameter vector update process is as follows:

[0171]

[0172] Indicates the newly generated The parameter vector is The value on the dimension, Indicates the current The parameter vector is The value on the dimension, Following the Levy distribution, and express The values ​​of the two random parameter vectors in dimension, and Respectively and The fitness value of .

[0173] in:

[0174]

[0175] is a constant, its value is 1.5; and are two random numbers following normal distribution; is the standard deviation, represents a mean of 0 and a variance of Normal distribution of represents the gamma function.

[0176] In the embodiment of the present invention, the fitness value The expression is:

[0177] ,

[0178] in, is the root mean square error, N is the number of current data measured, For the The measured output current, is the parameter vector, Indicates A predicted output current.

[0179] It should be understood that the fitness value is the root mean square error between the measured output current and the predicted output current of the photovoltaic model. Taking the fitness value of the first parameter vector as an example, the fitness value of the first parameter vector refers to the root mean square error between the measured output current and the output current of the photovoltaic model predicted according to the first parameter vector.

[0180] For example, the process of the above learning phase can refer to Figure 3 , Figure 3 A schematic diagram of updating a parameter vector in a learning phase provided by an embodiment of the present invention. Figure 3 Figure (a) is The fitness value is less than Schematic diagram of parameter vector update under the condition of fitness value; Figure 3 Figure (b) is The fitness value is less than Schematic diagram of the parameter vector update when the fitness value is .

[0181] In the embodiment of the present invention, the fitness value is the root mean square error between the measured output current and the predicted output current of the photovoltaic model, that is, the fitness value represents the difference between the measured output current and the predicted output current. Therefore, the learning stage of the present invention makes full use of the fitness value, and selects the update method according to the size of the fitness value, so that the advantages of the better parameter vector are fully utilized. Extracting unknown parameters of photovoltaic models better than random parameter vectors , the current parameter vector will use The unknown parameters extracted are The difference between the unknown parameters extracted by the parameter vector is used to update; conversely, the current parameter vector uses the difference between the unknown parameters extracted by the parameter vector and The difference of the extracted unknown parameters is updated. This updating method can better reflect the purposeful updating, reflecting the concept of learning from excellent parameter vectors, and complements the concept of strengthening the partial reinforcement optimizer through self-learning.

[0182] S4, determining a first optimal parameter vector from the first optimization parameter vector set and the second optimization parameter vector set based on the fitness value, and obtaining a second optimal parameter vector by performing a local search on the first optimal parameter vector through the NM simplex.

[0183] Among them, NM simplex is the Nelder-Mead simplex algorithm, and the first optimal parameter vector is the parameter vector with the smallest fitness value in the first optimization parameter vector set and the second optimization parameter vector set.

[0184] It should be understood that performing a local search for the optimal parameter vector through the NM simplex can enhance the convergence accuracy of the current optimal parameter vector and further guide the parameter vector set to continue to develop the optimal parameter vector.

[0185] The basic principle of the NM simplex revolves around the construction of approximate search directions to search and replace known points using five basic operations: reflection, extension, outer contraction, inner contraction, and global contraction. The selection of the search direction does not require gradient calculation. Instead, the direction is derived based on the known value of the objective function. The process of determining a specific search point depends on the relationship between the worst point in the simplex and the centroid of the remaining points. Geometrically speaking, in D-dimensional space, the NM simplex can construct a polyhedron with D+1 vertices, thereby being able to identify D+1 points.

[0186] It should be understood that the construction of the simplex is to generate other D points near the optimal parameter vector (optimal solution). These D points are different from the optimal parameter vector only in one dimension. In this way, the information of the optimal parameter vector can be fully retained, and the area near the current parameter vector (current solution) can be further developed to improve the effectiveness of the extracted unknown parameters of the photovoltaic model.

[0187] The process of obtaining the second optimal parameter vector by performing a local search on the first optimal parameter vector through the NM simplex, that is, the process of constructing a new simplex, may include the following steps:

[0188] Step 1: Construct D+1 points for the first optimal parameter vector.

[0189] Among them, D+1 points are the vertices of the initial NM simplex, and D is the number of unknown parameters of the photovoltaic model.

[0190] The constructed expression is as follows:

[0191]

[0192] in, For the construction The vertex The value of the dimension, is a constant, its value is 0.05, is a constant, its value is 0.00025, express No. dimension, represents the same parameter vector as the first optimal parameter vector, A value from 1 to D.

[0193] It should be understood that, assuming the number of unknown parameters is D, a fixed change in only one dimension will generate D vertices, plus the one point that remains unchanged, so D+1 vertices can be constructed.

[0194] Step 2: Sort the fitness values ​​of D+1 points:

[0195]

[0196] Step 3: Calculate the reflection point and its fitness value ;if and , then Replace with , then go to step 7; if , then go to step 4; if , go to step 5.

[0197] Among them, the reflection point is calculated The formula is:

[0198]

[0199]

[0200] in, is the reflection coefficient, represents the center of D points.

[0201] Step 4: Calculate the extension points Its fitness value ,if ,Will Replace with Otherwise Replace with , then proceed to step 7.

[0202] Calculating Extension Points The formula is:

[0203]

[0204] in, is the expansion coefficient.

[0205] Step 5: If , then calculate the inner contraction point Its fitness value ,if Then Replace with , then proceed to step 7; otherwise, continue to step 6; if , then calculate the external contraction point Its fitness value ,if , then Replace with , then go to step 7; otherwise, go to step 6.

[0206] Calculate the internal contraction point and external contraction point The formula is:

[0207]

[0208]

[0209] in, is the shrinkage coefficient.

[0210] Step 6: Description of the overall shrinkage point, including shrinkage removal Construct a new simplex from all points other than The position of the point with the smallest fitness value among the points is taken as the second optimal parameter vector.

[0211] The expression of the contraction point is:

[0212]

[0213] in, is the shrinkage coefficient, Indicates the overall contraction point.

[0214] Step 7: If the search termination condition is met, the search ends; otherwise, continue to the next iteration, that is, iterate steps 2 to 6.

[0215] It should be understood that the above process is a process of searching and replacing the vertices of the initial NM simplex to construct a new NM simplex.

[0216] For example, the process of performing the NM simplex can refer to Figure 4 , Figure 4 A schematic diagram of constructing an NM simplex provided by an embodiment of the present invention. At this point, one iteration is completed, and then the new optimization parameter vector set is used as the input of the partial enhancement optimizer, and the process returns to S2, and iteratively executes S2-S4.

[0217] Optionally, the parameter vectors in the first optimization parameter vector set and the second optimization parameter vector set are compared correspondingly, and the parameter vectors with smaller fitness values ​​after pairwise comparison are selected to form a new optimization parameter vector set. It should be understood that the number of parameter vectors in the first optimization parameter vector set and the second optimization parameter vector set is the same, and the corresponding comparison is performed in order, and the parameter vector with smaller fitness value in each comparison result is retained to obtain a new parameter vector set.

[0218] Each time S2-S4 is executed, the number of iterations increases by one.

[0219] S5, determine whether the number of iterations reaches the maximum number of evaluations , If yes, execute S6, if no, return to S2.

[0220] Specifically, if the number of iterations does not reach the maximum number of evaluations, the new optimized parameter vector set is used as the input of the partial enhancement optimizer, and the steps of executing the global search, obtaining the second optimized parameter vector set, and the NM simplex local search are returned. If the number of iterations reaches the maximum number of evaluations, the parameter vector with the smaller fitness value among the first optimal parameter vector and the second optimal parameter vector obtained in the last iteration is output as the unknown parameter of the photovoltaic model.

[0221] Optionally, the fitness values ​​of the first optimal parameter vector and the second optimal parameter vector can be compared after each iteration to determine the parameter vector with a small fitness value; and after the number of iterations reaches the maximum number of evaluations, the fitness values ​​of the first optimal parameter vector and the second optimal parameter vector can be compared again to determine the parameter vector with a small fitness value as the unknown parameters of the photovoltaic model, which is not specifically limited in the embodiment of the present invention.

[0222] S6, output unknown parameters of the photovoltaic model.

[0223] Next, combine Figures 5 to 12 The experimental results in the present invention are presented. It should be understood that Figures 5 to 12Among them, LNPRO (Improved Partial Reinforcement Optimizer) is the improved partial reinforcement optimizer based on the learning stage and NM simplex of the present invention, IJAYA (Improved Jaya Algorithm) is the improved victory algorithm, GOTLBO (Improved Teaching-Learning-Based Optimization) is the improved teaching and learning algorithm, MLBSA (Improved Backtracking Search Algorithm) is the improved backtracking algorithm for multi-strategy learning, TLBOBSA (Teaching-Learning-Based Optimization Backtracking Search Algorithm) is a hybrid backtracking algorithm and teaching and learning algorithm, CCNMHHO (Improved Harris Hawks Optimization) is the Harris Hawks algorithm based on crisscross and NM simplex, EHHO (Enhanced Harris Hawks Optimization) is the enhanced Harris Hawks algorithm, BSA (Backtracking Search Algorithm) is the original backtracking algorithm, and PRO is the original partial reinforcement optimizer.

[0224] Figure 5 The RMSE convergence curves of each algorithm on a single diode model are shown; Figure 6 The RMSE convergence curves of each algorithm on the dual-diode model are shown; Figure 7 The RMSE convergence curves of each algorithm on the three-diode model are shown; Figure 8 The RMSE convergence curves of various algorithms on photovoltaic model components are shown.

[0225] pass Figures 5 to 8 It can be seen that the improved partial enhancement optimizer of the present invention has a lower RMSE value than other common algorithms, which means that the unknown parameters of the photovoltaic model extracted by the present invention have a smaller error and the performance is also improved compared with the original partial enhancement optimizer.

[0226] Fig. 9 The RMSE box plot of each algorithm on the single diode model is shown; Fig.10 The RMSE box plot of each algorithm on the dual-diode model is shown; Fig.11 The RMSE box plot of each algorithm on the three-diode model is shown; Fig.12 The RMSE box plots of each algorithm on the photovoltaic model components are shown.

[0227] pass Figures 9 to 12 It can be seen that the improved partial enhancement optimizer of the present invention has better stability than other common algorithms, and is also greatly improved compared to the original partial enhancement optimizer.

[0228] Based on the same inventive concept, an embodiment of the present invention provides a device for extracting unknown parameters of a photovoltaic model, exemplarily, as follows: Fig.13 As shown, the device for extracting unknown parameters of the photovoltaic model includes:

[0229] The initialization module 131 is used to obtain the parameter range of the unknown parameters of the photovoltaic model; and generate an initial parameter vector set and a maximum evaluation number of the partial enhancement optimizer within the parameter range.

[0230] The first optimization module 132 is used to perform a global search on the initial parameter vector set through a partial enhanced optimizer to obtain a first optimized parameter vector set.

[0231] The second optimization module 133 is used to learn each parameter vector in the first optimization parameter vector set based on the difference between the unknown parameters extracted from the first parameter vector and the unknown parameters extracted from the second parameter vector to obtain a second optimization parameter vector set.

[0232] The third optimization module 134 is used to determine a first optimal parameter vector from the first optimization parameter vector set and the second optimization parameter vector set based on the fitness value, and obtain a second optimal parameter vector by performing a local search on the first optimal parameter vector through the NM simplex.

[0233] The iteration module 135 is used to compare the parameter vectors in the first optimization parameter vector set and the second optimization parameter vector set, take the parameter vectors with smaller fitness values ​​after pairwise comparison to form a new optimization parameter vector set, and use the new optimization parameter vector set as the input of the partial enhancement optimizer, return to the step of executing the global search to iterate until the number of iterations reaches the maximum number of evaluations.

[0234] The determination module 136 is used to use the parameter vector with a smaller fitness value among the first optimal parameter vector and the second optimal parameter vector obtained in the last iteration as the unknown parameter of the photovoltaic model.

[0235] Each module in the above-mentioned device for extracting unknown parameters of photovoltaic model can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0236] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps in the embodiment of the method for extracting unknown parameters of a photovoltaic model. The specific implementation method can be found in the method embodiment, which will not be repeated here.

[0237] Furthermore, the present invention also provides a non-temporary computer-readable storage medium containing instructions, and a computer program is stored on the storage medium. For example, a memory containing instructions, the above instructions can be executed by a processor of a computer device to complete the above method. For example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. When the computer program is executed by the processor, the steps in the embodiment of the method for extracting unknown parameters of the photovoltaic model can be implemented. The specific implementation method can be found in the method embodiment, which will not be repeated here.

[0238] It should be understood by those skilled in the art that embodiments of the present invention may provide methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present invention may take 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 code.

[0239] The present invention is described with reference to flowcharts and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as a combination of processes and / or blocks 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 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.

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

[0241] 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 in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0242] It should be pointed out that the specific implementation methods described above can enable those skilled in the art to understand the invention more comprehensively, but do not limit the invention in any way. Therefore, although the invention has been described in detail in this specification and embodiments, those skilled in the art should understand that the invention can still be modified or replaced by equivalents; and all technical solutions and improvements that do not deviate from the spirit and scope of the invention are included in the protection scope of the patent for the invention. Any figure mark in the claims should not be regarded as limiting the claims involved. Any simple change or equivalent replacement of the technical solution that can be obviously obtained by any technician familiar with the field within the technical scope disclosed in the present invention belongs to the protection scope of the present invention.

Claims

1. A method for extracting unknown parameters of a photovoltaic model, characterized in that: include: Obtaining a parameter range of unknown parameters of the photovoltaic model; generating an initial parameter vector set and a maximum number of evaluations of the partial enhancement optimizer within the parameter range; Performing a global search on the initial parameter vector set by a partial enhancement optimizer to obtain a first optimized parameter vector set; For each parameter vector in the first optimization parameter vector set, learning is performed based on the difference between the unknown parameters extracted from the first parameter vector and the unknown parameters extracted from the second parameter vector to obtain a second optimization parameter vector set; wherein the first parameter vector is a parameter vector with a smaller fitness value among two parameter vectors randomly selected from the first optimization parameter vector set, and the second parameter vector is a parameter vector with a larger fitness value among the two parameter vectors; the fitness value is the root mean square error between the measured output current and the predicted output current of the photovoltaic model; Determine a first optimal parameter vector from the first optimization parameter vector set and the second optimization parameter vector set based on the fitness value, and obtain a second optimal parameter vector by performing a local search on the first optimal parameter vector through an NM simplex; Compare the parameter vectors in the first optimization parameter vector set and the second optimization parameter vector set accordingly, take the parameter vectors with smaller fitness values ​​after pairwise comparison to form a new optimization parameter vector set, and use the new optimization parameter vector set as the input of the partial enhancement optimizer, return to the step of executing the global search to iterate until the number of iterations reaches the maximum number of evaluations; The parameter vector with a smaller fitness value among the first optimal parameter vector and the second optimal parameter vector obtained in the last iteration is used as the unknown parameter of the photovoltaic model.

2. The method for extracting unknown parameters of a photovoltaic model according to claim 1, characterized in that: Based on the difference between the unknown parameters extracted from the first parameter vector and the unknown parameters extracted from the second parameter vector, learning is performed to obtain a second optimized parameter vector set, including: In the first optimization parameter vector set, two parameter vectors are determined and ; if The fitness value is less than The fitness value of The unknown parameters extracted from The difference of the unknown parameters extracted from the parameter vector is used to update the optimized parameter vector; if The fitness value is greater than The fitness value of The unknown parameters extracted from The difference of the unknown parameters extracted from the parameter vector is used to update the parameter vector to obtain the optimized parameter vector; The set consisting of each optimized parameter vector is used as the second optimized parameter vector set.

3. The method for extracting unknown parameters of a photovoltaic model according to claim 2, characterized in that: if The fitness value is less than The fitness value of The unknown parameters extracted from The difference of the unknown parameters extracted from the parameter vector is used to update the optimized parameter vector; if The fitness value is greater than The fitness value of The unknown parameters extracted from The difference of the unknown parameters extracted from the parameter vector is used to update the optimized parameter vector, including: in, Indicates the newly generated The parameter vector is The value on the dimension, Indicates the current The parameter vector is The value on the dimension, Following the Levy distribution, and express The values ​​of the two random parameter vectors in dimension, and Respectively and The fitness value of .

4. The method for extracting unknown parameters of a photovoltaic model according to any one of claims 1 to 3, characterized in that: Performing a local search on the first optimal parameter vector through the NM simplex to obtain a second optimal parameter vector includes: Step 1: Construct the first optimal parameter vector points, among which points are the vertices of the initial NM simplex, is the number of unknown parameters of the photovoltaic model; Step 2: Sort the fitness values ​​of the vertices: ; Step 3: Calculate the reflection point and its fitness value ;if and , then Replace with , then go to step 7; if , then go to step 4; if , then execute step 5; Among them, the reflection point is calculated The formula is: express D The centers of the vertices, and , represents the reflection coefficient; Step 4: Calculate the extension points Its fitness value ,if ,Will Replace with Otherwise Replace with , then proceed to step 7; Among them, the calculation extension point The formula is: in, is the expansion coefficient; Step 5: If , then calculate the inner contraction point Its fitness value ,if Then Replace with , then proceed to step 7; otherwise, continue to step 6; if , then calculate the external contraction point Its fitness value ,if , then Replace with , then go to step 7; otherwise, go to step 6; Among them, calculate the internal contraction point The formula is: Calculate the external contraction point The formula is: is the shrinkage coefficient; Step 6: Shrink Construct a new simplex from all points other than The position of the point with the smallest fitness value among the points is taken as the second optimal parameter vector; The expression of the contraction point is: in, is the shrinkage coefficient, Indicates the overall contraction point; Step 7: Determine whether the search termination condition is met. If the search termination condition is met, the search ends; if the search termination condition is not met, iterate steps 2 to 6.

5. The method for extracting unknown parameters of a photovoltaic model according to any one of claims 1 to 3, characterized in that: The first optimized parameter vector set is obtained by globally searching the initial parameter vector set through the partial enhancement optimizer, including: Obtaining a plan table corresponding to each parameter vector, wherein the plan table includes an importance index for each dimension in the parameter vector; Calculate the time coefficient according to the ratio of the current evaluation times to the total evaluation times, determine the selection probability of the dimension according to the time coefficient, sort the importance indicators of the dimension in descending order, and determine the target dimension in the sorting result according to the selection probability; The stimulation coefficient is determined according to the time coefficient and the random value within a preset range, and the stimulation coefficient is used to determine the The target dimension in the parameter vector is updated to generate a new parameter vector; If the fitness value of the new parameter vector generated is less than the fitness value of the current parameter vector, the importance index of the target dimension in the plan table is increased; if the fitness value of the new parameter vector generated is greater than the fitness value of the current parameter vector, the importance index of the target dimension in the plan table is reduced; The next iteration is performed according to the updated importance index until the termination condition is reached, and the parameter vector set obtained after the iteration is completed is used as the first optimized parameter vector set.

6. The method for extracting unknown parameters of a photovoltaic model according to claim 5, characterized in that: Also includes: If the parameter vector falls into a negative reinforcement cycle during the iteration process, the parameter vector and the schedule of the parameter vector are corrected; The mathematical expression of the correction is: Indicates The parameter vector is The value of the dimension, represents uniform distribution, and Respectively represent the parameter vector in The upper and lower bounds of the dimension, Indicates The parameter vector is Importance index in the planning table on the dimension.

7. The method for extracting unknown parameters of a photovoltaic model according to any one of claims 1 to 3, characterized in that: The photovoltaic model includes a single diode model, a double diode model, a triple diode model and a photovoltaic module model; Wherein, the mathematical expression of the single diode model is: is the output current of the single diode model, is the light-induced current, exp(·) is the natural exponential function, represents the output voltage of the single diode model, represents the series resistance in the circuit, represents the elementary charge, Represents the ideality factor of the diode under ideal conditions, is the Boltzmann constant, Indicates temperature, represents the reverse saturation current of the diode, represents the shunt resistance. The unknown parameters of the single diode model include: , , , and ; The mathematical expression of the double diode model is: is the output current of the dual diode model, and represents the reverse saturation current through the diode, and represents the ideal factor; the unknown parameters of the double diode model include: , , , , , and ; The mathematical expression of the three-diode model is: in, is the output current of the three-diode model, , and represents the reverse saturation current through the diode, , and is the ideal factor; the unknown parameters of the three-diode model include: , , , , , , 、 and ; The photovoltaic module model has the following mathematical expression: in, is the output current of the photovoltaic module model, represents the number of solar cells connected in parallel, Represents the number of solar cells connected in series. The unknown parameters of the photovoltaic module model include: , , , and .

8. The method for extracting unknown parameters of a photovoltaic model according to any one of claims 1 to 3, characterized in that: The expression of fitness value is: , in, is the fitness value, is the root mean square error, is the number of current data measured, For the The measured output current, is the parameter vector, Indicates A predicted output current.

9. A computer device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for extracting unknown parameters of a photovoltaic model as claimed in any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method for extracting unknown parameters of a photovoltaic model according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Photovoltaic cell model parameter identification method based on Dunhan rambling chaos wolf pack algorithm

    CN115062537A

  • Whale photovoltaic model parameter optimization method based on information sharing search strategy and NM simplex

    CN115618721A

  • Hybrid PSORSA - Parameter estimation of a solar cell

    DE202024100617U1

  • Battery energy storage-based controller for improving microgrid power quality

    US20210296902A1