Dynamo-based railway station equipment positioning method and system

By establishing a dynamic local coordinate system for railway lines and mapping mileage data bidirectionally to the three-dimensional coordinate system, and using the Dynamo plugin to generate spatial curves and tangent vectors, the problem of railway station equipment being unable to be located in complex scenarios is solved, achieving precise positioning and supporting the digital design and construction of railway engineering.

CN121027983APending Publication Date: 2025-11-28GUANGXI NANCHONG RAILWAY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510938825.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-08
Publication Date
2025-11-28

AI Technical Summary

Technical Problem

In existing technologies, there is no direct correlation between the positioning method of mileage markers and the positioning method of three-dimensional coordinate systems, which makes it impossible for railway station equipment to be accurately positioned in complex scenarios.

Method used

By establishing a dynamic local coordinate system for the railway line, the mileage data is bidirectionally mapped to the three-dimensional coordinate system. The Dynamo plugin is used to generate spatial curves and tangent vectors to determine the X, Y, and Z values ​​of railway station equipment in the three-dimensional coordinate system.

Benefits of technology

It enables precise positioning of railway station equipment in complex scenarios, provides a standardized positioning method, and offers accurate location information for the digital design, construction, and operation and maintenance of railway engineering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121027983A_ABST
    Figure CN121027983A_ABST
Patent Text Reader

Abstract

The invention provides a Dynamo-based railway station equipment positioning method and system, and belongs to the technical field of railway equipment informatization management, and the method comprises the steps: building a dynamic local coordinate system of a railway line through a conversion parameter Pzq of railway station equipment on a space curve Czx and a tangent vector Vy at an intersection point P0 or a tangent vector Vy at an intersection point P1; according to the method, the mileage data and the three-dimensional coordinate system are subjected to bidirectional mapping, so that the position information of the railway station equipment in the three-dimensional coordinate system is determined, the railway station equipment along the railway line is accurately positioned, the technical problem that the railway station equipment cannot be positioned in a complex scene is solved, and the positioning accuracy of the railway station equipment is improved. And a standardized positioning method is provided for digital design, construction and operation and maintenance of railway engineering.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of information management of railway equipment, and particularly relates to a railway station yard equipment positioning method and system based on Dynamo. BACKGROUND

[0002] Railway station yard equipment is necessary equipment for completing station yard railway transportation work, and is various in type and covers communication equipment, power distribution equipment, signal equipment and electrification equipment and the like along the line. These along-the-line equipment is an important component for guaranteeing efficient and safe operation of the railway.

[0003] In a railway engineering project, these along-the-line equipment is mainly positioned by means of milepost numbers, and when a three-dimensional visual modeling is performed by means of BIM technology, the milepost numbers are also used to position the along-the-line equipment. The milepost number is a number used to identify and distinguish multiple posts and is expressed in K kilometers ± meter number, for example, the post number at the starting point is K0+000, and every certain distance (such as 100 meters) is marked with a post number. However, in complex scenes such as railway station yards, multiple line intersections and curved lines, the milepost numbers cannot be used to position the along-the-line equipment, and a three-dimensional coordinate system needs to be used to position the along-the-line equipment.

[0004] However, in common three-dimensional modeling software, the positioning mode of the milepost number is not directly related to the positioning mode of the three-dimensional coordinate system, that is, the milepost number cannot be corresponded to the X-axis, Y-axis and Z-axis coordinates in the three-dimensional coordinate system, and then it is difficult to realize intelligent conversion of the mile data-three-dimensional coordinates, resulting in the technical problem that the railway station yard equipment cannot be positioned in the complex scene. SUMMARY

[0005] In view of the above described background technology, the positioning mode of the existing milepost number is not directly related to the positioning mode of the three-dimensional coordinate system, resulting in the technical problem that the railway station yard equipment cannot be positioned in the complex scene. In view of the technical problem, the application provides a railway station yard equipment positioning method and system based on Dynamo.

