Mountainous environment under sunlight shading area determination method, device, equipment and medium

CN116611146BActive Publication Date: 2026-10-20SOUTHWEST JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310563866.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2026-10-20
Estimated Expiration
2043-05-18

AI Technical Summary

Technical Problem

以桥梁结构为例,处在山区的桥墩塔更易在日照温度作用下开裂,其变形更易超限,进而影响桥梁线形,导致其他承载构件应力超限

Benefits of technology

[0068]本申请实施例提供的一种山区环境下太阳光遮蔽区域确定方法、装置、设备及介质,其中,通过引入目标山区环境的环境数字高程模型,无需对目标山区环境进行现场测绘,有利于简化工作过程,减少作业危险。并且,通过从目标山区环境中确定出环境遮蔽区域,缩小处理范围,有利于减少后续计算量。而且,通过本实施例的方式,可以准确的确定出山区环境对目标建筑的太阳光遮蔽区域,有利于准确模拟出山区环境下太阳光线对目标建筑的日照作用。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116611146B_ABST
    Figure CN116611146B_ABST
Patent Text Reader

Abstract

The application provides a method and device for determining a sunlight shading area in a mountainous environment, equipment and a medium, wherein the method comprises: determining a minimum elevation of a target building and a maximum elevation of a target mountainous environment; determining an environmental shading area from the target mountainous environment according to a latitude of a solar direct point and a latitude of the target building; screening a target ridge point and a target valley point from the environmental shading area; determining three-dimensional coordinates of a triangular slope surface formed by a triangle composed of the target ridge point corresponding to the lowest elevation in the same elevation interval, and two target valley points adjacent to the target ridge point and located on the same side; and determining whether a node is shaded by the triangular slope surface according to node three-dimensional coordinates of the node in a local coordinate system, a sunlight direction vector, and target triangular slope surface corresponding to the three-dimensional coordinates of the target triangular point. Through the method, the accuracy of determining the sunlight shading area in the mountainous environment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, equipment and medium for determining the sun-shaded area in a mountainous environment. Background Technology

[0002] The non-uniform temperature field caused by sunlight has a significant impact on the structural stress of buildings (such as roads, railways, or bridges). Due to structural self-constraint, the temperature stress generated by sunlight can lead to structural deterioration (i.e., cracking) or even failure. This is especially true in mountainous environments, where temperature changes are faster and the effects of sunlight are more pronounced than in plains. Taking bridge structures as an example, bridge piers and towers located in mountainous areas are more prone to cracking under the influence of sunlight and temperature, and their deformation is more likely to exceed limits, thus affecting the bridge's alignment and causing stress exceeding limits in other load-bearing components. Therefore, finite element simulation of the effects of sunlight on building structures in mountainous environments has significant engineering implications.

[0003] Simulating solar radiation on building structures requires applying surface heat flux to solve for nodal temperatures, i.e., applying solar radiation. The solar radiation received by a building structure's surface is easily blocked by itself and the environment, and this blocking significantly affects the internal temperature field of the building structure, thus determining the accuracy of the temperature field simulation under solar radiation. Therefore, the key challenge in building structure solar radiation simulation technology lies in solving for shading and accurately applying radiation.

[0004] Numerous studies on solar radiation simulation for building structures exist, but most only consider structural self-shading. For complex structures in open areas, self-shading alone is sufficient to simulate solar radiation effects (i.e., solar temperature). However, for building structures in mountainous environments, especially those located in valleys or on hillsides, the influence of adjacent mountains necessitates consideration of environmental shading (i.e., adjacent mountains blocking sunlight from reaching the building) to accurately simulate solar radiation effects. Therefore, there is an urgent need for a calculation method specifically for solar shading areas in mountainous environments to determine the shading area on the target building resulting from sunlight blocking in mountainous conditions. Summary of the Invention

[0005] In view of this, the purpose of this application is to provide a method, device, equipment and medium for determining the solar shading area in a mountainous environment, so as to improve the accuracy of determining the solar shading area in a mountainous environment, and thus accurately simulate the solar radiation effect on buildings in a mountainous environment.

[0006] In a first aspect, embodiments of this application provide a method for determining the sun-shaded area in a mountainous environment, including:

[0007] Based on the latitude and longitude information of the target building located within the target mountainous environment, and the environmental digital elevation model containing the target mountainous environment, determine the minimum elevation of the target building and the maximum elevation of the target mountainous environment;

[0008] Based on the latitude of the subsolar point and the latitude of the target building, an environmental shading area is determined from the target mountainous environment; the mountains in the environmental shading area are used to block sunlight rays from hitting the target building;

[0009] From the various ridge points and valley points within the environmentally sheltered area, target ridge points and target valley points whose elevations are between the minimum elevation and the maximum elevation are selected;

[0010] The three-dimensional coordinates of the corner points of the triangle are determined based on the target ridge point corresponding to the lowest elevation within the same elevation interval and the triangular slope surface formed by two target valley points adjacent to the target ridge point and located on the same side; and the three-dimensional coordinates of the corner points of the triangle are determined based on the target valley point corresponding to the highest elevation within the same elevation interval and the triangular slope surface formed by two target ridge points adjacent to the target valley point and located on the same side.

[0011] A local coordinate system is established with the location of the finite element model of the target building as the origin, and the three-dimensional coordinates of each triangle corner point are converted into the three-dimensional coordinates of the target triangle corner point under the local coordinate system.

