Rail transit substation cable laying intelligent design method, system and storage medium
By automatically identifying the cable start and end points and establishing a laying model, the system automatically generates plan and cross-sectional views of cable laying in rail transit substations. This solves the problems of large workload and design errors in substation cable laying, and achieves efficient and accurate cable design.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING URBAN CONSTRUCTION DESIGN & DEVELOPMENT GROUP CO LIMITED
- Filing Date
- 2024-12-26
- Publication Date
- 2026-06-16
AI Technical Summary
In urban rail transit engineering, the drawing work for substation cable laying is extensive. Traditional manual drawing methods consume a lot of human resources, are inefficient and prone to errors, and existing software cannot meet the special design requirements of rail transit.
This paper provides an intelligent design method for cable laying in rail transit substations. By importing the cable list, the method automatically identifies the cable start and end points, establishes a laying model, automatically plans the cable route, and automatically generates plan and section views, calculates the engineering quantity, and simplifies the design process.
It improved design efficiency and accuracy, reduced drafting workload, ensured design quality, reduced material waste and costs, and solved the problems of cable laying complexity and errors.
Smart Images

Figure CN119849077B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer-aided design technology, and more specifically, relates to an intelligent design method, system and storage medium for cable laying in rail transit substations. Background Technology
[0002] With the rapid development of the economy and society and the continuous acceleration of urbanization, transportation demand has also increased accordingly. Rail transit, with its significant characteristics of large capacity and high efficiency, plays a vital role in the urban transportation system. The power supply system is a crucial link in ensuring the safe operation of rail transit systems such as subways. Currently, in urban rail transit projects, to meet the construction and installation requirements of construction units, it is necessary to draw information such as the laying paths of all connecting cables in the power supply system and their positions on cable supports in AutoCAD drawings. However, in urban rail transit projects, there are many substations, and the number and types of cable connections are numerous, resulting in a large workload for substation cable laying drawings. Traditional manual drawing methods not only consume a lot of manpower and have low efficiency, but are also prone to errors, affecting project progress and quality. With the development of urban rail transit projects, traditional manual drawing can no longer meet the needs, and some auxiliary drawing software has been developed. Currently, AutoCAD secondary development technology has been developing for many years, and there are already some AutoCAD drawing and design software for electrical engineering on the market. However, due to the special application scenarios and design requirements of urban rail transit, existing software cannot be directly applied. Therefore, it is necessary to develop intelligent design software for cable laying in the rail transit field to improve design efficiency, ensure design quality, and better serve construction. Summary of the Invention
[0003] To address the aforementioned deficiencies or improvement needs of existing technologies, this invention provides an intelligent design method, system, and storage medium for cable laying in rail transit substations. After simple parameter import and basic settings, it automatically completes the batch generation of substation cable laying plan and cross-sectional drawings, as well as cable details, cable quantity calculations, and export, thereby improving design efficiency and accuracy and ensuring design quality.
[0004] To achieve the objectives of this invention, according to the first aspect of this invention, this invention provides an intelligent design method for cable laying in rail transit substations, comprising the following specific steps:
[0005] S1: Import the external cable details table, automatically read the key information of each cable to be drawn and save it in the database to obtain the cable details information;
[0006] S2: Load the AutoCAD file for cable laying, set the main cable laying path, convert the text of the equipment number in AutoCAD into attribute blocks with coordinate positioning, and automatically traverse all feasible laying paths based on the obtained cable list information and the established laying model. Then, determine the final laying path according to the set target path function, complete the automatic laying path design and drawing for each cable, and obtain the cable laying plan.
[0007] S3: After determining the laying path, the cable laying profile is automatically generated according to the drawing rules of the cable support profile and the programming commands, and the profile of each cable laying profile checkpoint is inserted into the cable laying plan view in real time.
[0008] S4: Based on cable details and the completed cable laying plan, automatically identify the selected laying path, automatically calculate the length of each cable to generate a cable details table, and classify and calculate the quantity of cable works according to the built-in programming logic to generate a cable work quantity table. Export the cable laying plan and cross-sectional view to complete the cable laying design.
[0009] Furthermore, step S2 includes the following specific steps:
[0010] S21: Load the AutoCAD file of the substation layout plan, complete the installation location design of the main equipment in the drawing, and draw the main cable laying path in the AutoCAD drawing.
[0011] S22: Set the backbone path parameters, including the cable support type, number of support layers, bracket length, and the constraints on the type and number of cables allowed to be laid on each bracket layer of the cable support;
[0012] S23: Set global parameters, including display color, line width, cable bracket spacing, cable length adjustment factor, and cable model number in AutoCAD drawings;
[0013] S24: Based on the obtained cable details, convert the text of the equipment number into an attribute block with coordinate positioning;
[0014] S25: Based on the key nodes of the cable laying path, determine the locations where profile checkpoints need to be set, create profile checkpoints, and assign numbers;
[0015] S26: Based on the obtained cable details and set parameter information, the cable path laying is automatically completed along the main cable laying path drawn according to the established laying model.
[0016] Furthermore, step S26 includes the following specific steps:
[0017] S261: Read cable details, including the starting equipment name and number, ending equipment name and number, cable type, cable specifications and number of cables for each line and each loop in the cable information table;
[0018] S262: In the AutoCAD drawing, locate the positioning attribute blocks for the starting and ending device numbers to determine the coordinates of the cable's starting and ending points;
[0019] S263: Draw perpendicular lines from the coordinates of the cable's starting point and ending point to the nearest main cable laying path to determine the starting and ending points on the main path.
[0020] S264: Based on the established laying model, automatically traverse all laying paths that can reach the endpoint along the pre-drawn main cable laying path from the starting position. At each intersection point in the main path, determine whether it is possible to reach the next segment of the path by passing through the intersection point according to the laying model; calculate and record the cable laying length on various possible paths, retain the relevant information of all feasible laying paths, display it on the interactive interface, and determine the final laying path according to the set target path function.
[0021] S265: At each section checkpoint along the determined laying path, record the laying position and number of cables on the cable support arm of this loop on that segment of the path to constrain the laying logic of subsequent loops of cables.
[0022] S266: According to the laying model, the software completes the automatic laying path design and drawing of each cable in the imported cable list in batches, and obtains the laying length of all cables.
[0023] S267: After the automatic drawing is completed, view all feasible laying paths for each cable laying in the software interface and verify and modify them.
[0024] Furthermore, the laying model in step S264 includes a first laying model: whether the cable support on the next path can continue to withstand the installation conditions of this cable, based on the type of this cable, the allowable bracket layer for laying this type of cable on the next path, and the number of this type of cable already on the bracket of that bracket layer, thereby determining whether the number of this type of cable after this cable continues to be laid on that bracket layer exceeds the total number limit constrained when the trunk path is set. If it exceeds, the requirement is not met, and parallel laying is not allowed.
[0025] Furthermore, the laying model in step S264 also includes a second laying model: the installation requirements for whether the main and backup cables can be laid on the same bracket. As an important power load of the first-level load, it is necessary to have two cables, the main and backup, to ensure its power supply reliability. The main and backup cables must be laid along different paths and are not allowed to be laid simultaneously on the same layer of the same cable bracket on the same laying path.
[0026] When designing automatic cable laying paths, the software, in addition to the cable count limit in the first laying model, also needs to determine whether there is another cable from the main or backup load of the same level on the cable support bracket arm to be laid on this path. If so, the requirement is not met and passage is not allowed.
[0027] Furthermore, step S3 includes the following specific contents:
[0028] S31: Predefined rules for drawing cable support profiles;
[0029] S32: Extract the cable number and related information at each checkpoint from the determined cable laying path, including cable type, starting equipment number and ending equipment number, and extract the cable support type and layer parameters set based on the trunk path setting;
[0030] S33: Based on built-in programming commands, it identifies all key checkpoint locations along the cable path and automatically generates cable laying profiles based on the drawing rules of cable support profiles. It then inserts the profiles of each cable laying checkpoint that are kept in real time into the AutoCAD drawing.
[0031] Furthermore, the cable details list includes cable type, starting device name, starting device number, ending device name, ending device number, cable specifications, number of cables, unit, and "main" and "backup" cable identification information.
[0032] According to a second aspect of the present invention, the present invention provides an intelligent design system for cable laying in rail transit substations, used to implement the steps of the intelligent design method for cable laying in rail transit substations described above, including:
[0033] Cable details import function module: used to import external cable information tables into the software and read cable data information;
[0034] Automatic cable laying function module: It is used to automatically design multiple cable laying paths based on the imported cable list, set parameters and cable laying model, and draw cable laying plan and cross-sectional views based on the selected recommended path.
[0035] Automatic statistical table generation module: This module is used to automatically generate cable detail tables and cable project quantity tables according to set rules and logic.
[0036] As another aspect of the present invention, the present invention also provides an electronic device, comprising:
[0037] At least one memory for storing computer programs;
[0038] At least one processor is configured to execute the computer program to implement the steps of the intelligent design method for cable laying in rail transit substations as described above.
[0039] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described intelligent design method for cable laying in rail transit substations.
[0040] In summary, compared with the prior art, the above-described technical solutions conceived by this invention can achieve the following beneficial effects:
[0041] 1. The intelligent design method for cable laying in rail transit substations of the present invention imports a cable inventory table into the software interface to define information such as cable start point, end point, cable specifications, and number of cables. By converting equipment name text into attribute blocks with coordinates in the AutoCAD plan layout drawing, the method automatically identifies the start and end points of the cables. Based on the set main cable laying path, the established cable laying model, and the drawing rules for cable support profiles, the method automatically plans the cable laying path and intelligently designs the laying positions in the profile view. It automatically completes the batch drawing of substation cable laying plan and profile views. Furthermore, through software data recording, it automatically calculates the cable length and cable laying workload, simplifies the design process, greatly reduces the workload of drawing, and significantly improves design efficiency and quality.
[0042] 2. In the process of automatically drawing the cable laying plan, the intelligent design method for cable laying in rail transit substations of the present invention can automatically read the cable list information, determine the starting point and ending point of the cable, and automatically traverse all possible laying paths according to the constraints of the main path to give the optimal cable laying path, thereby reducing material waste, lowering costs, and ensuring the rationality and economy of cable laying.
[0043] 3. The intelligent design method for cable laying in rail transit substations of the present invention provides intuitive parameter import and basic settings through the software interactive interface, enabling designers to complete the complex cable laying design of substations through simple parameter settings. This solves the problem that there are many substations in the power supply system of rail transit, and the number and types of cable connections are numerous, which makes it easy to make mistakes during the design process, thereby improving the design accuracy and design quality. Attached Figure Description
[0044] Figure 1 This is one of the schematic diagrams of the intelligent design method for cable laying in rail transit substations according to an embodiment of the present invention;
[0045] Figure 2 This is a schematic diagram illustrating the cable details in an embodiment of the present invention;
[0046] Figure 3 This is a schematic diagram showing all feasible laying path information displayed on the interactive interface according to an embodiment of the present invention.
[0047] Figure 4 This is a schematic diagram of the cable laying plan of a rail transit substation according to an embodiment of the present invention;
[0048] Figure 5 This is a schematic cross-sectional view of the cable laying in a rail transit substation according to an embodiment of the present invention;
[0049] Figure 6 This is a schematic diagram of the intelligent design system for cable laying in rail transit substations according to an embodiment of the present invention;
[0050] Figure 7 This is a schematic diagram of an electronic device for intelligent design of cable laying in rail transit substations, as described in an embodiment of the present invention. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.
[0052] It should be noted that the technical solutions of the various embodiments of the present invention can be combined with each other, but only if they are based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.
[0053] In this application, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0054] The following embodiment illustrates an intelligent design method for cable laying in rail transit substations provided in this application.
[0055] Example 1:
[0056] like Figure 1 As shown, using the above system, this embodiment of the invention provides a schematic flowchart of an intelligent design method for cable laying in rail transit substations, specifically including the following steps:
[0057] S1: Import Cable Details: Import the external cable details table through AutoCAD. The software will automatically read the key information of each cable to be drawn and save it in the internal database to obtain the cable details.
[0058] S2: Cable Laying Plan Drawing: Load the AutoCAD file for cable laying and prepare for the laying process, including setting the main path, equipment nodes, support points, and main path parameters. Convert equipment numbers in AutoCAD into attribute blocks with coordinate positioning. Based on the read cable details and the established path laying model, automatically traverse all feasible laying paths and determine the final laying path according to the set target path function, completing the automatic cable laying path design and drawing for each iteration. Specifically, this includes the following steps:
[0059] S21: Prepare an AutoCAD file of the substation layout plan for which cable laying plan will be drawn. The installation locations of the main equipment have been designed in the drawing, and the main cable laying path has been drawn in the AutoCAD drawing. The main cable laying path is used to restrict the path that each cable can be laid, which can be understood as a "highway". When designing the cable laying path in the software, it is necessary to design along the main path.
[0060] S22: Set the backbone path parameters in the software, including the cable support type, number of support layers, arm length, etc. on the backbone path, as well as the constraints on the type and number of cables allowed to be laid on each layer of the cable support arm;
[0061] S23: Set global parameters on the software interface, including display color, line width, cable bracket spacing, cable length adjustment factor, and cable model number in AutoCAD drawings;
[0062] S24: In AutoCAD drawings, the text representing equipment numbers is converted into attribute blocks with coordinate positioning. The software first identifies all text representing equipment numbers in the AutoCAD drawing, extracts the equipment number from the identified text, and obtains its coordinates in the drawing. For each equipment number, an attribute block is created, and a number attribute and coordinate attribute are added to the attribute block. In other words, the original text object is replaced with an attribute block containing number and coordinate attributes. The attribute block is a special type of block that not only contains graphic information but also editable and queried attribute data, enabling the software to automatically read and process equipment information.
[0063] S25: Set Profile Checkpoints. Based on the key nodes of the cable laying path, determine the locations where profile checkpoints need to be set and create them. These locations typically include the start and end points of the cable laying, turning points of the cable path, and connection points of important equipment. Use commands or tools in AutoCAD software to draw checkpoint symbols and place them in the correct positions. For ease of management and tracking, assign a unique number to each profile checkpoint. Set the number for the first checkpoint, for example, 1-1. The software will automatically increment the checkpoint numbers according to preset rules, for example, the next checkpoint will be numbered 2-2, the next one 3-3, and so on.
[0064] S26: The software automatically generates cable laying paths. Based on the read cable information and set parameter information, it automatically completes the cable laying along the drawn main path according to the established laying model. Specifically,
[0065] 1) When laying cables using software, the cable information is read line by line from the imported "Cable Details Table" to obtain parameters such as the name and number of the starting equipment (sub-equipment) and the name and number of the ending equipment (sub-equipment), cable type, cable specifications and number of cables for that cable loop.
[0066] 2) In the AutoCAD drawing, determine the coordinates of the cable start and end points by finding the location attribute blocks of the start and end device numbers;
[0067] 3) Draw perpendicular lines from the starting point and ending point coordinates to the nearest main cable laying path to determine the starting and ending points on the main path;
[0068] 4) Based on the laying model, traverse all laying paths leading to the endpoint along the pre-drawn main cable laying path from the starting position, calculate and record the cable laying length on each possible path; at each intersection (similar to a road junction) on the main path, determine whether the next path segment can be proceeded according to the laying model. The laying model mainly consists of two items. When both laying models are satisfied, the next path segment can be proceeded, as detailed below:
[0069] The first laying model determines whether the cable supports on the next route can continue to support the installation conditions of the current cable. Based on the cable type, the allowed number of support layers for this type of cable on the next route, and the existing number of this type of cable on each support layer, it determines whether the number of this type of cable after being laid on that support layer exceeds the total number limit set when the main route was established. If it does, the requirement is not met, and passage is not permitted. For example, if the current cable type is AC medium voltage cable, and the number of cables is 3. At the intersection, there are two directions from which to continue laying. The software then verifies the allowable cable layers for AC medium-voltage cables on the next path in each of these two segments. If, according to the settings for main path 1, AC medium-voltage cables are allowed to be laid on the 3rd and 4th layers of the cable tray, with a maximum of 3 cables allowed per layer, and there are already 3 medium-voltage AC cables on the 3rd layer cable tray and no cables on the 4th layer cable tray, then the current cable in main path 1 is allowed to pass, and the 3 AC medium-voltage cables in this loop are laid on the 4th layer cable tray. If, according to the settings for main path 2, AC medium-voltage cables are allowed to be laid on the 4th layer of the cable tray, with a maximum of 3 cables allowed per layer, and there are already 3 medium-voltage AC cables on the 4th layer cable tray, then the current cable in main path 2 does not meet the requirements and is not allowed to pass.
[0070] The second laying model addresses the installation requirements for whether the main and backup cables can be laid on the same support arm. According to relevant design specifications, critical electrical loads, as primary loads, require both main and backup cables to ensure power supply reliability. Furthermore, the specifications require that the main and backup cables be laid along different paths, and simultaneous laying on the same layer of the same cable support arm along the same laying path is not permitted. Therefore, a "Remarks" column is added to the "Cable List" designed in this invention. The remarks can be filled with "Main" or "Backup" to identify adjacent cables as primary and backup dual-circuit power cables for the same primary load. During automatic cable laying path design, at the main path points, in addition to the cable count restrictions in the first laying model, for cables already identified in the "Remarks," the software also needs to determine whether the proposed cable support arm on this path already has another cable from the "Main" or "Backup" category for the same primary load. If so, the specification requirements are not met, and passage is not permitted.
[0071] The software automatically determines at each intersection of the main path whether it is possible to reach the next segment of the path by passing through that intersection, according to the above laying model, and so on, until the destination equipment location is reached; it infers all feasible laying paths on the main path, calculates and records the cable laying length, retains the relevant information of all feasible laying paths, displays it on the interactive interface, and determines the final laying path based on the shortest path length, laying difficulty, avoidance of specific areas or combinations of various factors as the target path function.
[0072] The calculation steps for the target path function are as follows:
[0073] a. Quantify and define the factors affecting the laying path.
[0074] L path This represents the path length from the starting point to the ending point.
[0075] C complexity Path complexity can be a combination of metrics such as the number of turns and elevation changes.
[0076] A avoidance To avoid costs associated with specific areas, such as high-temperature zones or flammable zones, the cost can be a Boolean value or a quantified cost.
[0077] Quantification of other influencing factors...
[0078] w 1 , w 2 , w 3 The weights of each factor need to be adjusted according to the specific needs of the project to reflect their importance in the overall evaluation.
[0079] b. Construct the objective path function. A suitable objective path function is constructed, integrating the quantified influencing factors into an optimization problem through weighted summation. F Represented as:
[0080] F (path) =w 1× L path +w 2× C complexity +w 3× A avoidance + ...
[0081] in, w 1× L path To minimize path length.
[0082] w 2× C complexity To minimize the difficulty or complexity of installation.
[0083] w 3× A avoidance To avoid impact on specific areas.
[0084] c. Evaluate each feasible path using the objective path function described above, and select the one that makes the path feasible. F (path) The path that is minimized is taken as the optimal laying path.
[0085] This objective path function allows the software to automatically evaluate and recommend the optimal cable laying path while ensuring compliance with all design specifications and technical requirements. In practical applications, the selection of weights and the setting of penalty values need to be adjusted based on the specific project conditions and the user's specific needs.
[0086] 5) At each section checkpoint along the determined optimal path, record the laying position and number of cables on the cable support arm of this loop on that segment of the path, in order to constrain the laying logic of subsequent loops of cables.
[0087] 6) Following the above logic, the software completes the automatic laying path design and drawing for each cable in the imported cable details table in batches, and obtains the laying length of all cables.
[0088] 7) After the automatic drawing is completed, all feasible laying paths for each cable laying can be viewed in the software interface. The paths can be manually verified or modified. After modification, the laying information of the cable for that round is reset to obtain the modified cable laying diagram.
[0089] S3: Cable Laying Profile Drawing: After confirming the laying path, the software automatically generates the cable laying profile drawing based on the built-in cable support profile drawing rules and programming commands. It then inserts the profile drawings of each cable laying profile checkpoint, which are saved in real-time, into the AutoCAD drawing. The cable support type and number of layers in the profile drawing are automatically drawn according to the parameters set during the main path setup. The cable numbers in the profile are drawn based on the data recorded at the checkpoints during the automatic laying path setup. Specifically, this includes the following steps:
[0090] S31: Preset the drawing rules for the cable bracket profile. It can be automatically combined and formed according to the set number of layers, installation method, and bracket type. For example, the number of layers is automatically stacked upwards, such as 4 layers, 5 layers, or any number of layers.
[0091] S32: Extract the cable number and related information at each checkpoint from the cable laying path, including cable type, starting equipment number and ending equipment number, and extract the cable support type and layer parameters set based on the trunk path settings.
[0092] S33: The software first identifies all key checkpoint locations along the cable path through built-in programming commands. Then, based on the specific conditions of the checkpoints, it automatically fills in the specific configuration of the cable support and the number of each cable according to the drawing rules of the cable support profile and the extracted information, and automatically generates a cable laying profile drawing. That is, the profile drawing of each cable laying profile checkpoint that is kept in real time is inserted into the AutoCAD drawing.
[0093] S4: Automatically Generates Cable List and Cable Quantity Table: Based on imported cable information and completed cable laying design, it automatically identifies the selected laying path, calculates the cable length for each loop, automatically generates a cable list, categorizes and statistically analyzes cable quantities according to built-in programming logic, forms a complete cable bill of materials, and exports the final cable list and cable quantity table to Excel or other easily shareable and editable file formats, completing the optimal cable laying path design. Specifically,
[0094] 1) Automatic generation of cable details: The automatically generated cable details table is basically the same as the "Cable Details Table" imported before drawing in the software, including cable number, type, specifications, length, start position, and end position, etc. The design software further processes it, specifically including:
[0095] ① The cable number is generated by combining the cable type, cable starting device number and cable ending device number from the imported "Cable Details Table" and generating a unique number for each cable according to predefined rules, such as the form "AB / C" according to the design drawings.
[0096] ② The length of each cable is calculated and statistically analyzed based on the laying path automatically identified and selected in AutoCAD software, and automatically filled into the corresponding "Length" column. The cable length takes into account the actual engineering installation requirements of having a certain margin. The length of each cable laying is obtained by extracting the length of the AutoCAD polyline of the laying path. The global parameters include "Length in the cabinet at the starting end" and "Adjustment coefficient". The cable measurement length = (Actual cable length + Length in the cabinet at the starting end × 2) × Adjustment coefficient × Number of cables;
[0097] 2) Automatic generation of cable project quantity table: Based on each cable type, cable specification, and number of cables, the system automatically generates a cable project quantity table by summing individual data items using built-in programming commands. Specifically:
[0098] The cable quantity is summed based on the cable length categories in the generated cable list;
[0099] The number of cable terminations is calculated by multiplying the number of cables in the generated cable list by 2, and then summing the results by category.
[0100] The number of cable supports is calculated by dividing the length of the main path in AutoCAD by the support placement spacing in the global parameters, and then summing the results by category.
[0101] The number of cable bracket anchors is calculated by multiplying the number of anchors for each type of cable bracket by the number of cable brackets when setting up the main path, and then summing the results.
[0102] Example 2: The following example illustrates an intelligent design method for cable laying in rail transit substations provided in this application. It includes the following processing steps:
[0103] Step 1: In AutoCAD, load and start the cable laying plugin using the "Load command". Click the "Import Cable List" menu on the main interface, select the cable list parameter file to be loaded, and after successful loading, the corresponding data will be displayed on the interface. Figure 2 As shown
[0104] Step 2: Complete the laying path design according to the steps described in Example 1, such as... Figure 3 As shown, all relevant information for feasible laying paths is retained and displayed on the interactive interface. The laying path is determined with the shortest laying length as the target path, completing the drawing of the cable laying plan and cross-sectional view. Figure 4 and Figure 5 These are schematic diagrams of a cable laying plan view and a cable laying cross-sectional view according to an embodiment of the present invention.
[0105] Step 3: After the automatic drawing is completed, view all feasible laying paths for each cable laying in the software interface. Manually verify or modify the paths, and reset the laying information for that cable laying after modification.
[0106] Step 4: Based on the completion of the cable laying plan and cross-sectional view, automatically complete the cable details and quantity statistics and output them.
[0107] The design method proposed in this invention defines information such as cable start and end points, cable specifications, and number of cables by importing a cable inventory table into the software interface; automatically identifies the start and end points of cables by converting equipment name text into attribute blocks with coordinates in the AutoCAD layout drawing; automatically plans the cable laying path and designs the cross-sectional laying position by setting the main cable laying path and laying model; and automatically calculates cable length and cable laying quantity through software data recording, simplifying the design process, greatly reducing the amount of drawing work, and significantly improving design efficiency and quality.
[0108] Example 3:
[0109] This invention provides an intelligent design system for cable laying in rail transit substations, which implements the steps of the intelligent design method for cable laying in rail transit substations described above, including a cable detail table import function module, an automatic cable laying function module, and an automatic statistical table generation function module.
[0110] The cable details import module imports cable information from external substations into the software's internal database via AutoCAD. After importation, the software can read key information such as the starting and ending equipment numbers for each cable to be drawn. Simultaneously, the software performs preliminary error correction by comparing names and numbers. For example, if the same equipment name corresponds to different equipment numbers or the same equipment number corresponds to different equipment names, a prompt will appear on the software interface. This ensures that substation cable information is accurately loaded into the software, providing fundamental data support for subsequent cable laying design. The cable details table includes cable type, starting equipment name, starting equipment number (including sub-equipment names and numbers), ending equipment name, ending equipment number (including sub-equipment names and numbers), cable specifications, number of cables, and units.
[0111] Automatic cable laying module: This is the core part of the entire system. Based on the imported cable list and various parameters set by the user, it sets up attribute blocks with coordinate positioning and path laying models. According to the defined rules, it automatically traverses all feasible cable laying paths and displays all feasible paths on the interactive interface for manual review or adjustment. It also automatically draws cable laying plan and cross-sectional views according to the selected path.
[0112] The automatic statistical table generation module automatically generates cable detail tables and cable project quantity tables according to pre-defined rules. These tables can be inserted into AutoCAD drawings or exported as Excel spreadsheets. This module reads all relevant data from the imported "Cable Detail Table," automatically identifies the laying path, calculates the length of each cable, classifies and statistically analyzes the cable project quantity based on built-in logic, and can identify design changes and update the statistical tables accordingly, ensuring data consistency and accuracy.
[0113] As another aspect of the present invention, the present invention also provides an electronic device according to the above embodiments, comprising: a memory, a processor, and a program or instructions stored in the memory and executable on the processor. When the processor executes the program or instructions, the electronic device of the present invention may further include a communication interface and a bus. Figure 4 The diagram shown is a structural schematic of the electronic device provided by the present invention, including: at least one processor 10, at least one memory 11, a communication interface 12, and a bus 13.
[0114] The processor 10, memory 11, and communication interface 12 communicate with each other via bus 13. The communication interface 12 is used for information transmission between the electronic device and the database device. The memory 11 stores programs or instructions that can be run on the processor 10. When the processor 10 executes the program or instructions, it implements the steps of the intelligent design method for cable laying in a rail transit substation as described above.
[0115] The present invention also provides a computer-readable storage medium according to the above examples, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the steps of the intelligent design method for cable laying in rail transit substations described in the above embodiments.
[0116] Those skilled in the art will readily understand that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A smart design method for cable laying in rail transit substations, characterized in that, The specific steps include the following: S1: Import the external cable details table, automatically read the key information of each cable to be drawn and save it in the database to obtain the cable details information; S2: Load the AutoCAD file for cable laying, set the main cable laying path, convert the equipment number text in AutoCAD into attribute blocks with coordinate positioning, and automatically traverse all feasible laying paths based on the obtained cable details and the established laying model. Then, determine the final laying path according to the set target path function, complete the automatic laying path design and drawing for each cable, and obtain the cable laying plan. Based on the laying model, determine whether it is possible to reach the next section of the path by passing through this intersection; Calculate and record the cable laying lengths on all possible paths, retain relevant information on all feasible laying paths, display it on the interactive interface, and determine the final laying path according to the set target path function. The laying model includes a first laying model: whether the cable support on the next section of the path can continue to bear the installation conditions of this cable, based on the type of this cable, the allowable bracket layer for laying this type of cable on the next section of the path, and the number of this type of cable already on the bracket of that bracket layer, thereby determining whether the number of this type of cable after this cable continues to be laid on that bracket layer exceeds the total number limit constrained when the main path is set. If it exceeds the limit, the requirements are not met and passage is not allowed. The laying model also includes a second laying model: the installation requirements for whether the main and backup cables can be laid on the same bracket. As an important power load of the first-level load, it is necessary to have two cables, the main and backup cables, to ensure its power supply reliability. The main and backup cables must be laid along different paths and are not allowed to be laid simultaneously on the same layer bracket of the same cable support on the same laying path. When designing automatic cable laying paths, in addition to the cable count limit in the first laying model, the software also needs to determine whether there is another cable from the main or backup load of the same level on the cable support bracket arm to be laid on this path. If there is, the requirement is not met and passage is not allowed. The target path function is: F (path) = w 1× L path + w 2× C complexity + w 3× A avoidance; in, w 1× L path To minimize path length; w 2× C complexity To minimize the difficulty or complexity of installation; w 3× A avoidance To avoid impact on specific areas; S3: After determining the laying path, the cable laying profile is automatically generated according to the drawing rules of the cable support profile and the programming commands, and the profile of each cable laying profile checkpoint is inserted into the cable laying plan view in real time. S4: Based on cable details and the completed cable laying plan, automatically identify the final laying path, automatically calculate the length of each cable to generate a cable details table, and classify and calculate the quantity of cable works according to the built-in programming logic to generate a cable work quantity table. Export the cable laying plan and cross-sectional view to complete the cable laying design.
2. The intelligent design method for cable laying in rail transit substations according to claim 1, characterized in that, Step S2 includes the following specific steps: S21: Load the AutoCAD file of the substation layout plan, complete the installation location design of the main equipment in the drawing, and draw the main cable laying path in the AutoCAD drawing. S22: Set the backbone path parameters, including the cable support type, number of support layers, bracket length, and the constraints on the type and number of cables allowed to be laid on each bracket layer of the cable support; S23: Set global parameters, including display color, line width, cable bracket spacing, cable length adjustment factor, and cable model number in AutoCAD drawings; S24: Based on the obtained cable details, convert the text of the equipment number into an attribute block with coordinate positioning; S25: Based on the key nodes of the cable laying path, determine the locations where profile checkpoints need to be set, create profile checkpoints, and assign numbers; S26: Based on the obtained cable details and set parameter information, the cable path laying is automatically completed along the main cable laying path drawn according to the established laying model.
3. The intelligent design method for cable laying in rail transit substations according to claim 2, characterized in that, Step S26 includes the following specific steps: S261: Read cable details, including the starting equipment name and number, ending equipment name and number, cable type, cable specifications and number of cables for each line and each loop in the cable information table; S262: In the AutoCAD drawing, locate the positioning attribute blocks for the starting and ending device numbers to determine the coordinates of the cable's starting and ending points; S263: Draw perpendicular lines from the coordinates of the cable's starting point and ending point to the nearest main cable laying path to determine the starting and ending points on the main path; S264: Based on the established laying model, automatically traverse all laying paths that can reach the end point along the pre-drawn cable laying trunk path from the starting position. Each time a path intersection is passed in the trunk path. S265: At each section checkpoint along the determined laying path, record the laying position and number of cables on the cable support arm of this loop on that segment of the path to constrain the laying logic of subsequent loops of cables. S266: According to the laying model, the software completes the automatic laying path design and drawing of each cable in the imported cable list in batches, and obtains the laying length of all cables. S267: After the automatic drawing is completed, view all feasible laying paths for each cable laying in the software interface and verify and modify them.
4. A smart design method for cable laying in rail transit substations according to any one of claims 1-3, characterized in that, Step S3 includes the following specific contents: S31: Predefined rules for drawing cable support profiles; S32: Extract the cable number and related information at each checkpoint from the determined cable laying path, including cable type, starting equipment number and ending equipment number, and extract the cable support type and layer parameters set based on the trunk path setting; S33: Based on built-in programming commands, it identifies all key checkpoint locations along the cable path and automatically generates cable laying profiles based on the drawing rules of cable support profiles. It then inserts the profiles of each cable laying checkpoint that are kept in real time into the AutoCAD drawing.
5. A smart design method for cable laying in rail transit substations according to any one of claims 1-3, characterized in that, The cable details list includes cable type, starting equipment name, starting equipment number, ending equipment name, ending equipment number, cable specifications, number of cables, unit, and "main" and "backup" cable identification information.
6. A smart design system for cable laying in rail transit substations, implementing the smart design method for cable laying in rail transit substations as described in any one of claims 1-5, characterized in that, include: Cable details import function module: used to import external cable information tables into the software and read cable data information; Automatic cable laying function module: It is used to automatically design multiple cable laying paths based on the imported cable list, set parameters and cable laying model, and draw cable laying plan and cross-sectional views based on the selected recommended path. Automatic statistical table generation module: This module is used to automatically generate cable detail tables and cable project quantity tables according to set rules and logic.
7. An intelligent design electronic device for cable laying in rail transit substations, characterized in that, include: At least one memory for storing computer programs; At least one processor is configured to execute the computer program to implement the steps of the intelligent design method for cable laying in rail transit substations as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the intelligent design method for cable laying in rail transit substations as described in any one of claims 1 to 5.