[0006] The application establishes a dynamic local coordinate system of the railway line to bidirectionally map the mile data and the three-dimensional coordinate system, so as to accurately position the railway station yard equipment along the railway line, and solves the technical problem that the railway station yard equipment cannot be positioned in the complex scene, thereby providing a standardized positioning method for digital design, construction and operation of the railway engineering.

[0007] In order to solve the above technical problem, the application adopts the following technical scheme:

[0008] The application provides a railway station yard equipment positioning method based on Dynamo, which comprises the following steps:

[0009] S1: Obtain the horizontal and vertical design parameters of the railway line within the conversion reference range, as well as the installation data of the railway station equipment. The railway line includes the main line and auxiliary lines.

[0010] S2: Based on the horizontal and vertical design parameters, and using the Dynamo plugin, generate the spatial curve C of the main line. zx Space curve C of auxiliary line FX ;

[0011] S3: If the railway line to which the railway station equipment is attached is the main line, then determine the transformation parameter P of point Q on the main line. zq Point Q is the location of the conversion reference, based on the installation data of the railway station equipment and the conversion parameter P. rq Determine the location of railway station equipment on spatial curve C zx The transformation parameter P on zq According to the conversion parameter P zq Determine the location of railway station equipment in the plane and spatial curve C. zx The intersection point P0 is used as the reference point to construct the tangent vector V at the intersection point P0. y ;

[0012] If the railway line to which the railway station equipment is attached is an auxiliary line, then a normal plane passing through the intersection point P0 must be constructed. The intersection point P1 of the normal plane and the auxiliary line to which the railway station equipment is attached must be determined. Using the intersection point P1 as the reference, the tangent vector V at the intersection point P1 is then constructed. y ;

[0013] S4: Based on the tangent vector V y The X and Y values ​​of railway station equipment in a three-dimensional coordinate system are determined, and the Z value of the three-dimensional coordinate system is determined based on the height difference between the railway station equipment and the railway track surface, thereby positioning the railway station equipment.

[0014] Further specifying, step S2 specifically includes:

[0015] S2.1: Draw the railway line in the data line design software based on the horizontal and vertical design parameters of the railway line;

[0016] S2.2: Use the Dynamo plugin to extract the three-dimensional coordinates of point Q at the conversion reference point on the main line in the data line design software;

[0017] Obtain the set spacing, and use the Dynamo plugin in the data line design software to extract the three-dimensional coordinate values ​​of the points distributed on the main line according to the set spacing, so as to obtain the spatial curve parameters of the main line.

[0018] S2.3: Import the railway line drawn in step S2.1 and the spatial curve parameters of the main line in step S2.2 into 3D modeling software B, and generate the spatial curve C of the main line in 3D modeling software B. zx Space curve C of auxiliary line FX .

[0019] Further specifying, in step S3, the conversion parameter P of point Q on the main line zq It is obtained by dividing the length between the starting position of the main line and point Q by the total length of the main line.

[0020] Further specifying, in step S3, the railway station equipment is located on spatial curve C. zx The transformation parameter P on zq The transformation parameter P of point Q on the main line zq With intermediate transformation parameter P zz The sum, where the intermediate transformation parameter P zz It is obtained by dividing the length between the railway station equipment and the conversion reference by the total length of the main line.

[0021] Further specifying, step S4 specifically includes:

[0022] S4.1: Calculate the tangent vector V y The projection vector V onto the XY plane in a three-dimensional coordinate system y ’ Project the vector V y ’ Rotating the perpendicular vector V by 90° around the Z-axis of the three-dimensional coordinate system yields the perpendicular vector V. y ” ;

[0023] S4.2: Determine the installation direction of the railway station equipment based on the "installation side" in the installation data of the railway station equipment, and then determine the X and Y values ​​of the railway station equipment in the three-dimensional coordinate system based on the vertical vector "Vy", thereby determining the position of the railway station equipment in the X and Y directions in the three-dimensional coordinate system;