[0012] For each node in the finite element model, based on the node's three-dimensional coordinates in the local coordinate system, the direction vector of the sunlight, and the three-dimensional coordinates of the corner point of the target triangle corresponding to each triangular hillside, it is determined whether the node is occluded by the triangular hillside.

[0013] In conjunction with the first aspect, embodiments of this application provide a first possible implementation of the first aspect, wherein the method further includes:

[0014] Obtain the original environmental digital elevation model from the geospatial data cloud platform;

[0015] Based on the target mountainous environment where the target building is located, an environmental digital elevation model containing the target mountainous environment is segmented from the original environmental digital elevation model.

[0016] In conjunction with the first aspect, this application provides a second possible implementation of the first aspect, wherein determining the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model including the target mountainous environment includes:

[0017] The latitude and longitude information of the target building located in the target mountainous environment, as well as the environmental digital elevation model containing the target mountainous environment, are imported into ArcGIS. The minimum elevation of the target building and the maximum elevation of the target mountainous environment are then generated through ArcGIS.

[0018] In conjunction with the first aspect, this application provides a third possible implementation of the first aspect, wherein determining the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model including the target mountainous environment includes:

[0019] Based on the latitude and longitude information of the target building located within the target mountainous environment, and the environmental digital elevation model containing the target mountainous environment, the minimum elevation of the target building, the maximum elevation of the target mountainous environment, and the contour lines on each mountain within the target mountainous environment are determined.

[0020] Based on each contour line, determine the first projected three-dimensional coordinates and elevation of each contour point on each contour line;

[0021] The process of determining the environmental shading area from the target mountainous environment based on the latitude of the subsolar point and the latitude of the target building includes:

[0022] The first projected three-dimensional coordinates and elevations of each contour point on each contour line in the target mountainous environment are imported into AutoCAD software, and a contour line plan view corresponding to the target mountainous environment is drawn using AutoCAD software.

[0023] The environmental shading area is determined from the contour map based on the latitude of the subsolar point and the latitude of the target building.

[0024] In conjunction with the first aspect or the third possible implementation of the first aspect, this application provides a fourth possible implementation of the first aspect, wherein the ridge point is the intersection of the ridgeline and the contour line on the same mountain; the valley point is the intersection of the valley line and the contour line on the same mountain; from the various ridge points and valley points within the environmentally sheltered area, target ridge points and target valley points with elevations between the minimum elevation and the maximum elevation are selected, including:

[0025] From the environmental shielding area, a target environmental shielding area is determined that is within a preset range from the target building and surrounds the target building;

[0026] From the various ridge points and valley points within the target environment's shielded area, select target ridge points and target valley points whose elevations are between the minimum elevation and the maximum elevation.

[0027] In conjunction with the first aspect, this application provides a fifth possible implementation of the first aspect, wherein determining the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model including the target mountainous environment includes:

[0028] The minimum elevation of the target building, the maximum elevation of the target mountain environment, and the second projected three-dimensional coordinates of the target building are determined based on the latitude and longitude information of the target building located in the target mountain environment and the environmental digital elevation model containing the target mountain environment.

[0029] The step of establishing a local coordinate system with the location of the finite element model of the target building as the origin, and converting the three-dimensional coordinates of each of the triangle corner points into the three-dimensional coordinates of the target triangle corner points in the local coordinate system, includes:

[0030] A local coordinate system is established with the location of the finite element model of the target building as the origin. Based on the second projected three-dimensional coordinates and the three-dimensional coordinates of the triangle corner points located in the same projected coordinate system, the three-dimensional coordinates of each triangle corner point are converted into the three-dimensional coordinates of the target triangle corner points in the local coordinate system.

[0031] In conjunction with the first aspect, this application provides a sixth possible implementation of the first aspect, wherein determining whether a node is occluded by a triangular hillside based on the node's three-dimensional coordinates in the local coordinate system, the direction vector of sunlight, and the three-dimensional coordinates of the corner points of the target triangle corresponding to each triangular hillside, for each node in the finite element model, includes:

[0032] For each node in the finite element model, a ray with the node as the starting point and the direction opposite to the direction of the sunlight is determined based on the direction vector of the sunlight.

[0033] Determine whether the ray corresponding to the node intersects with the triangular hillside surface;

[0034] If the ray corresponding to the node intersects with at least one of the triangular hillsides, then the node is obscured by the triangular hillside.

[0035] If the ray corresponding to the node does not intersect with any of the triangular hillsides, then the node is not obscured by the triangular hillsides.

[0036] Secondly, embodiments of this application also provide a device for determining the sun-shaded area in a mountainous environment, comprising:

[0037] The first determining module is used to determine the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located in the target mountainous environment and the environmental digital elevation model containing the target mountainous environment.

[0038] The second determining module is used to determine an environmental shading area from the target mountainous environment based on the latitude of the sun's direct point and the latitude of the target building; the mountains in the environmental shading area are used to block sunlight rays from hitting the target building;

[0039] The filtering module is used to filter out target ridge points and target valley points whose elevations are between the minimum elevation and the maximum elevation from various ridge points and valley points within the environmentally shielded area.

[0040] The third determining module is used to determine the three-dimensional coordinates of the corner points of the triangle based on the target ridge point corresponding to the lowest elevation in the same elevation interval and the triangular slope surface formed by two target valley points adjacent to the target ridge point and located on the same side; and to determine the three-dimensional coordinates of the corner points of the triangle based on the target valley point corresponding to the highest elevation in the same elevation interval and the triangular slope surface formed by two target ridge points adjacent to the target valley point and located on the same side.

