Switching station construction area determination method and device, computer equipment and medium
By determining the outgoing line point, length threshold, and height threshold of the plant in a three-dimensional region, prohibition areas are eliminated, and candidate areas with the lowest cost are calculated using contour lines and preset step sizes. This solves the problem of relying on manual experience for switchyard site selection and realizes the scientific and economical construction of switchyards.
Patent Information
- Application Number
- CN202511336769.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-18
- Publication Date
- 2026-01-27
AI Technical Summary
In the existing technology, the selection of switch station sites mainly relies on human experience, which makes it difficult to accurately describe the degree of difference between the selected locations. As a result, the selected location may not be the optimal one for the project, and human experience varies and cannot cover all feasible locations on site.
By acquiring the factory outlet points, length thresholds, height thresholds, and prohibited layout areas in the three-dimensional region, the initial region is determined and prohibited areas are eliminated. The target points are determined using contour lines and preset step sizes, and the candidate region with the lowest calculation cost is used to determine the construction area of the switch station.
It enables the rapid and accurate identification of target areas suitable for building switchyards with the lowest construction costs from multiple candidate areas, reducing the variability of human experience and improving the scientific and economic efficiency of site selection.
Smart Images

Figure CN121413059A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of pumped storage power station engineering design technology, and in particular to a method, apparatus, computer equipment and medium for determining the construction area of a switchyard. Background Technology
[0002] A pumped-storage power station is a special type of power station, consisting of an upper reservoir, a lower reservoir, a water conveyance system, a powerhouse, and a switchyard. The switchyard is a facility housing transmission and distribution line terminals and switching equipment, where electrical energy is centralized, distributed, and exchanged. The building complex includes a GIS building, relay protection building, guardhouse, diesel generator room, outgoing line yard, and perimeter wall. The power station generates electricity in the powerhouse, which is then transmitted to the switchyard via outgoing lines, where it connects to the power system. The switchyard is typically located above ground, while the powerhouse is usually underground. High-voltage cables typically emerge from the downstream side wall of the main transformer tunnel in the underground powerhouse and enter the switchyard through underground passages such as high-voltage cable shafts and horizontal tunnels.
[0003] The key step in designing a pumped storage power station switchyard is site selection. Switchyard site selection requires comprehensive consideration of various factors, including topographical conditions, site conditions, the orientation of the underground powerhouse outgoing lines, the outgoing line configuration, the orientation of the switchyard incoming lines, and the layout of roads within the power plant. Currently, switchyard site selection mainly relies on manual experience-based comparison. After comprehensively considering various influencing factors, several locations are initially selected for technical and economic comparison, ultimately choosing a relatively superior location as the switchyard site. However, manual experience-based comparison typically uses a qualitative approach to determine the merits of influencing factors, making it difficult to accurately describe the degree of difference between the selected locations. The number of locations for comparison is also limited by the low computational power of manual labor, usually failing to cover all feasible locations within the site. Furthermore, subjective experience varies, and the selected location may not necessarily be the optimal location for the project. Summary of the Invention
[0004] Therefore, it is necessary to provide a method, apparatus, computer equipment, and medium for determining the construction area of a switchyard to address the aforementioned technical problems.
[0005] A method for determining the construction area of a switchyard includes the following steps:
[0006] S1. Obtain the factory outlet points, length threshold, height threshold, and prohibited layout areas in the three-dimensional region;
[0007] Preferably, the power plant outgoing line point is the connection point for the power grid system to transmit power from inside the underground power plant to the switching station. The switching station is the connection point between the power plant and the power grid system. The length threshold refers to the maximum permissible length of the line from the underground power plant to the switching station. The height threshold refers to the maximum permissible height of the cable shafts within the underground power plant.
[0008] Preferably, the prohibited area refers to the area in the three-dimensional region where the switch station is not allowed or cannot be located. Prohibited areas include, but are not limited to, high mountains and steep cliffs, basic farmland, non-removable buildings, areas with geological defects, surface water bodies, and areas within the check flood level range downstream of reservoirs.
[0009] S2. Based on the factory outlet point, the length threshold, and the height threshold, determine the initial area in the three-dimensional region for arranging the switch station, and remove the area in the initial region that overlaps with the prohibited arrangement area to obtain the allowed arrangement area;
[0010] S3. Starting from the point that is closest to the lowest contour line of the allowed layout area, determine multiple target contour lines based on a preset elevation step size.
[0011] Preferably, the preset elevation step size refers to the vertical height value between two adjacent contour lines;
[0012] S4. Based on a preset planar step size, determine multiple first target points in the lowest contour line and the target contour line;
[0013] Preferably, the preset planar step size is the horizontal distance between two adjacent first target points on the same contour line;
[0014] S5. Using each of the first target points as the positioning points of the candidate layout area, and using the preset length and preset width as the length and width of the candidate layout area, determine the target area with the lowest construction cost from the candidate layout areas that meet the preset layout conditions; the target area is used to build the switch station.
[0015] Preferably, the candidate arrangement area is a quadrilateral area with the positioning point as one of its vertices, a length of a preset length, and a width of a preset width.
[0016] In one embodiment, step S2 includes:
[0017] Using the factory outlet point as the center of the lower circle of the initial region, the height threshold as the height of the initial region, the length threshold as the radius of the lower circle of the initial region, and the difference between the height threshold and the length threshold as the radius of the upper circle of the initial region, the initial region for arranging the switch station in the three-dimensional region is determined.
[0018] Preferably, the initial region is shaped like a frustum. The upper circle refers to the circle at the top of the frustum, and the lower circle refers to the circle at the bottom of the frustum.
[0019] In one embodiment, step S5 includes:
[0020] Determine whether the boundary of the candidate layout area intersects with the boundary of the allowed layout area, and determine whether the road in the allowed layout area is located in the candidate layout area;
[0021] If the boundary of the candidate layout area intersects with the boundary of the allowed layout area, and / or a road in the allowed layout area is located in the candidate layout area, the candidate layout area is determined not to meet the preset layout conditions.
[0022] In one embodiment, step S5 includes:
[0023] A preset offset distance is set, and the boundary of the candidate arrangement area is offset by the preset offset distance towards the center point of the candidate arrangement area to obtain the area to be judged, and the first planar coordinates and the first elevation coordinates of the second target point in the area to be judged are obtained; the second target point is any point in the area to be judged.
[0024] A third target point is determined in the three-dimensional region whose planar coordinates are consistent with the first planar coordinates, and the second elevation coordinates of the third target point in the three-dimensional region are obtained;
[0025] If the second elevation coordinate is less than the first elevation coordinate, then the second target point is determined to be above the ground in the three-dimensional region;
[0026] If a second target point exists above the ground in the three-dimensional region within the region to be determined, the candidate arrangement region is determined not to meet the preset arrangement conditions.
[0027] In one embodiment, step S5 includes:
[0028] Determine the midpoint of the boundary line of the candidate arrangement area, and extend a preset distance from the midpoint along the normal direction of the boundary line to obtain the line to be judged;
[0029] Obtain the third plane coordinates and the third elevation coordinates of the fourth target point in the line to be judged; the fourth target point is any point in the line to be judged.
[0030] In the three-dimensional region, a fifth target point whose planar coordinates are consistent with the third planar coordinates are determined, and the fourth elevation coordinates of the fifth target point in the three-dimensional region are obtained;
[0031] If the fourth elevation coordinate is less than the third elevation coordinate, then the fourth target point is determined to be above the ground in the three-dimensional region;
[0032] If there is a point in the line to be determined that is above the ground in the three-dimensional region, it is determined that the candidate arrangement area does not meet the preset arrangement conditions.
[0033] In one embodiment, when there are multiple candidate arrangement areas that satisfy the preset arrangement conditions, step S5 includes:
[0034] The candidate layout area that meets the preset layout conditions is taken as the alternative area, and the vertical distance and horizontal distance between the center point of the alternative area and the outlet point of the factory building are calculated.
[0035] Calculate the slope excavation volume and slope excavation surface area of the candidate areas;
[0036] Determine the connection distance between the center point and the roads in the permitted layout area;
[0037] Based on the slope excavation volume, the slope excavation surface area, the connection distance, the vertical distance, and the horizontal distance, the construction cost of the switch station in each of the candidate areas is calculated, and the candidate area with the lowest construction cost is determined as the target area for arranging the switch station.
[0038] In one embodiment, the calculation process for the connection distance includes:
[0039] Determine the first target contour line that is closest to the center point of the candidate area, and use the point in the first target contour line that is closest to the center point as the search starting point;
[0040] With the search starting point as the center, draw a circle with a preset radius, and obtain the first intersection point between the circle and the contour line of the second target; the elevation difference between the contour line of the second target and the contour line of the first target is a preset elevation difference.
[0041] Using the first intersection point as the center and the preset radius, draw a circle until the circle intersects with a road in the allowed layout area at a second point;
[0042] By connecting the intersections that form the second intersection point, the connection distance between the candidate area and the road is obtained.
[0043] A device for determining the construction area of a switchyard, the device comprising:
[0044] The data acquisition module is used to execute step S1 to acquire the factory outlet points, length thresholds, height thresholds, and prohibited layout areas in the three-dimensional region;
[0045] The permissible layout area determination module is used to execute step S2, which determines the initial area for arranging the switch station in the three-dimensional region based on the plant outgoing line point, the length threshold, and the height threshold, and removes the areas in the initial region that overlap with the prohibited layout area to obtain the permissible layout area;
[0046] The contour line determination module is used to execute step S3, which takes the point with the shortest distance to the allowed layout area among the lowest contour lines of the allowed layout area as the starting point and determines multiple target contour lines based on a preset elevation step size.
[0047] The target point determination module is used to perform step S4, which determines multiple first target points based on a preset plane step size in the lowest contour line and the target contour line;
[0048] The target area determination module is used to execute step S5, using each of the first target points as the positioning points of the candidate layout area, using a preset length and a preset width as the length and width of the candidate layout area, and determining the target area with the lowest construction cost from the candidate layout areas that meet the preset layout conditions; the target area is used to construct the switch station.
[0049] A computer device includes a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps of the method described above.
[0050] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method.
[0051] The aforementioned method, apparatus, computer equipment, and medium for determining the construction area of a switchyard, through S1, acquires the plant outgoing line point, length threshold, height threshold, and prohibited placement area in a three-dimensional region. Based on the plant outgoing line point, the length threshold, and the height threshold, an initial area for arranging the switchyard in the three-dimensional region is determined, and areas in the initial region that overlap with the prohibited placement area are eliminated. This determines the permissible placement area for arranging the switchyard in the three-dimensional region. By taking the point with the shortest distance to the permissible placement area from the lowest contour line of the permissible placement area as the starting point, multiple target contour lines are determined based on a preset elevation step size. Among the lowest contour lines and the target contour lines, multiple first target points are determined based on a preset plane step size. Each first target point is used as the positioning point of a candidate placement area, and the length and width of the candidate placement area are preset length and preset width. From the candidate placement areas that meet the preset placement conditions, the target area with the lowest construction cost is determined. The target area is used to construct the switchyard. This allows for the rapid determination of candidate placement areas, thereby quickly identifying a suitable target area for constructing a switchyard with the lowest construction cost from multiple candidate placement areas. Attached Figure Description
[0052] Figure 1 This is a flowchart illustrating a method for determining the construction area of a switchyard in one embodiment;
[0053] Figure 2This is a schematic diagram of the candidate arrangement area in one embodiment;
[0054] Figure 3 This is a schematic diagram of the initial region in one embodiment;
[0055] Figure 4 This is a schematic diagram illustrating how the boundary of a candidate arrangement area is offset towards the center point of the candidate arrangement area by a preset offset distance in one embodiment.
[0056] Figure 5 This is a schematic diagram of the line to be determined in one embodiment;
[0057] Figure 6 This is a schematic diagram of the intersection line between a frustum and a three-dimensional region in one embodiment;
[0058] Figure 7 This is a schematic diagram of the overall process of determining the construction area of a switchyard in one embodiment;
[0059] Figure 8 This is a structural block diagram of a device for determining the construction area of a switch station in one embodiment. Detailed Implementation
[0060] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0061] In one embodiment, such as Figure 1 As shown, a method for determining the construction area of a switchyard is provided, including the following steps:
[0062] S1. Obtain the factory outlet points, length threshold, height threshold, and prohibited layout areas in the three-dimensional region;
[0063] The three-dimensional area refers to the area where the switchyard is to be constructed. The power plant is a facility related to power generation, located underground. The power plant outgoing line point is the connection point for the power grid system to transmit power from the underground power plant to the switchyard. The switchyard is the connection point between the power plant and the power grid system. The length threshold refers to the maximum permissible length of the line from the underground power plant to the switchyard. The height threshold refers to the maximum permissible height of the cable shafts within the underground power plant.
[0064] Prohibited areas refer to areas in a three-dimensional area where the installation of switch stations is not permitted or is not allowed. Prohibited areas include, but are not limited to, high mountains and steep cliffs, basic farmland, non-removable buildings, areas with geological defects, surface water areas, and areas within the check flood level range downstream of reservoirs.
[0065] S2. Based on the outgoing line point, length threshold, and height threshold of the plant, determine the initial area in the three-dimensional region for arranging the switch station, and remove the areas in the initial region that overlap with the prohibited arrangement area to obtain the allowed arrangement area;
[0066] The initial region's shape includes, but is not limited to, a frustum or a cylinder. Further, with the plant's outgoing line point as the center of the frustum's base circle, the height of the frustum is any value less than or equal to a height threshold, the radius of the frustum's base circle is any value less than or equal to a length threshold, and the difference between the height and length thresholds is the radius of the upper circle on the frustum, thus determining the initial region in the three-dimensional region for arranging the switchyard. Further, with the plant's outgoing line point as the center of the cylinder's base circle, the height of the cylinder is any value less than or equal to a height threshold, and the radii of the upper and lower circles of the cylinder are any values less than or equal to a length threshold, thus determining the initial region in the three-dimensional region for arranging the switchyard.
[0067] The permitted deployment area can be obtained using geographic information system (GIS) software. Specifically, the initial area and the prohibited deployment area are loaded into the GIS software. The GIS software then erases the areas in the initial area that overlap with the prohibited deployment area to obtain the permitted deployment area.
[0068] S3. Starting from the point that is closest to the lowest contour line of the allowed layout area, determine multiple target contour lines based on the preset elevation step size.
[0069] The three-dimensional region contains contour lines. Since the initial region is the area in the three-dimensional region used to arrange the switchyard, and the permissible arrangement area is a part of the initial region, it can be determined that the permissible arrangement area also contains contour lines. The lowest contour line is the contour line with the lowest elevation in the permissible arrangement area.
[0070] When determining the starting point, the starting point is determined based on the distance between each point on the lowest contour line and the permitted layout area. Specifically, taking any point on the lowest contour line as a candidate point, the Euclidean distance between the candidate point and the boundary of the permitted layout area is calculated, and the candidate point with the shortest Euclidean distance is determined as the starting point.
[0071] The preset elevation step size refers to the vertical height value between two adjacent contour lines. For example, if the preset elevation step size is 1m and the lowest contour line in the allowed layout area is 2m, then the contour line at 3m in the allowed layout area is the target contour line, the contour line at 4m is also the target contour line, and so on, until the highest elevation in the allowed layout area is covered.
[0072] S4. Based on a preset planar step size, determine multiple first target points in the lowest contour line and the target contour line;
[0073] The preset plane step size is the horizontal distance between two adjacent first target points on the same contour line.
[0074] When determining the first target point within the lowest contour line, start from the starting point within the lowest contour line and determine a first target point at preset planar step intervals until all lowest contour lines have been traversed. When determining the first target point within the target contour lines, start from the point with the shortest distance from the starting point and determine a first target point at preset planar step intervals until all target contour lines have been traversed. Each first target point lies on its corresponding contour line.
[0075] S5. Using each first target point as the positioning point of the candidate layout area, and using the preset length and preset width as the length and width of the candidate layout area, determine the target area with the lowest construction cost from the candidate layout areas that meet the preset layout conditions; the target area is used to build the switch station.
[0076] The candidate arrangement area is a quadrilateral region with a preset length and width, where the positioning point is one of its vertices. Furthermore, the positioning point is located at the same vertex in each candidate arrangement area. For example, the positioning point is located at the lower left corner vertex of each candidate arrangement area. A schematic diagram of each candidate arrangement area in the 3D region is shown below. Figure 2 As shown. The calculation object is the candidate layout area, the plane step size is the preset plane step size, the elevation step size is the preset elevation step size, the low-level contour line is the lowest contour line, and the high-level contour line is the target contour line whose elevation difference with the low-level contour line is the preset elevation step size.
[0077] Furthermore, both vertices of the longer side of the candidate layout area lie on the same contour line. This avoids inconsistent elevations at different locations within the switchyard during construction, thus reducing the cost of building the switchyard.
[0078] The aforementioned method for determining the construction area of the switchyard involves obtaining, through S1, the power plant outgoing line points, length thresholds, height thresholds, and prohibited placement areas in the three-dimensional region. Based on these thresholds, an initial area for the switchyard is determined within the three-dimensional region. Areas in the initial area that overlap with prohibited placement areas are removed, thus determining the permissible placement area for the switchyard within the three-dimensional region. Starting from the point on the lowest contour line of the permissible placement area that is closest to it, multiple target contour lines are determined based on a preset elevation step size. Multiple first target points are then determined within the lowest and target contour lines, based on a preset planar step size. Each first target point serves as a location point for a candidate placement area, with preset lengths and widths defined as the length and width of the candidate placement areas. From the candidate placement areas that meet the preset placement conditions, the target area with the lowest construction cost is determined. This target area is used for the construction of the switchyard, enabling rapid determination of candidate placement areas and allowing for the quick identification of a suitable target area with the lowest construction cost from multiple candidate placement areas.
[0079] In one embodiment, step S2 includes:
[0080] The initial area for arranging the switch station in the three-dimensional region is determined by taking the outlet point of the factory building as the center of the lower circle of the initial region, the height threshold as the height of the initial region, the length threshold as the radius of the lower circle of the initial region, and the difference between the height threshold and the length threshold as the radius of the upper circle of the initial region.
[0081] The initial region is shaped like a frustum. The upper circle refers to the circle at the top of the frustum, and the lower circle refers to the circle at the bottom of the frustum. A schematic diagram of the initial region is shown below. Figure 3 As shown.
[0082] In this embodiment, the outgoing line point of the plant is a key related location in the layout of the switch station. Using the outgoing line point of the plant as the center can ensure the spatial correlation between the switch station and the outgoing line system of the plant, and reduce unreasonable design in the process of laying lines. Furthermore, by using a height threshold as the height of the initial area, a length threshold as the radius of the lower circle of the initial area, and the difference between the height threshold and the length threshold as the radius of the upper circle of the initial area, the initial area presents a specific three-dimensional shape, which can adapt to the spatial constraints or functional requirements of the switch station in the height direction, thus better meeting the requirements of spatial form in actual engineering.
[0083] In one embodiment, step S5 includes:
[0084] Determine whether the boundary of the candidate layout area intersects with the boundary of the allowed layout area, and determine whether the road in the allowed layout area is located in the candidate layout area;
[0085] If the boundary of the candidate layout area intersects with the boundary of the allowed layout area, and / or a road in the allowed layout area is located in the candidate layout area, the candidate layout area is determined not to meet the preset layout conditions.
[0086] The number of candidate layout areas may be one or more. Furthermore, when there are multiple candidate layout areas, it is possible to simultaneously determine whether each candidate layout area meets the preset layout conditions, or to determine whether each candidate layout area meets the preset layout conditions sequentially. That is, it is possible to simultaneously or sequentially determine whether the boundary of each candidate layout area intersects with the boundary of the allowed layout area, and to determine whether the road in each allowed layout area is located in the candidate layout area.
[0087] The method for determining whether there is an intersection between the boundary of the candidate layout area and the boundary of the allowed layout area is to obtain the first three-dimensional coordinates of each point in the boundary of the candidate layout area and the second three-dimensional coordinates of each point in the boundary of the allowed layout area. If there are consistent first three-dimensional coordinates and second three-dimensional coordinates, then it is determined that there is an intersection between the boundary of the candidate layout area and the boundary of the allowed layout area.
[0088] The method to determine whether a road in the allowed layout area is located in the candidate layout area is to obtain the third three-dimensional coordinates of each point in the road in the allowed layout area. If any third three-dimensional coordinate is located in the candidate layout area, then the road in the allowed layout area is determined to be located in the candidate layout area.
[0089] When the boundary of the candidate layout area intersects with the boundary of the permitted layout area, and / or a road in the permitted layout area is located within the candidate layout area, the candidate layout area is determined not to meet the preset layout conditions in three cases: Case 1: When the boundary of the candidate layout area intersects with the boundary of the permitted layout area, the candidate layout area is determined not to meet the preset layout conditions. Case 2: When a road in the permitted layout area is located within the candidate layout area, the candidate layout area is determined not to meet the preset layout conditions. Case 3: When the boundary of the candidate layout area intersects with the boundary of the permitted layout area, and a road in the permitted layout area is located within the candidate layout area, the candidate layout area is determined not to meet the preset layout conditions.
[0090] In this embodiment, by determining whether there is an intersection between the boundary of the candidate layout area and the boundary of the permitted layout area, it is determined whether the road in the permitted layout area is located in the candidate layout area. When there is an intersection between the boundary of the candidate layout area and the boundary of the permitted layout area, and / or the road in the permitted layout area is located in the candidate layout area, it is determined that the candidate layout area does not meet the preset layout conditions. This can avoid the construction of switch stations on roads and at the boundaries of the permitted layout areas, thus reducing construction risks.
[0091] In one embodiment, step S5 includes:
[0092] A preset offset distance is set, and the boundary of the candidate arrangement area is offset towards the center point of the candidate arrangement area by the preset offset distance to obtain the area to be judged. The first plane coordinates and the first elevation coordinates of the second target point in the area to be judged are obtained; the second target point is any point in the area to be judged.
[0093] In the three-dimensional region, determine a third target point whose planar coordinates are consistent with the first planar coordinates, and obtain the second elevation coordinates of the third target point in the three-dimensional region;
[0094] If the second elevation coordinate is less than the first elevation coordinate, then the second target point is determined to be above the ground in the three-dimensional region;
[0095] If there is a second target point located above the ground in the three-dimensional region in the region to be determined, the candidate layout region is determined not to meet the preset layout conditions.
[0096] The region to be determined is located inside the candidate layout region. A schematic diagram showing the offset of the boundary of the candidate layout region towards its center point by a preset offset distance is shown below. Figure 4 As shown in the figure. The quadrilateral enclosed by the dashed line is the area to be determined, the quadrilateral enclosed by the solid line is the candidate arrangement area, and 5 is the preset offset distance.
[0097] The first planar coordinates of the second target point in the area to be determined can be obtained from the topographic map of the three-dimensional area. The first elevation coordinates are the elevation of the contour line corresponding to the candidate layout area, that is, the elevation of the contour line where the positioning point of the candidate layout area is located.
[0098] The planar coordinates and elevation coordinates of each point in the three-dimensional region can be obtained from the topographic map of the three-dimensional region. The planar coordinates of the third target point are consistent with the first planar coordinates of one of the second target points.
[0099] Since the switchyard contains buildings such as a GIS (Gas-Insulated Switchgear) building and a relay protection building, most of the switchyard area should be located in the excavation area. By determining whether there is a second target point above the ground in the three-dimensional area in the area to be judged, it can be determined whether the candidate layout area is located in the excavation area.
[0100] In one embodiment, if the second elevation coordinate is greater than the first elevation coordinate, then the second target point is determined to be below the ground in the three-dimensional region.
[0101] In one embodiment, if the second elevation coordinate is equal to the first elevation coordinate, then the second target point is determined to be above the ground in the three-dimensional region.
[0102] In one embodiment, when every point in the area to be determined is located below the ground of the three-dimensional area, the candidate layout area is determined to meet the preset layout conditions.
[0103] In this embodiment, by setting a preset offset distance and offsetting the boundary of the candidate arrangement area towards the center point of the candidate arrangement area by the preset offset distance, a region to be judged is obtained. The first plane coordinates and the first elevation coordinates of the second target point in the region to be judged are obtained. A third target point with the same plane coordinates as the first plane coordinates is determined in the three-dimensional region, and the second elevation coordinates of the third target point in the three-dimensional region are obtained. If the second elevation coordinates are less than the first elevation coordinates, it is determined that the second target point is located above the ground in the three-dimensional region. When there is a second target point above the ground in the three-dimensional region in the region to be judged, it is determined that the candidate arrangement area does not meet the preset arrangement conditions. In this way, when a switch station is built in a candidate arrangement area that meets the preset arrangement conditions, it is ensured that most of the area of the constructed switch station is located in the excavation area, thereby effectively improving the foundation bearing capacity and overall stability, and ensuring the long-term safe and reliable operation of power facilities.
[0104] In one embodiment, step S5 includes:
[0105] Determine the midpoint of the boundary line of the candidate layout area, and extend a preset distance from the midpoint along the normal direction of the boundary line to obtain the line to be judged;
[0106] Obtain the third plane coordinates and the third elevation coordinates of the fourth target point in the line to be judged; the fourth target point is any point in the line to be judged.
[0107] Determine the fifth target point in the three-dimensional region whose planar coordinates are consistent with the third planar coordinates, and obtain the fourth elevation coordinates of the fifth target point in the three-dimensional region;
[0108] If the fourth elevation coordinate is less than the third elevation coordinate, then the fourth target point is determined to be above the ground in the three-dimensional region;
[0109] If a point in the line to be determined is located above the ground in the three-dimensional region, the candidate layout area is determined not to meet the preset layout conditions.
[0110] The normal direction is perpendicular to the boundary line. A predetermined distance is extended from the midpoint along the normal direction of the boundary line to obtain a schematic diagram of the line to be determined, as shown below. Figure 5 As shown, the calculation object is the candidate layout area, and 60 is a preset distance extended from the midpoint along the normal direction of the boundary line.
[0111] Furthermore, the boundary lines include a first boundary line containing the long side of the candidate arrangement area and a second boundary line containing the short side, and the midpoints include a first midpoint of the first boundary line and a second midpoint of the second boundary line. Extending a predetermined distance from the midpoint along the normal direction of the boundary lines yields lines to be judged, including: extending a predetermined distance from the first midpoint along the normal direction of the first boundary line to obtain a first line to be judged, and extending a predetermined distance from the second midpoint along the normal direction of the second boundary line to obtain a second line to be judged.
[0112] The line to be determined is located outside the candidate layout area. The third plane coordinate of the fourth target point in the line to be determined can be obtained from the topographic map of the three-dimensional area. The third elevation coordinate of the fourth target point is the elevation of the contour line corresponding to the candidate layout area, that is, the elevation of the contour line where the positioning point of the candidate layout area is located.
[0113] The planar coordinates and elevation coordinates of each point in the three-dimensional region can be obtained from the topographic map of the three-dimensional region. The planar coordinates of the fifth target point are consistent with the third planar coordinates of one of the fourth target points.
[0114] Switching stations typically use horizontal tunnels for cable entry, so site selection must consider whether the terrain facilitates cable entry through such tunnels. By determining whether there is a point on the line to be judged that is above the ground in the three-dimensional area, it can be determined whether it is possible to construct a switching station in the candidate layout area using a horizontal tunnel. That is, if there is a point on the line to be judged that is above the ground in the three-dimensional area, it is determined that it is not possible to construct a switching station in the candidate layout area using a horizontal tunnel. If every point on the line to be judged is below the ground in the three-dimensional area, it is determined that it is possible to construct a switching station in the candidate layout area using a horizontal tunnel.
[0115] In one embodiment, if the fourth elevation coordinate is greater than the third elevation coordinate, then the fourth target point is determined to be below the ground in the three-dimensional region.
[0116] In one embodiment, if the fourth elevation coordinate is equal to the third elevation coordinate, then the fourth target point is determined to be above the ground in the three-dimensional region.
[0117] In one embodiment, when each point in the line to be determined is located below the ground in the three-dimensional region, the candidate arrangement area is determined to meet the preset arrangement conditions.
[0118] In this embodiment, by determining the midpoint of the boundary line of the candidate arrangement area and extending a preset distance from the midpoint along the normal direction of the boundary line, a line to be judged is obtained. The third plane coordinates and third elevation coordinates of the fourth target point in the line to be judged are obtained. A fifth target point with the same plane coordinates as the third plane coordinates is determined in the three-dimensional region, and the fourth elevation coordinates of the fifth target point in the three-dimensional region are obtained. If the fourth elevation coordinates are less than the third elevation coordinates, it is determined that the fourth target point is located above the ground in the three-dimensional region. When there is a point in the line to be judged that is located above the ground in the three-dimensional region, it is determined that the candidate arrangement area does not meet the preset arrangement conditions. In this way, when a switch station is built in a candidate arrangement area that meets the preset arrangement conditions, it can be ensured that the constructed switch station can use a cable tunnel for entry, thereby helping to protect the cable from the external environment, such as mechanical damage and weather effects, and ensuring that the cable can operate stably for a long time.
[0119] In one embodiment, the switch station location typically requires excavation on the original terrain. The number of slope levels, slope ratio, and height of each slope level are determined based on the terrain. The more slope levels and the higher the slope, the greater the difficulty and cost of excavation and support. A set of slope constraint parameters is preset, including slope ratio, ramp width, slope height, and limit level. Based on whether the contour lines of the ramps at each slope level intersect with the corresponding ramp elevations, the range of the slope opening line is determined. It is then determined whether the range within the slope opening line of the candidate layout area and the preset extension distance towards the top of the slope exceeds the allowable layout area. If it exceeds the allowable layout area, the candidate layout area does not meet the preset layout conditions. The number of slope levels in the candidate layout area can be calculated based on the opening line position. If the number of slope levels exceeds the limit level, the candidate layout area does not meet the preset layout conditions.
[0120] In one embodiment, if any of the following conditions are met: the boundary of the candidate layout area intersects with the boundary of the permitted layout area; a road in the permitted layout area is located in the candidate layout area; a second target point above the ground in the three-dimensional region exists in the area to be determined; a point in the line to be determined exists above the ground in the three-dimensional region; the area within the slope opening line of the layout area and the preset extension distance towards the top of the slope exceeds the permitted layout area; or the number of slope levels exceeds the limit, then the candidate layout area does not meet the preset layout conditions. If none of the following conditions are met: the boundary of the candidate layout area intersects with the boundary of the permitted layout area; a road in the permitted layout area is located in the candidate layout area; a second target point above the ground in the three-dimensional region exists in the area to be determined; a point in the line to be determined exists above the ground in the three-dimensional region; the area within the slope opening line of the layout area and the preset extension distance towards the top of the slope exceeds the permitted layout area; or the number of slope levels exceeds the limit, then the candidate layout area meets the preset layout conditions.
[0121] In one embodiment, when there are multiple candidate arrangement areas that meet the preset arrangement conditions, step S5 includes:
[0122] The candidate layout area that meets the preset layout conditions is taken as the alternative area, and the vertical and horizontal distances between the center point of the alternative area and the outgoing point of the factory building are calculated.
[0123] Calculate the excavation volume and surface area of the slope in the candidate area;
[0124] Determine the connection distance between the center point and the roads within the permitted layout area;
[0125] Based on the slope excavation volume, slope excavation surface area, connection distance, vertical distance, and horizontal distance, the construction cost of the switch station in each candidate area is calculated, and the candidate area with the lowest construction cost is determined as the target area for locating the switch station.
[0126] In this context, the center point of the candidate area is its geometric center. The planar coordinates of the center point can be obtained from the topographic map of the 3D region, and the elevation coordinates of the center point are the altitude of the contour lines corresponding to the candidate area. The planar and elevation coordinates of the factory exit point can also be obtained from the topographic map of the 3D region. The vertical distance refers to the elevation difference between the factory exit point and the center point of the candidate area, i.e., the altitude difference. The horizontal distance can be calculated based on the planar coordinates of the center point and the factory exit point. In one embodiment, if the quotient of the vertical distance divided by the horizontal distance is less than a preset value, the vertical distance is 0.
[0127] The calculation process for the slope excavation volume and surface area is as follows: First, obtain the design parameters of the switch station; these parameters include the area A1 of the switch station platform and the excavation depth h. Second, determine the slope constraint parameters; these parameters include at least the slope ratio, platform width, and walkway height. Third, using the four sides of the switch station platform as the bottom edge of the slope, and combining the slope constraint parameters, simulate and generate the three-dimensional shape of the slope to obtain an inverted truncated pyramid-shaped excavation body. Fourth, calculate the volume of the excavation body using the geometric volume formula V = (1 / 3) × h × (A1 + A2 + (A1 × A2)¹ / ²), where A2 is the bottom area of the excavation determined by the slope constraint parameters. Fifth, calculate the surface area of each slope surface separately, and add the surface areas of all slope surfaces to obtain the total slope excavation surface area. For trapezoidal slopes, use the formula S = (1 / 2) × (a + b) × h; for triangular slopes, use the formula S = (1 / 2)bh, where a and b are the lengths of the upper and lower bases of the trapezoid, and h is the height of the trapezoid or triangle. Add up the surface areas of all slopes to get the total excavated surface area of the slope.
[0128] In one embodiment, the formula for calculating the construction cost M of the switchyard is: M = (Slope excavation cost × Slope excavation volume + Slope height coefficient × Slope support cost × Slope excavation surface area) + (Horizontal distance unit price × Horizontal distance + Vertical distance unit price × Vertical distance + Road length unit price × Connection distance) + Cable length unit price × (Vertical distance + Horizontal distance) × Number of outgoing lines. The slope height coefficient is determined based on different slope heights. For example, for slopes over 100 meters high, the slope height coefficient is 2.0; for slopes between 60 and 100 meters high, it is 1.5; for slopes between 30 and 60 meters high, it is 1.2; and for slopes below 30 meters high, it is 1.0. "Number of outgoing lines" refers to the number of control lines output from the switchyard.
[0129] In one embodiment, if there is only one candidate arrangement area that meets the preset arrangement conditions, then the candidate arrangement area is directly determined as the target area for arranging the switch station.
[0130] In this embodiment, candidate layout areas that meet preset layout conditions are selected as alternative areas. The vertical and horizontal distances between the center point of the alternative area and the power plant outlet point are calculated. The slope excavation volume and slope excavation surface area of the alternative areas are also calculated. The connection distance between the center point and the road in the allowed layout area is determined. Based on the slope excavation volume, slope excavation surface area, connection distance, vertical distance, and horizontal distance, the construction cost of the switch station in each alternative area can be calculated. Thus, the alternative area with the lowest construction cost is determined as the target area for arranging the switch station.
[0131] In one embodiment, the process of calculating the connection distance includes:
[0132] Determine the first target contour line that is closest to the center point of the candidate area, and use the point on the first target contour line that is closest to the center point as the starting point of the search;
[0133] Draw a circle with the search starting point as the center and a preset radius, and obtain the first intersection point between the circle and the contour line of the second target; the elevation difference between the contour line of the second target and the contour line of the first target is the preset elevation difference;
[0134] Draw a circle with the first intersection point as the center and a preset radius until the circle intersects with a road in the allowed layout area at a second point;
[0135] Connect the points that form the second intersection point to obtain the connection distance between the candidate area and the road.
[0136] In particular, since the switch station is built on an excavated platform surrounded by hillsides with no existing roads connecting it to the outside, additional roads need to be constructed. Therefore, the connection distance between the switch station and the road needs to be considered when calculating the construction cost of the switch station.
[0137] The method for determining the first target contour line is to calculate the distance between the center point of the candidate area and each contour line in the allowed layout area, and determine the contour line with the shortest distance as the first target contour line.
[0138] In a specific application, the search starts with the nearest first target contour line point at the same elevation to the center of the candidate area. A circle with a preset radius of 20m is drawn. A straight line connects this circle to the first intersection point with the second target contour line with a preset elevation difference of 1m. Using this first intersection point as the center, circles are drawn again, intersecting with the next contour line of the same elevation difference, and so on, until the circle intersects with a road within the site, which serves as the endpoint. The line connecting all intersection points forms the route from the candidate area to the permitted layout area. The shortest route is selected, and the length of the connecting line is calculated; this length is the connection distance.
[0139] In this embodiment, by determining the first target contour line closest to the center point of the candidate area, and taking the point closest to the center point in the first target contour line as the search starting point, a circle is drawn with the search starting point as the center and a preset radius to obtain the first intersection point of the circle with the second target contour line. A circle is then drawn with the first intersection point as the center and a preset radius until the circle has a second intersection point with the road in the allowed layout area. The intersection points of the second intersection point are then connected to obtain the intersection points. In this way, the connection path between the switch station and the road in the allowed layout area can be automatically found and quantified in complex natural terrain, and the connection distance between the candidate area and the road can be obtained.
[0140] This application also provides an application scenario in which the above-described method for determining the construction area of a switchyard is applied. Specifically, the application of the method for determining the construction area of a switchyard in this scenario is as follows:
[0141] Step 1: Initial screening of the area where the switch station can be located.
[0142] The coordinates and direction of the cable exit point from the factory building in the 3D region are determined, along with a cable length threshold of 1300m and a cable shaft height threshold of 250m. An initial region in the shape of a 3D frustum is determined, with a lower radius of 1300m, an upper radius of 1050m, and a height of 250m. The center of the lower radius of the initial region is located at the factory exit point. Areas within the initial region that are considered basic farmland, non-demolishable buildings, geologically defective areas, surface water bodies, and areas within the check flood level range of the reservoir are excluded to obtain the permissible layout area. A schematic diagram of the intersection of the frustum and the 3D region is shown below. Figure 6 As shown, the non-deployable area is the prohibited deployment zone.
[0143] Step 2: Define a preset elevation step of 1m and a preset horizontal step of 20m. Using the lowest contour line of the allowable layout area at 311m as the lowest contour line, determine multiple target contour lines based on the preset elevation step. Starting from the point on the 311m contour line closest to the allowable layout area of the switch station, determine multiple first target points on the lowest and target contour lines based on the preset horizontal step. Use each first target point as the location point for a candidate layout area, and define the length and width of the candidate layout area using preset lengths and widths to determine multiple candidate layout areas. This allows for the exhaustive search of all candidate layout areas within the allowable layout area where the two longest sides lie on the contour lines.
[0144] Step 3: Determine whether the candidate layout area is located within the permitted layout area and the road.
[0145] Determine whether the boundary of the candidate layout area intersects with the boundary of the allowed layout area, and determine whether the road in the allowed layout area is located in the candidate layout area; if the boundary of the candidate layout area intersects with the boundary of the allowed layout area, and / or the road in the allowed layout area is located in the candidate layout area, determine that the candidate layout area does not meet the preset layout conditions.
[0146] Step 4: Determine whether the candidate layout area is located in the excavation area.
[0147] The system determines whether a second target point located above the ground in the three-dimensional region exists within the candidate layout area, offset 5m from the center point. If a second target point above the ground exists in the candidate layout area, the candidate layout area does not meet the preset layout conditions, meaning it is not located within the excavation area. Otherwise, the candidate layout area meets the preset layout conditions.
[0148] Step 5: Determine whether the candidate layout area is suitable for horizontal tunnel entry.
[0149] Draw a 60m long line to be judged from the midpoint of the boundary line of the candidate layout area along the normal direction. If every point on the line to be judged is below the ground level of the three-dimensional area, the candidate layout area is determined to meet the preset layout conditions, that is, the candidate layout area can be entered through a tunnel. If there is a point on the line to be judged above the ground level of the three-dimensional area, the candidate layout area is determined to not meet the preset layout conditions, that is, the candidate layout area cannot be entered through a tunnel.
[0150] Step 6: Determine whether the slope of the candidate layout area exceeds the limit.
[0151] The slope ratio, walkway width (2m), slope height per level (15m), and maximum number of levels (3) are pre-set. The slope ratios from the bottom of the slope upwards are 1:0.3, 1:0.5, 1:0.75, 1:1, 1:1.5, and 1:2, with a final ratio of 1:2 for all subsequent levels. The slope opening line of the candidate layout area is determined by whether the contour lines corresponding to the planar positions of the walkways at each level intersect. The area within the slope opening line and extending 5m towards the top of the slope is checked to see if it locally exceeds the allowable layout area. If it does, the candidate layout area is determined not to meet the preset layout conditions. The maximum number of slope levels in the candidate layout area is determined based on the opening line position. If the maximum number of slope levels exceeds 3, the candidate layout area is determined not to meet the preset layout conditions.
[0152] Step 7: Estimate the amount of slope excavation work for candidate layout areas that meet the preset layout conditions.
[0153] For candidate layout areas that meet the preset layout conditions, the three sides of the switch station on the inner side of the slope are taken as the bottom edge of the slope. The slope excavation is simulated according to the preset slope ratio, 2m width of the walkway, and 15m height of each slope level to obtain the slope excavation volume and slope excavation surface area of the candidate layout area.
[0154] Step 8: Estimate the outgoing line engineering quantity for candidate layout areas that meet the preset layout conditions.
[0155] Candidate layout areas that meet the preset layout conditions are selected as alternative areas. The vertical and horizontal distances between the center point of the alternative area and the outgoing line point of the factory building are calculated. If the quotient of the vertical distance divided by the horizontal distance is less than 10%, the vertical distance is 0.
[0156] Step 9: Estimate the scale of road works in the candidate layout areas that meet the preset layout conditions.
[0157] Candidate layout areas that meet the preset layout conditions are designated as alternative areas. The shortest distance from the center point of each alternative area to the nearest road is used as the road construction volume. A first target contour line closest to the center point of each alternative area is determined. Using the point on this first target contour line closest to the center point as the search starting point, a circle with a radius of 20m is drawn. A straight line is drawn connecting the center of this circle to the intersection with a contour line with a 1m elevation difference. Using this intersection as the center, a circle is drawn to intersect the next contour line with a 1m elevation difference, and so on, until the circle intersects with an on-site road as the endpoint. The line connecting all points represents the route from the calculated object to the on-site road, and the shortest route length is the connection distance.
[0158] Step 10: Estimate the construction cost of candidate layout areas that meet the preset layout conditions.
[0159] Construction cost = (0.006 × slope excavation volume + slope height coefficient × 0.08 × slope excavation surface area) + (8 × vertical distance + 3 × horizontal distance + 1.3 × connection distance) + 2 × (horizontal distance + vertical distance) × 2. The slope height coefficient is determined in segments based on slope height. For example, for slopes over 100 meters high, the slope height coefficient is 2.0; for slopes between 60 and 100 meters high, the coefficient is 1.5; for slopes between 30 and 60 meters high, the coefficient is 1.2; and for slopes below 30 meters high, the coefficient is 1.
[0160] Step 11: Recommended location.
[0161] Based on the construction cost ranking of all candidate areas, the candidate area with the lowest construction cost is selected as the target area for constructing the switchyard. The overall flowchart of the above steps is as follows: Figure 7 As shown.
[0162] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0163] Based on the same inventive concept, this application also provides a device for determining the construction area of a switchyard to implement the aforementioned method for determining the construction area of a switchyard. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the device for determining the construction area of a switchyard provided below can be found in the limitations of the method for determining the construction area of a switchyard described above, and will not be repeated here.
[0164] In one embodiment, such as Figure 8 As shown, a device for determining the construction area of a switchyard is provided, comprising:
[0165] The data acquisition module is used to execute step S1 to acquire the factory outlet points, length thresholds, height thresholds, and prohibited layout areas in the three-dimensional region;
[0166] The permissible layout area determination module is used to execute step S2, which determines the initial area for arranging the switch station in the three-dimensional region based on the plant outgoing line point, the length threshold, and the height threshold, and removes the areas in the initial region that overlap with the prohibited layout area to obtain the permissible layout area;
[0167] The contour line determination module is used to execute step S3, which takes the point with the shortest distance to the allowed layout area among the lowest contour lines of the allowed layout area as the starting point and determines multiple target contour lines based on a preset elevation step size.
[0168] The target point determination module is used to perform step S4, which determines multiple first target points based on a preset plane step size in the lowest contour line and the target contour line;
[0169] The target area determination module is used to execute step S5, using each of the first target points as the positioning points of the candidate layout area, using a preset length and a preset width as the length and width of the candidate layout area, and determining the target area with the lowest construction cost from the candidate layout areas that meet the preset layout conditions; the target area is used to construct the switch station.
[0170] Each module in the aforementioned device for determining the construction area of the switching station can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0171] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0172] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0173] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0174] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0175] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0176] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for determining the construction area of a switchyard, characterized in that, Includes the following steps: S1. Obtain the factory outlet points, length threshold, height threshold, and prohibited layout areas in the three-dimensional region; S2. Based on the factory outlet point, the length threshold, and the height threshold, determine the initial area in the three-dimensional region for arranging the switch station, and remove the area in the initial region that overlaps with the prohibited arrangement area to obtain the allowed arrangement area; S3. Starting from the point that is closest to the lowest contour line of the allowed layout area, determine multiple target contour lines based on a preset elevation step size. S4. Based on a preset planar step size, determine multiple first target points in the lowest contour line and the target contour line; S5. Using each of the first target points as the positioning points of the candidate layout area, and using the preset length and preset width as the length and width of the candidate layout area, and determining the target area with the lowest construction cost from the candidate layout areas that meet the preset layout conditions. The target area is intended for the construction of a switchyard.
2. The method according to claim 1, characterized in that, Step S2 includes: Using the factory outlet point as the center of the lower circle of the initial region, the height threshold as the height of the initial region, the length threshold as the radius of the lower circle of the initial region, and the difference between the height threshold and the length threshold as the radius of the upper circle of the initial region, the initial region for arranging the switch station in the three-dimensional region is determined.
3. The method according to claim 1, characterized in that, Step S5 includes: Determine whether the boundary of the candidate layout area intersects with the boundary of the allowed layout area, and determine whether the road in the allowed layout area is located in the candidate layout area; If the boundary of the candidate layout area intersects with the boundary of the allowed layout area, and / or a road in the allowed layout area is located in the candidate layout area, the candidate layout area is determined not to meet the preset layout conditions.
4. The method according to claim 1, characterized in that, Step S5 includes: A preset offset distance is set, and the boundary of the candidate arrangement area is offset by the preset offset distance towards the center point of the candidate arrangement area to obtain the area to be judged, and the first planar coordinates and the first elevation coordinates of the second target point in the area to be judged are obtained; the second target point is any point in the area to be judged. A third target point whose planar coordinates are consistent with the first planar coordinates is determined in the three-dimensional region, and the second elevation coordinates of the third target point in the three-dimensional region are obtained; If the second elevation coordinate is less than the first elevation coordinate, then the second target point is determined to be above the ground in the three-dimensional region; If a second target point exists above the ground in the three-dimensional region within the region to be determined, the candidate arrangement region is determined not to meet the preset arrangement conditions.
5. The method according to claim 1, characterized in that, Step S5 includes: Determine the midpoint of the boundary line of the candidate arrangement area, and extend a preset distance from the midpoint along the normal direction of the boundary line to obtain the line to be judged; Obtain the third plane coordinates and the third elevation coordinates of the fourth target point in the line to be judged; the fourth target point is any point in the line to be judged. In the three-dimensional region, a fifth target point whose planar coordinates are consistent with the third planar coordinates are determined, and the fourth elevation coordinates of the fifth target point in the three-dimensional region are obtained; If the fourth elevation coordinate is less than the third elevation coordinate, then the fourth target point is determined to be above the ground in the three-dimensional region; If there is a point in the line to be determined that is above the ground in the three-dimensional region, it is determined that the candidate arrangement area does not meet the preset arrangement conditions.
6. The method according to claim 1, characterized in that, When there are multiple candidate arrangement areas that meet the preset arrangement conditions, step S5 includes: The candidate layout area that meets the preset layout conditions is taken as the alternative area, and the vertical distance and horizontal distance between the center point of the alternative area and the outlet point of the factory building are calculated. Calculate the slope excavation volume and slope excavation surface area of the candidate areas; Determine the connection distance between the center point and the roads in the permitted layout area; Based on the slope excavation volume, the slope excavation surface area, the connection distance, the vertical distance, and the horizontal distance, the construction cost of the switch station in each of the candidate areas is calculated, and the candidate area with the lowest construction cost is determined as the target area for arranging the switch station.
7. The method according to claim 6, characterized in that, The calculation process for the connection distance includes: Determine the first target contour line that is closest to the center point of the candidate area, and use the point in the first target contour line that is closest to the center point as the search starting point; With the search starting point as the center, draw a circle with a preset radius, and obtain the first intersection point between the circle and the contour line of the second target; the elevation difference between the contour line of the second target and the contour line of the first target is a preset elevation difference. Using the first intersection point as the center and the preset radius, draw a circle until the circle intersects with a road in the allowed layout area at a second point; By connecting the intersections that form the second intersection point, the connection distance between the candidate area and the road is obtained.
8. A device for determining the construction area of a switchyard, characterized in that, The device includes: The data acquisition module is used to execute step S1 to acquire the factory outlet points, length thresholds, height thresholds, and prohibited layout areas in the three-dimensional region; The permissible layout area determination module is used to execute step S2, which determines the initial area for arranging the switch station in the three-dimensional region based on the plant outgoing line point, the length threshold, and the height threshold, and removes the areas in the initial region that overlap with the prohibited layout area to obtain the permissible layout area; The contour line determination module is used to execute step S3, which takes the point with the shortest distance to the allowed layout area among the lowest contour lines of the allowed layout area as the starting point and determines multiple target contour lines based on a preset elevation step size. The target point determination module is used to perform step S4, which determines multiple first target points based on a preset plane step size in the lowest contour line and the target contour line; The target area determination module is used to execute step S5, using each of the first target points as the positioning points of the candidate layout area, using a preset length and a preset width as the length and width of the candidate layout area, and determining the target area with the lowest construction cost from the candidate layout areas that meet the preset layout conditions; the target area is used to construct the switch station.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.