[0024] The Z-value of the railway station equipment in the three-dimensional coordinate system, i.e., the position in the Z direction, is determined based on the design elevation of the railway station equipment and the rail surface, as well as the elevation of the railway rail surface.

[0025] The railway station equipment is located based on its position in the X, Y, and Z directions in a three-dimensional coordinate system.

[0026] Further specifying, step S4 also includes:

[0027] S4.3: determining the orientation of the railway yard equipment according to the "orientation" in the installation data of the railway yard equipment, determining the tangent vector V based on the orientation y or the reverse vector of the tangent vector V y The angle between the Y-axis in the three-dimensional coordinate system is determined according to the angle, and the orientation of the railway yard equipment is determined, so that the railway yard equipment is positioned according to the X-direction position, Y-direction position and Z-direction position of the railway yard equipment in the three-dimensional coordinate system and the orientation of the railway yard equipment.

[0028] Further limited, the data line design software is Civil3D software; the three-dimensional modeling software B is Revit software.

[0029] Further limited, in the step S1, the plane design parameters of the railway line include the intersection coordinates of the main line and the auxiliary line, the curve radius of the main line and the auxiliary line, and the easement curve parameters of the main line and the auxiliary line; the longitudinal section design parameters of the railway line include the slope change point stake number of the main line and the auxiliary line, the slope change point elevation of the main line and the auxiliary line, and the vertical curve parameters of the main line and the auxiliary line; the installation data of the railway yard equipment includes the name of the railway yard equipment, the length of the railway yard equipment and the conversion reference, the installation side, the orientation, and the design elevation of the railway yard equipment and the rail surface.

[0030] Further limited, the conversion reference is a transfer room.

[0031] The present application is based on the above-mentioned Dynamo-based railway yard equipment positioning method to form a Dynamo-based railway yard equipment positioning system, comprising:

[0032] Parameter acquisition module: for acquiring the plane design parameters, longitudinal section design parameters and installation data of the railway yard equipment in the conversion reference range, the railway line including the main line and the auxiliary line;

[0033] Space curve generation module: for generating the space curve C zx of the main line and the space curve C FX of the auxiliary line according to the plane design parameters and the longitudinal section design parameters and using Dynamo plug-in;

[0034] Tangent vector determination module: if the railway line attached to the railway yard equipment is the main line, the conversion parameter P zq of point Q on the main line is determined, point Q is the position of the conversion reference, the conversion parameter P rq of the railway yard equipment on the space curve C zx is determined according to the installation data of the railway yard equipment and the conversion parameter P zq , the conversion parameter P zqDetermine the location of railway station equipment in the plane and spatial curve C. zx The intersection point P0 is used as the reference point to construct the tangent vector V at the intersection point P0. y If the railway line to which the railway station equipment is attached is an auxiliary line, then a normal plane passing through the intersection point P0 must be constructed. The intersection point P1 of the normal plane and the auxiliary line to which the railway station equipment is attached must be determined, and the tangent vector V at intersection point P1 is constructed using intersection point P1 as the reference. y ;

[0035] And the positioning module: used to determine the tangent vector V y The X and Y values ​​of railway station equipment in a three-dimensional coordinate system are determined, and the Z value of the three-dimensional coordinate system is determined based on the height difference between the railway station equipment and the railway track surface, thereby positioning the railway station equipment.

[0036] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0037] 1. This invention provides a Dynamo-based method for locating railway station equipment, which uses the spatial curve C of the railway station equipment. zx The transformation parameter P on zq The tangent vector V at the intersection point P0 y Or the tangent vector V at the intersection point P1 y A dynamic local coordinate system for railway lines is established, and mileage data is bidirectionally mapped to a three-dimensional coordinate system to determine the X, Y, and Z values ​​of railway station equipment in the three-dimensional coordinate system. This enables precise positioning of railway station equipment along the railway line, solving the technical problem of the inability to locate railway station equipment in complex scenarios and providing a standardized positioning method for the digital design, construction, and operation and maintenance of railway engineering.