[0041] The conversion module is used to establish a local coordinate system with the location of the finite element model of the target building as the origin, and to convert the three-dimensional coordinates of each of the triangle corner points into the three-dimensional coordinates of the target triangle corner points under the local coordinate system.

[0042] The judgment module is used to determine whether a node in the finite element model is occluded by a triangular hillside, based on the node's three-dimensional coordinates in the local coordinate system, the direction vector of sunlight, and the three-dimensional coordinates of the corner point of the target triangle corresponding to each triangular hillside.

[0043] In conjunction with the second aspect, embodiments of this application provide a first possible implementation of the second aspect, which further includes:

[0044] The acquisition module is used to acquire the original environmental digital elevation model from the geospatial data cloud platform;

[0045] The segmentation module is used to segment an environmental digital elevation model containing the target mountain environment from the original environmental digital elevation model based on the target mountain environment where the target building is located.

[0046] In conjunction with the second aspect, this application provides a second possible implementation of the second aspect, wherein the first determining module, when determining the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model including the target mountainous environment, is specifically used for:

[0047] The latitude and longitude information of the target building located in the target mountainous environment, as well as the environmental digital elevation model containing the target mountainous environment, are imported into ArcGIS. The minimum elevation of the target building and the maximum elevation of the target mountainous environment are then generated through ArcGIS.

[0048] In conjunction with the second aspect, this application provides a third possible implementation of the second aspect, wherein the first determining module, when determining the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model including the target mountainous environment, is specifically used for:

[0049] Based on the latitude and longitude information of the target building located within the target mountainous environment, and the environmental digital elevation model containing the target mountainous environment, the minimum elevation of the target building, the maximum elevation of the target mountainous environment, and the contour lines on each mountain within the target mountainous environment are determined.

[0050] Based on each contour line, determine the first projected three-dimensional coordinates and elevation of each contour point on each contour line;

[0051] The second determining module, when used to determine the environmental shading area from the target mountainous environment based on the latitude of the subsolar point and the latitude of the target building, is specifically used for:

[0052] The first projected three-dimensional coordinates and elevations of each contour point on each contour line in the target mountainous environment are imported into AutoCAD software, and a contour line plan view corresponding to the target mountainous environment is drawn using AutoCAD software.

[0053] The environmental shading area is determined from the contour map based on the latitude of the subsolar point and the latitude of the target building.

[0054] In conjunction with the second aspect or the third possible implementation of the second aspect, this application provides a fourth possible implementation of the second aspect, wherein the ridge point is the intersection of the ridgeline and the contour line on the same mountain; the valley point is the intersection of the valley line and the contour line on the same mountain; the filtering module, when used to filter out target ridge points and target valley points whose elevations are between the minimum elevation and the maximum elevation from each ridge point and valley point within the environmentally sheltered area, is specifically used for:

[0055] From the environmental shielding area, a target environmental shielding area is determined that is within a preset range from the target building and surrounds the target building;

[0056] From the various ridge points and valley points within the target environment's shielded area, select target ridge points and target valley points whose elevations are between the minimum elevation and the maximum elevation.

[0057] In conjunction with the second aspect, this application provides a fifth possible implementation of the second aspect, wherein the first determining module, when determining the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model including the target mountainous environment, is specifically used for:

[0058] The minimum elevation of the target building, the maximum elevation of the target mountain environment, and the second projected three-dimensional coordinates of the target building are determined based on the latitude and longitude information of the target building located in the target mountain environment and the environmental digital elevation model containing the target mountain environment.

[0059] The conversion module, when establishing a local coordinate system with the location of the finite element model of the target building as the origin, and converting the three-dimensional coordinates of each triangle corner point into the three-dimensional coordinates of the target triangle corner point in the local coordinate system, is specifically used for:

[0060] A local coordinate system is established with the location of the finite element model of the target building as the origin. Based on the second projected three-dimensional coordinates and the three-dimensional coordinates of the triangle corner points located in the same projected coordinate system, the three-dimensional coordinates of each triangle corner point are converted into the three-dimensional coordinates of the target triangle corner points in the local coordinate system.

[0061] In conjunction with the second aspect, this application provides a sixth possible implementation of the second aspect, wherein the judgment module, when used to determine whether a node in the finite element model is occluded by a triangular hillside based on the node's three-dimensional coordinates in the local coordinate system, the direction vector of sunlight, and the three-dimensional coordinates of the corner points of the target triangle corresponding to each triangular hillside, is specifically used for:

[0062] For each node in the finite element model, a ray with the node as the starting point and the direction opposite to the direction of the sunlight is determined based on the direction vector of the sunlight.

[0063] Determine whether the ray corresponding to the node intersects with the triangular hillside surface;

[0064] If the ray corresponding to the node intersects with at least one of the triangular hillsides, then the node is obscured by the triangular hillside.

[0065] If the ray corresponding to the node does not intersect with any of the triangular hillsides, then the node is not obscured by the triangular hillsides.

[0066] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps in any of the possible implementations of the first aspect described above are performed.

[0067] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps in any of the possible implementations of the first aspect described above.

[0068] This application provides a method, apparatus, equipment, and medium for determining solar shading areas in mountainous environments. By introducing an environmental digital elevation model of the target mountainous environment, on-site surveying of the target mountainous environment is eliminated, simplifying the work process and reducing operational hazards. Furthermore, by determining the environmental shading area from the target mountainous environment, the processing scope is narrowed, reducing subsequent calculations. Moreover, this embodiment accurately determines the solar shading area of ​​the target building caused by the mountainous environment, facilitating accurate simulation of the solar radiation effect on the target building in a mountainous environment.

