A solar energy potential prediction method based on artificial intelligence algorithm
Through the solar energy potential prediction method based on artificial intelligence, using three-dimensional models and time series prediction models, the problem of being unable to accurately predict the solar energy potential of building facades in the existing technology is solved, and more accurate real-time prediction and resource optimization are achieved.
Patent Information
- Application Number
- CN202410718271.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-05
AI Technical Summary
Existing technology cannot accurately predict the local solar potential of a building facade at any time, especially in dense urban environments, resulting in low energy utilization efficiency of photovoltaic power plants.
Using a solar energy potential prediction method based on artificial intelligence algorithms, we build a three-dimensional building model, collect meteorological data, use the ray method to simulate the trajectory of sunlight, and combine it with a time series prediction model to calculate the non-shaded area area of the building surface and the normal direct sunlight. irradiance, and establish a solar energy potential analysis model.
It achieves a more accurate prediction of the local solar energy potential of the building facade at any time, provides real-time prediction capabilities, helps optimize resource scheduling and decision-making, improves prediction efficiency, and reduces manual intervention.
Smart Images

Figure CN118313275B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of solar energy potential prediction, and in particular relates to a solar energy potential prediction method based on an artificial intelligence algorithm. Background Art
[0002] The development and utilization of solar energy plays an important role in promoting green, low-carbon and sustainable development of cities and alleviating the pressure of urban energy consumption. Solar energy has the characteristics of large scale, safety and cleanliness, and is one of the most competitive choices among all renewable energy sources. At present, the main way to utilize solar energy is to rely on solar photovoltaic systems. Buildings, as the main part of urban structures, are both energy consumers and energy producers. Their enclosure structures are one of the main carriers for installing photovoltaic power generation elements. Estimating the solar energy potential on the surface of urban buildings in dense urban environments is an important part of the development and utilization of solar energy.
[0003] The key to predicting the solar energy potential of urban building surfaces is to calculate the solar irradiance on the building surface. In the prior art, a Chinese patent with the announcement number CN 110378028 B discloses a method for calculating the random solar irradiance intensity distribution on the horizontal plane. By calculating the random process of solar irradiation reaching the ground under the influence of multiple factors, a reasonable and effective evaluation of the annual irradiation of photovoltaic power stations is achieved. However, after obtaining the overall irradiation and ideal irradiation distribution within a preset time, the random scattered irradiation distribution curve is obtained by sliding average processing. The daily accumulated scattered irradiation of the horizontal plane at the calculation location obtained based on historical data cannot accurately predict the local solar energy potential of the building facade at any time.
[0004] Therefore, it is necessary to propose a solar energy potential prediction method based on artificial intelligence algorithm to solve the above problems. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a solar energy potential prediction method based on an artificial intelligence algorithm to solve the problem in the prior art that the local solar energy potential of a building facade at any time cannot be accurately predicted.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] The present invention provides a solar energy potential prediction method based on an artificial intelligence algorithm, comprising the following steps:
[0008] S1: Select a geographic location within a preset latitude and longitude range, and construct a three-dimensional building model based on pre-selected single building outline vector data, height information, and pre-selected obstacles around the single building;
[0009] S2: According to the geographical location within the pre-selected longitude and latitude range, collect the meteorological data of the geographical location in the past preset time period, the meteorological data includes: temperature, humidity, precipitation, cloud coverage and solar radiation intensity ;
[0010] S3: Calculate the surface solar normal direct irradiance function of the building wall at time t after atmospheric radiation correction through the preset algorithm ;
[0011] S4: Perform visual analysis through the ray method, project sunlight onto the pre-selected building surface in the form of rays, simulate the trajectory of the sun on the three-dimensional building model, and determine in real time whether the light is blocked by obstacles at the preset time to divide the shadow area and non-shadow area under the trajectory, and then calculate the area of the non-shadow area at time t. ;
[0012] S5: Combined with the angle correction factor between the light and the wall at time t The following building surface solar energy potential analysis models are established to predict solar energy potential:
[0013]
[0014] In the formula, For building walls in [ ] The direct solar radiation energy available during the time period, is the start and end time of energy calculation, is the surface solar normal direct irradiance function after atmospheric radiation correction at time t, is the area of the non-shaded area at time t, is the angle correction factor between the light and the wall at time t.
[0015] Further, in step S3, the solar normal direct irradiance is calculated by the following formula:
[0016]
[0017] In the formula, is the direct solar irradiance on the surface, is the solar constant, is the transmittance of Rayleigh scattering, is the transmittance of the gas, is the transmittance of ozone, is the water vapor transmittance, is the aerosol transmittance, is the transmittance of the cloud.
[0018] Further, in step S3, the preset algorithm predicts the solar normal direct irradiance including the following steps:
[0019] A1: Based on the meteorological data of the geographical location within the pre-selected longitude and latitude range in the past preset time period, a data group that changes over time is established to obtain time series data, and the time series data is converted by logarithmic transformation to stabilize the variance of the time series data;
[0020] A2: Draw a time series graph of time series data to observe the changing trend of the data over time. After automatically calculating descriptive statistics using a programming language, decompose the time series data into trend, seasonality, and random components.
[0021] A3: Select the long short-term memory network model as the time series prediction model, determine the corresponding relationship between any decisive factor affecting solar energy production and the time point in the time series data, and use the data sequence of the decisive factor changing over time as historical data to train the time series prediction model until the time series prediction model meets the preset requirements;
[0022] A4: Use the time series prediction model to predict the decisive factor data at any time in the next year, generate a prediction data set, and calculate the solar normal direct irradiance based on the prediction data set , and obtain the surface solar normal direct irradiance function of the building wall after atmospheric radiation correction at time t , where the prediction data set includes: ;
[0023] A5: As time goes by, the model is trained and updated using the latest actual data set of the decisive factors, and the results of the predicted data set are compared with the results of the actual data set, and the comparison results are displayed in a visual way.
[0024] Further, in step S2, the solar radiation intensity Calculated by the following formula:
[0025]
[0026] In the formula, is the solar radiation intensity on the ground, is the solar constant, is the solar altitude angle, are the atmospheric attenuation coefficients, is the solar azimuth.
[0027] Further, in step S4, calculating the area of the non-shadow region includes the following steps:
[0028] B1. Set n shadow polygons in the shadow area ;
[0029] B2: Initialize the number of loops =0, when n=0, it means there is no shadow on the wall, and the calculation ends, otherwise +1;
[0030] B3: When n=1, = ;
[0031] B4: When n>1, the area of the shaded area is calculated by the following formula :
[0032]
[0033] In the formula, For n shadow polygons The intersection polygon The sum of the areas of is the number of cycles;
[0034] B5: Delete intersection polygons The polygons are exactly the same as in ,in, ;
[0035] B6: Use polygon Replace polygon , return to step B2 to perform loop iteration;
[0036] B7: Subtract the shadow area from the building surface area Get the area of the non-shaded region.
[0037] Furthermore, the angle correction factor between the light and the wall at time t is Calculated by the following formula:
[0038]
[0039]
[0040]
[0041] In the formula, and are the slope and direction of the building wall, is the angle between the yellow and the red. For the dimension, is the solar hour angle at time t.
[0042] The beneficial effects of the present invention are:
[0043] The present invention can more accurately predict the local solar energy potential of a building facade at any time through a time series prediction model; provide real-time predictions to facilitate instant decision-making and resource scheduling; and automated feature selection and model training reduce manual intervention and improve efficiency.
[0044] Other advantages, objectives and features of the present invention will be described in the following description and will be apparent to those skilled in the art to some extent, or those skilled in the art may be taught from the practice of the present invention. The objectives and other advantages of the present invention may be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to make the purpose, technical solution and beneficial effects of the present invention clearer, the present invention provides the following drawings for illustration:
[0046] Figure 1 The figure is a flow chart of a solar energy potential prediction method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0047] like Figure 1 As shown, the present invention provides a solar energy potential prediction method based on an artificial intelligence algorithm, comprising the following steps:
[0048] Step 1: Construct a 3D model, select a geographic location within a preset latitude and longitude range, and construct a 3D building model based on pre-selected single building outline vector data, height information, and pre-selected obstacles around the single building, where the obstacles include mountains, buildings, vegetation, etc. around the single building that block sunlight from shining on the pre-selected single building;
[0049] Construction method: Use ground laser point cloud to collect building facade data, use image acquisition equipment to collect environmental data around a pre-selected single building, find potential matching pairs from the acquired building outlines, and use Laplace matrix to describe the correspondence between matching pairs to fuse building facade data and environmental data around the building.
[0050] Step 2: Simulation calculation of solar radiation on urban building surfaces:
[0051] According to the geographical location within the pre-selected longitude and latitude range, the meteorological data of the geographical location in the past five years were collected, and the five decisive factors affecting solar energy production were extracted through feature selection through principal component analysis. Among them, the five decisive factors are temperature, humidity, precipitation, cloud coverage and solar radiation intensity. ; Predict the surface solar normal direct irradiance through the preset algorithm , establish the following solar normal direct irradiance expression:
[0052]
[0053] In the formula, is the direct solar irradiance on the surface, is the solar constant, is the transmittance of Rayleigh scattering, is the transmittance of the gas, is the transmittance of ozone, is the water vapor transmittance, is the aerosol transmittance, is the transmittance of the cloud; Related to temperature, humidity, precipitation, and cloud cover among the determining factors;
[0054] The above expression can be used to obtain the surface solar normal direct irradiance function of the building wall after atmospheric radiation correction at time t. .
[0055] The solar radiation intensity Calculated by the following formula:
[0056]
[0057] In the formula, is the solar radiation intensity on the ground, is the solar constant, is the solar altitude angle, are the atmospheric attenuation coefficients, is the solar azimuth.
[0058] Among them, the preset algorithm predicts the direct solar irradiance The following steps are involved:
[0059] The meteorological data of the geographical location within the pre-selected longitude and latitude in the past five years are used to establish a sequence of data points that change over time to obtain time series data, and the time series data is transformed by logarithmic transformation to stabilize the variance of the time series data;
[0060] Draw a time series graph of time series data to observe the changing trend of the data over time, and decompose the time series data into trend, seasonality, and random components after automatically calculating descriptive statistics using a programming language.
[0061] The long short-term memory network model is selected as the time series prediction model, and the corresponding relationship between any decisive factor affecting solar energy production and the time point is established. The time series prediction model is trained with the data sequence of the decisive factor changing over time as the historical data until the time series prediction model meets the preset requirements. In the training process, the model is sequentially checked for residuals, goodness of fit evaluation, cross-validation evaluation of model performance, and parameters are adjusted to optimize the prediction accuracy, and then the generalization ability of the model is verified on the test set;
[0062] Use the time series prediction model to predict the decisive factor data at any time in the next year, generate a prediction data set, and calculate the direct solar irradiance through the prediction data set , and obtain the surface solar normal direct irradiance function of the building wall after atmospheric radiation correction at time t , where the prediction data set includes: ; The actual data set of the decisive factors includes the actual obtained , the prediction data set of the decisive factors includes the predicted .
[0063] As time goes by, the model is trained and updated using the latest actual data set of the decisive factors, and the results of the predicted data set are compared with the results of the actual data set and displayed in a visual way.
[0064] Step 3: Perform visual analysis through the ray method, project sunlight onto the pre-selected building surface in the form of rays, simulate the movement trajectory of the sun on the three-dimensional building model, and determine in real time whether the light is blocked by obstacles at the preset moment to divide the shadow area and non-shadow area, and then calculate the area of the non-shadow area;
[0065] Calculating the area of the non-shaded region includes the following steps:
[0066] B1. Set n shadow polygons in the shadow area ;
[0067] B2: Initialize the number of loops =0, when n=0, it means there is no shadow on the wall, and the calculation ends, otherwise +1;
[0068] B3: When n=1, = ;
[0069] B4: When n>1, the area of the shaded area is calculated by the following formula :
[0070]
[0071] In the formula, For n shadow polygons The intersection polygon The sum of the areas of is the number of cycles;
[0072] B5: Delete intersection polygons The polygons are exactly the same as in ( );
[0073] B6: Use polygon Replace polygon , return to step B2 to perform loop iteration;
[0074] B7: Subtract the shadow area from the building surface area Get the area of the non-shaded region.
[0075] Step 4: Analysis of solar energy potential on urban building surfaces:
[0076] The following building surface solar energy potential analysis models are established:
[0077]
[0078]
[0079]
[0080]
[0081] In the formula, For building walls in [ ] The direct solar radiation energy available during the time period, is the start and end time of energy calculation, is the surface solar normal direct irradiance after atmospheric radiation correction at time t, is the area of the non-shaded area at time t, is the angle correction factor between the light and the wall at time t, and are the slope and direction of the building wall, is the angle between the yellow and the red. For the dimension, is the solar hour angle at time t.
[0082] The present invention can more accurately predict the local solar energy potential of a building facade at any time through a time series prediction model; provide real-time predictions to facilitate instant decision-making and resource scheduling; and automated feature selection and model training reduce manual intervention and improve efficiency.
[0083] Finally, it should be noted that the above preferred embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail through the above preferred embodiments, those skilled in the art should understand that various changes can be made in form and details without departing from the scope defined by the claims of the present invention.
Claims
1. A solar energy potential prediction method based on artificial intelligence, characterized in that: The following steps are involved: S1: Select a geographic location within a preset latitude and longitude range, and construct a three-dimensional building model based on pre-selected single building outline vector data, height information, and pre-selected obstacles around the single building; Construction method: Use ground laser point cloud to collect building facade data, use image acquisition equipment to collect environmental data around a pre-selected single building, find potential matching pairs from the acquired building outlines, and use Laplace matrix to describe the correspondence between matching pairs to fuse building facade data and environmental data around the building; S2: According to the geographical location within the pre-selected longitude and latitude range, collect the meteorological data of the geographical location in the past preset time period, the meteorological data includes: temperature, humidity, precipitation, cloud coverage and solar radiation intensity ; S3: Calculate the surface solar normal direct irradiance function of the building wall at time t after atmospheric radiation correction through the preset algorithm ; S4: Perform visual analysis through the ray method, project sunlight onto the pre-selected building surface in the form of rays, simulate the trajectory of the sun on the three-dimensional building model, and determine in real time whether the light is blocked by obstacles at the preset time to divide the shadow area and non-shadow area under the trajectory, and then calculate the area of the non-shadow area at time t. ; S5: Combined with the angle correction factor between the light and the wall at time t The following building surface solar energy potential analysis models are established to predict solar energy potential: In the formula, For building walls in [ ] The direct solar radiation energy available during the time period, is the start and end time of energy calculation, is the surface solar normal direct irradiance function after atmospheric radiation correction at time t, is the area of the non-shaded area at time t, is the angle correction factor between the light and the wall at time t; In step S3, the solar normal direct irradiance is calculated by the following formula: In the formula, is the direct solar irradiance on the surface, is the solar constant, is the transmittance of Rayleigh scattering, is the transmittance of the gas, is the transmittance of ozone, is the water vapor transmittance, is the aerosol transmittance, is the transmittance of the cloud; In step S3, the preset algorithm predicts the solar normal direct irradiance including the following steps: A1: Based on the meteorological data of the geographical location within the pre-selected longitude and latitude range in the past preset time period, a data group that changes over time is established to obtain time series data, and the time series data is converted by logarithmic transformation to stabilize the variance of the time series data; A2: Draw a time series graph of time series data to observe the changing trend of the data over time. After automatically calculating descriptive statistics using a programming language, decompose the time series data into trend, seasonality, and random components. A3: Select the long short-term memory network model as the time series prediction model, determine the corresponding relationship between any decisive factor affecting solar energy production and the time point in the time series data, and use the data sequence of the decisive factor changing over time as historical data to train the time series prediction model until the time series prediction model meets the preset requirements; A4: Use the time series prediction model to predict the decisive factor data at any time in the next year, generate a prediction data set, and calculate the solar normal direct irradiance based on the prediction data set , and obtain the surface solar normal direct irradiance function of the building wall after atmospheric radiation correction at time t , where the prediction data set includes: ; A5: As time goes by, the model is trained and updated using the latest actual data set of the decisive factors, and the results of the predicted data set are compared with the results of the actual data set, and the comparison results are displayed in a visual way; In step S4, calculating the area of the non-shadow region includes the following steps: B1. Set n shadow polygons in the shadow area ; B2: Initialize the number of loops =0, when n=0, it means there is no shadow on the wall, and the calculation ends, otherwise +1; B3: When n=1, = ; B4: When n>1, the area of the shaded area is calculated by the following formula : In the formula, For n shadow polygons The intersection polygon The sum of the areas of is the number of cycles; B5: Delete intersection polygons The polygons are exactly the same as in ,in ; B6: Use polygon Replace polygon , return to step B2 to perform loop iteration; B7: Subtract the shadow area from the building surface area Get the area of the non-shaded region.
2. The method for predicting solar energy potential based on artificial intelligence according to claim 1, characterized in that: In step S2, the solar radiation intensity Calculated by the following formula: In the formula, is the solar radiation intensity on the ground, is the solar constant, is the solar altitude angle, are the atmospheric attenuation coefficients, is the solar azimuth.
3. The method for predicting solar energy potential based on artificial intelligence according to claim 2, characterized in that: Angle correction factor between the light and the wall at time t Calculated by the following formula: In the formula, and are the slope and direction of the building wall, is the angle between the yellow and the red. For the dimension, is the solar hour angle at time t.