[0038] 2. This invention provides a railway station equipment positioning method based on Dynamo, which further determines the tangent vector V based on orientation. y or tangent vector V y The angle between the inverse vector and the Y-axis in the three-dimensional coordinate system is used to determine the orientation of railway station equipment, ensuring that the railway station equipment is parallel to the railway line, and further ensuring the positioning accuracy of railway station equipment along the railway line. Attached Figure Description

[0039] Figure 1 This is a schematic diagram of the railway station equipment positioning method based on Dynamo according to the present invention;

[0040] Figure 2 This is a schematic diagram of the railway station equipment positioning system based on Dynamo according to the present invention;

[0041] Figure 3 The space curve C of the main linezx and the space curve C of the auxiliary line FX ;

[0042] Figure 4 is a schematic view of the intersection point P0, the intersection point P1 and the normal plane Plane in step S3;

[0043] Figure 5 is a schematic view of the tangent vector V y at the intersection point P1 with the intersection point P1 as the reference;

[0044] Figure 6 is a schematic view of step S4.1;

[0045] Figure 7 is a schematic view of determining the orientation of the railway yard equipment according to the included angle. DETAILED DESCRIPTION

[0046] The technical solutions of the present application will be further explained and described below in combination with the drawings and embodiments, but the present application is not limited to the following described embodiments.

[0047] Referring to Figure 1 , the present application provides a Dynamo-based railway yard equipment positioning method, comprising the following steps:

[0048] S1: Obtain the plane design parameters, longitudinal section design parameters of the railway line and the installation data of the railway yard equipment in the conversion reference range, wherein the railway line includes the main line and the auxiliary line, the main line generally refers to the longest railway line, and the auxiliary line includes the railway line formed by the side line and the crossover; the plane design parameters, the longitudinal section design parameters of the railway line and the installation data of the railway yard equipment are all manually read or automatically recognized from the design drawings, wherein the plane design parameters of the railway line include the intersection point coordinates of the main line and the auxiliary line, the curve radii of the main line and the auxiliary line and the easement curve parameters of the main line and the auxiliary line; the longitudinal section design parameters of the railway line include the slope change point stake number of the main line and the auxiliary line, the elevation of the slope change point of the main line and the auxiliary line and the vertical curve parameters of the main line and the auxiliary line; the installation data of the railway yard equipment includes the name of the railway yard equipment, the length of the railway yard equipment and the conversion reference, the installation side, the orientation and the design elevation of the railway yard equipment and the track surface.

[0049] S2: According to the plane design parameters and the longitudinal section design parameters, and using the Dynamo plug-in to generate the space curve C zx of the main line and the space curve C FX of the auxiliary line; wherein the space curve C zx of the main line and the space curve C FX of the auxiliary line are as shown in Figure 3 ;

[0050] Specifically, step S2 comprises:

[0051] S2.1: drawing the railway line according to the plane design parameters and the longitudinal section design parameters of the railway line in the data line design software; the data line design software is preferably Civil3D software, and in addition thereto, it can also be other software capable of performing three-dimensional modeling of the railway line, which is well known to those skilled in the art.

[0052] S2.2: obtaining the X value, the Y value and the Z value of the point Q at the conversion reference by using the Alignment.Coordinate System By Station Offset node and the Profile.Elevation By Station node in the Dynamo plug-in, wherein the Alignment.Coordinate System By Station Offset node is used to obtain the X value and the Y value of the point Q, and the Profile.Elevation By Station node is used to obtain the Z value of the point Q, thereby forming the three-dimensional coordinate values of the point Q;

[0053] drawing the design line of each railway line (main line and auxiliary line) in the Civil3D software, and splitting each railway line by applying the EXPLODE command in the Civil3D software to obtain the three-dimensional spatial curve of each railway line, which is saved as a.dwg file;