[0069] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0070] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0071] Figure 1 A flowchart of a method for determining a sun-shaded area in a mountainous environment, provided in an embodiment of this application, is shown.

[0072] Figure 2 A schematic diagram illustrating the latitude variation of the subsolar point provided in the embodiments of this application is shown;

[0073] Figure 3 This illustration shows a schematic diagram of an environmental shielding area provided in an embodiment of this application;

[0074] Figure 4 This illustration shows a schematic diagram of a contour line provided in an embodiment of this application;

[0075] Figure 5 This application illustrates a contour plan view provided in an embodiment of the present application;

[0076] Figure 6 A schematic diagram of the ridge point and valley point provided in the embodiments of this application is shown;

[0077] Figure 7 A schematic diagram of a triangular hillside provided in an embodiment of this application is shown;

[0078] Figure 8 A side view of the finite element model provided in the embodiments of this application is shown;

[0079] Figure 9 A schematic diagram of the ray intersection method provided in the embodiments of this application is shown;

[0080] Figure 10 This illustration shows a schematic diagram of a device for determining a sun-shaded area in a mountainous environment, provided in an embodiment of this application.

[0081] Figure 11 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation

[0082] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0083] Given the urgent need for a method to calculate the shading area in mountainous environments, specifically to determine the shading area on a target building after sunlight is blocked by the mountainous environment, this application provides a method, apparatus, device, and medium for determining the shading area in mountainous environments. This improves the accuracy of determining the shading area in mountainous environments, thereby accurately simulating the solar radiation effect on buildings in mountainous conditions. The following embodiments illustrate this.

[0084] Example 1:

[0085] To facilitate understanding of this embodiment, a method for determining the sun-shaded area in a mountainous environment, as disclosed in this application embodiment, will first be described in detail. Figure 1 A flowchart illustrating a method for determining a sun-shaded area in a mountainous environment, as provided in an embodiment of this application, is shown. Figure 1 As shown, the process includes the following steps S101-S106:

[0086] S101: Based on the latitude and longitude information of the target building located within the target mountainous environment, and the environmental digital elevation model containing the target mountainous environment, determine the minimum elevation of the target building and the maximum elevation of the target mountainous environment.

[0087] The target mountainous environment can be a mountainous environment containing multiple mountains, and the target building can be a building located in the target mountainous environment, such as a bridge, road, railway, etc. The environmental digital elevation model (DEM) can be a digital model of the target mountainous environment.

[0088] The target building is a three-dimensional structure. The elevation of different locations within the target building may vary; elevation refers to the building's height above the ground. The minimum elevation of the target building is the elevation of the portion of the building closest to the ground. The maximum elevation of the target mountainous environment can be the elevation of the portion of the environment furthest from the ground, such as the elevation of the highest mountain in the target mountainous environment.

[0089] In one possible implementation, when performing step S101, the latitude and longitude information of the target building located in the target mountainous environment, as well as the environmental digital elevation model containing the target mountainous environment, can be imported into ArcGIS, and the minimum elevation of the target building and the maximum elevation of the target mountainous environment can be generated through ArcGIS.

[0090] In one possible implementation, before performing step S101, the following steps may be performed: obtaining the original environmental digital elevation model from the geospatial data cloud platform; and segmenting the environmental digital elevation model containing the target mountain environment from the original environmental digital elevation model based on the target mountain environment where the target building is located.

[0091] The original environmental digital elevation model can be a digital model representing the national geomorphological environment. Extracting an environmental digital elevation model representing the target mountainous area from the original environmental digital elevation model helps reduce the amount of subsequent calculations.

[0092] In this embodiment, the original environmental digital elevation model (DEM) is generated from satellite photographs, eliminating the need for manual on-site surveying. Therefore, it simplifies the work process and reduces operational hazards.

[0093] S102: Based on the latitude of the sun's direct point and the latitude of the target building, determine the environmental shading area from the target mountain environment; the mountains in the environmental shading area are used to block sunlight from shining on the target building.

[0094] In this embodiment, Figure 2 This illustration shows a schematic diagram illustrating the latitude variation of the subsolar point provided in an embodiment of this application, as shown below. Figure 2 As shown, the latitude of the subsolar point is determined based on the date of sunshine. Figure 3 This illustration shows a schematic diagram of an environmental shading area provided in an embodiment of this application, such as... Figure 3 As shown, when the latitude of the target building is above the latitude of the subsolar point, the environmental shading area is as follows: Figure 3 As shown. The mountain in the environmental shading area is used to block sunlight from shining on the target building, thus creating a shading area on the target building.

[0095] In one possible implementation, when performing step S101, the following can be specifically done: based on the latitude and longitude information of the target building located in the target mountainous environment and the environmental digital elevation model containing the target mountainous environment, determine the minimum elevation of the target building, the maximum elevation of the target mountainous environment, and each contour line on each mountain in the target mountainous environment; based on each contour line, determine the first projected three-dimensional coordinates of each contour point on each contour line.

[0096] In this embodiment, the latitude and longitude information of the target building and the environmental digital elevation model can be imported into ArcGIS. ArcGIS can then be used to generate the minimum elevation of the target building, the maximum elevation of the target mountainous environment, and the contour lines on each mountain within the target mountainous environment.

[0097] Figure 4 This application provides a schematic diagram of a contour line according to an embodiment of the present application. Figure 4 As shown, each contour line is marked with its corresponding elevation, and the distance between two adjacent contour lines can be 'a' meters. Specifically:

