Non-heuristic photovoltaic duodiode model parameter extraction method and system
By combining the central difference method and the trapezoidal rule with matrix operations and non-heuristic optimization algorithms, the parameters of the photovoltaic dual-diode model are optimized, solving the problems of high computational complexity and randomness of heuristic algorithms, and achieving high-precision and stable parameter extraction.
Patent Information
- Application Number
- CN202410864417.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-30
- Publication Date
- 2024-11-26
AI Technical Summary
Among the existing methods for extracting parameters from photovoltaic dual-diode models, heuristic algorithms have high computational complexity, require a large amount of computational resources, and the results of each run are random.
The numerical derivatives are calculated using the central difference method and the numerical integrals are calculated using the trapezoidal rule. Combined with matrix operations and non-heuristic optimization algorithms, the parameters of the photovoltaic dual-diode model are optimized by gradually adjusting the series resistance and comparing the fitting error.
It achieves low computational complexity and high fitting accuracy, ensuring consistency of results for each run, making it suitable for large-scale continuous testing scenarios and avoiding random errors.
Smart Images

Figure CN119026545A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of solar photovoltaic cells, and in particular to a non-heuristic photovoltaic dual-diode model parameter extraction method and system. Background Art
[0002] Solar photovoltaic cells or modules can convert solar energy into electrical energy by using the photovoltaic effect. However, their energy conversion efficiency is related to factors such as light irradiance, battery temperature, and workload. In order to determine the optimal operating point of solar photovoltaic cells or modules, it is necessary to model them at the circuit level and extract the circuit model parameters. The existing photovoltaic cell models mainly include the photovoltaic single diode model and the photovoltaic double diode model. The photovoltaic single diode model is relatively simple, but has the disadvantage of insufficient accuracy, while the photovoltaic double diode model has high accuracy, but the extraction of model parameters is more difficult. The equivalent circuit diagram of the photovoltaic double diode model is shown in the figure below. Figure 8 As shown, the current-voltage relationship model is as follows:
[0003]
[0004] Where I is the current, V is the voltage, and I ph is the photocurrent, R s is the series resistance, R sh is the bypass resistor, I sA and I sB are the reverse saturation currents of the two diodes, n A and n B are the ideal factors of the two diodes, k = 1.3806503 × 10-23 J / K is the Boltzmann constant, q = 1.602 × 10-19 C is the electron charge, and T is the absolute temperature of the photovoltaic cell or component. Usually, the parameters of the photovoltaic dual-diode model need to be extracted from the current-voltage (IV) data curve obtained from experimental measurements. This problem is a highly non-convex optimization problem in mathematics, that is, the objective function has many local minima in the feasible domain, and ordinary optimization algorithms are very likely to fall into local minima and cannot reach the global minimum. At present, many heuristic (meta-heuristic) algorithms have been proposed for the problem of extracting parameters of the photovoltaic dual-diode model, trying to avoid falling into local minima by introducing multiple initial values and randomness. However, the heuristic algorithm has high computational complexity, consumes a lot of computing resources, and the results of each run are also random. Summary of the invention
[0005] In view of the above-mentioned problems, the present invention is proposed.
[0006] Therefore, the technical problem solved by the present invention is: how to solve the problem that the heuristic algorithm has high computational complexity, consumes a large amount of computing resources, and the result of each operation is also random.
[0007] In order to solve the above technical problems, the present invention provides the following technical solutions: a non-heuristic photovoltaic dual-diode model parameter extraction method, comprising: obtaining an IV data curve of a solar photovoltaic cell or module, calculating the numerical derivative of each point using a central difference method, and calculating the numerical integral of each point using a trapezoidal rule;
[0008] When the series resistance takes different values, the values of other model parameters and fitting errors are calculated using matrix operations;
[0009] Comparison of different R s The RMSE of each fitting error obtained under the conditions is taken out, and the corresponding photovoltaic double diode model parameters are taken out when it reaches the minimum value;
[0010] The extracted photovoltaic dual-diode model parameters are used as the initial values for fitting, and a conventional curve fitting is performed on the photovoltaic model using a non-heuristic optimization algorithm to obtain the final photovoltaic dual-diode model parameters.
[0011] As a preferred embodiment of the non-heuristic photovoltaic dual diode model parameter extraction method of the present invention, wherein: the numerical derivative includes, the IV data point of the photovoltaic cell or photovoltaic module is represented as (I i ,V i );
[0012] The numerical integration includes: the numerical integration is expressed as The subscript number i = 1, 2, ..., N, where N is the number of data points.
[0013] As a preferred solution of the non-heuristic photovoltaic dual diode model parameter extraction method described in the present invention, wherein: the use of matrix operations to calculate the values and fitting errors of other model parameters includes setting the series resistance R s The initial value is 0, the initial value of the count number j is set to 0, and the fixed step size Δ is set;
[0014] If the series resistance Rs value is increased by jΔ, The calculation is completed.
[0015] As a preferred solution of the non-heuristic photovoltaic dual diode model parameter extraction method described in the present invention, wherein: the use of matrix operations to calculate the values and fitting errors of other model parameters also includes: if Then calculate the arrays Di, Si, Ui related to the IV data point and Rs, the formula is:
[0016]
[0017] U i =V i +I i R s
[0018] Where, (dI / dV) i Expressed as the numerical derivative at the data points.
[0019] As a preferred solution of the non-heuristic photovoltaic dual diode model parameter extraction method described in the present invention, wherein: the use of matrix operations to calculate the values and fitting errors of other model parameters also includes constructing a matrix M 1 :
[0020]
[0021] And calculate the intermediate parameters A, B, C, D, E, expressed as:
[0022]
[0023] The superscript T indicates matrix transposition, and the superscript –1 indicates matrix inversion.
[0024] As a preferred solution of the non-heuristic photovoltaic dual diode model parameter extraction method described in the present invention, wherein: the use of matrix operations to calculate the values and fitting errors of other model parameters also includes calculating the photovoltaic dual diode model parameter n A 、n B , R sh , the calculation formula is:
[0025]
[0026] Construct the matrix M 2 , the formula is:
[0027]
[0028] And calculate the photovoltaic double diode model parameters I ph ,I sA ,I sB as follows:
[0029]
[0030] As a preferred solution of the non-heuristic photovoltaic dual diode model parameter extraction method described in the present invention, wherein: the use of matrix operations to calculate the values and fitting errors of other model parameters also includes calculating the current fitting error RMSE, and the calculation formula is:
[0031]
[0032] The count number j increases by 1, and the series resistance Rs value increases by jΔ, and the cycle calculation continues until Complete the calculation.
[0033] A non-heuristic photovoltaic dual-diode model parameter extraction system, characterized by: comprising:
[0034] Data acquisition and processing module: obtain the IV data curve of solar photovoltaic cells or components, calculate the numerical derivative of each point using the central difference method, and calculate the numerical integral of each point using the trapezoidal rule;
[0035] Series resistance parameter calculation module: when the series resistance takes different values, the values of other model parameters and fitting errors are calculated using matrix operations;
[0036] Optimal model parameter selection module: compare the RMSE of each fitting error obtained, and extract the photovoltaic dual diode model parameters corresponding to the minimum value;
[0037] Non-heuristic optimization fitting module: The extracted photovoltaic dual-diode model parameters are used as the initial values for fitting, and the photovoltaic model is subjected to conventional curve fitting using a non-heuristic optimization algorithm to obtain the final photovoltaic dual-diode model parameters.
[0038] The beneficial effects of the present invention are as follows: compared with the existing heuristic algorithms, the present invention has both extremely low computational complexity and high fitting accuracy, is easy to deploy, and can meet the scenario requirements of large-scale continuous testing; compared with the existing heuristic algorithms, the present method does not need to introduce a random search process, and the results of each run for the same group of data are guaranteed to be the same, without random errors.
[0039] Figure Description
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the figures required for describing the embodiments. Obviously, the figures described below are only some embodiments of the present invention. For ordinary technicians in this field, other figures can be obtained based on these figures without creative work. Among them:
[0041] Figure 1 A flowchart of a non-heuristic photovoltaic dual diode model parameter extraction method provided for the first embodiment of the present invention;
[0042] Figure 2 A flowchart of photovoltaic double diode model parameter identification according to a non-heuristic photovoltaic double diode model parameter extraction method provided in a second embodiment of the present invention;
[0043] Figure 3The fitting error graph calculated for Example 1 of a non-heuristic photovoltaic dual diode model parameter extraction method provided by the second embodiment of the present invention (photovoltaic module model MSX-60) under the conditions of light irradiance of 1000W / m2 and temperature of 25°C when the series resistance Rs in step 2 takes different values;
[0044] Figure 4 A pure example 1 (photovoltaic module model MSX-60) of a non-heuristic photovoltaic dual-diode model parameter extraction method provided by the second embodiment of the present invention is a model curve drawn by measuring IV data at different solar irradiances and a fixed temperature of 25°C and the parameters identified according to the method of the present invention;
[0045] Figure 5 Example 1 of a non-heuristic photovoltaic dual-diode model parameter extraction method provided by the second embodiment of the present invention (photovoltaic module model MSX-60) IV data measured at different temperatures and a fixed solar irradiance of 1000W / m2 and a model curve graph drawn by the parameters identified according to the method of the present invention;
[0046] Figure 6 Example 2 of a non-heuristic photovoltaic dual-diode model parameter extraction method provided by the second embodiment of the present invention (photovoltaic module model KC200GT) is a model curve diagram drawn by measuring IV data at different solar irradiances and a fixed temperature of 25°C and the parameters identified according to the method of the present invention;
[0047] Figure 7 Example 2 of a non-heuristic photovoltaic dual-diode model parameter extraction method provided by the second embodiment of the present invention (photovoltaic module model KC200GT) IV data measured at different temperatures and a fixed solar irradiance of 1000W / m2 and a model curve drawn by the parameters identified according to the method of the present invention;
[0048] Figure 8 This is the circuit diagram of the photovoltaic double diode model. DETAILED DESCRIPTION
[0049] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the specification drawings. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0050] Example 1
[0051] Reference Figure 1, as an embodiment of the present invention, provides a non-heuristic photovoltaic dual diode model parameter extraction method, comprising:
[0052] S1: Obtain the IV data curve of the solar photovoltaic cell or module, calculate the numerical derivative of each point using the central difference method, and calculate the numerical integral of each point using the trapezoidal rule.
[0053] The IV data point of a photovoltaic cell or photovoltaic module is expressed as (I i ,V i ), and the numerical derivative at each data point is expressed as (dI / dV) i ; The numerical integral is expressed as The subscript number i = 1, 2, ..., N, where N is the number of data points.
[0054] It should be noted that in the study of photovoltaic cells or modules, the IV data curve is the basic curve reflecting its current-voltage characteristics.
[0055] The calculation of the numerical derivative is expressed as, which is achieved by the central difference method. The central difference method is a common numerical analysis method with high accuracy, especially suitable for processing discrete experimental data. By calculating the numerical derivative, the slope information of the IV curve can be obtained, which is very important for evaluating the dynamic response characteristics of photovoltaic devices and their behavior under different load conditions.
[0056] The numerical integral is expressed as This is achieved through the trapezoidal rule. The trapezoidal rule is an effective numerical integration method suitable for processing irregular data points. Through numerical integration, the area under the IV curve can be accumulated, which is of great significance for evaluating the energy conversion efficiency of photovoltaic equipment. The number i = 1, 2, ..., N, N is the number of data points, which ensures the uniqueness and order of each data point in the calculation process, which is the basis for numerical derivative and integral calculations.
[0057] Furthermore, the present invention obtains IV data curves and combines the central difference method and the trapezoidal rule to accurately calculate numerical derivatives and integrals, providing comprehensive and high-precision data support for the performance analysis of photovoltaic equipment. This not only solves the problems of incomplete data and insufficient calculation accuracy of traditional methods, but also provides a reliable basis for the dynamic response characteristics and energy conversion efficiency evaluation of photovoltaic equipment through specific numerical derivative and integral results, thereby improving the accuracy and reliability of photovoltaic equipment performance analysis.
[0058] S2: When the series resistance takes different values, the values of other model parameters and fitting errors are calculated using matrix operations.
[0059] Set the series resistance R sThe initial value is 0, the initial value of the count number j is set to 0, and a fixed step size Δ is set.
[0060] Increase the value of the series resistor Rs by jΔ.
[0061] like Then calculate the IV data point and R s The associated array D i , S i , U i , the formula is:
[0062]
[0063] U i =V i +I i R s
[0064] Construct the matrix M 1 :
[0065]
[0066] And calculate the intermediate parameters A, B, C, D, E, expressed as:
[0067]
[0068] The superscript T indicates matrix transposition, and the superscript –1 indicates matrix inversion.
[0069] Calculate the photovoltaic double diode model parameter n A 、n B , R sh , the calculation formula is:
[0070]
[0071] Construct the matrix M 2 , the formula is:
[0072]
[0073] And calculate the photovoltaic double diode model parameters I ph ,I sA ,I sB as follows:
[0074]
[0075] Calculate the current fitting error RMSE, the calculation formula is:
[0076]
[0077] The count number j increases by 1, and the series resistance Rs value increases by jΔ, and the cycle calculation continues until Complete the calculation.
[0078] It should be noted that by setting a reasonable initial value and step size of the series resistance, using matrix operations to calculate the model parameters and fitting errors, and finding the optimal parameter combination through cyclic optimization, the present invention achieves accurate fitting and optimization of the photovoltaic dual diode model parameters. The above key steps not only solve the problems of incomplete data and insufficient calculation accuracy in traditional methods, but also improve the model fitting effect and application value through a systematic and comprehensive parameter search method.
[0079] S3: Comparison of different R s The RMSE of each fitting error obtained under the conditions is taken out, and the corresponding photovoltaic double diode model parameters are taken out when it reaches the minimum value.
[0080] The root mean square error (RMSE) is an important indicator to measure the quality of model fitting. By calculating the RMSE, the fitting effect of the photovoltaic dual-diode model under different conditions can be objectively evaluated. A smaller RMSE means that the difference between the model prediction value and the actual value is smaller, and the fitting effect is better.
[0081] The photovoltaic double diode model parameters include the photocurrent I ph , the reverse saturation current I of the first diode 01 and the reverse saturation current I of the second diode 02 These parameters are the core part of the model and directly affect the accurate simulation of photovoltaic cell performance.
[0082] It should be noted that by comparing the RMSE values calculated under different conditions and taking out the photovoltaic dual-diode model parameters corresponding to the minimum RMSE, the present invention achieves the optimization and accurate fitting of the model parameters. This process not only solves the problems of blind parameter selection and large errors in traditional methods, but also improves the fitting effect and application value of the model through systematic and scientific comparative analysis. Ultimately, the optimized model parameters can better reflect the actual working performance of photovoltaic cells, providing important technical support for the research and application of photovoltaic technology.
[0083] S4: The extracted photovoltaic dual-diode model parameters are used as initial fitting values, and a conventional curve fitting is performed on the photovoltaic model using a non-heuristic optimization algorithm to obtain the final photovoltaic dual-diode model parameters.
[0084] By using non-heuristic optimization algorithms (such as the least squares method), the model parameters can be further optimized to ensure that the final result has high accuracy and stability.
[0085] Through the final optimization, the obtained photovoltaic double-diode model parameters have higher accuracy, which can more accurately simulate the performance of photovoltaic cells and provide reliable performance prediction and analysis.
[0086] It should be noted that by using the photovoltaic dual-diode model parameters obtained by the previous optimization as the initial values for fitting and using a non-heuristic optimization algorithm for conventional curve fitting, the present invention achieves further optimization and accurate fitting of the model parameters. This process not only solves the problems of long optimization time and insufficient precision in traditional methods, but also improves the fitting effect and application value of the model through an efficient and stable non-heuristic algorithm. The model parameters after the final optimization can better reflect the actual working performance of photovoltaic cells, providing solid technical support for the research and application of photovoltaic technology.
[0087] The above embodiments also include a non-heuristic photovoltaic dual-diode model parameter extraction system, specifically:
[0088] Data acquisition and processing module: obtain the IV data curve of solar photovoltaic cells or components, calculate the numerical derivative of each point using the central difference method, and calculate the numerical integral of each point using the trapezoidal rule;
[0089] Series resistance parameter calculation module: when the series resistance takes different values, the values of other model parameters and fitting errors are calculated using matrix operations;
[0090] Optimal model parameter selection module: compare the RMSE of each fitting error obtained, and extract the photovoltaic dual diode model parameters corresponding to the minimum value;
[0091] Non-heuristic optimization fitting module: The extracted photovoltaic dual-diode model parameters are used as the initial values for fitting, and the photovoltaic model is subjected to conventional curve fitting using a non-heuristic optimization algorithm to obtain the final photovoltaic dual-diode model parameters.
[0092] The computer device may be a server. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data cluster data of the power monitoring system. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a non-heuristic photovoltaic dual diode model parameter extraction method is implemented.
[0093] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0094] Example 2
[0095] refer to Figures 2 to 7 , which is an embodiment of the present invention, provides a non-heuristic photovoltaic dual-diode model parameter extraction method. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation / comparative experiments.
[0096] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be described in detail below with reference to the drawings and specific embodiments. Example 1 is a solar photovoltaic module of model MSX-60 produced by Solarex, and Example 2 is a solar photovoltaic module of model KC200GT produced by Kyocera.
[0097] The flow chart of the present invention is as follows Figure 2 As shown, the specific steps are as follows:
[0098] Get the IV data curve of the solar photovoltaic cell or module, use the central difference method to calculate the numerical derivative of each point, and use the trapezoidal rule to calculate the numerical integral of each point. The IV data point of the photovoltaic cell or photovoltaic module is recorded as (Ii, Vi), and the numerical derivative at each data point is recorded as (dI / dV) i , the numerical integration is Wherein the subscript number i=1,2,…,N, N is the number of data points. Taking Example 1 as an example, Table 1 lists the current-voltage (IV) data points under standard test conditions (light irradiance 1000W / m2, temperature 25°C) and the calculation results of the numerical derivative and numerical integration of each point.
[0099] Table 1. IV data points and numerical derivatives and numerical integrals of Example 1 (MSX-60) under standard conditions
[0100]
[0101]
[0102] When the series resistance Rs takes different values, the values of other model parameters and fitting errors are calculated using matrix operations, which specifically includes the following steps:
[0103] Step 1, set the initial value of the count number j to 0, and set the fixed step size Δ. Taking Example 1 as an example, set the fixed step size Δ = 0.01Ω;
[0104] Step 2: Set the series resistance Rs value to jΔ and determine if Then go to step 2-2, otherwise continue to step 2-3. Taking Example 1 as an example, under standard test conditions (light irradiance 1000W / m2, temperature 25℃),
[0105] Step 3, calculate the array D related to IV data points and Rs i , S i , U i (where subscript number i = 1, 2, ..., N):
[0106]
[0107] U i =V i +I i R s
[0108] Taking Example 1 as an example, under standard test conditions, when Rs = 0.3Ω, the calculated D i , Si , U i Listed in Table 2.
[0109] Table 2. Calculated D for Example 1 (MSX-60) under standard test conditions and Rs = 0.3Ω i , S i , U i
[0110] <![CDATA[D i ]]> <![CDATA[S i ]]> <![CDATA[U i ]]> -0.004255426 4.332 1.14 -0.004263511 10.39106987 2.73796 -0.004272135 16.06151627 4.23604 -0.004272135 21.72238725 5.73412 -0.004272135 27.3736828 7.2322 -0.004338974 33.01540293 8.73028 -0.00447266 38.6469463 10.2283 -0.004974078 44.26801529 11.72626 -0.007182108 49.87501456 13.22383 -0.015875249 55.45404979 14.71981 -0.067838808 60.95179951 16.20961 -0.179024899 67.72138499 18.15 -0.675273948 70.4418013 19.0567 -1.560710615 72.67300133 20.22886 -2.406272241 72.92693499 21.1
[0111] Step 4: Construct matrix M 1 as follows:
[0112]
[0113] And calculate the intermediate parameters A, B, C, D, E as follows, where the superscript T represents matrix transposition and the superscript –1 represents matrix inversion:
[0114]
[0115] Taking Example 1 as an example, under standard test conditions when Rs=0.3Ω, the elements of the matrix M1 calculated are shown in Table 3, and the intermediate parameters A, B, C, D, and E calculated are shown in Table 4.
[0116] Table 3. Matrix M obtained for Example 1 (MSX-60) under standard test conditions and Rs = 0.3Ω 1 Elements in
[0117] I D U <![CDATA[U 2 ]]> 3.8 -0.004255426 1.14 1.2996 3.7932 -0.004263511 2.73796 7.496424962 3.7868 -0.004272135 4.23604 17.94403488 3.7804 -0.004272135 5.73412 32.88013217 3.774 -0.004272135 7.2322 52.30471684 3.7676 -0.004338974 8.73028 76.21778888 3.761 -0.00447266 10.2283 104.6181209 3.7542 -0.004974078 11.72626 137.5051736 3.7461 -0.007182108 13.22383 174.8696799 3.7327 -0.015875249 14.71981 216.6728064 3.6987 -0.067838808 16.20961 262.7514564 3.5 -0.179024899 18.15 329.4225 3.189 -0.675273948 19.0567 363.1578149 2.0962 -1.560710615 20.22886 409.2067769 0 -2.406272241 21.1 445.21
[0118] Table 4. Intermediate parameters calculated for Example 1 under standard test conditions and Rs = 0.3Ω
[0119] A B C D E 1.06075 3.81307 0.95097 -0.0027 -4.05057
[0120] Step 5: Calculate the photovoltaic dual diode model parameter n A 、n B , R sh as follows:
[0121]
[0122] Taking Example 1 as an example, under standard test conditions when Rs=0.3Ω, the calculated nA, nB, and Rsh are listed in Table 5.
[0123] Table 5. Calculated photovoltaic dual diode model parameters for Example 1 under standard test conditions and Rs = 0.3Ω
[0124] nA nB Rsh(Ω) Iph(A) IsA(A) IsB(A) 36.00 63.84 184.91 3.8184 3.73E-10 1.83E-06
[0125] Step 6: Construct matrix M 2 as follows:
[0126]
[0127] And calculate the photovoltaic double diode model parameters I ph ,I sA ,I sB as follows:
[0128]
[0129] Taking Example 1 as an example, under standard test conditions when Rs = 0.3Ω, the calculated matrix M2 elements are listed in Table 6. The calculated photovoltaic dual diode model parameters I ph ,I sA ,I sB They are listed in Table 5.
[0130] Table 6. Matrix M calculated for Example 1 under standard test conditions and Rs = 0.3Ω 2 Elements in
[0131]
[0132]
[0133] Step 7, calculate the current fitting error RMSE as follows:
[0134]
[0135] Taking Example 1 as an example, under standard test conditions when Rs=0.3Ω, the calculated RMSE=0.010530109.
[0136] Step 8, increase the count number j by 1, and go to step 2.
[0137] The RMSE of each fitting error obtained under different Rs conditions is compared, and the photovoltaic dual-diode model parameters corresponding to the minimum value are taken out.
[0138] Taking Example 1 as an example, under standard test conditions, the fitting error RMSE when Rs takes different values is as follows: Figure 3 As shown, when Rs = 0.33Ω, RMSE reaches the minimum value of 6.44E-03. The corresponding photovoltaic dual diode model parameters are listed in Table 7.
[0139] Table 7. Example 1 under standard test conditions according to the extracted double diode model parameters
[0140]
[0141] The photovoltaic dual-diode model parameters taken out are used as the initial values for fitting, and the photovoltaic model is further subjected to conventional curve fitting using the non-heuristic simplex method to obtain the final photovoltaic dual-diode model parameters. Taking Example 1 as an example, the photovoltaic dual-diode model parameters finally obtained under standard test conditions are listed in Table 8, and the final fitting error RMSE = 2.21E-05.
[0142] Table 8. Double diode model parameters extracted from step 4 under standard test conditions for Example 1
[0143]
[0144] Further, the photovoltaic double diode model parameters extracted according to the method of the present invention at different solar irradiances and a fixed temperature of 25°C for Example 1 (photovoltaic module MSX-60) are listed in Table 9, and the measured IV data points and the model curve drawn according to the model parameters are shown in Table 9. Figure 4 Example 1 The photovoltaic double diode model parameters extracted according to the method of the present invention at different temperatures and fixed solar irradiance of 1000W / m2 are listed in Table 10, and the measured IV data points and the model curve drawn according to the model parameters are shown in Table 10. Figure 5 Similarly, the photovoltaic double diode model parameters extracted by the method of the present invention for Example 2 (photovoltaic module KC200GT) at different solar irradiances and a fixed temperature of 25°C are listed in Table 11. 2 The extracted model parameters are listed in Table 12, and the corresponding IV data points and model curves are plotted in Figure 6 and Figure 7 All model curves can fit the measured data well, and the average fitting error of Example 1 is in the order of 10-5A, and the average fitting error of Example 2 is in the order of 10-4A. The average operation time is about 0.8s. It can be seen that the present invention has both extremely low computational complexity and high fitting accuracy, is easy to deploy, and can meet the needs of large-scale continuous testing scenarios. In addition, unlike the existing heuristic algorithms, the method of the present invention does not need to introduce random processes, and the extracted parameters are not affected by random errors.
[0145] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. What is described herein is only to illustrate the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may be subject to various changes and modifications, which fall within the scope of the present invention as claimed. The scope of protection claimed in the present invention is defined by the attached claims and their equivalents.
[0146] Table 9. Model parameters of Example 1 (MSX-60) at different solar irradiances and a fixed temperature of 25°C
[0147]
[0148]
[0149] Table 10. Model parameters of Example 1 (MSX-60) at different temperatures and fixed irradiance 1000 W / m2
[0150]
[0151] Table 11. Model parameters of Example 2 (KC200GT) at different solar irradiances and fixed temperature 25°C
[0152]
[0153]
[0154] Table 12. Model parameters of Example 2 (KC200GT) at different solar irradiances and fixed temperature 25°C
[0155]
[0156] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A non-heuristic photovoltaic dual diode model parameter extraction method, characterized in that: include: Obtain the IV data curve of the solar photovoltaic cell or module, calculate the numerical derivative of each point using the central difference method, and calculate the numerical integral of each point using the trapezoidal rule; The series resistor R s When taking different values, the values of other model parameters and fitting errors are calculated using matrix operations; Comparison of different series resistance R s The RMSE of each fitting error obtained under the conditions is taken out, and the corresponding photovoltaic double diode model parameters are taken out when it reaches the minimum value; The extracted photovoltaic dual-diode model parameters are used as the initial values for fitting, and a conventional curve fitting is performed on the photovoltaic model using a non-heuristic optimization algorithm to obtain the final photovoltaic dual-diode model parameters.
2. The non-heuristic photovoltaic dual diode model parameter extraction method according to claim 1, characterized in that: The numerical derivative includes: The IV data point of the photovoltaic cell or photovoltaic module is expressed as (I i ,V i ); The numerical integration includes: the numerical integration is expressed as The subscript number i = 1, 2, ..., N, where N is the number of data points.
3. The non-heuristic photovoltaic dual diode model parameter extraction method according to claim 2, characterized in that: The use of matrix operations to calculate the values and fitting errors of other model parameters includes setting the series resistance R s The initial value is 0, the initial value of the count number j is set to 0, and the fixed step size Δ is set; Increase the value of the series resistor Rs by jΔ.
4. The non-heuristic photovoltaic dual diode model parameter extraction method according to claim 3, characterized in that: The use of matrix operations to calculate the values of other model parameters and fitting errors also includes: if R s < Then calculate the arrays Di, Si, Ui related to the IV data point and Rs, the formula is: U=V+I,R S s Where (dI / dV)i represents the numerical derivative at the data point.
5. The non-heuristic photovoltaic dual diode model parameter extraction method according to claim 4, characterized in that: The method of calculating the values of other model parameters and fitting errors by using matrix operations also includes constructing a matrix M1: And calculate the intermediate parameters A, B, C, D, E, expressed as: The superscript T indicates matrix transposition, and the superscript –1 indicates matrix inversion.
6. The non-heuristic photovoltaic dual diode model parameter extraction method according to claim 5, characterized in that: The method of calculating the values and fitting errors of other model parameters by using matrix operations also includes calculating the photovoltaic dual diode model parameter n A 、n B , R sh , the calculation formula is: Construct matrix M2, the formula is: Calculation of photovoltaic dual diode model parameters I ph ,I sA ,I sB as follows:
7. The non-heuristic photovoltaic dual diode model parameter extraction method according to claim 6, characterized in that: The method of calculating the values of other model parameters and fitting errors by using matrix operations also includes calculating the current fitting error RMSE, and the calculation formula is: The count number j increases by 1, and the series resistance Rs value increases by jΔ, and the cycle calculation continues until Complete the calculation.
8. A non-heuristic photovoltaic dual diode model parameter extraction system using the method according to any one of claims 1 to 7, characterized in that: Data acquisition and processing module: obtain the IV data curve of solar photovoltaic cells or components, calculate the numerical derivative of each point using the central difference method, and calculate the numerical integral of each point using the trapezoidal rule; Series resistance parameter calculation module: when the series resistance takes different values, the values of other model parameters and fitting errors are calculated using matrix operations; Optimal model parameter selection module: compare the RMSE of each fitting error obtained, and extract the photovoltaic dual diode model parameters corresponding to the minimum value; Non-heuristic optimization fitting module: The extracted photovoltaic dual-diode model parameters are used as the initial values for fitting, and the photovoltaic model is subjected to conventional curve fitting using a non-heuristic optimization algorithm to obtain the final photovoltaic dual-diode model parameters.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