[0054] obtaining a set interval, and extracting the three-dimensional coordinate values of the points distributed on the main line according to the set interval in the data line design software by using the Dynamo plug-in to obtain the spatial curve parameters of the main line; the set interval is generally set artificially and specifically is 1-10 meters, which can be set according to specific requirements by those skilled in the art, and the present application does not make any limitation thereon; the X value and the Y value of each point distributed on the main line are obtained by using the Alignment.Coordinate System By Station Offset node in the Dynamo plug-in, and the Z value of each point distributed on the main line is obtained by using the Profile.Elevation By Station node in the Dynamo plug-in, thereby extracting the three-dimensional coordinate values of each point distributed on the main line in the Civil3D software to obtain the spatial curve parameters of the main line;

[0055] S2.3: importing the three-dimensional spatial curve of each railway line drawn in step S2.1 and the spatial curve parameters of the main line in step S3 into the Revit software, and reading the three-dimensional spatial curve of each railway line by using the dynamo plug-in in the Revit software to generate the spatial curve C of the auxiliary lineFX ; read the spatial curve parameters of the main line through the Import Excel node in the dynamo plug-in, generate the spatial curve C of the main line zx .

[0056] In the present application, the three-dimensional modeling software B is preferably Revit software, in addition to which it can also be other software capable of three-dimensional modeling of railway lines known to those skilled in the art.

[0057] S3: In a railway engineering project, the longitudinal position of the railway station equipment is generally positioned based on the mileage stake number of the main line, the installation data of the railway station equipment is read through the Import Excel node in the dynamo plug-in, the conversion parameter P of point Q on the main line is calculated through the Curve.Parameter At Point node in the dynamo plug-in zq , point Q is the position of the conversion reference, the total length L of the main line is calculated through the Curve.Length node in the dynamo plug-in zx , the conversion parameter P rq of the railway station equipment on the spatial curve C zx is determined according to the installation data of the railway station equipment and the conversion parameter P zq , the intersection P0 of the plane on which the railway station equipment is located and the spatial curve C zq is determined through the Curve.Plane At Parameter node in the dynamo plug-in according to the conversion parameter P zx , and the tangent vector V y at the intersection P0 is made with the intersection P0 as the reference;

[0058] Referring to Figure 4 and Figure 5 , if the railway line to which the railway station equipment is attached is an auxiliary line, a normal plane Plane passing through the intersection P0 is also made, the intersection P1 of the normal plane Plane and the auxiliary line to which the railway station equipment is attached is determined through the Curve.Plane At Parameter node in the dynamo plug-in y ;

[0059] , the conversion parameter P zq of point Q on the main line is obtained according to the length between the starting position of the main line and point Q divided by the total length L zx of the main line. The conversion parameter P zx of the railway station equipment on the spatial curve C zq is the conversion parameter P zq of point Q on the main line and the intermediate conversion parameter P zzand the sum of the intermediate conversion parameters P zz is divided by the total length of the main line. zx

[0060] S4: see Figure 6 , the X value and the Y value of the railway station equipment in the three-dimensional coordinate system are determined according to the tangent vector V y , and the Z value of the three-dimensional coordinate system is determined according to the height difference between the railway station equipment and the railway track surface, so as to position the railway station equipment.

[0061] Specifically, step S4 includes:

[0062] S4.1: the tangent vector V zx of the spatial curve C y forms a certain angle with the XY plane, therefore, the projection vector V y of the tangent vector V ’ in the XY plane needs to be calculated. y y ’ , the projection vector V y ’ is rotated by 90° around the Z axis of the three-dimensional coordinate system to obtain the normal vector V y ” ;

[0063] S4.2: the installation direction of the railway station equipment is determined according to the “installation side” in the installation data of the railway station equipment, and then the X value and the Y value of the railway station equipment in the three-dimensional coordinate system are determined according to the normal vector V y , so as to determine the position of the railway station equipment in the X direction and the position of the railway station equipment in the Y direction in the three-dimensional coordinate system; the Z value of the railway station equipment in the three-dimensional coordinate system, i.e., the position of the railway station equipment in the Z direction, is determined according to the design elevation of the railway station equipment and the elevation of the railway track surface; and the railway station equipment is positioned based on the position of the railway station equipment in the X direction, the position of the railway station equipment in the Y direction, and the position of the railway station equipment in the Z direction in the three-dimensional coordinate system.