[0098]

[0099] Where E0 is the minimum elevation of the target building, E max n represents the maximum elevation of the target mountainous environment, and n+1 represents the number of contour lines.

[0100] In this embodiment, the first projected three-dimensional coordinates are located in the projected coordinate system, which is a three-dimensional coordinate system. The plane formed by the x-axis and y-axis of the projected coordinate system is parallel to the ground, and the z-axis is perpendicular to the ground. Therefore, the first projected three-dimensional coordinates include the position of the contour points on the ground and the elevation of the contour points.

[0101] When performing step S102, specifically: the first projected three-dimensional coordinates of each contour point on each contour line in the target mountainous environment are imported into the AutoCAD software, and the contour line plan map corresponding to the target mountainous environment is drawn using the AutoCAD software; based on the latitude of the subsolar point and the latitude of the target building, the environmental shading area is determined from the contour line plan map.

[0102] The first projected three-dimensional coordinates of each contour point can be stored in a dwg file. This dwg file can be imported into AutoCAD software, and the contour map corresponding to the target mountainous environment can be drawn using AutoCAD software.

[0103] The contour map contains contour lines for each mountain in the target mountainous environment. Figure 5 This application illustrates a contour plan view provided by an embodiment of the present application, such as... Figure 5 As shown, the contour map contains contour lines for three mountains. Figure 5 As shown, the contour map illustrates the environmentally shaded area. The terrain (mountains) within the environmentally shaded area can block sunlight from reaching the target building.

[0104] S103: Select target ridge points and target valley points whose elevations are between the minimum and maximum elevations from the various ridge points and valley points within the environmentally shielded area.

[0105] In this embodiment, within the environmentally shielded area, ridge points and valley points can be distinguished based on the contour lines within the environmentally shielded area. Specifically, the point where the curved part of the contour line bulges downwards is a ridge point, and the point where the curved part of the contour line bulges upwards is a valley point. Figure 6 A schematic diagram of ridge points and valley points provided in an embodiment of this application is shown. For example... Figure 6 As shown, a ridge point is the intersection of a ridgeline and a contour line on the same mountain; a valley point is the intersection of a valley line and a contour line on the same mountain.

[0106] In this embodiment, based on the elevation corresponding to each ridge point, target ridge points with elevations between the minimum and maximum elevations are selected from each ridge point; and based on the elevation corresponding to each valley point, target valley points with elevations between the minimum and maximum elevations are selected from each valley point.

[0107] In one possible implementation, when performing step S103, specifically: from the environmental shielding area, determine the target environmental shielding area that is within a preset range from the target building and surrounds the target building; from each ridge point and valley point within the target environmental shielding area, select the target ridge point and target valley point whose elevation is between the minimum elevation and the maximum elevation.

[0108] In this embodiment, the target environmental shading area is determined from the environmental shading area using a longitudinal comparison method. For example... Figure 5 As shown, the target environment's occlusion area is close to and surrounds the target building.

[0109] S104: Determine the three-dimensional coordinates of the corner points of the triangle based on the target ridge point corresponding to the lowest elevation within the same elevation interval and the triangular slope surface formed by two target valley points adjacent to the target ridge point and located on the same side; and determine the three-dimensional coordinates of the corner points of the triangle based on the target valley point corresponding to the highest elevation within the same elevation interval and the triangular slope surface formed by two target ridge points adjacent to the target valley point and located on the same side.

[0110] In this embodiment, the same elevation interval can be the elevation range between two adjacent contour lines, for example, 300-400. In this case, the lowest elevation in the elevation interval is 300 and the highest elevation is 400.

[0111] Figure 7 A schematic diagram of the triangular hillside surface provided in an embodiment of this application is shown, as follows: Figure 7As shown, taking target ridge point A1 as an example, target ridge point A1 corresponds to the lowest elevation within the elevation range of 300-400. Two target valley points adjacent to and on the same side of target ridge point A1 are B1 and B2. A triangular slope surface C1 is formed by target ridge point A1, target valley point B1, and target valley point B2. The three-dimensional coordinates of the three triangular corner points of this slope surface are then determined. The three-dimensional coordinates of each corner point include the elevation and position of that corner on the ground. For example, if the three corners of the triangular slope surface C1 are target ridge point A1, target valley point B1, and target valley point B2, the three-dimensional coordinates of the corner point of target ridge point A1 include its position and elevation on the ground. The three-dimensional coordinates of the corner points are located in a projected coordinate system.

[0112] Similarly, taking target valley point B2 as an example, target valley point B2 is the target valley point corresponding to the highest elevation within the elevation range of 300-400. Figure 7 As shown, the two target ridge points adjacent to and on the same side of the target valley point B2 are A1 and A2, respectively. Based on the target ridge point A1, target ridge point A2 and target valley point B2 forming a triangular hillside C2, the three-dimensional coordinates of the three triangular corner points of the triangular hillside are determined.

[0113] Through the above process, multiple triangular hillsides were obtained. Each triangular hillside corresponds to the three-dimensional coordinates of three triangle corner points. Therefore, the three-dimensional coordinates of multiple triangle corner points were obtained.

[0114] S105: Establish a local coordinate system with the location of the finite element model of the target building as the origin, and convert the three-dimensional coordinates of each triangle corner point into the three-dimensional coordinates of the target triangle corner point under the local coordinate system.

