Shadow region judgment method and system for terrain triangular surface
Patent Information
- Application Number
- CN202411631837.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-03-07
AI Technical Summary
[0003]本申请提供一种用于地形三角面的阴影区域判断方法及系统,以至少解决阴影区域的方法实现过程较为复杂困难的技术问题
[0034] The application proposes a method and system for judging shadow areas of a terrain triangle surface, the method includes: obtaining the terrain elevation point data, latitude and longitude values of the selected plot, and the sun altitude angle and the sun azimuth angle of the current moment; modeling with revit software based on the terrain elevation point data, obtaining the 3d model of the plot; determining the direction of each triangle surface in the 3d model in the 3d model in the 3d model in the 3d model in the direction of the sun ray; based on the radius emitting radius in the direction of the sun ray radius, it is determined whether the radius emitted by each triangle surface coincides with the 3d model in the three-dimensional rectangular coordinate system. If overlap occurs, the triangle surface is determined to be a shadow area. The technical solution proposed in this application can simply and quickly determine the shaded area and provide guidance for the construction of photovoltaic power stations.
Smart Images

Figure CN119579817A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of shadow area determination, and in particular to a shadow area determination method and system for terrain triangulation. Background Art
[0002] Shadow analysis is a core capability of 3D digital design. It can accurately simulate and analyze shadows based on 3D terrain and models to obtain the real shadow range and occlusion. However, the existing methods for determining shadow areas based on shadow algorithms are relatively complex and difficult to implement. Therefore, it is urgent to propose a solution that can quickly and easily determine shadow areas. Summary of the invention
[0003] The present application provides a method and system for determining shadow areas of terrain triangles, so as to at least solve the technical problem that the implementation process of the method for determining shadow areas is relatively complex and difficult.
[0004] The first embodiment of the present application provides a shadow area determination method for a terrain triangle surface, the method comprising:
[0005] Get the terrain elevation point data, longitude and latitude values, and the current solar altitude and solar azimuth of the selected plot;
[0006] Based on the terrain elevation point data, a 3D model of the plot is obtained by using Revit software for modeling;
[0007] Determine the direction in which each triangular face in the 3D model emits rays along the direction of sunlight according to the solar altitude angle and solar azimuth angle at the current moment;
[0008] Based on the direction in which each triangular face emits rays along the direction of sunlight, it is determined whether the rays emitted by each triangular face overlap with the 3D model in the three-dimensional rectangular coordinate system. If overlap occurs, the triangular face is determined to be a shadow area.
[0009] Preferably, the calculation formula of the solar altitude angle is as follows:
[0010] s inHs=s inφ×s inδ+cosφ×cosδ×cost
[0011] Where Hs is the solar altitude angle, φ is the geographic latitude, δ is the solar declination, and t is the hour angle.
[0012] Furthermore, the calculation formula of the solar azimuth is as follows:
[0013] cosAs=(s inHs×s inφ-s inδ)÷(cosHs×cosφ)
[0014] Where cosAs is the solar azimuth angle.
[0015] Furthermore, the calculation formula of the solar declination is as follows:
[0016] δ(deg)=0.006918-0.399912cos(b)+0.070257sin(b)-0.006758cos(2b)
[0017] +0.000907sin(2b)-0.002697cos(3b)+0.00148sin(3b)
[0018] In the formula, b = 2 × PI × (N-1) / 365, N is the number of days from January 1st of each year to the calculation day, PI is the pi, and deg is the angle.
[0019] Furthermore, the solar hour angle is zero at noon, positive in the morning, and negative in the afternoon;
[0020] The solar hour angle is -90° at sunrise and +90° at sunset, with an average hour angle change of 15° per hour.
[0021] The second embodiment of the present application provides a shadow area determination system for terrain triangular surfaces, including:
[0022] The acquisition module is used to obtain the terrain elevation point data, longitude and latitude values, and the solar altitude angle and solar azimuth angle within the shadow calculation time of the selected plot;
[0023] A modeling module, used to model the terrain elevation point data using Revit software to obtain a 3D model of the plot;
[0024] The judgment module is used to emit rays from each triangular face in the 3D model in the direction of the sun's rays based on the sun's altitude angle and the sun's azimuth angle during the shadow calculation time, and to judge whether the rays emitted by each triangular face coincide with the 3D model in the three-dimensional rectangular coordinate system. If coincidence occurs, the triangular face is judged to be a shadow area.
[0025] Preferably, the calculation formula of the solar altitude angle is as follows:
[0026] sinHs=sinφ×sinδ+cosφ×cosδ×cost
[0027] Where Hs is the solar altitude angle, φ is the geographic latitude, δ is the solar declination, and t is the hour angle.
[0028] Furthermore, the calculation formula of the solar azimuth is as follows:
[0029] cosAs=(sinHs×sinφ-sinδ)÷(cosHs×cosφ)
[0030] Where cosAs is the solar azimuth angle.
[0031] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the first aspect is implemented.
[0032] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect of the present application.
[0033] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0034] The present application proposes a method and system for determining the shadow area of a terrain triangular face, the method comprising: obtaining the terrain elevation point data, latitude and longitude values, and the solar altitude angle and solar azimuth angle at the current moment of the selected plot; modeling the 3D model of the plot using Revit software based on the terrain elevation point data; determining the direction of the rays emitted by each triangular face in the 3D model along the direction of the sun's rays according to the solar altitude angle and solar azimuth angle at the current moment; emitting rays based on the direction of the rays emitted by each triangular face along the direction of the sun's rays, and determining whether the rays emitted by each triangular face overlap with the 3D model in the three-dimensional rectangular coordinate system, and if overlap occurs, determining that the triangular face is a shadow area. The technical solution proposed in the present application can simply and quickly determine the shadow area, and provide guidance for the construction of photovoltaic power stations.
[0035] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0037] Figure 1 A flowchart of a method for determining a shadow area of a terrain triangle surface according to an embodiment of the present application;
[0038] Figure 2 The present invention is a structural diagram of a shadow area determination system for terrain triangles provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0039] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0040] The present application proposes a method and system for determining the shadow area of a terrain triangular face, the method comprising: obtaining the terrain elevation point data, latitude and longitude values, and the solar altitude angle and solar azimuth angle at the current moment of the selected plot; modeling the 3D model of the plot using Revit software based on the terrain elevation point data; determining the direction of the rays emitted by each triangular face in the 3D model along the direction of the sun's rays according to the solar altitude angle and solar azimuth angle at the current moment; emitting rays based on the direction of the rays emitted by each triangular face along the direction of the sun's rays, and determining whether the rays emitted by each triangular face overlap with the 3D model in the three-dimensional rectangular coordinate system, and if overlap occurs, determining that the triangular face is a shadow area. The technical solution proposed in the present application can simply and quickly determine the shadow area, and provide guidance for the construction of photovoltaic power stations.
[0041] The following describes a method and system for determining a shadow area of a terrain triangle surface according to an embodiment of the present application with reference to the accompanying drawings.
[0042] Embodiment 1
[0043] Figure 1 A flowchart of a method for determining a shadow area of a terrain triangle surface according to an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes:
[0044] Step 1: Obtain the terrain elevation point data, longitude and latitude values, and the current solar altitude and solar azimuth of the selected plot.
[0045] It should be noted that the terrain elevation point data may be data provided by a survey unit after actual survey;
[0046] The current time belongs to the shadow calculation time, which may be from 9 am to 3 pm.
[0047] In the embodiment of the present disclosure, the calculation formula of the solar altitude angle is as follows:
[0048] sinHs=sinφ×sinδ+cosφ×cosδ×cost
[0049] Where Hs is the solar altitude angle, φ is the geographic latitude, δ is the solar declination, and t is the hour angle.
[0050] The calculation formula of the solar azimuth angle is as follows:
[0051] cosAs=(sinHs×sinφ-sinδ)÷(cosHs×cosφ)
[0052] Where cosAs is the solar azimuth angle.
[0053] The calculation formula of the solar declination is as follows:
[0054] δ(deg)=0.006918-0.399912cos(b)+0.070257sin(b)-0.006758cos(2b)
[0055] +0.000907sin(2b)-0.002697cos(3b)+0.00148sin(3b)
[0056] In the formula, b = 2 × PI × (N-1) / 365, N is the number of days from January 1st of each year to the calculation day, that is, January 1st, N = 1, January 2nd, N = 2, and so on, PI is pi, deg is the angle,
[0057] It should be noted that the solar hour angle is zero at noon, positive in the morning, and negative in the afternoon;
[0058] The solar hour angle is -90° at sunrise and +90° at sunset, with an average hour angle change of 15° per hour.
[0059] The solar hour angle is zero at noon (i.e. it is in the middle of the sky), positive in the morning and negative in the afternoon, -90° at sunrise and +90° at sunset, with an average hour angle change of 15° per hour.
[0060] Solar hour angle t = (true solar time - 12) × 15°.
[0061] Step 2: Modeling is performed using Revit software based on the terrain elevation point data to obtain a 3D model of the plot.
[0062] It should be noted that the corresponding 3D model is formed by modeling using Revit software.
[0063] Step 3: Determine the direction in which each triangular face in the 3D model emits rays along the direction of sunlight according to the solar altitude angle and solar azimuth angle at the current moment;
[0064] Step 4: Based on the direction in which each triangular face emits rays along the direction of sunlight, determine whether the rays emitted by each triangular face overlap with the 3D model in the three-dimensional rectangular coordinate system. If overlap occurs, determine that the triangular face is a shadow area and the triangular face is a Delaunay triangular face.
[0065] It should be noted that, for each triangular face constituting the 3D model, a ray is emitted along the direction of the sun's rays based on the solar altitude angle and azimuth angle values at the current time. When the emitted ray collides with the 3D model in the three-dimensional rectangular coordinate system, the triangular face represented by the area is the shadow area plot, and the plot is marked;
[0066] Subsequently, the collection of all the marked plots in all time periods can be displayed, that is, the shaded area plots of the time period are generated.
[0067] In summary, the shadow area determination method for a terrain triangle surface proposed in this embodiment can simply and quickly determine the shadow area, providing guidance for the construction of a photovoltaic power station.
[0068] Embodiment 2
[0069] Figure 2 FIG. 1 is a structural diagram of a shadow area determination system for a terrain triangle surface provided according to an embodiment of the present application. Figure 2 As shown, the system comprises:
[0070] The acquisition module 100 is used to acquire the terrain elevation point data, longitude and latitude values, and the solar altitude angle and solar azimuth angle at the current moment of the selected plot;
[0071] A modeling module 200 is used to model the terrain elevation point data using Revit software to obtain a 3D model of the plot;
[0072] A determination module 300 is used to determine the direction in which each triangular face in the 3D model emits rays along the direction of sunlight according to the solar altitude angle and solar azimuth angle at the current moment;
[0073] The judgment module 400 is used to emit rays based on the direction of the rays emitted by each triangular face along the direction of sunlight, and to judge whether the rays emitted by each triangular face coincide with the 3D model in the three-dimensional rectangular coordinate system. If coincidence occurs, the triangular face is judged to be a shadow area.
[0074] The calculation formula of the solar altitude angle is as follows:
[0075] sinHs=sinφ×sinδ+cosφ×cosδ×cost
[0076] Where Hs is the solar altitude angle, φ is the geographic latitude, δ is the solar declination, and t is the hour angle.
[0077] The calculation formula of the solar azimuth angle is as follows:
[0078] cosAs=(sinHs×sinφ-sinδ)÷(cosHs×cosφ)
[0079] Where cosAs is the solar azimuth angle.
[0080] The calculation formula of the solar declination is as follows:
[0081] δ(deg)=0.006918-0.399912cos(b)+0.070257sin(b)-0.006758cos(2b)
[0082] +0.000907sin(2b)-0.002697cos(3b)+0.00148sin(3b)
[0083] In the formula, b = 2 × PI × (N-1) / 365, N is the number of days from January 1st of each year to the calculation day, PI is the pi, and deg is the angle.
[0084] The solar hour angle is zero at noon, positive in the morning, and negative in the afternoon;
[0085] The solar hour angle is -90° at sunrise and +90° at sunset, with an average hour angle change of 15° per hour.
[0086] In summary, the shadow area determination system for terrain triangle surface proposed in this embodiment can simply and quickly determine the shadow area, and provide guidance for the construction of photovoltaic power stations.
[0087] Embodiment 3
[0088] In order to implement the above embodiments, the present disclosure further proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in Embodiment 1 is implemented.
[0089] Embodiment 4
[0090] In order to implement the above embodiments, the present disclosure further proposes a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in the first embodiment is implemented.
[0091] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0092] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0093] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for determining shadow areas of terrain triangles, characterized in that: The method comprises: Get the terrain elevation point data, longitude and latitude values, and the current solar altitude and solar azimuth of the selected plot; Based on the terrain elevation point data, a 3D model of the plot is obtained by using Revit software for modeling; Determine the direction in which each triangular face in the 3D model emits rays along the direction of sunlight according to the solar altitude angle and solar azimuth angle at the current moment; Based on the direction in which each triangular face emits rays along the direction of sunlight, it is determined whether the rays emitted by each triangular face overlap with the 3D model in the three-dimensional rectangular coordinate system. If overlap occurs, the triangular face is determined to be a shadow area.
2. The method according to claim 1, characterized in that The calculation formula of the solar altitude angle is as follows: sinHs=sinφ×sinδ+cosφ×cosδ×cost Where Hs is the solar altitude angle, φ is the geographic latitude, δ is the solar declination, and t is the hour angle.
3. The method according to claim 2, characterized in that The calculation formula of the solar azimuth angle is as follows: cosAs=(sinHs×sinφ-sinδ)÷(cosHs×cosφ) Where cosAs is the solar azimuth angle.
4. The method according to claim 3, characterized in that The calculation formula of the solar declination is as follows: δ(deg)=0.006918-0.399912cos(b)+0.070257sin(b)-0.006758cos(2b)+0.000907sin(2b)-0.002697cos(3b)+0.00148sin(3b) In the formula, b = 2 × PI × (N-1) / 365, N is the number of days from January 1st of each year to the calculation day, PI is the pi, and deg is the angle.
5. The method according to claim 4, characterized in that The solar hour angle is zero at noon, positive in the morning, and negative in the afternoon; The solar hour angle is -90° at sunrise and +90° at sunset, with an average hour angle change of 15° per hour.
6. A shadow area determination system for terrain triangles, characterized in that: The system comprises: The acquisition module is used to obtain the terrain elevation point data, longitude and latitude values, and the solar altitude angle and solar azimuth angle of the selected plot; A modeling module, used to model the terrain elevation point data using Revit software to obtain a 3D model of the plot; A determination module, used to determine the direction in which each triangular face in the 3D model emits rays along the direction of sunlight according to the solar altitude angle and solar azimuth angle at the current moment; The judgment module is used to emit rays based on the direction of the rays emitted by each triangular face along the direction of sunlight, and to judge whether the rays emitted by each triangular face coincide with the 3D model in the three-dimensional rectangular coordinate system. If coincidence occurs, the triangular face is judged to be a shadow area.
7. The system according to claim 6, characterized in that The calculation formula of the solar altitude angle is as follows: s inHs=s inφ×s inδ+cosφ×cosδ×cost Where Hs is the solar altitude angle, φ is the geographic latitude, δ is the solar declination, and t is the hour angle.
8. The system according to claim 7, characterized in that The calculation formula of the solar azimuth angle is as follows: cosAs=(s inHs×s inφ-sinδ)÷(cosHs×cosφ) Where cosAs is the solar azimuth angle.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 5 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
