Solar irradiance calculation method, device, computer equipment and storage medium
By constructing a three-dimensional model and dynamic calculation of the sun's position, combining the inclined surface irradiance algorithm and occlusion information correction, the problem of inaccurate solar irradiance measurement in the existing technology is solved, and more accurate and practical calculation results are achieved, providing a scientific basis for the optimization of photovoltaic power stations.
Patent Information
- Application Number
- CN202411558237.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-04-04
AI Technical Summary
The existing solar irradiance measurement method is not accurate enough when there are shading nearby and cannot meet the automation needs of photovoltaic power stations.
By obtaining and analyzing a three-dimensional model of the target position and its surrounding environment, the sun's position at each time point is dynamically calculated, and the time-by-time occlusion information of the reverse sun position tracking rays and photovoltaic panels is generated. The irradiance information is calculated based on the inclined surface irradiance algorithm, and the irradiance information is corrected based on the time-by-time occlusion information.
It improves the accuracy of solar irradiance measurement, provides detailed time resolution, ensures the practical application value of the calculation results, provides a scientific basis for the design, layout and operation of photovoltaic power stations, optimizes the layout of photovoltaic panels, and improves the power generation efficiency and economic benefits of photovoltaic systems.
Smart Images

Figure CN119760947A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of solar irradiance algorithms, and in particular to a solar irradiance calculation method, device, computer equipment and storage medium. Background Art
[0002] At present, with the continuous acceleration of the energy transformation process, the construction of photovoltaic power stations is increasing. The power generation of photovoltaic power stations is directly affected by the solar irradiance. In addition to the seasonal influence and clouds, the obstructions near the photovoltaic power station, such as houses and trees, will bring shadow losses to the power station, making the photovoltaic power station work under partial light conditions.
[0003] Currently, PVsyst is a highly authoritative software for simulating the power generation status of photovoltaic power stations in the industry. However, PVsyst uses a very rough modeling method for the irradiance loss caused by the shadows of nearby obstructions, which cannot be applied in engineering. In addition, PVsyst requires complex modeling and other operational processes to simulate the power generation process of the power station, which cannot meet the needs of automation.
[0004] The above-mentioned existing technical solutions have the following defects: the existing solar irradiance measurement method is not accurate enough when there are nearby obstructions, so there is room for improvement. Summary of the invention
[0005] In order to improve the accuracy of solar irradiance calculation, the present application provides a solar irradiance calculation method, device, computer equipment and storage medium.
[0006] The above-mentioned invention objective of the present application is achieved through the following technical solutions: A solar irradiance calculation method, the solar irradiance calculation method comprising: Acquire and analyze a three-dimensional model of the target location and its surrounding environment, and extract three-dimensional information of the three-dimensional model according to a three-dimensional algorithm; Acquire the longitude and latitude data of the target position, and calculate the hourly sun position according to the longitude and latitude data of the target position and based on a sun position algorithm; Converting the hourly solar position into solar three-dimensional coordinates, and generating reverse solar position tracking rays and hourly shielding information of each grid point of the photovoltaic panel according to the solar three-dimensional coordinates and the three-dimensional information; Based on the hourly national meteorological data set, the irradiance information of all photovoltaic panels at the target location without shading is calculated according to the inclined surface irradiance algorithm, and the irradiance information is updated according to the hourly shading information to obtain the actual irradiance information.
[0007] By adopting the above technical solution, by constructing a three-dimensional model and obtaining three-dimensional information, an accurate basis can be provided for the subsequent calculation of hourly shading information; by dynamically calculating the sun's position at each time point, it can reflect the changes in the sun's position throughout the year, provide detailed time resolution, and make the solar irradiance measurement more accurate; by generating reverse solar position tracking rays, the propagation path of direct sunlight can be accurately simulated in three-dimensional space, and the hourly shading information can be recorded in detail to achieve accurate hourly shading analysis; by calculating and correcting the irradiance information, a theoretical actual irradiance is provided, and by correcting the actual shading information, the practical application value of the results is ensured, providing a scientific basis for the design, layout and operation of photovoltaic power stations, thereby providing a basis for optimizing the layout of photovoltaic panels, and improving the power generation efficiency and economic benefits of photovoltaic systems, and maximizing the use of solar energy resources.
[0008] In one example, the present application may be further configured as follows: the acquiring and parsing of the three-dimensional model of the target location and its surrounding environment, and extracting the three-dimensional information of the three-dimensional model according to the three-dimensional algorithm, specifically includes: Identifying the photovoltaic panel at the target position to obtain plane information and boundary information of the photovoltaic panel, and gridding the photovoltaic panel according to the plane information and boundary information of the photovoltaic panel to obtain grid point geometric information of the photovoltaic panel; Acquiring surrounding environment information of the target location, and extracting and processing the surrounding environment information to obtain a three-dimensional model of the surrounding environment; The grid point geometric information and the three-dimensional information of the three-dimensional model of the surrounding environment are extracted according to the three-dimensional algorithm.
[0009] By adopting the above technical solution, the photovoltaic panels are gridded and the points of target calculation obstruction are gridded and sampled, providing a basis for the subsequent calculation of reverse solar tracking rays; by acquiring and processing the surrounding environment information, all possible obstructions in the environment can be fully captured to ensure the integrity and accuracy of the environmental model; the three-dimensional information extracted by the three-dimensional algorithm can provide a precise geometric data basis for the subsequent obstruction analysis and irradiance calculation, ensuring the accuracy of the measurement results.
[0010] In one example, the present application may be further configured as follows: the step of converting the hourly solar position into solar three-dimensional coordinates in a Cartesian coordinate system, and generating reverse solar position tracking rays and hourly shielding information of each grid point of the photovoltaic panel according to the solar three-dimensional coordinates and the three-dimensional information, specifically comprising: From the photovoltaic panel grid point information in the three-dimensional information, a line is connected to the three-dimensional coordinates of the sun with the photovoltaic panel grid point information as a starting point to obtain the reverse sun position tracking ray; Based on the mesh-ray collision algorithm, the sun position tracking ray is subjected to collision detection with the three-dimensional information of the surrounding environment to obtain the hourly shading information of each grid point of the photovoltaic panel.
[0011] By adopting the above technical solution, starting from the photovoltaic panel grid point information in the three-dimensional information, connecting the three-dimensional coordinates of the sun, and obtaining the reverse sun position tracking ray, the direct line of sight of the photovoltaic panel grid point to the sun at each time point can be accurately simulated; collision detection is performed through the mesh-ray collision algorithm, which can accurately determine the hourly occlusion situation of each photovoltaic panel grid point, record the occlusion information in detail, and provide accurate occlusion data for subsequent irradiance calculations.
[0012] In one example, the present application may be further configured as follows: performing collision detection on the sun position tracking ray and the three-dimensional environmental information according to the mesh-ray collision algorithm to obtain the hourly occlusion information of each grid point of the photovoltaic panel, specifically including: When the reverse sun position tracking ray intersects with the three-dimensional information, recording the collision result of the current grid point at the current time; All the collision results and the corresponding grid points and times are stored to obtain the hourly occlusion information.
[0013] By adopting the above technical solution, when the reverse solar position tracking ray intersects with the three-dimensional information, the intersection of the current grid point at the current time can be recorded, and all intersection conditions and their corresponding grid points and times can be stored to obtain hourly shading information, thereby accurately capturing the shading conditions of the photovoltaic panel grid points at each time point, ensuring the integrity and accuracy of the shading information, and providing a reliable data basis for subsequent irradiance updates.
[0014] In one example, the present application may be further configured as follows: calculating the irradiance information of all photovoltaic panels at the target location without any shielding according to the inclined surface irradiance algorithm specifically includes: The irradiance information includes the total radiation and scattered radiation of the inclined surfaces of the photovoltaic panel at all different inclination angles and azimuths.
[0015] By adopting the above technical solution, by calculating the total radiation of the inclined surfaces and the scattered radiation of the inclined surfaces of all photovoltaic panels at the target position according to the inclined surface irradiance algorithm, accurate irradiation data of the photovoltaic panels with and without obstruction can be obtained, providing basic data for analyzing and optimizing the performance of photovoltaic panels.
[0016] In one example, the present application may be further configured as follows: the updating of the irradiance information according to the hourly occlusion information to obtain the actual irradiance information specifically includes: According to the hourly shielding information, when the grid points of the photovoltaic panel are not shielded, taking the total radiation of the inclined surface as the actual irradiance information of the grid points that are not shielded; In the case where the grid points of the photovoltaic panel are blocked, the scattered radiation of the inclined surface is used as the actual irradiance information of the blocked grid points.
[0017] By adopting the above technical scheme, when the grid points of the photovoltaic panel are not blocked, the total radiation of the inclined surface is used as the actual irradiance information of the unblocked grid points; when the grid points of the photovoltaic panel are blocked, the scattered radiation of the inclined surface is used as the actual irradiance information of the blocked grid points. This can combine the theoretical irradiance value with the actual blocking situation, provide irradiance data that is more in line with the actual situation, ensure the practical application value of the measurement results, and thus optimize the design and operation of the photovoltaic system.
[0018] The second object of the invention is achieved by the following technical solutions: A solar irradiance measuring device, the solar irradiance measuring device comprising: A three-dimensional model building module, used to obtain and analyze the three-dimensional model of the target location and its surrounding environment, and extract the three-dimensional information of the three-dimensional model according to the three-dimensional algorithm; A solar position calculation module, used to obtain the longitude and latitude data of the target position, and calculate the hourly solar position according to the longitude and latitude data of the target position and based on a solar position algorithm; an occlusion calculation module, for converting the hourly solar position into the three-dimensional coordinates of the sun in a Cartesian coordinate system, and generating a reverse solar position tracking ray and hourly occlusion information of each grid point of the photovoltaic panel according to the three-dimensional coordinates of the sun and the three-dimensional information; The irradiance update module is used to calculate the irradiance information of all photovoltaic panels at the target position without shading according to the inclined surface irradiance algorithm, and update the irradiance information according to the hourly shading information to obtain actual irradiance information.
[0019] By adopting the above technical solution, by constructing a three-dimensional model and obtaining three-dimensional information, an accurate basis can be provided for the subsequent calculation of hourly shading information; by dynamically calculating the sun's position at each time point, it can reflect the changes in the sun's position throughout the year, provide detailed time resolution, and make the solar irradiance measurement more accurate; by generating reverse solar position tracking rays, the propagation path of the sun's rays can be accurately simulated in three-dimensional space, and the hourly shading information can be recorded in detail to achieve accurate hourly shading analysis; by calculating and correcting the irradiance information, a theoretical actual irradiance is provided, and by correcting the actual shading information, the practical application value of the results is ensured, providing a scientific basis for the design, layout and operation of photovoltaic power stations, thereby providing a basis for optimizing the layout of photovoltaic panels, and improving the power generation efficiency and economic benefits of photovoltaic systems, and maximizing the use of solar energy resources.
[0020] The third objective of the present application is achieved through the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned solar irradiance measurement method when executing the computer program.
[0021] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned solar irradiance measurement method are implemented.
[0022] In summary, this application includes the following beneficial technical effects: 1. By constructing a three-dimensional model and obtaining three-dimensional information, it can provide an accurate basis for the subsequent calculation of hourly shading information; by dynamically calculating the sun's position at each time point, it can reflect the changes in the sun's position throughout the year, provide detailed time resolution, and make the solar irradiance measurement more accurate; by generating reverse solar position tracking rays, it can accurately simulate the propagation path of direct sunlight in three-dimensional space, and record hourly shading information in detail to achieve accurate hourly shading analysis; by calculating and correcting irradiance information, it provides theoretical actual irradiance, and through the correction of actual shading information, ensures the practical application value of the results, provides a scientific basis for the design, layout and operation of photovoltaic power stations, and thus provides a basis for optimizing the layout of photovoltaic panels, and improves the power generation efficiency and economic benefits of photovoltaic systems, and maximizes the use of solar energy resources; 2. By gridding the photovoltaic panels, grid sampling is performed on the points of target calculation obstruction, providing a basis for the subsequent calculation of reverse solar tracking rays; by acquiring and processing the surrounding environment information, all possible obstructions in the environment can be fully captured to ensure the integrity and accuracy of the environmental model; the three-dimensional information extracted by the three-dimensional algorithm can provide an accurate geometric data basis for the subsequent obstruction analysis and irradiance calculation, ensuring the accuracy of the measurement results; 3. When the grid points of the photovoltaic panel are not blocked, the total radiation of the inclined surface is used as the actual irradiance information of the unblocked grid points; when the grid points of the photovoltaic panel are blocked, the scattered radiation of the inclined surface is used as the actual irradiance information of the blocked grid points. This can combine the theoretical irradiance value with the actual blocking situation to provide irradiance data that is more in line with the actual situation, ensure the practical application value of the measurement results, and thus optimize the design and operation of the photovoltaic system. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a flow chart of a solar irradiance calculation method in one embodiment of the present application; Figure 2 is a flowchart for implementing step S10 in the solar irradiance calculation method in one embodiment of the present application; Figure 3 is a flowchart for implementing step S30 in the solar irradiance calculation method in one embodiment of the present application; Figure 4 is a flowchart for implementing step S32 in the solar irradiance calculation method in one embodiment of the present application; Figure 5 is a flowchart for implementing step S40 in the solar irradiance calculation method in one embodiment of the present application; Figure 6 is another implementation flow chart of step S40 in the solar irradiance calculation method in one embodiment of the present application; Figure 7 This is a principle block diagram of a solar irradiance measuring device in one embodiment of the present application; Figure 8 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The present application is further described in detail below in conjunction with the accompanying drawings.
[0025] In one embodiment, if Figure 1 As shown, the present application discloses a method for calculating solar irradiance, which specifically includes the following steps: S10: Acquire and analyze a three-dimensional model of the target location and its surrounding environment, and extract three-dimensional information of the three-dimensional model according to a three-dimensional algorithm.
[0026] In this embodiment, the three-dimensional information refers to information such as points and surfaces of a mesh in a three-dimensional model representing an object, and geographic coordinates.
[0027] Specifically, the three-dimensional data of the target location, such as a photovoltaic power station, any specified three-dimensional spatial location, any expected spatial plane of a photovoltaic power station, and its surrounding environment are obtained, and these data are converted into a three-dimensional model file format through three-dimensional modeling software. Subsequently, these three-dimensional model data are loaded, and the three-dimensional model is analyzed by a three-dimensional analysis algorithm to extract the three-dimensional coordinates, surface information and boundary conditions of each grid, densely sample different calculation points on the photovoltaic panel, and parse and read the three-dimensional model of the surrounding environment information.
[0028] S20: Acquire the longitude and latitude data of the target position, and calculate the hourly sun position according to the longitude and latitude data of the target position and based on a sun position algorithm.
[0029] In this embodiment, the hourly solar position refers to the position of the sun at each time point.
[0030] Specifically, a GPS device or a GIS system is used to obtain accurate longitude and latitude data of the target location, and then the longitude and latitude data are input into a solar position algorithm such as a SPA algorithm to calculate the solar position at different time points.
[0031] S30: Convert the hourly solar position into solar three-dimensional coordinates in a Cartesian coordinate system, and generate reverse solar position tracking rays and hourly shielding information of each grid point of the photovoltaic panel according to the solar three-dimensional coordinates and three-dimensional information.
[0032] In this embodiment, the three-dimensional coordinates of the sun refer to the coordinates of the sun in the three-dimensional model. The reverse sun position tracing ray refers to the ray from the target point to the sun. The time-by-time occlusion information refers to the information such as the position of each grid point that is occluded at different time points.
[0033] Specifically, the hourly solar position data is converted into a coordinate system in Cartesian three-dimensional space. For the solar three-dimensional coordinates at each time point, a ray pointing to the solar position is generated from each grid point of the photovoltaic panel. The rays at different time points are then interactively detected with the obstacles in the three-dimensional model to determine whether the rays intersect with the obstacles. The occlusion situation of each grid point at each time point is recorded. If the rays intersect with the obstacle, the grid point is obscured at that time point, and the occlusion situation at each time point is used as the hourly occlusion information.
[0034] S40: Based on the hourly national meteorological data set, the irradiance information of all photovoltaic panels at the target location without shading is calculated according to the inclined surface irradiance algorithm, and the irradiance information is updated according to the hourly shading information to obtain the actual irradiance information.
[0035] In this embodiment, the irradiance information refers to information such as the radiation flux per unit area of the irradiated surface.
[0036] Specifically, the inclined surface irradiance algorithm is used in combination with the hourly national meteorological dataset to calculate the total radiation and scattered radiation of photovoltaic panels at different inclination angles and azimuths, and the hourly irradiance information of each grid point in the unobstructed condition is obtained. The irradiance of each grid point is updated according to the hourly obstruction information, and the actual irradiance information of all grid points at different time points is summarized to form the final hourly irradiance dataset.
[0037] In one embodiment, if Figure 2 As shown, in step S10, the three-dimensional model of the target location and its surrounding environment is obtained and analyzed, and the three-dimensional information of the three-dimensional model is extracted according to the three-dimensional algorithm, which specifically includes: S11: Identify the photovoltaic panel at the target position to obtain the plane information and boundary information of the photovoltaic panel, and grid the photovoltaic panel according to the plane information and boundary information of the photovoltaic panel to obtain the grid point geometric information of the photovoltaic panel.
[0038] Specifically, the photovoltaic panels at the target location are automatically identified, their plane information and boundary information are extracted, and the photovoltaic panels are finely gridded, such as dividing the surface of the photovoltaic panels into multiple small units, and the three-dimensional coordinates of the center point of each grid are taken as subsequent calculation points.
[0039] S12: Acquire the surrounding environment information of the target location, and extract and process the surrounding environment information to obtain a three-dimensional model of the surrounding environment.
[0040] Specifically, the model obtained by three-dimensional reconstruction of the surrounding environment information is analyzed and extracted, and the three-dimensional data analysis algorithm is used to read the relevant three-dimensional information, including geographic coordinate information, mesh vertices and faces, etc., for subsequent occlusion analysis.
[0041] S13: Extracting the geometric information of the grid points and the three-dimensional information of the three-dimensional model of the surrounding environment according to a three-dimensional algorithm.
[0042] Specifically, a three-dimensional analytical algorithm is applied to analyze the geometric information of the grid points corresponding to the target position and the three-dimensional model of the surrounding environment, and the three-dimensional coordinates, surface information and boundary conditions of each grid are extracted.
[0043] In one embodiment, if Figure 3 As shown, in step S30, the hourly solar position is converted into solar three-dimensional coordinates, and the reverse solar position tracking rays and the hourly shielding information of each grid point of the photovoltaic panel are generated according to the solar three-dimensional coordinates and three-dimensional information, specifically including: S31: Connect a line from the photovoltaic panel grid point to the three-dimensional coordinates of the sun to obtain a reverse sun position tracking ray.
[0044] Specifically, the hourly solar position data is converted into a coordinate system in a three-dimensional space. For the three-dimensional coordinates of the sun at each time point, a ray pointing to the sun position is generated from each grid point of the photovoltaic panel, and the direction vector from each grid point to the sun position is calculated and normalized to a unit vector as the direction of the sun position tracking ray.
[0045] S32: Based on a preset mesh-ray collision algorithm, collision detection is performed between the sun position tracking ray and the three-dimensional information of the surrounding environment to obtain hourly shading information of each grid point of the photovoltaic panel.
[0046] Specifically, the mesh-ray collision algorithm is applied to perform collision detection between the generated sun position tracking rays and obstacles in the three-dimensional model, such as buildings and trees. For each ray, it is detected whether it intersects with any object in the three-dimensional model. If so, the intersection situation and time point are recorded.
[0047] In one embodiment, if Figure 4 As shown, in step S32, the sun position tracking ray is subjected to collision detection with the three-dimensional information according to the preset mesh-ray collision algorithm to obtain the hourly shading information of each grid point of the photovoltaic panel, which specifically includes: S321: When the reverse sun position tracking ray intersects with the three-dimensional information, the collision result of the current grid point at the current time is recorded.
[0048] Specifically, a collision detection algorithm is used to detect each ray. When a ray intersects an obstacle in the three-dimensional model, the intersection status and time point of the ray and the obstacle are recorded. For each grid point, if the ray intersects with the obstacle at a specific time point, the grid point is considered to be obstructed at that time point. The data on the intersection status and time point will be used for the subsequent storage and analysis of the hourly occlusion information.
[0049] S322: All collision results and their corresponding grid points and times are stored to obtain hourly occlusion information.
[0050] Specifically, a data storage structure is established to store all intersection situations and their corresponding grid points and time information. The stored data includes the shading situation of each photovoltaic panel grid point at each time point.
[0051] In one embodiment, if Figure 5 As shown, in step S40, the irradiance information of all photovoltaic panels at the target position without shielding is calculated according to the inclined surface irradiance algorithm, which specifically includes: S41: The irradiance information includes the total radiation and scattered radiation of the inclined surfaces of all photovoltaic panels at different inclination angles.
[0052] In this embodiment, the total radiation refers to all solar radiation that the photovoltaic panel can receive, including direct radiation and scattered radiation. The scattered radiation refers to the scattered radiation part received by the photovoltaic panel.
[0053] Specifically, the irradiance calculation formula and method are used to calculate the total radiation and scattered radiation of the photovoltaic panel at various inclination angles and azimuth angles.
[0054] In one embodiment, if Figure 6 As shown, in step S40, the irradiance information is updated according to the hourly shielding information to obtain the actual irradiance information, which specifically includes: S42: According to the hourly shielding information, when the grid points of the photovoltaic panel are not shielded, the total radiation of the inclined surface is used as the actual irradiance information of the unshielded grid points.
[0055] Specifically, the hourly shading information is traversed, and for the unshaded grid points, the calculated total radiation value of the inclined surface is directly used as the actual irradiance, which represents the complete solar radiation received by the photovoltaic panel at a specific time point.
[0056] S43: When a grid point of the photovoltaic panel is blocked, the scattered radiation of the inclined surface is used as the actual irradiance information of the blocked grid point.
[0057] Specifically, because the scattered radiation has a greater effect than the direct radiation in the case of being blocked, the hourly blocking information is traversed, and for the blocked grid points, the calculated scattered radiation value of the inclined surface is used as the actual irradiance. It should be understood that the size of the sequence number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0058] In one embodiment, a solar irradiance calculation device is provided, and the solar irradiance calculation device corresponds one-to-one with the solar irradiance calculation method in the above embodiment. Figure 7 As shown, the solar irradiance measurement device includes a three-dimensional model building module, a solar position calculation module, a shielding calculation module and an irradiance update module. The detailed description of each functional module is as follows: A 3D model building module is used to obtain and analyze the 3D model of the target location and its surrounding environment, and extract the 3D information of the 3D model according to the 3D algorithm; A solar position calculation module is used to obtain the longitude and latitude data of the target position, and calculate the hourly solar position based on the longitude and latitude data of the target position and the solar position algorithm; The shielding calculation module is used to convert the hourly solar position into the solar three-dimensional coordinates in the Cartesian coordinate system, and generate the reverse solar position tracking rays and the hourly shielding information of each grid point of the photovoltaic panel according to the solar three-dimensional coordinates and three-dimensional information; The irradiance update module is used to calculate the irradiance information of all photovoltaic panels at the target location without shading based on the hourly national meteorological data set and the inclined surface irradiance algorithm, and update the irradiance information according to the hourly shading information to obtain the actual irradiance information.
[0059] Optionally, the three-dimensional model building module specifically includes: The target model building submodule is used to identify the photovoltaic panel at the target position, obtain the plane information and boundary information of the photovoltaic panel, and grid the photovoltaic panel according to the plane information and boundary information of the photovoltaic panel to obtain the grid point geometric information of the photovoltaic panel; The environmental model building submodule is used to obtain the surrounding environment information of the target location, and extract and process the surrounding environment information to obtain a three-dimensional model of the surrounding environment; The three-dimensional information acquisition submodule is used to extract the three-dimensional information of the grid point geometry information and the three-dimensional model of the surrounding environment through a three-dimensional algorithm.
[0060] Optionally, the occlusion calculation module specifically includes: The reverse tracking submodule is used to obtain the reverse sun position tracking ray from the photovoltaic panel grid point information in the three-dimensional information and connect the photovoltaic panel grid point information to the three-dimensional coordinates of the sun with the photovoltaic panel grid point information as the starting point; The occlusion analysis submodule is used to perform collision detection between the sun position tracking ray and the three-dimensional information of the surrounding environment based on the preset mesh-ray collision algorithm, and obtain the hourly occlusion information of each grid point of the photovoltaic panel.
[0061] Optionally, the occlusion analysis submodule specifically includes: An occlusion detection unit, used to record the collision result of the current grid point at the current time when the reverse sun position tracking ray intersects with the three-dimensional information; The occlusion acquisition unit is used to store all collision results and their corresponding grid points and times to obtain hourly occlusion information.
[0062] Optionally, the radiation update module specifically includes: The irradiation calculation submodule is used for irradiance information including total radiation and scattered radiation of inclined surfaces of all photovoltaic panels with different inclination angles and azimuths.
[0063] Optionally, the radiation update module specifically includes: The unblocked update submodule is used to use the total radiation of the inclined surface as the actual irradiance information of the unblocked grid points according to the hourly blockage information when the grid points of the photovoltaic panel are not blocked; The shading update submodule is used to use the scattered radiation of the inclined surface as the actual irradiance information of the shaded grid point when the grid point of the photovoltaic panel is shaded.
[0064] For the specific limitations of the solar irradiance measuring device, please refer to the limitations of the solar irradiance measuring method above, which will not be repeated here. Each module in the above-mentioned solar irradiance measuring device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0065] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a solar irradiance measurement method is implemented.
[0066] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Obtain and analyze the three-dimensional model of the target location and its surrounding environment, and extract the three-dimensional information of the three-dimensional model according to the three-dimensional algorithm; Obtain the latitude and longitude data of the target location, and calculate the hourly sun position based on the latitude and longitude data of the target location and the sun position algorithm; The hourly solar position is converted into solar three-dimensional coordinates, and the reverse solar position tracking rays and the hourly shielding information of each grid point of the photovoltaic panel are generated according to the solar three-dimensional coordinates and three-dimensional information; Based on the national meteorological data set and the inclined surface irradiance algorithm, the irradiance information of all photovoltaic panels at the target location without shading is calculated, and the irradiance information is updated according to the hourly shading information to obtain the actual irradiance information.
[0067] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Obtain and analyze the three-dimensional model of the target location and its surrounding environment, and extract the three-dimensional information of the three-dimensional model according to the three-dimensional algorithm; Acquire the latitude and longitude data of the target location, and calculate the hourly solar position based on the latitude and longitude data of the target location and the hourly national meteorological data set and the solar position algorithm; The hourly solar position is converted into solar three-dimensional coordinates, and the reverse solar position tracking rays and the hourly shielding information of each grid point of the photovoltaic panel are generated according to the solar three-dimensional coordinates and three-dimensional information; The irradiance information of all photovoltaic panels at the target position without shading is calculated according to the inclined surface irradiance algorithm, and the irradiance information is updated according to the hourly shading information to obtain the actual irradiance information.
[0068] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0069] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0070] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for calculating solar irradiance, characterized in that: The solar irradiance calculation method comprises: Acquire and analyze a three-dimensional model of the target location and its surrounding environment, and extract three-dimensional information of the three-dimensional model according to a three-dimensional algorithm; Acquire the longitude and latitude data of the target position, and calculate the hourly sun position according to the longitude and latitude data of the target position and based on a sun position algorithm; Convert the hourly solar position into solar three-dimensional coordinates in a Cartesian coordinate system, and generate reverse solar position tracking rays and hourly shielding information of each grid point of the photovoltaic panel according to the solar three-dimensional coordinates and the three-dimensional information; Based on the hourly national meteorological data set, the irradiance information of all photovoltaic panels at the target location without shading is calculated according to the inclined surface irradiance algorithm, and the irradiance information is updated according to the hourly shading information to obtain the actual irradiance information.
2. The solar irradiance calculation method according to claim 1, characterized in that: The step of acquiring and analyzing the three-dimensional model of the target location and its surrounding environment, and extracting three-dimensional information of the three-dimensional model according to a three-dimensional algorithm, specifically includes: Identifying the photovoltaic panel at the target position to obtain plane information and boundary information of the photovoltaic panel, and gridding the photovoltaic panel according to the plane information and boundary information of the photovoltaic panel to obtain grid point geometric information of the photovoltaic panel; Acquiring surrounding environment information of the target location, and extracting and processing the surrounding environment information to obtain a three-dimensional model of the surrounding environment; The grid point geometric information and the three-dimensional information of the three-dimensional model of the surrounding environment are extracted according to the three-dimensional algorithm.
3. The solar irradiance calculation method according to claim 1, characterized in that: The step of converting the hourly solar position into the three-dimensional coordinates of the sun in a Cartesian coordinate system, and generating reverse solar position tracking rays and hourly shielding information of each grid point of the photovoltaic panel according to the three-dimensional coordinates of the sun and the three-dimensional information specifically includes: Connecting a line from the photovoltaic panel grid point to the three-dimensional coordinates of the sun to obtain the reverse sun position tracking ray; Based on the mesh-ray collision algorithm, the sun position tracking ray is subjected to collision detection with the three-dimensional information of the surrounding environment to obtain the hourly shading information of each grid point of the photovoltaic panel.
4. The solar irradiance calculation method according to claim 3, characterized in that: The method of performing collision detection on the sun position tracking ray and the three-dimensional information based on the mesh-ray collision algorithm to obtain the hourly shading information of each grid point of the photovoltaic panel specifically includes: When the reverse sun position tracking ray intersects with the three-dimensional information, recording the collision result of the current grid point at the current time; All the collision results and the corresponding grid points and times are stored to obtain the hourly occlusion information.
5. The solar irradiance calculation method according to claim 1, characterized in that: The step of calculating the irradiance information of all photovoltaic panels at the target location without any shielding according to the inclined surface irradiance algorithm specifically includes: The irradiance information includes the total radiation and scattered radiation of the inclined surfaces of the photovoltaic panel at all different inclination angles and azimuths.
6. The solar irradiance calculation method according to claim 5, characterized in that: The updating of the irradiance information according to the hourly shading information to obtain actual irradiance information specifically includes: According to the hourly shielding information, when the grid points of the photovoltaic panel are not shielded, taking the total radiation of the inclined surface as the actual irradiance information of the grid points that are not shielded; In the case where the grid points of the photovoltaic panel are blocked, the scattered radiation of the inclined surface is used as the actual irradiance information of the blocked grid points.
7. A solar irradiance measuring device, characterized in that: The solar irradiance measuring device comprises: A three-dimensional model building module, used to obtain and analyze the three-dimensional model of the target location and its surrounding environment, and extract the three-dimensional information of the three-dimensional model according to the three-dimensional algorithm; A solar position calculation module, used to obtain the longitude and latitude data of the target position, and calculate the hourly solar position according to the longitude and latitude data of the target position and based on a solar position algorithm; an occlusion calculation module, for converting the hourly solar position into solar three-dimensional coordinates in a Cartesian coordinate system, and generating reverse solar position tracking rays and hourly occlusion information of each grid point of the photovoltaic panel according to the solar three-dimensional coordinates and the three-dimensional information; The irradiance update module is used to calculate the irradiance information of all photovoltaic panels at the target position without shading according to the inclined surface irradiance algorithm, and update the irradiance information according to the hourly shading information to obtain actual irradiance information.
8. The solar irradiance measuring device according to claim 7, characterized in that: The three-dimensional model building module specifically includes: A target model building submodule is used to identify the photovoltaic panel at the target position, obtain the plane information and boundary information of the photovoltaic panel, and perform grid processing on the photovoltaic panel according to the plane information and boundary information of the photovoltaic panel to obtain the grid point geometric information of the photovoltaic panel; The environment model building submodule is used to obtain the surrounding environment information of the target location, and extract and process the surrounding environment information to obtain a three-dimensional model of the surrounding environment; The three-dimensional information acquisition submodule is used to extract the three-dimensional information of the grid point geometry information and the three-dimensional information of the three-dimensional model of the surrounding environment according to the three-dimensional algorithm.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the solar irradiance calculation method according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the solar irradiance calculation method according to any one of claims 1 to 6 are implemented.