[0115] In this embodiment, the finite element model of the target building is a three-dimensional digital model of the target building. The finite element model is composed of multiple elements, that is, the finite element model divides the target building into multiple elements. Figure 8 This illustration shows a side view of the finite element model provided in an embodiment of this application. Assuming the target building is a square building, one side of the finite element model is shown below. Figure 8 As shown, each box represents a unit.

[0116] In this embodiment, the origin of the local coordinate system is the location of the finite element model of the target building. The x-axis and y-axis of the local coordinate system are parallel to the ground, and the z-axis is perpendicular to the ground. In this embodiment, the origin of the projected coordinate system is different from the origin of the local coordinate system. Therefore, it is necessary to convert the three-dimensional coordinates of each triangle corner point located in the projected coordinate system into the three-dimensional coordinates of the target triangle corner point in the local coordinate system.

[0117] In one possible implementation, when performing step S101, specifically: based on the latitude and longitude information of the target building located within the target mountainous environment and the environmental digital elevation model containing the target mountainous environment, determine the minimum elevation of the target building, the maximum elevation of the target mountainous environment, and the second projected three-dimensional coordinates of the target building.

[0118] In this embodiment, the second projected three-dimensional coordinates are the position coordinates of the target building in the projected coordinate system.

[0119] When performing step S105, specifically: a local coordinate system is established with the location of the finite element model of the target building as the origin, and the three-dimensional coordinates of each triangle corner point are converted into the three-dimensional coordinates of the target triangle corner point in the local coordinate system based on the second projected three-dimensional coordinates and the three-dimensional coordinates of the triangle corner points in the same projected coordinate system.

[0120] In this embodiment, the second projected three-dimensional coordinates and the three-dimensional coordinates of the triangle corner points, which are located in the same projection coordinate system, are converted into the three-dimensional coordinates of the target triangle corner points in a local coordinate system established with the location of the finite element model of the target building as the origin.

[0121] S106: For each node in the finite element model, determine whether the node is occluded by the triangular hillside based on the node's three-dimensional coordinates in the local coordinate system, the direction vector of the sunlight, and the three-dimensional coordinates of the corner points of the target triangle corresponding to each triangular hillside.

[0122] like Figure 8 As shown, each node in the finite element model can be the intersection point of each element in the finite element model.

[0123] In one possible implementation, during step S106, the determination of whether each node is obscured by the triangular hillside can be made using the ray intersection method. Figure 9 A schematic diagram of the ray intersection method provided in the embodiments of this application is shown, as follows: Figure 9 As shown, for each node in the finite element model, a ray with the node as the starting point and the direction opposite to the direction of the sunlight is determined based on the direction vector of the sunlight.

[0124] Determine whether the ray corresponding to the node intersects with the triangular hillside. If the ray corresponding to the node intersects with at least one triangular hillside, then the node is occluded by the triangular hillside. If the ray corresponding to the node does not intersect with any triangular hillside, then the node is not occluded by the triangular hillside.

[0125] In this embodiment, after identifying the nodes that are shaded by the triangular hillside, the shaded area formed by the target mountain environment in the target building can be determined based on these nodes.

[0126] Example 2:

[0127] Based on the same technical concept, this application also provides a device for determining the sun-shaded area in a mountainous environment. Figure 10 This invention provides a schematic diagram of a device for determining the sun-shaded area in a mountainous environment, as illustrated in an embodiment of this application. Figure 10 As shown, the device includes:

[0128] The first determining module 1001 is used to determine the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located in the target mountainous environment and the environmental digital elevation model containing the target mountainous environment.

[0129] The second determining module 1002 is used to determine an environmental shading area from the target mountainous environment based on the latitude of the sun's direct point and the latitude of the target building; the mountains in the environmental shading area are used to block sunlight rays from hitting the target building;

[0130] The filtering module 1003 is used to filter out target ridge points and target valley points whose elevations are between the minimum elevation and the maximum elevation from each ridge point and valley point within the environmentally shielded area.

[0131] The third determining module 1004 is used to determine the three-dimensional coordinates of the corner points of the triangle based on the target ridge point corresponding to the lowest elevation in the same elevation interval and the triangular slope surface formed by two target valley points adjacent to the target ridge point and located on the same side; and to determine the three-dimensional coordinates of the corner points of the triangle based on the target valley point corresponding to the highest elevation in the same elevation interval and the triangular slope surface formed by two target ridge points adjacent to the target valley point and located on the same side.

[0132] The conversion module 1005 is used to establish a local coordinate system with the location of the finite element model of the target building as the origin, and to convert the three-dimensional coordinates of each of the triangle corner points into the three-dimensional coordinates of the target triangle corner points under the local coordinate system.

[0133] The judgment module 1006 is used to determine whether a node in the finite element model is occluded by a triangular hillside, based on the node's three-dimensional coordinates in the local coordinate system, the direction vector of sunlight, and the three-dimensional coordinates of the corner point of the target triangle corresponding to each triangular hillside.

[0134] Optional, also includes:

[0135] The acquisition module is used to acquire the original environmental digital elevation model from the geospatial data cloud platform;

[0136] The segmentation module is used to segment an environmental digital elevation model containing the target mountain environment from the original environmental digital elevation model based on the target mountain environment where the target building is located.

[0137] Optionally, when the first determining module 1001 determines the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model including the target mountainous environment, it is specifically used for:

[0138] The latitude and longitude information of the target building located in the target mountainous environment, as well as the environmental digital elevation model containing the target mountainous environment, are imported into ArcGIS. The minimum elevation of the target building and the maximum elevation of the target mountainous environment are then generated through ArcGIS.