[0064] The direction of the normal vector V ” indicates the right side of the corresponding installation line (main line or auxiliary line) of the railway station equipment, and the “installation side” can be used to determine whether the railway station equipment is offset in the direction indicated by the normal vector V y ” or in the opposite direction of the normal vector V y ” . Because the starting point (P0 or P1) of the normal vector V y ” has been obtained, the railway station equipment is positioned based on the starting point along the normal vector V y” The offset can be used to determine the installation direction of railway station equipment.

[0065] Step S4 further includes:

[0066] S4.3: See Figure 7 The orientation of the railway station equipment is determined based on the "orientation" in the installation data, and the tangent vector V is determined based on the orientation. y or tangent vector V y The angle between the inverse vector and the Y-axis in the three-dimensional coordinate system is used to determine the orientation of the railway station equipment. This angle is then used as a rotation angle to rotate the railway station equipment, thereby achieving positioning of the railway station equipment based on its X, Y, and Z positions in the three-dimensional coordinate system and its orientation. More specifically, the direction of the railway station equipment towards the main line (smaller mileage direction) can be set as positive, and the direction towards the main line (greater mileage direction) as negative; alternatively, the direction of the railway station equipment towards the main line (smaller mileage direction) can be set as negative, and the direction towards the main line (greater mileage direction) as positive. Those skilled in the art can set these values ​​as they see fit.

[0067] In this invention, the conversion reference can be a fixed building along the railway line, such as a transfer room or storage room. Preferably, the conversion reference in this invention is a transfer room.

[0068] In this invention, the railway station equipment is preferably the four types of railway electrical equipment, namely, communication equipment, signaling equipment, power equipment, and electrification equipment.

[0069] This invention can also export the installation location (X, Y and Z values ​​in the three-dimensional coordinate system) and orientation of railway station equipment from Revit software, greatly improving the efficiency of railway line model creation in 3D modeling software and ensuring the accuracy of railway station equipment installation.

[0070] This invention discloses a Dynamo-based method for locating railway station equipment, which locates the equipment on a spatial curve C. zx The transformation parameter P on zq The tangent vector V at the intersection point P0 y Or the tangent vector V at the intersection point P1 y A dynamic local coordinate system for railway lines is established, and mileage data is bidirectionally mapped to a three-dimensional coordinate system to determine the X, Y, and Z values ​​of railway station equipment in the three-dimensional coordinate system. This enables precise positioning of railway station equipment along the railway line, solving the technical problem of the inability to locate railway station equipment in complex scenarios and providing a standardized positioning method for the digital design, construction, and operation and maintenance of railway engineering.

[0071] See Figure 2The application further provides a Dynamo-based railway station yard equipment positioning system formed based on the Dynamo-based railway station yard equipment positioning method, comprising a parameter acquisition module, a spatial curve generation module, a tangent vector determination module and a positioning module,

[0072] The parameter acquisition module is used for acquiring the plane design parameters, the longitudinal section design parameters and the installation data of the railway station yard equipment of the railway line in the conversion reference range, wherein the railway line comprises a main line and an auxiliary line.

[0073] The spatial curve generation module is used for generating the spatial curve C zx of the main line and the spatial curve C FX of the auxiliary line according to the plane design parameters and the longitudinal section design parameters and by using a Dynamo plug-in.

[0074] The tangent vector determination module is used for determining the conversion parameter P zq of the point Q on the main line if the railway line to which the railway station yard equipment is attached is the main line, determining the conversion parameter P rq of the railway station yard equipment on the spatial curve C zx according to the installation data of the railway station yard equipment and the conversion parameter P zq , determining the intersection P0 of the plane where the railway station yard equipment is located and the spatial curve C zq according to the conversion parameter P zx , making the tangent vector V y at the intersection P0 as the reference, and making the tangent vector V y at the intersection P1 as the reference if the railway line to which the railway station yard equipment is attached is the auxiliary line.

