Photovoltaic power prediction method based on machine learning and its application
Predicting photovoltaic power generation through machine learning, combined with surface subdivision and extreme random tree algorithms, solves the problems of inaccurate calculation and high cost of photovoltaic power generation systems on curved buildings, achieving accurate power generation and improving economic benefits.
Patent Information
- Application Number
- CN202410888231.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Existing photovoltaic power generation systems cannot accurately calculate the power generated by flexible photovoltaic panels installed on curved buildings, and the construction costs are high and the investment income calculation is inaccurate, which affects the popularity of photovoltaic power generation systems.
A photovoltaic power generation prediction method based on machine learning is used to calculate the sun's position and surface solar radiation intensity through the hour-angle coordinate system, and the surface subdivision and extreme random tree algorithm are combined to correct the power generation, accurately calculate the power generation of photovoltaic panels, and calculate the power generation of photovoltaic panels. Used in system revenue control to re-evaluate full life cycle costs and investment return cycles.
It has improved the accuracy of real-time power generation calculations of photovoltaic systems, especially for curved buildings, reduced photovoltaic system construction costs, improved the accuracy of economic benefit calculations, and provided electricity price adjustment and cost control strategies.
Smart Images

Figure CN118446558B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of environmental protection and energy conservation, and in particular relates to a photovoltaic power generation power prediction method and its application in photovoltaic power generation system revenue control. Background Art
[0002] Photovoltaic power generation is a green energy application. Popularizing photovoltaic power generation systems can increase the proportion of green energy in primary energy consumption, contributing to the goal of carbon neutrality. Currently, photovoltaic power generation systems primarily utilize flat photovoltaic panels and flexible photovoltaic panels. Today, an increasing number of building facades are designed with complex curved shapes, and flexible photovoltaic panels can bend within a certain range, making them widely used on curved building facades. Currently, there is a lack of relatively accurate calculations of the power generation of photovoltaic panels, especially for flexible photovoltaic panels installed on curved surfaces. Furthermore, the construction cost of photovoltaic power generation systems is generally high, and there is a lack of accurate calculation methods and cost control methods for their investment returns over their entire life cycle. These two issues seriously hinder the widespread adoption of photovoltaic power generation systems. Summary of the Invention
[0003] The purpose of the present invention is to provide a photovoltaic power generation power prediction method and to provide an application of the method in photovoltaic power generation system revenue control, so as to make up for the deficiencies of the prior art.
[0004] To achieve the above object, the present invention is achieved through the following technical solutions:
[0005] A photovoltaic power generation power prediction method based on machine learning, the method comprising the following steps:
[0006] S1-1: Calculate the position of the sun at a certain moment based on the hour angle coordinate system: Use parameters such as the solar hour angle, solar declination, and local latitude to accurately calculate the solar altitude (β) and azimuth (φ), which can determine the exact position of the sun relative to the observation point; the solar hour angle is defined as the angular position of the sun in the east-west direction of the observation point, which is set at 0° at noon and changes by 15° every hour; the solar declination represents the angular position of the sun relative to the equatorial plane, which changes with the seasons; the local latitude refers to the geographical latitude of the observation point; the solar altitude represents the angle between the sun's rays and the horizon, for example, when the sun has just risen or set, the solar altitude is 0°; when the sun is at the zenith, the solar altitude is 90°; the solar azimuth represents the angle from due north to the projection of the sun's rays on the horizon on the horizontal plane; the solar azimuth is defined as 0° due south, negative values to the east, and positive values to the west;
[0007] S1-2: After determining the sun's position, calculate the surface solar radiation intensity by taking into account factors such as geographic location, date, time, atmospheric transparency, and air mass ratio;
[0008] S1-3: For a flat photovoltaic panel, calculate the sun's position based on S1-1, and directly calculate the angle between the sun's rays and the normal vector at the center of the photovoltaic panel. Then, calculate the solar radiation received by the entire photovoltaic panel based on the solar radiation intensity received on the ground calculated in S2-2.
[0009] S1-4: Subdivide the curved photovoltaic panel surface into sufficiently small planar polygonal areas, and calculate the angle between each planar polygonal area and the ground plane and the orientation of the projection on the ground plane. Then, based on the sun's position calculated in S1-1, calculate the angle between the sunlight irradiating the center point of each planar polygonal area and the center normal vector of the plane. By calculating the angle between the center normal vector direction of each planar polygonal area and the sunlight, and the surface solar radiation intensity calculated in S1-2, the amount of solar radiation received by each planar polygonal area can be calculated. Then, add up the solar radiation received by all planar polygonal areas to obtain the total solar radiation received by the entire curved surface.
[0010] S1-5: To correct for the effects of weather and PV panel performance on power generation, a machine learning model-based method for correcting real-time power generation is proposed: the Extra-Trees algorithm. First, the original dataset for the machine learning model is collected, including but not limited to the type of PV panel, the power generation efficiency of the PV panel, the temperature, humidity, wind direction, wind speed, air pressure, precipitation, solar radiation, PM2.5, and power generation during the PV panel power generation period. Based on this data, an Extra-Trees model is trained to correct the error of PV panel power generation affected by weather and PV panel performance. The algorithm constructs multiple decision trees #1, #2, ..., #N, each independently constructed. Each tree randomly selects a feature subset to evaluate the split point at the time of node splitting. Each decision tree independently predicts the input data and generates its own prediction output. Finally, the prediction output: the prediction outputs of all decision trees are collected and then averaged (for regression problems) to produce the final prediction result of the PV power generation error correction value.
[0011] S1-6: Whenever the current power generation of the photovoltaic panel is calculated through S1-4, the current weather data and parameters such as the type of photovoltaic panel and the power generation efficiency of the photovoltaic panel are input into the trained machine learning model. The model will output a correction value for the current power generation; then the power generation calculated in S1-4 is added to this correction value to obtain a more accurate value of the photovoltaic panel power generation.
[0012] Furthermore, in S1-1, the sun position at a certain time and a certain longitude and latitude is calculated according to the hour angle coordinate system; let δ be the solar declination angle, L be the latitude of the observation point, H be the solar hour angle, β be the solar altitude angle, φ be the solar azimuth angle, day represent the day of the year of a certain day, h represent a certain time and h is a real number in the interval (0, 24], let the angle between the projection of the sun's rays on the horizontal plane and the south be negative for east and positive for west; the calculation formula is as follows:
[0013] (1);
[0014] (2);
[0015] (3);
[0016] (4);
[0017] if At this time, the solar altitude angle is a non-acute angle, that is, , otherwise the solar altitude angle is non-obtuse, that is .
[0018] Furthermore, in S1-2, let A be the approximate extraterrestrial flux from outside the planetary atmosphere; e be a natural constant; optical depth K correspond to the attenuation of energy through the vertical path from the Earth's surface to the outside of the atmosphere; m be the atmospheric mass, representing the ratio of the actual distance that sunlight passes through the atmosphere to the vertical thickness of the atmosphere; I be the solar radiation received by the Earth's surface, ignoring the value of diffuse radiation, and the calculation formula is as follows:
[0019] (5);
[0020] (6);
[0021] (7);
[0022] (8).
[0023] Furthermore, in S1-3, let cosθ be the viewing angle coefficient, φ c is the azimuth of a point on any plane or curved surface, σ is the inclination of a point on any plane or curved surface, and the following formula is used to calculate the amount of solar radiation received by any plane or curved surface area:
[0024] (9);
[0025] (10).
[0026] Furthermore, in S1-4, after the surface is subdivided, the azimuth and inclination of the normal vector at the center of each polygonal area are calculated, and the angle of each polygonal area relative to the sunlight is calculated according to the position of the sun. Assume that the equation of any spatial surface is expressed as:
[0027] (11);
[0028] Then the tangent plane equation at the point (x0, y0, z0) on the space surface is expressed as:
[0029] (12);
[0030] From the above formula, we can get the expression of the normal vector b of the tangent plane at the spatial surface point (x0, y0, z0) as follows:
[0031] (13);
[0032] Among them F x (x0, y0, z0), F y (x0, y0, z0), F z (x0, y0, z0) are the partial derivatives of the space surface equation with respect to the x, y, and z axes respectively;
[0033] Assume vector Z = (0, 0, 1). Is the inclination σ of the center point (x0, y0, z0) of the spatial surface less than 0 relative to the horizontal plane? If so, the inclination is 0. If it is greater than 0, the inclination is expressed as follows:
[0034] (14);
[0035] Let the projection of b on the plane coordinate system be b c It is expressed as follows:
[0036] (15);
[0037] Let vector Y = (0, 1, 0), which is the azimuth angle φ of the space surface c It is expressed as follows:
[0038] (16);
[0039] Let vector X = (1, 0, 0), then: If b c ·X > 0, then φ c < 0; if b c If X < 0, then φ c >0.
[0040] Furthermore, in S1-5, the data collected in the original data set include: TIME—time, WS—wind speed, WD—wind direction, T—temperature, H—humidity, PM—suspended particulate matter, G—solar radiation, actual power generation P reality and predicted power generation P predict . Collect meteorological data and actual power generation P at intervals of t per minute reality , taking meteorological data as characteristic values; at the same time, calculating the predicted power generation power P in S1-4 predict The actual power generation P reality The error correction coefficient λ per square meter (W / m²) is used as the target value; the value of the error correction coefficient λ is determined by the actual power generation P reality , predicted power generation P predict and the total area of photovoltaic panels used to collect data The calculation formula is as follows:
[0041] (17);
[0042] In addition, solar radiation data G is used to quantify the degree of clearness RI of the weather in different time periods. The maximum radiation value of the day with the highest average radiation in the data period is collected. , as the reference value. Calculate the solar radiation data G at time t t The ratio of the coefficient RI to the reference value is calculated as follows:
[0043] (18);
[0044] Then, the original data set is divided into training set D train and the test set D test , where the training set accounts for 80% and the test set accounts for 20%. The features are normalized to ensure that the feature values are between 0 and 1. After cleaning and preprocessing the dataset, the extreme randomized tree regression algorithm model is constructed, which can be described by the following formula:
[0045] (19);
[0046] TIME u , WS u , WD u , T u , H u , PM u , RI u , are the values of the samples reaching the leaf node u on each feature, It is a function that calculates the predicted error correction coefficient based on the eigenvalues of all samples on the leaf node u. It can be expressed more specifically as follows:
[0047] (20);
[0048] Among them S u is the sample set on the leaf node u, Y z is the error correction coefficient for the zth sample, It is the weighted average of all sample error correction coefficients in leaf node u.
[0049] To achieve optimal model performance, we tuned the parameters of the Extreme Random Trees model using grid search and cross-validation to set the optimal model parameters. After comparative tuning, we set parameters to control the number of trees in the forest, the maximum tree depth, and the maximum number of features considered by each tree when splitting.
[0050] When evaluating model performance, common metrics for measuring model prediction errors include mean squared error (MSE) and mean absolute error (MAE), which are calculated as follows:
[0051] (twenty one);
[0052] (twenty two);
[0053] Where n is the number of samples, y z is the actual value of the zth sample, and is the model's predicted value for the zth sample. Finally, through multiple iterative updates and training, the trained optimal extreme random tree model is saved.
[0054] After calculating the current PV panel power generation in S1-4, the trained extreme randomized tree model is fed with current weather data, panel type, and efficiency. The model then outputs a correction factor for the current power generation, which can be positive or negative. The power generation calculated in S1-4 is then added to the correction factor per unit area to produce a more accurate value for the PV panel power generation.
[0055] Furthermore, in said S1-6, first, the total solar radiation received by the photovoltaic panel is calculated. The inclination σ and azimuth φ of each polygonal area j relative to the horizontal plane calculated in S1-4 are calculated. c Substituting S1-3, we get the solar radiation received by each polygonal area is I j mesh = f(x j , y j, zj ), the total solar radiation received by the surface is expressed as:
[0056] (twenty three).
[0057] The power generation efficiency η of the photovoltaic panel can be determined according to the type of photovoltaic module, and the calculation formula for the predicted power generation can be expressed as:
[0058] (twenty four);
[0059] The correction coefficient after error correction is calculated using the machine learning model trained in S1-5. The corrected predicted power generation calculation formula can be expressed as:
[0060] (25);
[0061] Among them, λ is the correction coefficient of power generation, Area total is the total area of the photovoltaic panels, then, make a judgment: if P' calc ≤0, no error correction is performed and P is maintained calc is the final predicted value; otherwise, use the revised predicted value P' calc ,Right now:
[0062] (26);
[0063] This step ensures that the predicted power generation does not become negative due to error correction. In this way, the model predictions will be more consistent with actual physical conditions.
[0064] Furthermore, the above method further includes S1-7: after obtaining the corrected real-time power generation, if it is necessary to calculate the total power generation of the photovoltaic panel in a certain time period T minutes, first calculate the power generation of the photovoltaic panel every minute in the time period, and then add up the power generation of each minute to obtain the total power generation E in the time period. total From the definition of power, we know that P solar is the power generation per second, multiply it by 60 to get the power generation per minute, then E total The calculation formula is as follows:
[0065] (27);
[0066] If the power generation fluctuates slightly within a time period of t minutes, it can be approximately assumed that the power generation is the same every minute within t minutes. In this case, formula (27) can be rewritten as formula (28):
[0067] (28).
[0068] The photovoltaic power generation power prediction method is applied to the revenue control of photovoltaic power generation systems.
[0069] A photovoltaic power generation system revenue control method comprises the following steps:
[0070] S2-1: First, we reconsidered the present value (PV) of the total cost of each component over its entire life cycle from three perspectives: initial investment cost, investment cost incurred due to component replacement during the system's entire life cycle, and depreciation price.
[0071] S2-2: After calculating the present value of the total cost, calculate the power generation using the above method. Then, combine the interest rate and electricity price information to calculate the investment payback period and net present value (NPV) of the photovoltaic power generation system.
[0072] S2-3: After calculating the payback period and NPV, if NPV < 0, determine which components in the PV system have the greatest impact on the system's NPV. This means determining which components have excessively high investment costs, providing a reference for cost reduction. Furthermore, calculate the electricity price that would achieve NPV = 0 or NPV ≈ 0. This means determining the price adjustment required to achieve break-even investment, or the subsidy required to achieve break-even investment. This provides a reference for determining electricity prices or subsidy amounts.
[0073] Furthermore, in S2-1, the initial investment cost includes all components required for a complete photovoltaic system, as well as transportation costs, labor costs, and other one-time costs. For example, if the photovoltaic panels have a 25-year lifespan, the entire lifespan of the photovoltaic system is also 25 years. The battery typically has a 5-year lifespan, while the inverter, photovoltaic controller (MPPT), monitoring equipment, and wiring typically have a 10-year lifespan. Equipment such as the grid-connected combiner box and meter typically have a 15-year lifespan. Using this example, equipment replacement and depreciation will be required in the 5th, 10th, 15th, and 20th years after the system begins operation, and these costs will be included in the total investment cost. Furthermore, to account for inflation, the total investment cost should take into account the present value. The present value is the cash value of a future asset or liability converted to the present.
[0074] Furthermore, in S2-3, the NPV of the photovoltaic system is calculated, including the following steps:
[0075] Let i represent the interest rate and g represent the inflation rate. To accurately calculate the present value (PV) of future input costs, we use the real interest rate i', which takes into account the impact of inflation on future values. The formula for calculating the real interest rate i' is as follows:
[0076] (29);
[0077] In a photovoltaic system, the service life (i.e., useful life) of a certain component is t years. The present value of the cost of replacing the component in year t is Expressed as:
[0078] (30);
[0079] Among them C t Represents the price of the component. If the price of the component cannot be directly obtained through relevant documents, information, quotations, etc., it is calculated from the weighted average price in the market. The calculation takes into account the price of each brand and its market share, that is, the ratio of the brand's sales volume to the total sales volume of the component in the entire market. The weighted price of all brands is added together to obtain the total weighted price. The weighted average price (WAP) of the component in the market is calculated as follows:
[0080] (31);
[0081] Where WAP is the weighted average price of the component; M means there are M brands in total; P r represents the price of the component of the rth brand; S r Represents the sales volume of the component of the rth brand.
[0082] In addition, assume that the current depreciation price of the component is P0. Due to the impact of inflation, the depreciation price of the component in year t is P t Expressed as:
[0083] (32);
[0084] Taking into account the impact of interest rates, the discounted price of the component's depreciation price in year t is Expressed as:
[0085] (33);
[0086] The n components required for the entire photovoltaic system are represented by D = {d1, d2, ..., d n}, assuming that the total service life of the photovoltaic system is T years, a certain component d k The useful life is Year, Represents component d k The initial cost, including the purchase of components k Cost and component d k Additional costs , such as transportation and installation costs, the component d kThe present value of the total cost over the entire life cycle of the photovoltaic system Expressed as:
[0087] (34);
[0088] (35);
[0089] in The present value (PV) of the total investment in the entire life cycle of the photovoltaic system total It can be expressed as:
[0090] (36);
[0091] The operation and maintenance cost of the photovoltaic system, C O&M , expressed as:
[0092] (37);
[0093] Where the variable y∈[1, T], α represents the operating coefficient, which is usually taken as 0.5%, indicating a 0.5% annual operation and maintenance cost coefficient for the photovoltaic system. Let Q y is the annual cash flow during the useful life of the photovoltaic system, which is expressed as: (38);
[0094] Where CI represents cash inflow, CO represents cash outflow, and P e Indicates the electricity price, E year The annual power generation of the photovoltaic panels is calculated, or the annual power generation estimated by the annual average radiation provided by relevant institutions; the formula for calculating the net present value (NPV) is:
[0095] (39);
[0096] The payback period can be calculated based on the cash inflow and the present value of the total cost. The payback period is the shortest time required to recover the initial investment cost (DPP). The calculation formula is as follows:
[0097] (40);
[0098] NPV > 0 means that the expected benefits exceed the expected cost of the investment, thus indicating that the investment has potential profitability; conversely, NPV < 0 means that the cost of the investment is greater than the benefits, and there is a potential for loss.
[0099] Furthermore, in S2-3, when the calculated NPV is less than 0, steps 3.1 to 3.7 are used to determine the component in the photovoltaic system that has the greatest impact on the NPV, that is, the component with excessively high investment cost. The process is as follows:
[0100] Step 3.1: Let n components required for the photovoltaic system be represented by D = {d1, d2, ..., d n}, each component has a corresponding unit price and service life. price[n] is an array containing the unit prices of all components in the photovoltaic system. price[k] represents the unit price of component d k year[n] includes the expected service life of all components in the PV system. year[k] represents the service life of the component d k service life.
[0101] Step 3.2: Let the value of k range from 1 to n. For each value of k (i.e., for all components in D), substitute the unit price of the component price[k] and the component lifespan year[k] into formulas (29) to (35) to calculate the component d k Present value of total cost over the entire life cycle , and add it to the array PV mod middle.
[0102] Step 3.3: Set the array PV mod Arrange the elements in descending order of their values and initialize an empty array D' to store the components that cause NPV to be less than 0.
[0103] Step 3.4: PV mod Substitute into formulas (36) to (39) to calculate the total investment present value PV of the entire photovoltaic system during its entire life cycle: total and NPV.
[0104] Step 3.5: If NPV is less than 0, then change PV mod The first element in PV mod [1] The corresponding component d r Add to array D' and execute step 3.6; otherwise, execute step 3.7.
[0105] Step 3.6: From the array PV mod Delete the first element PV mod [1], start from step 3.3.
[0106] Step 3.7: End and output NPV and D'.
[0107] When the NPV calculated in step 3.4 is less than 0, you can use steps 3.8 to 3.16 to calculate the electricity price that makes the investment break even, that is, the electricity price that makes NPV = 0 or NPV ≈ 0. Here, P e bal Indicates. e incis the increment of electricity price in each iteration. Err is the calculation accuracy, which is an error threshold used to define the range of NPV close to 0. max is the maximum number of iterations for calculating the electricity price, that is, N executions of steps 3.15 to 3.18 max After this number of times, the process stops regardless of whether the final result is calculated. The process is as follows:
[0108] Step 3.8: Save the current electricity price, P e '← P e , the current electricity price P e Increase a preset increment P e inc , that is, P e ← P e + P e inc .
[0109] Step 3.9: P e Substitute into formulas (38) to (39) to recalculate the NPV after adjusting the electricity price.
[0110] Step 3.10: If NPV is less than 0, proceed from step 3.8; otherwise, proceed from step 3.11.
[0111] Step 3.11: If NPV is greater than Err, then j ← 1 and proceed from step 3.12; otherwise, P e bal ← P e , proceed to step 3.16.
[0112] Step 3.12: j ← j + 1, take the interval [P e ', P e ], that is, P e bal ← (P e ' + P e ) / 2, P e bal Substitute into formulas (38) to (39) to recalculate NPV.
[0113] Step 3.13: If j is greater than or equal to N max , proceed to step 3.16; otherwise, proceed to step 3.14.
[0114] Step 3.14: If NPV is greater than 0 but less than or equal to Err, proceed to Step 3.16; otherwise, proceed to Step 3.15.
[0115] Step 3.15: If NPV is less than 0, then P e'← P e bal Otherwise, P e ← P e bal . Start from step 3.12.
[0116] Step 3.16: End, output P e bal and NPV.
[0117] Compared with the prior art, the advantages and beneficial effects of the present invention are:
[0118] The present invention can calculate the real-time power generation of a photovoltaic system with an accuracy of minutes, especially for the calculation of the real-time power generation of photovoltaic buildings with curved building surfaces. In addition, through machine learning technology, the present invention can correct the impact of weather on power generation based on the calculation of solar radiation, and can more accurately calculate the actual power generation of photovoltaic panels. The present invention improves the accuracy of economic benefit calculations of different photovoltaic systems and takes into account the detailed investment costs of all components over the entire life cycle of the photovoltaic system. Its advantage is that it reconsiders the costs incurred by each component during the entire life cycle from three aspects: the initial investment cost, the investment cost incurred due to component replacement during the entire life cycle of the system, and the depreciation price, and provides a method for calculating the electricity price that can achieve a break-even point, as well as a method for generating a strategy to reduce the construction cost of a photovoltaic system. This can provide a quantitative reference for investors to formulate electricity prices, reduce the investment cost of photovoltaic systems, and evaluate the feasibility of photovoltaic projects.
[0119] The present invention relatively accurately calculates the amount of solar radiation received by flat and curved photovoltaic panels at any time, thereby calculating the power generation of the photovoltaic panels; based on this power generation, it further calculates the investment returns of various types of photovoltaic systems throughout their entire life cycle, and searches for electricity prices that are in the interests of investors, implementing a strategy to reduce the construction costs of photovoltaic systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0120] Figure 1 This is a diagram of the sun's position.
[0121] Figure 2 This is a schematic diagram of modeling flexible photovoltaic panels laid on building surfaces of arbitrary shapes.
[0122] Figure 3 It is a process for calculating the power generated by curved photovoltaic panels.
[0123] Figure 4 This is the algorithm principle diagram of extreme random tree regression.
[0124] Figure 5 It is a flowchart of the algorithm based on extreme randomized tree regression.
[0125] Figure 6 It is a cash flow diagram for the entire life cycle of a photovoltaic system.
[0126] Figure 7 It is a photovoltaic power generation system in which flexible photovoltaic panels are built on a curved surface.
[0127] Figure 8 This is a comparison between the simulation and experiment of photovoltaic power generation under the surface 1 shape.
[0128] Figure 9 It is a comparison between the simulation and experiment of photovoltaic power generation under the curved surface 2 form.
[0129] Figure 10 It is a comparison between the simulation and experiment of photovoltaic power generation under the curved surface 3 form.
[0130] Figure 11 It is a comparison of the estimated monthly radiation doses in different curved areas.
[0131] Figure 12 This is a schematic diagram of a small weather station and photovoltaic power generation equipment.
[0132] Figure 13 It is a statistical graph of the error of the predicted correction value of the test set.
[0133] Figure 14 It is a statistical chart of the average accuracy of the predicted correction value of the test set.
[0134] Figure 15 This is a cost analysis of 10kWp grid-connected and off-grid photovoltaic systems.
[0135] Figure 16 It is a cost analysis of 100kWp grid-connected and off-grid photovoltaic systems.
[0136] Figure 17 is the electricity price at which NPV ≈ 0 (by system type).
[0137] Figure 18 It is the net present value impact caused by interest rate and annual average radiation under 100kWp grid-connected PV system. DETAILED DESCRIPTION
[0138] The technical solution of the present invention is further described below with reference to embodiments.
[0139] Example 1
[0140] A photovoltaic power generation power prediction method comprises the following steps:
[0141] (1) Calculate the power generation of flat and curved photovoltaic panels at a certain time and location; specifically:
[0142] ① Calculate the position of the sun at a certain moment (e.g., year x, month y, day z, hour a, minute b) based on the hour angle coordinate system. Use parameters such as the solar hour angle, solar declination, and local latitude to determine the exact position of the sun relative to the observation point. The solar hour angle is defined as the angular position of the sun in the east-west direction of the observation point, which is set to 0° at noon and changes by 15° every hour. The solar declination represents the angular position of the sun relative to the equatorial plane, which changes with the seasons. The local latitude refers to the geographical latitude of the observation point. Combining these parameters, such as Figure 1 As shown, the solar altitude (β) and azimuth (φ) can be accurately calculated. The solar altitude represents the angle between the sun's rays and the horizon. For example, when the sun is just rising or setting, the solar altitude is 0°; when the sun is at the zenith, the solar altitude is 90°. The solar azimuth represents the angle between the north and the sun's projection on the horizon. In this method, the solar azimuth is defined as 0° due south, negative values to the east, and positive values to the west. This method helps distinguish whether the sun is in the east or west.
[0143] ② After determining the position of the sun, calculate the surface solar radiation intensity by considering factors such as geographical location, date, time, atmospheric transparency and air mass ratio.
[0144] ③For flat photovoltaic panels, since the angle between the entire panel and the ground plane is fixed, the angle between its projection on the ground plane and the angle between the sun's azimuth angle is also consistent, so the solar radiation received by the entire photovoltaic panel is uniform.
[0145] For curved photovoltaic panels, the angle between each point on the surface and the ground plane and the orientation of the projection on the ground plane are different. Therefore, the amount of solar radiation received by the curved photovoltaic panel is uneven. Therefore, in order to calculate the amount of solar radiation received by the curved photovoltaic panel, the present invention performs surface subdivision on the curved photovoltaic panel, that is, divides the surface into sufficiently small planar polygonal areas, including triangles, quadrilaterals, pentagons, etc. The smaller the area of the polygons and the greater the number, the smoother the composed surface and the higher the accuracy of restoring the original surface. This process is similar to the differential method in higher mathematics.
[0146] ④ For flat photovoltaic panels, in order to maximize solar radiation in the northern hemisphere, they are generally arranged facing due south. Therefore, if the angle between the entire panel and the ground plane and the orientation of the projection on the ground plane are known, then based on the sun's position calculated in ①, the angle between the sunlight and the normal vector of the photovoltaic panel center when it hits the center point of the photovoltaic panel can be directly calculated. Then, based on the solar radiation intensity received by the ground calculated in ②, the amount of solar radiation received by the entire photovoltaic panel can be calculated.
[0147] For curved photovoltaic panels, after the surface is subdivided, the angle between each planar polygon area and the ground plane and the orientation of the projection on the ground plane can be calculated. Then, based on the sun position calculated in ①, the angle between the sun ray hitting the center point of each planar polygon area and the normal vector of the plane center can be calculated, as shown in the following example: Figure 2 By calculating the angle between the center normal vector direction of each plane polygon area and the sun's rays, as shown in Figure 3 As shown in Figure 2. Using the surface solar radiation intensity calculated in step 2, we can calculate the amount of solar radiation received by each planar polygonal region. By summing the solar radiation received by all planar polygonal regions, we can obtain the total solar radiation received by the entire surface. From this, we can calculate the power generation of the entire surface. This process is similar to the integration method used in advanced mathematics.
[0148] ⑤ In order to correct the influence of factors such as weather and photovoltaic panel performance on power generation, the present invention proposes a method for correcting real-time power generation based on a machine learning model. The algorithm principle diagram and process are as follows: Figure 4 and Figure 5 As shown, first, data for machine learning training is collected, such as the type of photovoltaic panels, their power generation efficiency, and the temperature, humidity, wind direction, wind speed, air pressure, precipitation, solar radiation, PM2.5, and power generation during the photovoltaic panel generation period. This data can then be used to train a machine learning model that identifies how photovoltaic panel power generation is affected by weather and the panel's own performance.
[0149] ⑥ After calculating the current PV panel power generation through step 4, the trained machine learning model is fed with current weather data, panel type, and other parameters such as power generation efficiency. The model then outputs a correction value for the current power generation, which can be positive or negative. This correction value is then added to the power generation calculated in step 4 to obtain a more accurate value for the PV panel power generation.
[0150] Figure 3 This summarizes the processes described in ①-⑥ above.
[0151] The following describes in detail the specific steps for calculating the power generation of a curved photovoltaic panel at a specific time and location, including the calculation formula and algorithm. For details, see Algorithm 1.
[0152] Algorithm 1: Calculate photovoltaic power generation. First, calculate the sun's position and solar radiation at a certain time and location. Then, calculate the photovoltaic panel's power generation based on the solar radiation. Then, use the trained machine learning model to correct the power generation. Finally, output the corrected photovoltaic panel power generation:
[0153] 1: Program: CalculateSolarPanelPowerGeneration(L, day, h, η, Weather[n],Area total )
[0154] 2: Input 1: latitude L of observation point;
[0155] 3: Input 2: date day, time h
[0156] 4: Input 3: photovoltaic panel power generation efficiency η;
[0157] 5: Input 4: Weather parameter set Weather[n] related to machine learning;
[0158] 6: Input 5: Total area of photovoltaic panels Area total
[0159] 7: Output: Photovoltaic power generation power P solar
[0160] 8: Calculate the sun's position and bring L, day, and h into Algorithm 1.1.
[0161] Calculate the solar altitude angle β and solar azimuth angle φ at this time and place;
[0162] 9: Substitute β and day into formulas (5) to (8) to calculate the solar radiation per unit area of the surface I;
[0163] 10: Subdivide the photovoltaic panel into n polygonal regions and store their area, position and other information; in the corresponding elements of the array polygon[n], for example, polygon[i] stores the information of the i-th polygonal region, then polygon[i].pos is the position of the i-th polygonal region, and polygon[i].area is its area;
[0164] 11: Calculate the center normal vector of each polygon area in polygon[n] and store the result in the array vector[n];
[0165] 12: Based on vector[n] and the sun's position, use Algorithm 1.2 to calculate the angle between the normal vector at the center of each polygon and the sun's rays, and store the result in the array angle[n];
[0166] 13: Based on I, η and angle[n], use Algorithm 1.3 to calculate the power generation P of the photovoltaic panel calc ;
[0167] 14: Call the trained machine learning model and generate the power generation correction coefficient λ / / Weather[n] based on the input weather parameter set Weather[n]. The relevant weather parameters have been described in S1-5.
[0168] 15: Calculate the corrected power generation according to λ, i.e. P' calc = P calc +λ·Area total ;
[0169] 16: if P' calc ≤ 0 then;
[0170] 17: P solar ← P calc ;
[0171] 18: else;
[0172] 19: P solar ← P' calc ;
[0173] 20: end if;
[0174] 21: return the corrected photovoltaic power generation power P solar ;
[0175] 22: end the program.
[0176] Step 1-1: Calculate the sun's position at a specific time and latitude and longitude using the hour-angle coordinate system. Let δ be the solar declination, L be the latitude of the observation point, H be the solar hour angle, β be the solar altitude, φ be the solar azimuth, day be the day of the year, h be the time, and h be a real number in the interval (0, 24). Let the angle between the sun's projection on the horizontal plane and the south be negative for east and positive for west. The calculation formula and Algorithm 1.1 are as follows:
[0177] (1);
[0178] (2);
[0179] (3);
[0180] (4);
[0181] if At this time, the solar altitude angle is a non-acute angle, that is, , otherwise the solar altitude angle is non-obtuse, that is .
[0182] Algorithm 1.1: Calculate the solar altitude and azimuth. Calculate the solar position based on the geographic location, time, and date, and output the solar altitude and azimuth for that geographic location and time:
[0183] 1: Procedure: CalculateSunPosition ( L , day , h );
[0184] 2: Input 1: latitude of observation point L ;
[0185] 3: Input 2: Date day ;
[0186] 4: Input 3: Time h ;
[0187] 5: Output: Sun altitude angle β , solar azimuth φ ;
[0188] 6: δ ← day Substitute into formula (1) to calculate the declination angle of the sun;
[0189] 8: H ← h Substitute into formula (2) to calculate the solar hour angle;
[0190] 9: β ← According to L And formula (3), calculate the solar altitude angle;
[0191] 10: φ ← According to formula (4), the solar azimuth angle is calculated;
[0192] 11: return sun altitude angle β , solar azimuth φ ;
[0193] 12: end the program.
[0194] Step 1-2: Let A be the approximate extraterrestrial flux from outside the planet's atmosphere; e be a natural constant; optical depth K corresponds to the attenuation of energy along the vertical path from the Earth's surface to the atmosphere; m be the atmospheric mass, representing the ratio of the actual distance the sun's rays travel through the atmosphere to the vertical thickness of the atmosphere; and I be the solar radiation received by the Earth's surface. Ignoring the value of diffuse radiation, the calculation formula is as follows:
[0195] (5);
[0196] (6);
[0197] (7);
[0198] (8).
[0199] Step 1-3: After calculating the solar radiation received by the Earth's surface, we can calculate the radiation received by any plane on the Earth's surface. This value is related to the orientation of the plane itself and its tilt angle relative to the horizontal plane. Let cosθ be the viewing angle, φ be the solar azimuth, and φ be the solar azimuth. c is the azimuth of a point on any plane or curved surface, σ is the inclination of a point on any plane or curved surface, and the following formula is used to calculate the amount of solar radiation received by any plane or curved surface area:
[0200] (9);
[0201] (10).
[0202] Step 1-4: After the surface is subdivided, calculate the azimuth and inclination of the normal vector at the center of each polygonal area. Calculate the angle of each polygonal area relative to the sun's rays based on the sun's position. Algorithm 1.2 and the formula are as follows. Suppose the equation of any spatial surface is:
[0203] (11);
[0204] Then the tangent plane equation at the point (x0, y0, z0) on the space surface can be expressed as:
[0205] (12);
[0206] From the above formula, we can get the expression of the normal vector b of the tangent plane at the spatial surface point (x0, y0, z0) as follows:
[0207] (13);
[0208] Among them F x (x0, y0, z0), F y (x0, y0, z0), F z (x0, y0, z0) are the partial derivatives of the space surface equation with respect to x, y, and z respectively.
[0209] Assume that the vector Z = (0, 0, 1). Is the inclination σ of the center point (x0, y0, z0) of the spatial surface with respect to the horizontal plane less than 0? If so, the inclination is 0. If it is greater than 0, the inclination can be expressed as follows:
[0210] (14);
[0211] Let the projection of b on the plane coordinate system be b c It is expressed as follows:
[0212] (15);
[0213] Let vector Y = (0, 1, 0), which is the azimuth angle φ of the space surface c It is expressed as follows:
[0214] (16);
[0215] Let vector X = (1, 0, 0), then: If b c ·X > 0, then φ c < 0; if b c If X < 0, then φ c >0.
[0216] Algorithm 1.2: Calculate the angle between the normal vector of each polygonal area center and the sun's rays. Calculate the inclination angle of each plane relative to the horizontal plane and the azimuth of the projection on the horizontal plane after the surface subdivision. x The axis matches the east direction to determine the azimuth, with east being negative and west being positive. Finally, the angle between the normal vector at the center of each polygon area and the sun's rays is output. angle [ n ]:
[0217] 1: Procedure: CalculateVectorRayAngle ( vector [ n ], β , φ );
[0218] 2: Input 1: Array storing the center normal vector of each polygon area vector [ n ];
[0219] 3: Input 2: The solar altitude angle at a certain time at a certain location β , solar azimuth φ ;
[0220] 4: Output: An array storing the angle between the normal vector of each polygon area and the sun's rays angle [ n ];
[0221] 5: Define the spatial coordinate system on the horizontal plane. z The axis direction is defined as a vector vector_Z ;
[0222] 6: Define the spatial coordinate system on the horizontal plane, x The axis direction is defined as a vector vector_X ;
[0223] 7: for vector j in vector [ n ] do / / Calculate polygon area j Inclination and azimuth with respect to the horizontal;
[0224] 8: Tilt σ j ← According to formulas (11) to (16), calculate vector j and vector_Z The angle between
[0225] 9: Azimuth φ j ← According to formulas (11) to (16), calculate vector j and vector_X The angle between
[0226] 10: Calculate the normal vector vector j With vector vector_X The dot product of DotProduct ;
[0227] 11: if DotProduct ≥ 0 then;
[0228] 12: The azimuth of the polygonal area is positive, that is, φ j ← | φ j |;
[0229] 13: else;
[0230] 14: The azimuth of the polygonal area is negative, that is φ j ← -| φ j |;
[0231] 15: end if;
[0232] 16: angle [ j ] ← Calculation σ j and β The angle of φ j and φ Angle / / calculate vector j Angle with the sun's rays;
[0233] 17: end for;
[0234] 18: return the angle between the normal vector of the center of all polygonal areas and the sun's rays angle [ n ];
[0235] 19: end the program.
[0236] Step 1-5: The inclination σ and azimuth φ of each polygonal area j relative to the horizontal plane calculated in step 1-4 are c Substituting into steps 1-3, we get the solar radiation received by each polygonal area as I j mesh = f(x j , y j, z j ), the total solar radiation received by the surface can be expressed as:
[0237] (twenty three).
[0238] Step 1-6: Calculate the real-time power generation using the total solar radiation received by the photovoltaic panel and the photovoltaic power generation efficiency calculated in step 1-5. The power generation efficiency η of the photovoltaic panel can be determined based on the type of photovoltaic module. The formula for calculating the predicted power generation can be expressed as:
[0239] (twenty four);
[0240] The correction coefficient after error correction is obtained by the machine learning model trained in step ⑤. The corrected predicted power generation calculation formula can be expressed as:
[0241] (25);
[0242] Among them, λ is the correction coefficient of power generation, Area total is the total area of the photovoltaic panels, then, make a judgment: if P' calc≤0, no error correction is performed and P is maintained calc is the final predicted value; otherwise, use the revised predicted value P' calc ,Right now:
[0243] (26);
[0244] This step ensures that the predicted power generation does not become negative due to error correction, making the model prediction more consistent with actual physical conditions. The specific algorithm for this step is shown in Algorithm 1.3.
[0245] Algorithm 1.3: Calculate the power generation of each polygonal area. Calculate the amount of solar radiation received by each area, calculate the total power generation of the area, and then calculate the real-time power generation based on the photovoltaic power generation efficiency:
[0246] 1: Procedure: CalculatePolygonPowerGeneration ( I , η , polygon [ n ], angle [ n ]);
[0247] 2: Input 1: Solar radiation per unit area of the earth's surface I , photovoltaic power generation efficiency η ;
[0248] 3: Input 2: Subdivided polygonal area polygon [ n ];
[0249] 4: Input 3: The angle between the normal vector of each polygon area center and the sun's rays angle [ n ];
[0250] 5: Output: photovoltaic power generation of the surface P calc ;
[0251] 7: for polygon [ n ] for each polygonal area do;
[0252] 8: I j mesh ← I and angle [ j ]Substitute into formulas (9) to (10) to calculate the polygonal area j The amount of solar radiation received per unit area;
[0253] 9: end for;
[0254] 10: I total ← I total × η / / Formula (23) calculates the total radiation received by the entire surface;
[0255] 11: P calc ← I total × η / / Formula (24) calculates the photovoltaic power generation power of the entire surface P calc ;
[0256] 12: return photovoltaic power generation P calc ;
[0257] 13: end the program.
[0258] Step 1-7: After obtaining the corrected real-time power generation, if you need to calculate the total power generation of the photovoltaic panel in a certain time period T minutes, first calculate the power generation of the photovoltaic panel every minute in the time period, and then add up the power generation of each minute to get the total power generation E in the time period. total From the definition of power, we know that P solar is the power generation per second, multiply it by 60 to get the power generation per minute, then E total The calculation formula is as follows:
[0259] (27);
[0260] If the power generation fluctuates slightly within a time period of t minutes, it can be approximately assumed that the power generation is the same every minute within t minutes, thereby simplifying the calculation method and greatly improving the calculation speed. In this case, formula (19) can be rewritten as formula (20):
[0261] (28).
[0262] (2) Based on the annual power generation of the photovoltaic system, a method for calculating the economic benefits of the photovoltaic system over its entire life cycle is proposed, taking into account the time value. The annual power generation of the photovoltaic system can be calculated using the method in (1), or it can be obtained from relevant institutions. The local annual average radiation data can be calculated based on the conversion efficiency of the photovoltaic panels.
[0263] Calculating the investment returns of a photovoltaic system that takes into account the time value of investment primarily involves calculating the Net Present Value (NPV). NPV is a crucial concept in financial management and investment decision-making, used to assess the long-term profitability or value of an investment project. A project is feasible if the NPV is greater than zero, and the larger the NPV, the better the project and the greater the investment returns. Furthermore, if the NPV is negative, identify the components in the photovoltaic system that contribute to excessively high overall system costs and determine the electricity price that would achieve a NPV of zero, effectively breaking even.
[0264] like Figure 6 As shown in the figure, this method takes into account the detailed investment costs of all components (i.e. equipment and consumables; for example, photovoltaic panels, inverters, cables and photovoltaic panel brackets, etc.) required for different types of photovoltaic systems, such as grid-connected and off-grid, and takes into account the reinvestment after the photovoltaic system is built due to the service life of the components, as well as factors such as inflation throughout the life cycle of the photovoltaic system.
[0265] ① First, this method reconsiders the present value of the total cost of each component incurred during the entire life cycle from three aspects: the initial investment cost, the investment cost incurred due to component replacement during the entire life cycle of the system, and the depreciation price. The initial investment cost includes all components required for a complete set of photovoltaic systems, transportation costs, labor costs and other one-time costs. Taking the service life of photovoltaic panels as 25 years as an example, the full life cycle of the photovoltaic system is also 25 years. The service life of batteries is generally 5 years, the service life of inverters, photovoltaic controllers (MPPT), monitoring equipment, and wires is generally 10 years, and the service life of equipment such as grid-connected junction boxes and electricity meters is generally 15 years. Therefore, in the 5th, 10th, 15th, and 20th years after the system starts operating, corresponding equipment replacement and depreciation are required and included in the total investment cost, such as Figure 6 In addition, to take inflation into account, the total investment cost should also take into account the discounted present value. Discounted present value refers to the cash value of a future asset or liability converted to the present.
[0266] ② After calculating the present value of the total cost, the power generation is obtained through the calculation in (1), and then the investment payback period and net present value (NPV) of the photovoltaic power generation system are calculated by combining the interest rate and electricity price information.
[0267] ③ After calculating the payback period and NPV, if NPV < 0, determine which components in the PV system have the greatest impact on the system's NPV—that is, which components have excessively high investment costs—to provide a reference for cost reduction. Furthermore, calculate the electricity price that would achieve NPV = 0 or NPV ≈ 0. This means determining the price adjustment required to achieve break-even investment, or the subsidy required to achieve break-even investment. This provides a reference for setting electricity prices or subsidy amounts.
[0268] The following describes in detail the steps for calculating the NPV of a PV system, including the calculation formula and algorithm, as well as the specific steps for determining components with excessive investment costs and the electricity price that achieves break-even when the NPV is < 0.
[0269] Step 2-1: Let i represent the interest rate and g represent the inflation rate. To accurately calculate the present value (PV) of future input costs, we use the real interest rate i', which takes into account the impact of inflation on future values. The formula for calculating the real interest rate i' is as follows:
[0270] (29);
[0271] In a photovoltaic system, the service life (i.e., useful life) of a certain component is t years. The present value of the cost of replacing the component in year t is Expressed as:
[0272] (30);
[0273] Among them C t Represents the price of the component. If the price of the component cannot be directly obtained through relevant documents, information, quotations, etc., it is calculated from the weighted average price in the market. The calculation takes into account the price of each brand and its market share, that is, the ratio of the brand's sales volume to the total sales volume of the component in the entire market. The weighted price of all brands is added together to obtain the total weighted price. The weighted average price (WAP) of the component in the market is calculated as follows:
[0274] (31);
[0275] Where WAP is the weighted average price of the component; M represents a total of M brands; P r represents the price of the component of the rth brand; S r Represents the sales volume of the component of the rth brand.
[0276] In addition, assume that the current depreciation price of the component is P0. Due to the impact of inflation, the depreciation price of the component in year t is P tIt can be expressed as:
[0277] (32);
[0278] Taking into account the impact of interest rates, the discounted price of the component's depreciation price in year t can be expressed as:
[0279] (33);
[0280] The n components required for the entire photovoltaic system are represented by D = {d1, d2, ..., d n Assume that the total service life of the photovoltaic system is T years, and a certain component d k The useful life is Year, Represents component d k The initial cost, including the purchase of components k Cost and component d k Additional costs , such as transportation and installation costs. Then component d k The present value of the total cost over the entire life cycle of the photovoltaic system It can be expressed as:
[0281] (34);
[0282] (35);
[0283] where t = m∙ The present value (PV) of the total investment in the entire life cycle of the photovoltaic system total It can be expressed as:
[0284] (36);
[0285] The operation and maintenance cost of the photovoltaic system, C O&M , which can be expressed as:
[0286] (37);
[0287] Where y∈[1, T]. α represents the operating coefficient, which is usually set to 0.5%, indicating a 0.5% annual operation and maintenance cost coefficient for the photovoltaic system. y is the annual cash flow during the service life of the photovoltaic system, which can be expressed as: (38);
[0288] Where CI represents cash inflow, CO represents cash outflow, and P e Indicates the electricity price. Eyear The annual power generation of the photovoltaic panels calculated by the method in (1) or the annual power generation estimated by the annual average radiation provided by relevant institutions; the formula for calculating the net present value (NPV) is:
[0289] (39);
[0290] The payback period can be calculated based on the cash inflow and the present value of the total cost. The payback period is the shortest time required to recover the initial investment cost (DPP). The calculation formula is as follows:
[0291] (40);
[0292] An NPV > 0 indicates that the projected benefits exceed the expected cost of the investment, thus signaling the investment's potential profitability. Conversely, an NPV < 0 indicates that the investment's costs exceed its benefits, indicating the potential for loss.
[0293] Step 2-2: When the calculated NPV is less than 0, the algorithm 2.1 can be used to determine the component in the PV system that has the greatest impact on the NPV, that is, the component with too high an investment cost. The algorithm traverses each component d in the PV system. k , calculate its impact on NPV and store these impact values in the array PV mod After calculating the total NPV, if it is found to be negative, the algorithm will adjust the PV according to the impact mod The algorithm sorts the components in reverse order (highest values first, lowest values last) and begins removing the components that have the greatest impact on the NPV, recalculating the NPV after each removal. By executing this algorithm, it is possible to identify the specific components that cause the PV system's NPV to be less than 0. This allows for prioritization and focus on reducing the cost of these components, such as by switching suppliers or replacing them with lower-priced equivalent products, thereby improving the overall PV system's return on investment.
[0294] Algorithm 2.1: Calculate NPV. If NPV < 0, determine the components in the PV system that cause NPV < 0:
[0295] 1: Procedure: Find Components SearchComponent ( price [ n ], year [ n ]);
[0296] 2: Input 1: Unit price of all components price [ n ];
[0297] 3: Input 2: Service life of all components year [n ];
[0298] 4: Output: Make the photovoltaic system NPV Array of components with < 0 D' and NPV ;
[0299] 5: for all d k ∈ D do;
[0300] 6: ← price [ k ]and year [ k ] data into formulas (29)-(35) to calculate the total cost present value of each component over its entire life cycle;
[0301] 7: Will Joining an array PV mod middle;
[0302] 8: end for;
[0303] 9: Run formulas (36) to (39) to calculate PV total and NPV ;
[0304] 10: if NPV < 0 then;
[0305] 11: The array PV mod The elements in are sorted in descending order;
[0306] 12: for j from 1 to n do;
[0307] 13: PV total ← PV total - PV mod [ j ];
[0308] 14: Will PV mod [ j ] corresponding d k Add to array D'In, that is D' [ j ] ← d k ;
[0309] 15: The element PV mod [ j ]From the array PV mod Delete in;
[0310] 16: Run formulas (37) to (39) and recalculate NPV ;
[0311] 17: if NPV ≥ 0 then;
[0312] 18: Terminate this for loop;
[0313] 19: end if;
[0314] 20: end for;
[0315] 21: end if;
[0316] 22: return NPV , D' ;
[0317] 23: end the program.
[0318] Step 2-3: This step is independent of step 2-2 and does not affect each other. The execution order is not important. When the calculated NPV < 0, you can use Algorithm 2.2 to calculate the electricity price that makes the investment break-even, that is, the electricity price that makes NPV = 0 or NPV ≈ 0. Here, P e bal Indicates. e inc is the price increment of each iteration, Err is the calculation accuracy, N max It is the maximum number of iterations for calculating the electricity price, that is, the algorithm executes N max After this, it stops regardless of whether the final result is calculated.
[0319] Algorithm 2.2: Calculate the electricity price that can make NPV = 0 or NPV ≈ 0 P e bal :
[0320] 1: Procedure: Calculate electricity price CalculatePrice ( NPV, P e inc );
[0321] 2: Input 1: Net present value of photovoltaic system NPV ;
[0322] 3: Input 2: NPV The electricity price increment for each iteration P e inc ;
[0323] 4: Output: When NPV = 0 or NPV ≈ Electricity price at 0 P e bal ;
[0324] 5: while NPV < 0 do;
[0325] 6: P e ' ← P e ;
[0326] 7: P e ← P e + P e inc ;
[0327] 8: NPV ← P e Substitute into formulas (38) to (39) to calculate the net present value;
[0328] 9: end while;
[0329] 10: if NPV > Err then / / Calculation can make NPV ≈0 P e ;
[0330] 11: j ← 1;
[0331] 12: P e low ← P e ' ;
[0332] 13: P ehigh ← P e ;
[0333] 14: while NPV < 0 or NPV > Err do / / Err represent NPV Accuracy;
[0334] 15: if j ≤ N max then / / N max Represents the maximum number of repetitions of the calculation;
[0335] 16: P e bal ← ( P e low + P e high ) / 2;
[0336] 17: NPV ← P e bal Substitute into formulas (38) to (39) to calculate the net present value;
[0337] 18: j ← j + 1;
[0338] 19: if NPV > Err then;
[0339] 20: P e high ← P e bal ;
[0340] 21: else if NPV < 0;
[0341] twenty two: P e low ← P e bal ;
[0342] 23: end if;
[0343] 24: else;
[0344] 25: Terminate this while loop;
[0345] 26: end if;
[0346] 27: end while;
[0347] 28: end if;
[0348] 29: return P e bal , NPV;
[0349] 30: end program.
[0350] Example 2: Verification experiment:
[0351] (1) Comparative analysis of measured and simulated data of power generation for different curved surface shapes
[0352] The following experiments were conducted to verify the present invention and the model:
[0353] A photovoltaic power generation system on a curved surface was built using flexible photovoltaic panels. Software that can collect power generation data in real time was implemented using C++. The data was acquired and stored in real time by connecting to the photovoltaic power generation system via an RS485 interface. The flexible photovoltaic panels were bent and placed at several different angles (see Figure 7 ), and a flat photovoltaic panel was used for comparison.
[0354] like Figures 8-10 As shown, the experimental results of the present invention and the simulation results show the same trend, and the power generation efficiency within a day varies significantly with the different surface shapes, and the convex surface (surface 1) shows a similar trend: as the solar altitude angle changes, the output power of the photovoltaic panel gradually increases. Compared with the flat photovoltaic panel, the average radiation of the right-tilted surface (surface 3) photovoltaic panel in the morning increased by 10.7%, the maximum output power of the left-tilted surface (surface 2) photovoltaic panel increased by 10.5%, and the average radiation throughout the day increased by 10.1%. In the morning, due to the sun's azimuth angle to the east, the average radiation of the right-tilted module is higher. As the sun moves westward, the equivalent incident angle of the left-tilted surface photovoltaic panel increases, and its electrical efficiency increases accordingly. As Figure 10 As shown, the experimental results show that at specific angles and time periods, the power generation efficiency of curved photovoltaic panels can be higher than that of flat photovoltaic panels.
[0355] (2) Monthly simulation analysis of power generation for different curved surface shapes:
[0356] right Figure 7 The power generation of the mid-surface 1-3 was simulated monthly, simulating four modules with different azimuth and inclination angles in Qingdao, China. The results are as follows: Figure 11 The results show that convexly curved photovoltaic panels have slightly higher annual power generation efficiency than other types of curved photovoltaic panels. From May to August, left- and right-tilted curved photovoltaic panels performed slightly better in energy collection than other modules. With the azimuth angle unchanged, the convexly curved photovoltaic panel (curve 1) achieved a maximum monthly average irradiation of 174 kWh (kilowatt-hours per degree), achieving this value at both 40° and 30° inclinations. This demonstrates that the optimal inclination is not the sole determining factor for the curved surface shape, and that the annual power generation can be the same at different inclinations. To maintain optimal power generation efficiency for right-tilted (curve 3) and left-tilted (curve 2) curved photovoltaic panels, adjusting the azimuth angle (the angle between the curved surface and the horizon) significantly affects power generation efficiency, in addition to the inclination angle (the angle between the curved surface and true north). When the inclination angle is between 20° and 40° and the azimuth angle is between -25° and 25°, these panels can maintain an average monthly irradiation of over 160 kWh. Furthermore, the concave-curved photovoltaic panels are significantly affected by the angle in spring, resulting in a significant drop in power generation efficiency. The total annual radiation is 42.4% lower than the other three types of modules. This is mainly because the concave shape causes the ends of the photovoltaic panel to block the middle part, forming a shadow area, which reduces power generation efficiency.
[0357] (3) Photovoltaic power generation prediction optimization based on ensemble learning:
[0358] In order to verify the prediction effect of photovoltaic power generation in the regional power grid studied in this paper, Figure 12 As shown in the figure, this experiment established a small weather station and a photovoltaic power generation system to collect meteorological data and the actual power generation of photovoltaic panels. The experiment was located on the rooftop of an office building in Shibei District, Qingdao City, Shandong Province. A total of 7,824 data points were collected between April and May 2024 to construct the original dataset. Anomalous data was removed. The intact data was then fed into a model built using the Extra-Trees algorithm for training and evaluation. Figure 13 and Figure 14 The error range and prediction accuracy of the extreme random tree model can be intuitively observed. The average prediction accuracy of the model reached 91.2%, and the error range was small. In addition, the root mean square error of the test set was 10.997, and the coefficient of determination was 0.927.
[0359] In general, this method can effectively capture the correlation between weather factors and photovoltaic power generation, and output the power generation correction value corresponding to the weather factors, thereby improving the accuracy of the power generation prediction method described in (1), promoting the utilization of solar energy, and thus promoting the construction of photovoltaic power generation systems.
[0360] (4) Case analysis of photovoltaic system economics:
[0361] This study examined the components required for 10kWp (kilowatt-peak) and 100kWp grid-connected and off-grid photovoltaic systems in the Chinese market as of February 5, 2024, including their service life and price. All systems use monocrystalline, monofacial P-type modules. The inverter, a core component for power conversion within a PV system, has a relatively short service life of 10 years. For grid-connected systems, components include the PV grid connection box and smart meter, with a service life of 15 years. These components include circuit breakers, DC circuit breakers, AC circuit breakers, and lightning arresters to ensure a stable and secure grid connection. In contrast, off-grid systems do not include these components. Off-grid systems operate independently of the main grid and require batteries for energy storage. Lead-acid batteries have an expected service life of 5 years, while maximum power point tracking (MPPT) controllers have an expected service life of approximately 10 years. This is particularly important for off-grid systems, as they directly impact the reliability of energy storage and supply. Mounting system options include fixed and tracking mounting systems, with an expected service life of 10 years.
[0362] Quantitative prices for most components were determined by reviewing industry reports and government public bidding information. For components like controllers, PV array boxes, monitoring modules, and meters, due to the lack of quantitative prices, a weighted average price of specific models in the Chinese market was calculated for the experiment (price data from the Chinese e-commerce platform Taobao (www.taobao.com) was used for analysis and comparison in this case). The weighted price took into account each brand's unit price and its proportion of total sales volume (i.e., a brand's monthly sales volume divided by its total monthly sales volume). The weighted prices of all brands were summed to obtain a total weighted price. This weighted average price for the products in the market was then calculated. This weighted average price takes into account sales volume, allowing products with higher sales volume to have a greater impact on the average price, thus more accurately reflecting the actual market price level of the products.
[0363] like Figure 15 As shown in the figure, taking monocrystalline photovoltaic panels as an example, the total discounted cost of a 10kWp grid-connected fixed-mount photovoltaic system over its entire lifecycle is 33,091 yuan. For a 10kWp off-grid photovoltaic system, energy storage facilities (such as batteries) are essential components. However, because batteries require multiple replacements throughout their lifecycle, they account for 68.7% of the total cost. The total discounted cost of this system is 94,726 yuan, approximately 186.2% of the cost of the grid-connected photovoltaic system.
[0364] like Figure 16 As shown, the total discounted cost of a 100kWp grid-connected fixed-mount PV system is 338,740 yuan. The battery is the most expensive component, accounting for 32.0%. The second-largest cost is the photovoltaic panels, which require approximately 185 550W monocrystalline panels, accounting for 29.0%. The cost of a 100kWp off-grid PV system reaches 871,496 yuan, with energy storage facilities accounting for 74.6% of the total cost, far exceeding the costs of other components.
[0365] (5) Net present value (NPV) and electricity price benefit calculation analysis:
[0366] Table 1 Net present value and investment payback period of each system under different electricity price conditions in Qingdao
[0367] .
[0368] To further calculate the NPV and payback period of each system, Qingdao, Shandong Province, China, was selected as the experimental site, with the experiment taking place on February 5, 2024. This experiment used meteorological data provided by the Solargis website to estimate the annual power generation of photovoltaic panels. The average annual radiation at the optimal photovoltaic panel tilt angle in Qingdao is 1,633 kWh / m², and the photovoltaic panel conversion efficiency is 21.6%. A 10kWp photovoltaic panel covers an area of approximately 46.4 m², and a 100kWp panel covers an area of approximately 464.4 m². Therefore, the annual power generation of a 10kWp photovoltaic panel is approximately 16,379.7 kWh, and that of a 100kWp panel is approximately 163,791.1 kWh. Furthermore, different provinces and cities in China have different electricity pricing standards. According to the State Grid Corporation of China, the on-grid electricity price for photovoltaic power in Qingdao is 0.54 yuan / kWh, with a base interest rate of 3% and an inflation rate of 5%. As shown in Table 1, the NPV and payback period of 10kWp and 100kWp grid-connected and off-grid systems using fixed and tracking brackets are calculated respectively.
[0369] As shown in Table 1, the payback period for grid-connected systems under both the PV on-grid tariff and residential tariff ranges from 5.4 to 7.0 years, while the payback period under commercial and industrial tariffs ranges from 3.2 to 4.9 years. 100 kWp systems have higher net present values and shorter payback periods. This suggests that both fixed and tracker systems offer better returns on investment over a wider range of scenarios. Furthermore, trackers offer superior net present values and payback periods to fixed systems in both grid-connected and off-grid systems. Although trackers have a higher total cost, they benefit from higher annual power generation, which improves system profitability. Furthermore, compared to grid-connected systems, off-grid systems in this study generally have lower net present values, often failing to recover their costs within their lifetimes or resulting in excessively long payback periods. This suggests that under current conditions, off-grid systems offer lower economic benefits and require further technological innovation to reduce their costs before they can achieve payback.
[0370] Figure 17 The electricity price that makes NPV ≈ 0 in different photovoltaic systems calculated based on Algorithm 2.2 is shown, that is, the electricity price at which the investment plan can basically meet the profit level required by the benchmark rate of return. Here, the electricity price increment P for each iteration is e inc Take 0.2 (yuan), the calculation accuracy Err is 0.01 (yuan), and the maximum number of iterations N max Take 100 times. The profit price of off-grid system is higher than that of grid-connected system. Figure 17 It can be seen that building off-grid systems is economically beneficial only in areas where electricity prices exceed 0.472 yuan / kWh. This is because off-grid systems require energy storage equipment, which is relatively costly. On the other hand, grid-connected systems achieve an NPV of ≈ 0 at an electricity price of 0.184 yuan / kWh. Furthermore, the profitable electricity price for a 100kWp PV system is lower than that for a 10kWp system, likely due to economies of scale.
[0371] In addition, taking a 100kWp grid-connected photovoltaic system as an example, the potential impact of the benchmark interest rate and solar radiation on the NPV of the photovoltaic system is analyzed. Figure 18As shown, NPV generally increases when interest rates decrease because the present value of cash flows decreases, leading to an increase in NPV. Larger PV systems may be more sensitive to these changes because they typically involve larger investments and cash flows. The average annual irradiation at the optimal PV panel tilt angle in my country ranges from 700 to 2600 kWh / m². Within this range, assuming other factors such as electricity prices and interest rates remain constant, the NPV of a 100 kWp PV system increases with increasing annual irradiation. This indicates that irradiation has a positive impact on the NPV of PV systems, with higher irradiation associated with higher NPV. Therefore, when designing PV systems, priority should be given to constructing PV systems in areas with higher irradiation. Furthermore, for existing PV systems, efforts should be made to ensure the optimal PV panel tilt angle to maximize irradiation capture and thus maximize the system's economic benefits.
[0372] On the basis of the above embodiments, the present invention continues to describe in detail the technical features involved therein and the functions and roles played by the technical features in the present invention, so as to help technicians in this field fully understand the technical solutions of the present invention and reproduce them.
[0373] Finally, although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
Claims
1. A photovoltaic power prediction method based on machine learning, It is characterized in that The method comprises the following steps: S1-1: Calculate the position of the sun at a certain moment based on the hour angle coordinate system: Calculate the solar altitude angle β and azimuth angle using the solar hour angle, solar declination angle and local latitude S1-2: After determining the position of the sun, calculate the surface solar radiation intensity taking into account the geographical location, date, time, atmospheric transparency and air mass ratio; S1-3: For a flat photovoltaic panel, the sun position is calculated according to S1-1, and the angle between the sun's rays and the normal vector at the center of the photovoltaic panel is directly calculated. Then, the solar radiation received by the entire photovoltaic panel is calculated according to the solar radiation intensity received by the ground calculated by S2-2. S1-4: Perform surface subdivision on the curved photovoltaic panel, calculate the angle between each plane polygon area and the ground plane and the orientation of the projection on the ground plane; then calculate the angle between the sunlight irradiating the center point of each plane polygon area and the center normal vector of the plane according to the sun position calculated in S1-1; by calculating the angle between the center normal vector direction of each plane polygon area and the sunlight, and the surface solar radiation intensity calculated in S1-2, the solar radiation received by each plane polygon area can be calculated; then add up the solar radiation received by all the plane polygon areas to obtain the total solar radiation received by the entire curved surface; S1-5: A method for correcting real-time power generation based on a machine learning model is proposed: an extreme random tree algorithm, which constructs multiple decision trees #1, #2, ..., #N, each of which is independently constructed; each tree randomly selects a feature subset to evaluate the split point when the node splits; each decision tree independently predicts the input data and generates its own prediction output; the final prediction output, the prediction output of all decision trees is collected, and then averaged to generate the prediction result of the final photovoltaic power generation error correction value; the data collected in the original data set include: TIME-time, WS-wind speed, WD-wind direction, T-temperature, H-humidity, PM-suspended particulate matter, G-solar radiation, actual power generation P reality and predicted power generation P predict ; Collect meteorological data and actual power generation P at intervals of t per minute reality , taking the meteorological data as the characteristic value; at the same time, calculating the predicted power generation power P in S1-4 predict The actual power generation P reality The error correction coefficient λ per square meter is used as the target value; the error correction coefficient The value of the actual power generation P reality , predicted power generation P predict and the total area of photovoltaic panels used to collect data The calculation formula is as follows: In addition, the solar radiation data G is used to quantify the weather clearness RI in different time periods; the maximum radiation value of the day with the highest average radiation in the data collection period is As a reference value, calculate the solar radiation data G at time t t The ratio of the coefficient RI to the benchmark value is calculated by the following formula: Divide the original data set into training set D train and the test set D test , normalize the features to ensure that the feature values are between 0 and 1; build an extreme random tree regression algorithm model and use the following formula to describe the model: TIME u ,WS u ,WD u ,T u ,H u ,PM u ,RI u , are the values of the samples reaching the leaf node u on each feature, f(TIME u ,WS u ,WD u ,T u ,H u ,PM u ,RI u ) is a function that calculates the predicted error correction coefficient based on the eigenvalues of all samples on the leaf node u. The more specific expression formula is: Where S u is the sample set on leaf node u, Y z is the error correction coefficient for the zth sample, It is the weighted average of all sample error correction coefficients in leaf node u; The parameters of the extreme random tree model were tuned through grid search and cross-validation to set the optimal model parameters. The parameters were set to control the number of trees in the forest, the maximum depth of the tree, and the maximum number of features considered for each tree when splitting. The mean square error (MSE) and mean absolute error (MAE) were used to evaluate the model performance. The calculation formula is as follows: Where n is the number of samples, y z is the actual value of the z-th sample, and is the model's predicted value for the z-th sample; finally, through multiple iterative updates and training, the trained optimal extreme random tree model is saved; S1-6: Whenever the power generation of the photovoltaic panel at the current moment is calculated through S1-4, the weather data at the current moment, the type of photovoltaic panel, and the power generation efficiency parameters of the photovoltaic panel are input into the trained machine learning model. The model will output a correction value for the power generation at the current moment. The power generation calculated in S1-4 is then corrected using the correction value to obtain the value of the power generation of the photovoltaic panel.
2. The photovoltaic power generation prediction method according to claim 1, It is characterized in that In S1-1, the sun position at a certain time and a certain longitude and latitude is calculated according to the hour angle coordinate system; let δ be the solar declination angle, L be the latitude of the observation point, H be the solar hour angle, and β be the solar altitude angle. is the solar azimuth, day represents the day of a certain day in a year, h represents a certain moment and h is a real number in the interval (0,24]. Let the angle between the projection of the sun's rays on the horizontal plane and the south be negative for the east and positive for the west. The calculation formula is as follows: β=sin -1 [cosL·cosδ·cosΗ+sinΗ·sinδ] (3) if At this time, the solar altitude angle is a non-acute angle, that is, Otherwise, the solar altitude angle is non-obtuse, that is, 3. The photovoltaic power generation prediction method according to claim 2, It is characterized in that In S1-2, let A be the approximate extraterrestrial flux from outside the planetary atmosphere; e be a natural constant; optical depth K corresponds to the attenuation of energy through the vertical path from the earth's surface to the outside of the atmosphere; m is the atmospheric mass, representing the ratio of the actual distance that the sun's rays pass through the atmosphere to the vertical thickness of the atmosphere; I is the solar radiation received by the earth's surface, ignoring the value of diffuse radiation, and the calculation formula is as follows: I=A·e -mK (8)。 4. The photovoltaic power generation prediction method according to claim 3, It is characterized in that In S1-3, let cosθ be the viewing angle coefficient, is the azimuth of a point on any plane or surface, σ is the inclination of a point on any plane or surface, and the following formula is used to calculate the solar radiation received by any plane or surface area: I mesh =I·cosθ (9) 5. The photovoltaic power generation prediction method according to claim 4, It is characterized in that In S1-4, after the surface is subdivided, the azimuth and inclination of the normal vector at the center of each polygonal area are calculated, and the angle of each polygonal area relative to the sun's rays is calculated according to the sun's position. The equation expression of any spatial surface is assumed to be: F(x,y,z)=0 (11) Then the point (x 0 ,y 0 ,z 0 ) is expressed as: F x (x 0 ,y 0 ,z 0 )(x-x 0 )+F y (x 0 ,y 0 ,z 0 )(y-y 0 )+F z (x 0 ,y 0 ,z 0 )(z-z 0 )=0 (12) From the above formula, we can get the space surface point (x 0 ,y 0 ,z 0 ) is expressed as follows: b=(F x (x 0 ,y 0 ,z 0 ),F y (x 0 ,y 0 ,z 0 ),F z (x 0 ,y 0 ,z 0 )) (13) where F x (x 0 ,y 0 ,z 0 ), F y (x 0 ,y 0 ,z 0 ), F z (x 0 ,y 0 ,z 0 ) are the partial derivatives of the spatial surface equation with respect to the x, y, and z axes respectively; Assume that vector Z = (0,0,1), determine the center point of the space surface (x 0 ,y 0 ,z 0 )Is the inclination σ with respect to the horizontal plane less than 0? If yes, the inclination is 0. If it is greater than 0, the inclination is expressed as follows: Let the projection of b on the plane coordinate system be b c It is expressed as follows: b c =(x 0 ,y 0 ,0) (15) Let vector Y = (0,1,0), which is the azimuth of the space surface It is expressed as follows: Let vector X = (1,0,0), then: If b c ·X>0, then If b c ·X<0, then 6. The photovoltaic power generation prediction method according to claim 5, It is characterized in that In S1-6, first, the total solar radiation received by the photovoltaic panel is calculated; the inclination σ and azimuth of each polygonal area j calculated in S1-4 relative to the horizontal plane are calculated. Substituting S1-3, we get the solar radiation received by each polygonal area as I j mesh =f(x j ,y j ,z j ), the total solar radiation received by the surface is expressed as: I total =∫∫ s f(x j ,y j ,z j )dS (23); The power generation efficiency η of the photovoltaic panel can be determined according to the type of photovoltaic module, and the calculation formula for the predicted power generation can be expressed as: P calc =I total ×η (24); The correction coefficient after error correction is calculated by the machine learning model trained in S1-5, and the corrected predicted power generation calculation formula is expressed as: P' calc =P calc +λ·Area total (25) Among them, λ is the correction factor of power generation, Area total is the total area of the photovoltaic panels, then, make a judgment: if P' calc <0, no error correction is performed and P is maintained calc is the final predicted value; otherwise, use the revised predicted value P' calc ,Right now:
7. The photovoltaic power generation prediction method according to claim 6, It is characterized in that The above method further includes S1-7: after obtaining the corrected real-time power generation, firstly calculating the power generation of the photovoltaic panel every minute in the time period, and then adding the power generation of each minute to obtain the total power generation E in the time period. total ; From the definition of power, we know that P solar is the power generation per second, multiply it by 60 to get the power generation per minute, then E total The calculation formula is expressed as follows: If the power generation fluctuates slightly within a time period of t minutes, it can be approximately assumed that the power generation is the same every minute within t minutes. In this case, formula (27) can be rewritten as formula (28):
8. Application of the photovoltaic power prediction method described in claim 1 to photovoltaic power generation system revenue control.
9. The use according to claim 8, It is characterized in that The application is specifically a photovoltaic power generation system revenue control method, which is characterized by comprising the following steps: S2-1: First, the present value PV of the total cost of each component during its entire life cycle was reconsidered from three aspects: initial investment cost, investment cost incurred by replacing components during the entire life cycle of the system, and depreciation price; S2-2: After calculating the present value of the total cost, the investment payback period and net present value (NPV) of the photovoltaic power generation system are calculated by calculating the power generation, interest rate and electricity price information; S2-3: After calculating the investment payback period and NPV, if NPV<0, find out which components in the photovoltaic system have the greatest impact on the NPV of the system through calculation, and calculate the electricity price that makes NPV=0 or NPV≈0. In other words, calculate how much the electricity price should be adjusted to make the investment break-even and control the income.
10. The use according to claim 9, It is characterized in that In S2-3, calculating the NPV of the photovoltaic system includes the following steps: Let i represent the interest rate and g represent the inflation rate. In order to accurately calculate the present value of future input costs, i.e., PV, the real interest rate i' is used here. This interest rate takes into account the impact of inflation rate on future value. The calculation formula of the real interest rate i' is as follows: In a photovoltaic system, the useful life (i.e., service life) of a component is t years; the present value of the cost of replacing the component in year t It is expressed as: Among them C t Indicates the price of the component. If the price of the component cannot be directly obtained through relevant documents, information, or quotations, it is calculated from the weighted average price in the market. The calculation takes into account the price of each brand and the market share of the brand, that is, the ratio of the sales volume of the brand to the total sales volume of the component in the entire market. The weighted prices of all brands are added together to get the total weighted price. The weighted average price WAP of the component in the market is calculated as follows: Where WAP is the weighted average price of the component; M means there are M brands in total; P r represents the price of the component of the rth brand; S r represents the sales volume of the component of the rth brand; Furthermore, assume that the current depreciation price of the component is P 0 , due to the impact of inflation, the depreciation price of the component in year t is P t It is expressed as: P t =P 0 ×(1+g) t (32) Taking into account the impact of interest rates, the discounted price of the component's depreciation price in year t is It is expressed as: The n components required for the entire photovoltaic system are represented by D = {d 1 ,d 2 ,...,d n }, assuming that the total service life of the photovoltaic system is T years, a certain component d k The useful life is Year, Represents component d k The initial cost, including the purchase of components k Cost and component d k Additional costs If the transportation and installation costs, then the components d k The present value of the total cost over the lifetime of a photovoltaic system It is expressed as: in The present value (PV) of the total investment over the entire life cycle of the photovoltaic system total It is expressed as: The operation and maintenance cost of the photovoltaic system, namely C O&M , expressed as: The variable y∈[1,T], α represents the operation coefficient, α=0.5%, which represents the annual operation and maintenance cost coefficient of the photovoltaic system of 0.5%. Let Q y is the annual cash flow during the useful life of the photovoltaic system, which is expressed as: Q y =CI-CO=(P e ×E year -C O&M )×(1+h) y (38) Where CI represents cash inflow, CO represents cash outflow, and P e Represents the electricity price, E year The annual power generation of the photovoltaic panels calculated; or the annual power generation estimated by the annual average radiation provided by relevant institutions; the formula for calculating the net present value NPV is: The payback period is calculated based on the cash inflow and the present value of the total cost. The payback period is the shortest time DPP required to recover the initial investment cost. The calculation formula is as follows: NPV>0 means that the expected benefits exceed the expected cost of the investment, thus indicating that the investment has potential profitability; conversely, NPV<0 means that the cost of the investment is greater than the benefits, and there is a potential for loss.
11. The use according to claim 10, It is characterized in that In S2-3, when the calculated NPV is less than 0, steps 3.1 to 3.7 are used to determine the components in the photovoltaic system that have the greatest impact on the NPV, that is, the components with excessively high investment costs. The process is as follows: Step 3.1: Let n components required for the photovoltaic system be represented by D = {d 1 ,d 2 ,...,d n }, each component has a corresponding unit price and service life, price[n] is an array containing the unit prices of all components in the photovoltaic system, and price[k] represents the unit price of component d k The unit price of year[n] includes the expected service life of all components in the PV system, and year[k] represents the unit price of component d k service life; Step 3.2: Let k range from 1 to n. For each value of k, substitute the unit price of the component price[k] and the service life of the component year[k] into formulas (29) to (35) to calculate the component d k Total cost present value over the life cycle And add it to the array PV mod middle; Step 3.3: Set the array PV mod Arrange the elements in descending order according to their values, and initialize an empty array D' to store the components that cause NPV to be less than 0; Step 3.4: PV mod Substitute into formulas (36) to (39) to calculate the total investment present value PV of the entire photovoltaic system over its entire life cycle: total and NPV; Step 3.5: If NPV is less than 0, then change PV mod The first element in PV mod [1] The corresponding component d r Add to array D' and execute step 3.6; otherwise, execute step 3.7; Step 3.6: From the array PV mod Delete the first element PV mod [1], start from step 3.3; Step 3.7: End, output NPV and D'; When the NPV calculated in step 3.4 is less than 0, use steps 3.8 to 3.16 to calculate the electricity price that makes the investment break even. express; is the increment of electricity price in each iteration, Err is the calculation accuracy, which is used to define the range of NPV close to 0; N max is the maximum number of iterations to calculate the electricity price, that is, N executions of steps 3.15 to 3.18 max After this, the process stops regardless of whether the final result is calculated. The process is as follows: Step 3.8: Save the current electricity price, i.e. P e ←P e , the current electricity price P e Increase a preset increment Right now Step 3.9: P e Substitute into formulas (38) to (39) to recalculate the NPV after adjusting the electricity price; Step 3.10: If NPV is less than 0, proceed from step 3.8; otherwise, proceed from step 3.11; Step 3.11: If NPV is greater than Err, then j←1 and start from step 3.12; otherwise, Execute step 3.16; Step 3.12: j←j+1, take the interval [P e ',P e ], that is Will Substitute into formulas (38) to (39) to recalculate NPV; Step 3.13: If j is greater than or equal to N max , then execute step 3.16; otherwise, execute step 3.14; Step 3.14: If NPV is greater than 0 but less than or equal to Err, proceed to Step 3.16; otherwise, proceed to Step 3.15; Step 3.15: If NPV is less than 0, then otherwise, Start from step 3.12; Step 3.16: End, Output and NPV.
Citation Information
Patent Citations
Photovoltaic power generation predicting system and predicting method
CN106909985A
Photovoltaic generating capacity prediction method based on DBSCAN-EM-GMM and Web technology
CN117200181A
Photovoltatic power generation volume forecasting apparatus
JP2007173657A