[0139] Optionally, when the first determining module 1001 determines the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model including the target mountainous environment, it is specifically used for:

[0140] Based on the latitude and longitude information of the target building located within the target mountainous environment, and the environmental digital elevation model containing the target mountainous environment, the minimum elevation of the target building, the maximum elevation of the target mountainous environment, and the contour lines on each mountain within the target mountainous environment are determined.

[0141] Based on each contour line, determine the first projected three-dimensional coordinates and elevation of each contour point on each contour line;

[0142] The second determining module 1002, when determining the environmental shading area from the target mountainous environment based on the latitude of the subsolar point and the latitude of the target building, is specifically used for:

[0143] The first projected three-dimensional coordinates and elevations of each contour point on each contour line in the target mountainous environment are imported into AutoCAD software, and a contour line plan view corresponding to the target mountainous environment is drawn using AutoCAD software.

[0144] The environmental shading area is determined from the contour map based on the latitude of the subsolar point and the latitude of the target building.

[0145] Optionally, the ridge point is the intersection of the ridgeline and contour line on the same mountain; the valley point is the intersection of the valley line and contour line on the same mountain; the filtering module 1003, when filtering target ridge points and target valley points whose elevations are between the minimum and maximum elevations from the various ridge points and valley points within the environmentally sheltered area, is specifically used for:

[0146] From the environmental shielding area, a target environmental shielding area is determined that is within a preset range from the target building and surrounds the target building;

[0147] From the various ridge points and valley points within the target environment's shielded area, select target ridge points and target valley points whose elevations are between the minimum elevation and the maximum elevation.

[0148] Optionally, when the first determining module 1001 determines the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model including the target mountainous environment, it is specifically used for:

[0149] The minimum elevation of the target building, the maximum elevation of the target mountain environment, and the second projected three-dimensional coordinates of the target building are determined based on the latitude and longitude information of the target building located in the target mountain environment and the environmental digital elevation model containing the target mountain environment.

[0150] The conversion module 1005, when establishing a local coordinate system with the location of the finite element model of the target building as the origin, and converting the three-dimensional coordinates of each triangle corner point into the three-dimensional coordinates of the target triangle corner point in the local coordinate system, is specifically used for:

[0151] A local coordinate system is established with the location of the finite element model of the target building as the origin. Based on the second projected three-dimensional coordinates and the three-dimensional coordinates of the triangle corner points located in the same projected coordinate system, the three-dimensional coordinates of each triangle corner point are converted into the three-dimensional coordinates of the target triangle corner points in the local coordinate system.

[0152] Optionally, when the judgment module 1006 is used to determine whether a node in the finite element model is occluded by a triangular hillside based on the node's three-dimensional coordinates in the local coordinate system, the direction vector of sunlight, and the three-dimensional coordinates of the corner points of the target triangle corresponding to each triangular hillside, it is specifically used for:

[0153] For each node in the finite element model, a ray with the node as the starting point and the direction opposite to the direction of the sunlight is determined based on the direction vector of the sunlight.

[0154] Determine whether the ray corresponding to the node intersects with the triangular hillside surface;

[0155] If the ray corresponding to the node intersects with at least one of the triangular hillsides, then the node is obscured by the triangular hillside.

[0156] If the ray corresponding to the node does not intersect with any of the triangular hillsides, then the node is not obscured by the triangular hillsides.

[0157] Example 3:

[0158] Figure 11 A schematic diagram of an electronic device provided in this application embodiment includes: a processor 1101, a memory 1102, and a bus 1103. The memory 1102 stores machine-readable instructions executable by the processor 1101. When the electronic device runs the above-described information processing method, the processor 1101 communicates with the memory 1102 via the bus 1103. The processor 1101 executes the machine-readable instructions to perform the steps of the method described in Embodiment 1.

[0159] Example 4:

[0160] Embodiment 4 of this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps described in Embodiment 1.

[0161] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, electronic devices, and computer-readable storage media described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0162] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0163] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0164] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0165] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0166] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the technical scope disclosed in this application. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.

Claims

1. A method for determining the sun-shaded area in a mountainous environment, characterized in that, include: Based on the latitude and longitude information of the target building located within the target mountainous environment, and the environmental digital elevation model containing the target mountainous environment, determine the minimum elevation of the target building and the maximum elevation of the target mountainous environment; Based on the latitude of the subsolar point and the latitude of the target building, an environmental shading area is determined from the target mountainous environment; the mountains in the environmental shading area are used to block sunlight rays from hitting the target building; From the various ridge points and valley points within the environmentally sheltered area, target ridge points and target valley points whose elevations are between the minimum elevation and the maximum elevation are selected; The three-dimensional coordinates of the corner points of the triangle are determined based on the target ridge point corresponding to the lowest elevation within the same elevation interval and the triangular slope surface formed by two target valley points adjacent to the target ridge point and located on the same side; and the three-dimensional coordinates of the corner points of the triangle are determined based on the target valley point corresponding to the highest elevation within the same elevation interval and the triangular slope surface formed by two target ridge points adjacent to the target valley point and located on the same side. A local coordinate system is established with the location of the finite element model of the target building as the origin, and the three-dimensional coordinates of each triangle corner point are converted into the three-dimensional coordinates of the target triangle corner point under the local coordinate system. For each node in the finite element model, based on the node's three-dimensional coordinates in the local coordinate system, the direction vector of the sunlight, and the three-dimensional coordinates of the corner point of the target triangle corresponding to each triangular hillside, it is determined whether the node is occluded by the triangular hillside.