[0075] The positioning module is used for determining the X value and the Y value of the railway station yard equipment in the three-dimensional coordinate system according to the tangent vector V y , determining the Z value of the three-dimensional coordinate system according to the height difference between the railway station yard equipment and the railway track surface, and positioning the railway station yard equipment.

[0076] The Dynamo-based railway station yard equipment positioning system of the application corresponds to the Dynamo-based railway station yard equipment positioning method, wherein the specific content of the parameter acquisition module, the spatial curve generation module, the tangent vector determination module and the positioning module can be referred to the description of the Dynamo-based railway station yard equipment positioning method, which will not be repeated here.

[0077] The above merely describes the technical solutions of the present application, and is not intended to limit the present application; even though the foregoing has been described in detail, those skilled in the art should understand that they can still modify the technical solutions described above, or make equivalent replacements for some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the present application.

Claims

1. A method for locating railway station equipment based on Dynamo, characterized in that, Includes the following steps: S1: Obtain the horizontal and vertical design parameters of the railway line within the conversion reference range, as well as the installation data of the railway station equipment. The railway line includes the main line and auxiliary lines. S2: Based on the horizontal and vertical design parameters, and using the Dynamo plugin, generate the spatial curve C of the main line. zx Space curve C of auxiliary line FX ; S3: If the railway line to which the railway station equipment is attached is the main line, then determine the transformation parameter P of point Q on the main line. zq Point Q is the location of the conversion reference, based on the installation data of the railway station equipment and the conversion parameter P. rq Determine the location of railway station equipment on spatial curve C zx The transformation parameter P on zq According to the conversion parameter P zq Determine the location of railway station equipment in the plane and spatial curve C. zx The intersection point P0 is used as the reference point to construct the tangent vector V at the intersection point P0. y ; If the railway line to which the railway station equipment is attached is an auxiliary line, then a normal plane passing through the intersection point P0 must be constructed. The intersection point P1 of the normal plane and the auxiliary line to which the railway station equipment is attached must be determined. Using the intersection point P1 as the reference, the tangent vector V at the intersection point P1 is then constructed. y ; S4: Based on the tangent vector V y The X and Y values ​​of railway station equipment in a three-dimensional coordinate system are determined, and the Z value of the three-dimensional coordinate system is determined based on the height difference between the railway station equipment and the railway track surface, thereby positioning the railway station equipment.

2. The railway station equipment positioning method based on Dynamo according to claim 1, characterized in that, Step S2 specifically involves: S2.1: Draw the railway line in the data line design software based on the horizontal and vertical design parameters of the railway line; S2.2: Use the Dynamo plugin to extract the three-dimensional coordinates of point Q at the conversion reference point on the main line in the data line design software; Obtain the set spacing, and use the Dynamo plugin in the data line design software to extract the three-dimensional coordinate values ​​of the points distributed on the main line according to the set spacing, so as to obtain the spatial curve parameters of the main line. S2.3: Import the railway line drawn in step S2.1 and the spatial curve parameters of the main line in step S2.2 into 3D modeling software B, and generate the spatial curve C of the main line in 3D modeling software B. zx Space curve C of auxiliary line FX .

3. The railway station equipment positioning method based on Dynamo according to claim 1, characterized in that, In step S3, the transformation parameter P of point Q on the main line... zq It is obtained by dividing the length between the starting position of the main line and point Q by the total length of the main line.

4. The railway station equipment positioning method based on Dynamo according to claim 3, characterized in that, In step S3, the railway station equipment is located on spatial curve C. zx The transformation parameter P on zq The transformation parameter P of point Q on the main line zq With intermediate transformation parameter P zz The sum, where the intermediate transformation parameter P zz It is obtained by dividing the length between the railway station equipment and the conversion reference by the total length of the main line.