2. The method according to claim 1, characterized in that, The method further includes: Obtain the original environmental digital elevation model from the geospatial data cloud platform; Based on the target mountainous environment where the target building is located, an environmental digital elevation model containing the target mountainous environment is segmented from the original environmental digital elevation model.

3. The method according to claim 1, characterized in that, The step of determining the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model containing the target mountainous environment includes: The latitude and longitude information of the target building located in the target mountainous environment, as well as the environmental digital elevation model containing the target mountainous environment, are imported into ArcGIS. The minimum elevation of the target building and the maximum elevation of the target mountainous environment are then generated through ArcGIS.

4. The method according to claim 1, characterized in that, The step of determining the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model containing the target mountainous environment includes: Based on the latitude and longitude information of the target building located within the target mountainous environment, and the environmental digital elevation model containing the target mountainous environment, the minimum elevation of the target building, the maximum elevation of the target mountainous environment, and the contour lines on each mountain within the target mountainous environment are determined. Based on each contour line, determine the first projected three-dimensional coordinates of each contour point on each contour line; The process of determining the environmental shading area from the target mountainous environment based on the latitude of the subsolar point and the latitude of the target building includes: The first projected three-dimensional coordinates of each contour point on each contour line in the target mountainous environment are imported into AutoCAD software, and the contour line plan map corresponding to the target mountainous environment is drawn using AutoCAD software. The environmental shading area is determined from the contour map based on the latitude of the subsolar point and the latitude of the target building.

5. The method according to claim 1 or 4, characterized in that, The ridge point is the intersection of the ridgeline and the contour line on the same mountain; the valley point is the intersection of the valley line and the contour line on the same mountain. From the various ridge points and valley points within the environmentally sheltered area, target ridge points and target valley points whose elevations are between the minimum and maximum elevations are selected, including: From the environmental shielding area, a target environmental shielding area is determined that is within a preset range from the target building and surrounds the target building; From the various ridge points and valley points within the target environment's shielded area, select target ridge points and target valley points whose elevations are between the minimum elevation and the maximum elevation.

6. The method according to claim 1, characterized in that, The step of determining the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located within the target mountainous environment and an environmental digital elevation model containing the target mountainous environment includes: The minimum elevation of the target building, the maximum elevation of the target mountain environment, and the second projected three-dimensional coordinates of the target building are determined based on the latitude and longitude information of the target building located in the target mountain environment and the environmental digital elevation model containing the target mountain environment. The step of establishing a local coordinate system with the location of the finite element model of the target building as the origin, and converting the three-dimensional coordinates of each of the triangle corner points into the three-dimensional coordinates of the target triangle corner points in the local coordinate system, includes: A local coordinate system is established with the location of the finite element model of the target building as the origin. Based on the second projected three-dimensional coordinates and the three-dimensional coordinates of the triangle corner points located in the same projected coordinate system, the three-dimensional coordinates of each triangle corner point are converted into the three-dimensional coordinates of the target triangle corner points in the local coordinate system.

7. The method according to claim 1, characterized in that, For each node in the finite element model, based on the node's three-dimensional coordinates in the local coordinate system, the direction vector of the sunlight, and the three-dimensional coordinates of the corner points of the target triangle corresponding to each triangular hillside, the determination of whether the node is occluded by the triangular hillside includes: For each node in the finite element model, a ray with the node as the starting point and the direction opposite to the direction of the sunlight is determined based on the direction vector of the sunlight. Determine whether the ray corresponding to the node intersects with the triangular hillside surface; If the ray corresponding to the node intersects with at least one of the triangular hillsides, then the node is obscured by the triangular hillside. If the ray corresponding to the node does not intersect with any of the triangular hillsides, then the node is not obscured by the triangular hillsides.

8. A device for determining the area of ​​solar shading in a mountainous environment, characterized in that, include: The first determining module is used to determine the minimum elevation of the target building and the maximum elevation of the target mountainous environment based on the latitude and longitude information of the target building located in the target mountainous environment and the environmental digital elevation model containing the target mountainous environment. The second determining module is used to determine an environmental shading area from the target mountainous environment based on the latitude of the sun's direct point and the latitude of the target building; the mountains in the environmental shading area are used to block sunlight rays from hitting the target building; The filtering module is used to filter out target ridge points and target valley points whose elevations are between the minimum elevation and the maximum elevation from various ridge points and valley points within the environmentally shielded area. The third determining module is used to determine the three-dimensional coordinates of the corner points of the triangle based on the target ridge point corresponding to the lowest elevation in the same elevation interval and the triangular slope surface formed by two target valley points adjacent to the target ridge point and located on the same side; and to determine the three-dimensional coordinates of the corner points of the triangle based on the target valley point corresponding to the highest elevation in the same elevation interval and the triangular slope surface formed by two target ridge points adjacent to the target valley point and located on the same side. The conversion module is used to establish a local coordinate system with the location of the finite element model of the target building as the origin, and to convert the three-dimensional coordinates of each of the triangle corner points into the three-dimensional coordinates of the target triangle corner points under the local coordinate system. The judgment module is used to determine whether a node in the finite element model is occluded by a triangular hillside, based on the node's three-dimensional coordinates in the local coordinate system, the direction vector of sunlight, and the three-dimensional coordinates of the corner point of the target triangle corresponding to each triangular hillside.

9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is in operation, the processor communicates with the memory via the bus, and the machine-readable instructions, when executed by the processor, perform the steps of the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the method as described in any one of claims 1 to 7.