5. The railway station equipment positioning method based on Dynamo according to claim 1, characterized in that, Step S4 specifically involves: S4.1: Calculate the tangent vector V y The projection vector V onto the XY plane in a three-dimensional coordinate system y ’ Project the vector V y ’ Rotating the perpendicular vector V by 90° around the Z-axis of the three-dimensional coordinate system yields the perpendicular vector V. y ” ; S4.2: Determine the installation direction of the railway station equipment based on the "installation side" in the installation data of the railway station equipment, and then determine the X and Y values ​​of the railway station equipment in the three-dimensional coordinate system based on the "vertical vector Vy", thereby determining the position of the railway station equipment in the X and Y directions in the three-dimensional coordinate system; The Z-value of the railway station equipment in the three-dimensional coordinate system, i.e., the position in the Z direction, is determined based on the design elevation of the railway station equipment and the rail surface, as well as the elevation of the railway rail surface. The railway station equipment is located based on its position in the X, Y, and Z directions in a three-dimensional coordinate system.

6. The railway station equipment positioning method based on Dynamo according to claim 5, characterized in that, Step S4 further includes: S4.3: Determine the orientation of the railway station equipment based on the "orientation" in the installation data of the railway station equipment, and determine the tangent vector V based on the orientation. y or tangent vector V y The angle between the inverse vector and the Y-axis in the three-dimensional coordinate system is used to determine the orientation of the railway station equipment. Thus, the railway station equipment is located based on its position in the X, Y, and Z directions in the three-dimensional coordinate system and its orientation.

7. The railway station equipment positioning method based on Dynamo according to claim 2, characterized in that, The data line design software is Civil3D software; the 3D modeling software B is Revit software.

8. The railway station equipment positioning method based on Dynamo according to claim 1, characterized in that, In step S1, the horizontal design parameters of the railway line include the coordinates of the intersection of the main line and the auxiliary line, the curve radius of the main line and the auxiliary line, and the transition curve parameters of the main line and the auxiliary line; the vertical profile design parameters of the railway line include the station numbers of the slope change points of the main line and the auxiliary line, the elevations of the slope change points of the main line and the auxiliary line, and the vertical curve parameters of the main line and the auxiliary line. The installation data for the railway station equipment includes the name of the railway station equipment, the length of the railway station equipment and the conversion reference, the installation side, the orientation, and the design elevation of the railway station equipment relative to the rail surface.

9. The railway station equipment positioning method based on Dynamo according to any one of claims 1-8, characterized in that, The conversion reference is the transfer chamber.

10. A railway station equipment positioning system based on the Dynamo-based railway station equipment positioning method according to claim 1, characterized in that, include: Parameter acquisition module: used to acquire the horizontal design parameters, vertical design parameters and installation data of railway station equipment within the conversion reference range, the railway line including the main line and auxiliary lines; Space Curve Generation Module: Used to generate the space curve C of the main line based on the plane design parameters and longitudinal profile design parameters, using the Dynamo plugin. zx Space curve C of auxiliary line FX ; Tangent vector determination module: If the railway line to which the railway station equipment is attached is the main line, then the transformation parameter P is used to determine the point Q on the main line. zq Point Q is the location of the conversion reference, based on the installation data of the railway station equipment and the conversion parameter P. rq Determine the location of railway station equipment on spatial curve C zx The transformation parameter P on zq According to the conversion parameter P zq Determine the location of railway station equipment in the plane and spatial curve C. zx The intersection point P0 is used as the reference point to construct the tangent vector V at the intersection point P0. y If the railway line to which the railway station equipment is attached is an auxiliary line, then a normal plane passing through the intersection point P0 must be constructed. The intersection point P1 of the normal plane and the auxiliary line to which the railway station equipment is attached must be determined, and the tangent vector V at intersection point P1 is constructed using intersection point P1 as the reference. y ; And the positioning module: used to determine the tangent vector V y The X and Y values ​​of railway station equipment in a three-dimensional coordinate system are determined, and the Z value of the three-dimensional coordinate system is determined based on the height difference between the railway station equipment and the railway track surface, thereby positioning the railway station equipment.