Cable tray design method based on three-dimensional laying of cables

By using a cable tray design method based on three-dimensional cable laying, the automation of cable route planning and cable tray design is realized, solving the problems of low efficiency and difficulty in ensuring accuracy in traditional manual design, thus improving design efficiency and accuracy. It is applicable to large-scale water conservancy and hydropower projects.

CN122634812APending Publication Date: 2026-08-25NORTHWEST ENGINEERING CORPORATION LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611135200.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-29
Publication Date
2026-08-25

AI Technical Summary

Technical Problem

The current cable laying route planning and cable tray design rely on manual work, resulting in low design efficiency and difficulty in ensuring accuracy, which makes it difficult to meet the requirements of modern engineering for efficient and accurate design.

Method used

The cable tray design method based on 3D cable laying involves receiving design input data, creating a set of geometric figures, generating a conceptual channel model of the cable tray, optimizing the physical model of the cable tray and the cable laying scheme, using a recursive algorithm to ensure unique names and path identifiers, combining Dijkstra's algorithm and engineering constraint optimization algorithm for path planning, and achieving automated design through a 3D layout algorithm.

Benefits of technology

It has achieved fully automated design from data input to model generation, improving the overall efficiency, accuracy and consistency of cable tray design and cable laying, reducing human error, and supporting the design of modern water conservancy and hydropower projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122634812A_ABST
    Figure CN122634812A_ABST
Patent Text Reader

Abstract

The bridge design method based on cable three-dimensional laying disclosed by the application belongs to the technical field of water conservancy and hydropower engineering and solves the problem that the existing cable laying path planning and bridge design rely on manual completion. The application receives design input data and stores them in a structure array; recursive search ensures that the newly created bridge name and path identification are unique; a geometric figure set is created, and design data is stored in categories; a bridge concept channel model and an initial parameter set are generated based on cable inventory data and equipment positioning information; old bridges are deleted to create new bridge geometric entities; a three-dimensional arrangement algorithm is executed with the new bridge geometric entity, the initial parameter set and the cable attribute as input to generate an optimized bridge entity model and a cable laying scheme; and the engineering design structure tree and the associated database are updated. The whole-process automatic design from data input to model generation is realized, and the low efficiency and human error caused by manual path planning, parameter matching and arrangement operation are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of water conservancy and hydropower engineering technology, specifically relating to a cable tray design method based on three-dimensional cable laying. Background Technology

[0002] Pumped storage power stations, as crucial modern energy storage and regulation facilities, require complex 3D design that integrates knowledge and technology from multiple disciplines, each with its own intricate systems. With the continuous expansion of project scale, the design of cable trays for 3D cable laying has revealed a series of pressing problems, such as low design efficiency, difficulty in ensuring accuracy, and challenges in design modifications. This forces engineers to manually complete tasks like cable laying path planning, cable quantity statistics, and cable layout during cable design. This traditional design method not only prolongs the design cycle but also easily introduces human error, severely impacting design quality and efficiency. It fails to meet the stringent requirements of modern engineering for efficient and precise design, and to some extent restricts the depth and accuracy of the design.

[0003] Currently, software used in the engineering field for cable laying includes companies like Bochao and Glodon. These software programs typically perform 3D detailed design of electrical cables after traditional electrical design work is completed. However, in large-scale projects, basic modeling is time-consuming, and the cable laying phase still requires a significant investment of time in design and planning. Summary of the Invention

[0004] The purpose of this invention is to provide a cable tray design method based on three-dimensional cable laying, which solves the problem that existing cable laying path planning and cable tray design rely on manual completion.

[0005] The technical solution adopted in this invention is: a cable tray design method based on three-dimensional cable laying, comprising the following steps: Step 1: Receive design input data and store it in a structure array; Step 2: Recursively search the structure array to ensure that the name and path identifier of the newly created cable tray are unique; Step 3: Create a set of geometric shapes and store the design data in categories; Step 4: Generate a conceptual channel model of the cable tray and an initial parameter set based on the cable list data and equipment location information in the structure array; Step 5: Delete the old cable tray based on its unique name and path identifier, and create a new cable tray geometry entity; Step 6: Using the new cable tray geometry, initial parameter set, and cable properties as input, execute the 3D layout algorithm to generate the optimized cable tray solid model and cable laying scheme; Step 7: Update the engineering design structure tree and associated database.

[0006] The invention is further characterized by: Step 1 specifically involves: importing basic project information through the interactive interface, reading cable inventory data through the CExcelRW interface, and obtaining equipment positioning parameters in the 3D design environment using the equipment positioning tool; simultaneously, importing cable resource library association information, and storing all input data into a vector. <bridgedesigninfo>The structure array is stored and managed, and displayed in a table format using the CATDlgMultilist control. The GetSelect, SetColumnItem, and RemovePosition methods of the CATDlgMultilist control are used to query, modify, and delete data in the structure array, and the UpdateDisplay function is called to refresh the interface display. If the cable inventory contains cable information without clearly matching cable tray parameters, the cable resource library is opened via the CATAdpOpener interface. Reference data from the cable resource library is obtained using the ListClasses function in the PLMICLGLibrary interface. The cable attributes are then parsed using the GetValueAsString function in the CATCkeObjectAttrReadServices attribute parsing service interface, and the matching cable tray type, nominal size, and material model parameters are populated into the vector according to the preset matching rule library. <bridgedesigninfo>Array of structures.

[0007] Step 2 specifically involves: obtaining the top-level design node of the project using the GetRootOcc function; recursively traversing all child nodes under the top-level design node; extracting only the cable tray model data; and using the cable tray attribute reading interface to batch obtain the cable tray names and path identifiers of existing cable tray objects to establish a global cable tray information list. The initial name and preset path identifier of newly created cable trays are compared with the global cable tray information list. If duplicates are found, a unique name and path identifier are generated, and the vector is updated. <bridgedesigninfo>The corresponding field in the structure array.

[0008] Step 3 specifically involves: under the specified parent node of the engineering design coordinate system, calling the geometry set creation interface CATIMmiUseSetFactory to create a main geometry set named "Cable Tray Design Process Element"; and then creating five sub-geometry sets within the main geometry set: Geometric Set 1: Stores the basic geometric data of the project input in Step 1, including equipment positioning points, boundary lines of the project area, and key cross-sections of geological conditions; Geometric Set 2: Stores geometric information associated with the cable inventory, including the three-dimensional coordinates of the cable start and end points and the preliminary outline of the cable laying path; Geometry Set 3: Stores the geometric data of the cable tray conceptual channel model, including the channel centerline, boundary contour, turning nodes, and branch nodes; Geometric Set 4: Stores the geometric features of the cable tray path, including centerline, key control points, cross-sectional profile, and slope change points; Geometry Set 5: Stores the final generated cable tray solid model and cable layout geometry data, including the cable tray solid, cable layout geometry, and cable tray and equipment connection interface geometry.

[0009] Step 4 specifically includes the following steps: Step 4.1: Perform a unified coordinate system transformation on the device positioning information through the CATMathTransformation interface; Step 4.2: Based on the converted equipment positioning information, construct a conceptual channel model of the cable tray using the shortest path algorithm Dijkstra and the engineering constraint optimization algorithm to clarify the channel's direction, key node locations, and range; Step 4.3: Match the cable inventory data with the cable resource library, obtain cable attribute parameters through the resource matching interface, optimize and adjust the conceptual channel model in combination with engineering constraints, and divide the main channel and branch channel of the cable tray. Step 4.4: Based on the divided cable tray channels, generate an initial parameter set that includes cable tray specifications, turning radii, and installation elevation range.

[0010] Step 5 is as follows: Based on the unique name and path identifier output in Step 2, delete the old cable tray model with the same name, associated geometric data, parameter information and constraint relationships within the design scope using the RemoveProduct method of the engineering design data management interface CATIPLMProducts; then use the cable tray geometry creation interface CATIEhiPLMReferenceFactory to create a new cable tray geometric entity framework, and synchronously copy the initial parameter set and geometric constraint relationships generated in Step 4 to the new cable tray geometric entity framework to obtain the new cable tray geometric entity.

[0011] Step 6 specifically includes the following steps: Step 6.1: Call the RunProgramToGenerateXMLFile function to convert the initial parameter set generated in Step 4, the new cable tray geometry entity created in Step 5, the cable attribute parameters, and the engineering constraints into XML data stream format; Step 6.2: Divide the cable into multiple layers according to its rated voltage level from high to low, and arrange the cables in each layer in descending order of their outer diameter. Step 6.3: Using the cable tray centerline as a reference, determine the center projection coordinates of each cable within the cable tray cross-section in the order ordered in Step 6.2. Then, based on the center projection coordinates, physical radius, and preset safety gap value of adjacent cables, calculate and determine whether the center distance between adjacent cables meets the constraint conditions. If not, adjust the vertical coordinates of the cables to ensure the center distance between adjacent cables meets the constraint conditions. satisfy ,in and These are the physical radii of two adjacent cables, This is the preset safety gap value; Step 6.4: Traverse all cross-sections of the cable tray, calculate the ratio of the sum of the outer diameter cross-sectional areas of all cables in each cross-section to the effective net cross-sectional area inside the cable tray at the corresponding cross-section, and use the ratio as the cross-sectional fill rate of the corresponding cross-section; at the same time, based on the grid coordinates of each cable, check whether the actual bending radius of each cable at the cable tray bend and elevation change point is less than the minimum allowable bending radius threshold corresponding to the corresponding cable model. Step 6.5: If the cross-sectional fill rate of any section exceeds the preset fill rate tolerance threshold, or if the actual bending radius of any cable is less than its corresponding minimum allowable bending radius threshold, then increase the width or height of the cable tray at the corresponding section according to the preset step size, or increase the side wall radius of the cable tray on the turning side at the corresponding section, or adjust the installation elevation of the cable tray at the corresponding section upwards or downwards. Step 6.6: Substitute the cable tray parameters adjusted in Step 6.5 back into Step 6.3 and Step 6.4, recalculate the cable grid coordinates, the cross-sectional fill rate of each section, and the actual bending radius of each cable. Repeat Step 6.5 and Step 6.6 until the cross-sectional fill rate of all sections does not exceed the fill rate tolerance threshold and the actual bending radius of all cables is not less than their respective minimum allowable bending radius threshold, and stop the iteration. Step 6.7: Use the cable tray parameters and cable layout grid coordinates obtained when the iteration stops as the final optimization result to generate a three-dimensional cable tray solid model and cable laying scheme.

[0012] Step 7 specifically involves calling the Synchronize method of the CATIPrdOccurrenceMngt interface for updating the engineering design structure tree to refresh the entire engineering design structure tree and synchronously update the associated database information. This allows the optimized cable tray entity model, cable laying scheme, and all associated data generated in Step 6 to be presented in the design system, completing the entire cable tray design process based on 3D cable laying.

[0013] The beneficial effects of this invention are as follows: Based on the cable tray design method for three-dimensional cable laying, this invention realizes fully automated design from data input to model generation, avoiding the inefficiency and human error caused by traditional manual path planning, parameter matching and layout operations. This significantly improves the overall efficiency, accuracy and consistency of cable tray design and cable laying, providing more reliable and efficient technical support for modern water conservancy and hydropower engineering design. Attached Figure Description

[0014] Figure 1 This is a flowchart illustrating the cable tray design method based on three-dimensional cable laying according to the present invention. Figure 2 This is a schematic diagram of the user interface when applying the cable tray design method based on three-dimensional cable laying of this invention. Figure I ; Figure 3 This is a schematic diagram of the user interface when applying the cable tray design method based on three-dimensional cable laying of this invention. Figure II ; Figure 4 This is a schematic diagram of the user interface when applying the cable tray design method based on three-dimensional cable laying of this invention. Figure III ; Figure 5 This is a schematic diagram illustrating the application process of the cable tray design method based on three-dimensional cable laying of the present invention. Detailed Implementation

[0015] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.

[0016] Example 1 This invention provides a cable tray design method based on three-dimensional cable laying, effectively solving several technical bottlenecks in the traditional pumped storage power station engineering design process. These bottlenecks include complex overall cable laying path planning, difficulty in optimizing cable layout schemes, and insufficient accuracy, quality, and efficiency in cable tray design. The method enables a more precise and comprehensive design process, thereby improving the overall quality and efficiency of cable laying design and providing more reliable and efficient technical support for modern engineering design. Figure 1 As shown, it includes the following steps: Step 1: Receive design input data through the interactive interface, including basic engineering information, cable list data, equipment positioning parameters and cable resource library association information, and store them in a dedicated data structure array.

[0017] Step 2: After reading the cable list data through the CExcelRW interface, open the cable resource library through the CATAdpOpener interface, and derive the key parameters of the cable tray through a multi-dimensional weighted matching algorithm.

[0018] Step 3: Use vector <bridgedesigninfo>Data is managed using a structure array, and data editing and display are achieved through the CATDlgMultilist control.

[0019] Step 4: Recursively retrieve all existing cable tray objects and path information within the scope of the engineering design, and generate unique names and path identifiers according to the naming rules.

[0020] Step 5: Create a layered geometry set under the specified parent node in the engineering design coordinate system to store various geometric data in the design process in layers.

[0021] Step 6: Based on the cable inventory data and equipment location information, perform coordinate system transformation on the input data. After the coordinate system transformation is completed, call the Dijkstra+ engineering constraint optimization fusion path planning algorithm to generate the cable tray conceptual channel model and initial parameter set.

[0022] Step 7: After deleting the old cable tray model with the same name and associated data within the design scope, create a new cable tray geometric entity frame, and copy the initial parameter set and geometric constraint relationship to the new cable tray design module.

[0023] Step 8: Invoke the three-dimensional layout algorithm based on voltage level hierarchical topology and nonlinear programming of cross-sectional fill rate to perform bidirectional closed-loop iterative optimization of cable layout and cable tray design parameters: Taking the cable tray spatial parameters, cable physical properties and engineering constraints of the current step as input, and according to the spatial hierarchical rule of laying power cables and control cables on separate sides and placing high-voltage cables on the upper layer, calculate and assign the relative grid coordinates of each cable in the cross-section of the cable tray to generate an initial cable laying spatial layout scheme; then traverse all cable tray cross-sections and calculate in real time the ratio of the actual total cross-sectional area of ​​the cables in each cross-section to the effective net cross-sectional area inside the cable tray to obtain the real-time cross-sectional fill rate. , ,in For the first The outer diameter cross-sectional area of ​​the cable, The effective net cross-sectional area inside the cable tray. The algorithm calculates the total cross-sectional area of ​​all cables within the cross-section. It then checks the actual bending radius of the cable at bends and elevation changes in the cable tray based on the cable's spatial grid coordinates to ensure it is less than the minimum allowable bending radius threshold for that cable type. If the real-time cross-sectional fill rate of any cross-section exceeds a preset tolerance threshold (e.g., 40%), or if the actual bending radius of a local cable does not meet the threshold requirement, a reverse feedback mechanism is triggered. The algorithm automatically corrects the cable tray design parameters at that location based on the exceeding value, including increasing the width or height of the cable tray in step increments, increasing the sidewall radius at bends, or fine-tuning the installation elevation of the cable tray to avoid spatial control points. Finally, the reverse-corrected cable tray design parameters are fed back as input variables to the layout calculation, driving the algorithm to perform secondary spatial layout and dynamic adjustment of the cables until the fill rate, bending radius, and safety clearance between disciplines of all cross-sections fully meet the constraints, achieving algorithm convergence. This generates a three-dimensional cable tray entity model and the optimal cable laying scheme after bidirectional collaborative optimization.

[0024] Step 9: Update the engineering design structure tree and associated database using the Synchronize method of the CATIPrdOccurrenceMngt interface to achieve global synchronization of design data and complete the overall design process.

[0025] Through the above methods, the cable tray design method based on three-dimensional cable laying provided by this invention constructs an automated design mechanism encompassing geometric container tree topology management, spatial grid topology optimization, and multi-objective boundary constraint closed-loop iteration. By employing innovative methods such as structured data management, closed-loop iteration of path and layout algorithms, and automated design processes, it significantly reduces the workload of engineers manually performing tedious tasks such as cable tray path planning, parameter matching, and cable layout in the design of large-scale pumped storage power stations and other engineering projects. Compared to traditional design methods, it has the following significant advantages: More efficient: Through functions such as automated data import, spatial grid topology optimization, automatic parameter mapping and closed-loop feedback adjustment, the cycle of cable tray design and cable laying planning is greatly shortened, repetitive work is avoided, and overall design efficiency is improved.

[0026] Superior accuracy: Relying on unified coordinate system transformation, precise algorithm optimization, and rigid engineering constraints, human error is effectively reduced, ensuring the accuracy of cable tray design parameters and the rationality of cable layout, thus improving design quality.

[0027] Easier to maintain: The use of structured data storage and unique design identifiers makes design modifications and subsequent maintenance more convenient, allowing for quick location and adjustment of relevant parameters and models, thus reducing maintenance costs.

[0028] High compatibility: Built on the CATIA general secondary development interface, it reuses existing engineering data and is compatible with existing engineering design software systems. It can effectively utilize existing cable list data, equipment models and other resources, while reserving expansion interfaces to facilitate subsequent function upgrades and integration with other professional design modules.

[0029] Wide applicability: Applicable to various large-scale water conservancy and hydropower projects, especially the cable tray design and cable laying work of pumped storage power stations. It can fully consider various constraints in actual engineering, provide accurate and reliable digital design results for engineering construction, and provide stronger technical support for modern engineering design.

[0030] Example 2 This invention provides a cable tray design method based on three-dimensional cable laying. Based on Example 1, step 1 preferably includes the following solutions: The interactive interface provides three standard data import methods: local file import (including cable lists in Excel format and equipment layout drawings in CAD format), database connection import, and cloud data synchronization import; it uses an engineering basic information parsing interface to extract key data such as engineering area boundaries and geological conditions; it uses an equipment positioning tool to locate equipment in the 3D design environment and combines the CATIMmiMechanicalFeature interface to capture the geometric features of equipment connection endpoints; it establishes data binding between the cable list module and the resource library module, and enables real-time data retrieval based on library file reading rules to ensure data timeliness and accuracy.

[0031] Example 3 This invention provides a cable tray design method based on three-dimensional cable laying. Based on Example 1, step 2 preferably includes the following scheme: When a cable inventory data import operation is detected, the cable resource library is opened via the CATAdpOpener interface. The parameters of the cable and cable tray are matched. The corresponding reference data in the cable resource library is obtained and filtered according to the PLMICLGLibrary interface. The execution logic is as follows: specify the cable resource library path → filter for matching cable names → extract reference data from the library. Then, the GetValueAsString method in the attribute parsing service interface CATCkeObjectAttrReadServices is used to parse the core attributes of the cable, such as rated voltage, current carrying capacity, outer diameter, and insulation type. A multi-dimensional weighted matching algorithm is used to complete the matching of cable and cable tray parameters. The algorithm rules are as follows: Set matching dimensions and weights: cable outer diameter (weight 0.4), number of cables (weight 0.3), cable type (weight 0.2), and usage environment (weight 0.1).

[0032] Retrieve preset rule library: includes rules for matching cable type with cable tray material, rules for matching cable outer diameter with cable tray specifications, and rules for matching cable quantity with cable tray capacity.

[0033] Sort by weighted score from highest to lowest, select the highest-scoring cable tray type, nominal dimensions (including width, height, thickness, etc.), and material model, and automatically fill them into the structure array. The cable tray type classification criteria are as follows: trough-type cable trays are suitable for fully enclosed protective scenarios; tray-type cable trays are suitable for large-section cables; and ladder-type cable trays are suitable for long-length, heavy-load cables. The material classification criteria are as follows: steel is suitable for conventional indoor environments; aluminum alloy is suitable for lightweight scenarios; and fiberglass is suitable for corrosive environments.

[0034] The matching results are synchronized to the CATDlgCombo dropdown list and the structure array, allowing for manual fine-tuning.

[0035] Example 4 This invention provides a cable tray design method based on three-dimensional cable laying. Based on Example 1, step 3 preferably includes the following scheme: Using vector <bridgedesigninfo>The structure array enables dynamic storage and management of design data. Each structure contains 12 core fields, recording various parameter information required for cable tray design, such as project number, cable tray name, path identifier, cable type, cable tray type, nominal dimensions, turning radius, installation elevation, equipment start number, equipment end number, geological adaptation parameters, and engineering constraint remarks. The design data is then displayed in a tabular format using the CATDlgMultilist control, supporting real-time CRUD operations: when parameters need modification, the GetSelect method of the control retrieves the index of the target data row, the SetColumnItem method updates the corresponding entry in the interface table, and synchronizes it to the vector. <bridgedesigninfo>The corresponding data in the structure array is refreshed by calling the UpdateDisplay function; when a design data needs to be deleted, the control's native RemovePosition method is called to simultaneously clear the corresponding entries in the structure array and the interface table, ensuring data consistency.

[0036] Example 5 This invention provides a cable tray design method based on three-dimensional cable laying. Based on Example 1, step 4 preferably includes the following scheme: A traversal function based on the CATIA node traversal interface is created to complete the retrieval. The function composition and execution logic are as follows: The GetRootOcc function of the CATIA general interface is called to obtain the top-level design node of the project. A recursive algorithm is used to traverse all child nodes under the top-level design node layer by layer, extracting only the cable tray model data. Combined with the cable tray attribute reading interface, the cable tray names and path identifiers of existing cable tray objects are obtained in batches to establish a global cable tray information list. Fixed naming and identifier generation rules are followed. Cable tray name format: [Project Number]-[Cable Tray Type Code]-[Three-digit Serial Number]. Cable tray type code: trough type = CS, tray type = TP, ladder type = TJ; the serial number increases sequentially from 001 within the same project and for the same type of cable tray.

[0037] Path identifier format: LU-[Region Code]-[Channel Number]. The region code and channel number are taken from the basic project information. Channel numbers within the same region start from 01 and increment sequentially. When duplicate names / identifiers occur, only the last number is incremented. The rules are fixed and there is no random logic. Manual prediction and verification are possible.

[0038] The preset name and identifier of the new cable tray are compared with the global list. If duplicates are found, a unique name and path identifier are generated according to the above rules (using the naming rule of "project number-cable tray type-serial number"), and the vector is updated synchronously. <bridgedesigninfo>The corresponding field in the structure array.

[0039] Example 6 This invention provides a cable tray design method based on three-dimensional cable laying. Based on Example 1, step 5 preferably includes the following scheme: Under the specified parent node of the engineering design coordinate system, the CATIMmiUseSetFactory interface is called to create the main geometry set "Cable Tray Design Process Elements". Within this set, five sub-geometry sets are defined according to function, enabling hierarchical data storage. Geometric Data Set 1 (Engineering Basic Geometry): Stores basic geometric data such as the boundary lines of the engineering area, key geological sections, and the three-dimensional coordinates of equipment positioning points; Geometry Set 2 (Cable-related Geometry): Stores cable start and end points, preliminary outline of cable laying path, geometric constraint parameters corresponding to cable type, etc. Geometry Set 3 (Conceptual Channel Geometry): Stores geometric data such as centerline, boundary contour, turning nodes, and branch nodes of the cable tray concept channel; Geometric Set 4 (Optimized Path Geometry): Stores optimized geometric features such as the cable tray centerline, key control points, cross-sectional profile, and slope change points. The optimization method can be based on the cable tray cross-sectional fill rate constraint and the minimum allowable bending radius standard, combined with a closed-loop iterative optimization algorithm. Using the cable tray spatial topology and path geometric parameters as basic data, path optimization and feature storage are carried out. With the cross-sectional fill rate and minimum allowable bending radius as core control indicators, a closed-loop iterative optimization logic is established to iteratively optimize and reverse-correct the original cable tray path, continuously verifying the compliance of the path cross-sectional fill rate. The system establishes safety thresholds for bending radius and other parameters, and iterates backwards for path sections that do not meet the specifications. Simultaneously, it calibrates the path topology, spatial locations, cross-sectional shapes, and slope parameters. After iterating until all indicators meet the specifications, it collects and organizes all path geometric data. This completes the accurate storage of the full-dimensional geometric features of the cable tray path after compliance optimization. It also retains the centerline of the reverse-corrected cable tray topology, coordinates of key spatial control points, standardized channel cross-sectional contours, and slope change node data throughout the entire process. This provides accurate and complete standardized geometric data support for cable tray path modeling, construction verification, and compliance validation. Geometry Set 5 (Solid Model Geometry): Stores the final generated cable tray solid model, cable layout geometry data, and connection interface geometry between the cable tray and equipment.

[0040] Example 7 This invention provides a cable tray design method based on three-dimensional cable laying. Based on Example 1, step 6 preferably includes the following scheme: Step 6.1, Coordinate System Transformation The CATMathTransformation interface is used to perform a unified coordinate system transformation on geometric data such as equipment positioning points and cable start and end points, eliminating coordinate deviations between different data sources and ensuring that all data are based on the same design datum. Transformation parameters: The datum coordinate system is the global engineering coordinate system, with coordinate precision retained to 6 decimal places, eliminating coordinate deviations from multiple data sources.

[0041] Step 6.2: Construct a conceptual channel model for the cable tray using a fusion algorithm. Based on the converted equipment location information, the shortest path algorithm Dijkstra and the engineering constraint optimization algorithm are integrated to construct a preliminary conceptual channel model for the cable tray. This model clarifies the channel's direction, the location and approximate range of key nodes (such as turning points, branch points, and connection points with equipment), while reserving sufficient construction and maintenance space for other disciplines.

[0042] The input parameters for the shortest path algorithm Dijkstra are: the three-dimensional coordinates of the device endpoints, the set of path nodes, and the connection distance between nodes; the optimization objective is to minimize the total physical path length of the cable laying; the execution logic is to calculate the shortest connection path between nodes with the cable start and end points as the core nodes, and generate the initial channel direction.

[0043] The constraint parameters of the engineering constraint optimization algorithm are: minimum clear distance for installation space, geological restricted areas, reserved space for each discipline, and minimum turning radius; the execution logic is: based on the shortest path output by Dijkstra's algorithm, the path nodes are trimmed and offset to avoid the restricted areas.

[0044] By integrating the two algorithms for simultaneous computation, the path nodes simultaneously satisfy the requirements of shortest length and compliance with engineering constraints, ultimately determining the cable tray channel route, key node coordinates, and channel boundary range, thus completing the conceptual channel model construction.

[0045] Step 6.3, Secondary optimization of the channel model By matching cable inventory data with cable resource database through resource matching interface, detailed attribute parameters of cables (such as cable outer diameter, bending radius requirements, weight, etc.) are obtained. Combined with engineering constraints (such as installation space limitations, geological conditions, reserved space parameters of various disciplines, seismic resistance level requirements, etc.), the preliminary conceptual channel model is optimized and adjusted to determine the reasonable division of cable tray channels into main channels and branch channels.

[0046] Step 6.4, Initial parameter set calculation Based on the divided cable tray channels, and considering parameters such as cable quantity and outer diameter, an initial parameter set is calculated and generated. This set includes preliminary dimensions (width, height) of each channel, suggested turning radii, installation elevation range, and material recommendations. Specifically, based on the channel division results, the total number of cables, and the outer diameter of individual cables, the cable tray foundation parameters are calculated using geometric formulas. Cable tray clear width = maximum outer diameter of a single row of cables × number of single rows + total cable gaps; Cable tray clearance = maximum cable outer diameter × number of layers + total interlayer gap; The turning radius should be no less than 1.2 times the minimum allowable bending radius of the cable. Installation elevation: The value is taken within the preset elevation range of the project.

[0047] The final output includes an initial parameter set containing specifications, dimensions, turning radius, and installation elevation range.

[0048] Example 8 This invention provides a cable tray design method based on three-dimensional cable laying. Based on Example 1, step 7 preferably includes the following scheme: A cable tray geometric entity reconstruction system is established. Based on the unique name and path identifier output in step 4, the RemoveProduct method of the engineering design data management interface CATIPLMProducts is used to delete the old cable tray model with the same name, associated geometric data, parameter information and constraint relationships within the design scope. The cable tray geometry creation interface CATIEhiPLMReferenceFactory is used to create a new cable tray geometric entity framework, which includes the basic structure of the cable tray, connection interfaces and other core elements. Then, the initial parameter set and geometric constraint relationships in step 4 are completely synchronized to the new framework to generate a new cable tray geometric entity.

[0049] Example 9 This invention provides a cable tray design method based on three-dimensional cable laying. Based on Example 1, step 8 preferably includes the following scheme: The `RunProgramToGenerateXMLFile` function converts the initial parameter set generated in step 6, the new cable tray geometry created in step 7, detailed cable attribute parameters (outer diameter, bending radius, quantity, etc.), and engineering constraints (installation space, seismic requirements, maintenance space, etc.) into an algorithm-compatible XML data stream format. A heuristic rule + greedy sorting algorithm is loaded: layered by voltage level and sorted by outer diameter, and anti-crossing coordinate calculations are performed. Cable positions are adjusted according to multi-objective optimization rules. Closed-loop feedback is initiated: based on the space utilization and bending radius status after cable arrangement, the cable tray width, height, turning radius, and installation elevation are corrected in reverse. Iteration terminates when parameters no longer change, and the final model is synchronized to the geometry set. Specifically: Step 8.1, Basic Algorithm Configuration Algorithm input: initial parameter set of cable tray, new cable tray geometry, cable properties (outer diameter, voltage rating, bending radius, current carrying capacity), and engineering constraints.

[0050] Multi-dimensional optimization objectives (priority from high to low): ① Hard objective: All cable bending radii meet the specifications and there is no cross-twisting; ② Primary objective: Maximize the utilization rate of the internal space of the cable tray; ③ Secondary objective: Minimize the number of cable bends and the total length of the laying path. Key constraints: minimum bending radius of cables, interlayer safety clearance, separation requirements for cables of different voltage levels, and upper limit of cable tray load.

[0051] Step 8.2, Specific Layout Logic The layering rule (heuristic rule) arranges cables in layers from high to low rated voltage, with high-voltage cables placed on the upper layer and low-voltage cables placed on the lower layer; for cables of the same voltage level, they are arranged in order of outer diameter from large to small.

[0052] The sorting and anti-crossing logic (greedy sorting algorithm) uses the cable tray centerline as a reference and arranges individual cables sequentially from left to right. It calculates the center-to-center distance between adjacent cables in real time, and automatically adjusts the vertical height of the cables to eliminate crossovers when the projected coordinates of two cables coincide. Crossover determination is based on the geometric interference constraint equation, i.e., if... If the spatial projections of the two cables coincide and they physically cross, a vertical position adjustment procedure is triggered. This procedure adjusts the vertical height coordinates of the cables by accumulating height adjustment steps at the current horizontal coordinates until the geometric interference constraint equation no longer holds, thereby eliminating the spatial crossing and entanglement between the cables.

[0053] In the geometric interference constraint equation, the center-to-center distance between the two cables Represented as:

[0054] In the formula, , These are the projected coordinates of the centers of the two cables within the cross-section of the cable tray.

[0055] and These are the physical radii of the two cables, This is a pre-set safety anti-static and heat dissipation gap between cables.

[0056] Algorithm execution flow: ① Data format conversion: Convert all input data to XML standard format; ② Load layout rules and constraint parameters; ③ Perform layered, sorted, and anti-cross calculations to generate a preliminary cable laying plan; ④ Execute closed-loop feedback iteration.

[0057] Step 8.3, Two-way closed-loop feedback mechanism for cable tray and cable laying The constraints of cable tray parameters on cable laying (positive effect): The width, height, turning radius, and installation elevation of the cable tray are hard boundaries. The cable layout and laying path must not exceed the geometric range of the cable tray; the turning radius of the cable tray directly limits the maximum deflection angle of the cable.

[0058] The cable laying results optimize the cable tray parameters in reverse (feedback iteration): ① If the cable tray space utilization rate is >90% after cable laying (space is too full): automatically increase the cable tray width / height and recalculate the cable tray parameters; ② If the cable triggers the bending radius warning multiple times at the bend: automatically increase the cable tray bending radius; ③ If the total height of the multi-layer cable is close to the upper limit of the cable tray net height: adjust the cable tray installation elevation or increase the number of cable tray layers.

[0059] The iteration terminates when the cable tray parameters and cable layout remain unchanged after two consecutive iterations. After iteration, the final optimized cable tray physical model and cable laying scheme are output.

[0060] Using the above method, the algorithm first precisely optimizes parameters such as the specifications, dimensions, installation elevation, and turning radius of the cable tray to ensure that the cable tray meets engineering mechanics requirements and installation space constraints. Then, it refines the cable arrangement within the cable tray by employing layered arrangement and spacing optimization algorithms to automatically adjust the cable laying path, reduce cross-entanglement, and ensure that the cable arrangement is neat and orderly, while also meeting cable bending radius requirements and heat dissipation needs. Finally, it generates a three-dimensional cable tray solid model and corresponding cable laying scheme that meet the actual engineering requirements, and updates it synchronously to the corresponding geometry set.

[0061] Example 10 This invention provides a cable tray design method based on three-dimensional cable laying, such as... Figures 2-4 As shown, functional modules are built based on the open secondary development interface driver layer of general-purpose engineering design software. The user first issues a fully automatic collaborative design command for cable trays to the system in the 3D design environment. The system responds to the command and initializes the fully automatic collaborative design module for cable trays in system memory. Then, the target design node is selected as the parent node in the project structure tree. Next, design parameters (including "single-channel design" and "multi-channel batch design" modes) and design attributes (basic attributes include "project number," "cable tray name," and "design mode"; geometric attributes include "installation elevation," "turning radius," and "specification dimensions"; cable association attributes include "cable list path" and "resource library matching rules") are set as needed in the interactive interface. Figure 5 As shown, users can complete the cable tray design by following these steps: Step 1: Select the target design node as the parent node in the project structure tree and set the basic project information (such as project number, design area, etc.).

[0062] Step 2: Import cable inventory data into the interactive interface, select the cable resource library matching rules, and the system will automatically complete the cable attribute parsing and preliminary cable tray parameter matching; users can manually adjust the matching results through the interface table.

[0063] Step 3: Set key constraints for cable tray design, including installation space limitations, geological condition parameters, and space requirements for each discipline.

[0064] Step 4: Click the "Generate Conceptual Channel" button. The system will execute a path planning algorithm to generate a preliminary conceptual channel model for the cable tray. Users can preview the channel's route and extent through the preview function. If the requirements are not met, the key node positions can be manually adjusted or the constraints can be reset.

[0065] Step 5: After confirming the conceptual channel model, click the "Optimize Design and Generate Entity" button to call the algorithm kernel driver interface. Pass structured text or XML data stream as formal parameters to execute the three-dimensional layout algorithm based on voltage level hierarchical topology and nonlinear programming of cross-section filling rate. This realizes bidirectional closed-loop iterative optimization of cable layout and cable tray design parameters, and generates the optimized cable tray entity model and cable laying scheme.

[0066] The system provides the following convenient functions: automatically updates the geometry and related constraints of the cable tray when the installation elevation is modified; synchronously corrects the cable layout scheme when the cable tray specifications and dimensions are adjusted; automatically re-matches the resource library and updates the cable tray parameters when the cable list data is changed; supports saving, exporting and secondary editing of design schemes, facilitating later maintenance and modification.

[0067] Through the above methods, the characteristics of the cable tray design method based on three-dimensional cable laying of the present invention are reflected in the following aspects: Based on the secondary development technology of engineering design software, an automated design mechanism covering geometric container tree topology management, spatial grid topology optimization and multi-objective boundary constraint closed-loop iteration was constructed, which greatly reduced the amount of manual operation and improved design efficiency and quality. It offers diverse design patterns and data import methods to adapt to the design needs of projects of different scales, enhancing the practicality and flexibility of the method. By integrating a multi-objective decision matching algorithm and a path planning algorithm based on conditional branch matrix, automatic matching of cable and cable tray parameters and optimized design of cable tray paths are realized, reducing human error; The hierarchical and categorized geometric data storage method facilitates the management and maintenance of the design process and supports rapid querying and modification of design data; It provides a design preview function, which allows users to verify and adjust the design before generating the final physical model, ensuring that the design results meet the expected requirements; It supports real-time linkage updates of design parameters. When a parameter changes, the related parameters and geometric models are automatically adjusted to ensure the consistency of design data. It has reserved expansion interfaces, which can add new functional modules (such as cable tray engineering quantity statistics, construction progress correlation, etc.) according to the actual needs of the project, and has good scalability.< / bridgedesigninfo> < / bridgedesigninfo> < / bridgedesigninfo> < / bridgedesigninfo> < / bridgedesigninfo> < / bridgedesigninfo> < / bridgedesigninfo>

Claims

1. A cable tray design method based on three-dimensional cable laying, characterized in that, include: Step 1: Receive design input data and store it in a structure array; Step 2: Recursively search the structure array to ensure that the name and path identifier of the newly created cable tray are unique; Step 3: Create a set of geometric shapes and store the design data in categories; Step 4: Generate a conceptual channel model of the cable tray and an initial parameter set based on the cable list data and equipment location information in the structure array; Step 5: Delete the old cable tray based on its unique name and path identifier, and create a new cable tray geometry entity; Step 6: Using the new cable tray geometry, initial parameter set, and cable properties as input, execute the 3D layout algorithm to generate the optimized cable tray solid model and cable laying scheme; Step 7: Update the engineering design structure tree and associated database.

2. The cable tray design method based on three-dimensional cable laying as described in claim 1, characterized in that, Step 1 specifically involves: importing basic project information through the interactive interface, reading cable inventory data through the CExcelRW interface, and obtaining equipment positioning parameters in the 3D design environment using the equipment positioning tool; simultaneously, importing cable resource library association information and storing all input data into a vector. <bridgedesigninfo> The structure array is stored and managed, and displayed in a table format using the CATDlgMultilist control. The GetSelect, SetColumnItem, and RemovePosition methods of the CATDlgMultilist control are used to query, modify, and delete data in the structure array, and the UpdateDisplay function is called to refresh the interface display.< / bridgedesigninfo> If the cable inventory contains cable information without clearly matching cable tray parameters, the cable resource library is opened via the CATAdpOpener interface. Reference data from the cable resource library is obtained using the ListClasses function in the PLMICLGLibrary interface. The cable attributes are then parsed using the GetValueAsString function in the CATCkeObjectAttrReadServices attribute parsing service interface, and the matching cable tray type, nominal size, and material model parameters are populated into the vector according to the preset matching rule library. <bridgedesigninfo> Array of structures.< / bridgedesigninfo> 3. The cable tray design method based on three-dimensional cable laying as described in claim 1, characterized in that, Step 2 specifically involves: obtaining the top-level design node of the project using the GetRootOcc function; recursively traversing all child nodes under the top-level design node; extracting only the cable tray model data; and using the cable tray attribute reading interface to batch obtain the cable tray names and path identifiers of existing cable tray objects to establish a global cable tray information list. The initial name and preset path identifier of newly created cable trays are compared with the global cable tray information list. If duplicates are found, a unique name and path identifier are generated, and the vector is updated. <bridgedesigninfo> The corresponding field in the structure array.< / bridgedesigninfo> 4. The cable tray design method based on three-dimensional cable laying as described in claim 1, characterized in that, Step 3 specifically involves: under the specified parent node of the engineering design coordinate system, calling the geometry set creation interface CATIMmiUseSetFactory to create a main geometry set named "Cable Tray Design Process Element"; Within the main geometry set, create five sub-geometry sets sequentially: Geometric Set 1: Stores the basic geometric data of the project input in Step 1, including equipment positioning points, boundary lines of the project area, and key cross-sections of geological conditions; Geometric Set 2: Stores geometric information associated with the cable inventory, including the three-dimensional coordinates of the cable start and end points and the preliminary outline of the cable laying path; Geometry Set 3: Stores the geometric data of the cable tray conceptual channel model, including channel centerline, boundary profile, turning nodes, and branch nodes; Geometric Set 4: Stores the geometric features of the cable tray path, including centerline, key control points, cross-sectional profile, and slope change points; Geometry Set 5: Stores the final generated cable tray solid model and cable layout geometry data, including the cable tray solid, cable layout geometry, and cable tray and equipment connection interface geometry.

5. The cable tray design method based on three-dimensional cable laying as described in claim 1, characterized in that, Step 4 specifically includes the following steps: Step 4.1: Perform a unified coordinate system transformation on the device positioning information through the CATMathTransformation interface; Step 4.2: Based on the converted equipment positioning information, construct a conceptual channel model of the cable tray using the shortest path algorithm Dijkstra and the engineering constraint optimization algorithm to clarify the channel's direction, key node locations, and range; Step 4.3: Match the cable inventory data with the cable resource library, obtain cable attribute parameters through the resource matching interface, optimize and adjust the conceptual channel model in combination with engineering constraints, and divide the main channel and branch channel of the cable tray. Step 4.4: Based on the divided cable tray channels, generate an initial parameter set that includes cable tray specifications, turning radii, and installation elevation range.

6. The cable tray design method based on three-dimensional cable laying as described in claim 1, characterized in that, Step 5 specifically involves: using the unique name and path identifier output in step 2 as a basis, deleting the old cable tray model with the same name, associated geometric data, parameter information, and constraint relationships within the design scope through the RemoveProduct method of the engineering design data management interface CATIPLMProducts; then using the cable tray geometry creation interface CATIEhiPLMReferenceFactory to create a new cable tray geometric entity framework, and synchronously copying the initial parameter set and geometric constraint relationships generated in step 4 to the new cable tray geometric entity framework to obtain the new cable tray geometric entity.

7. The cable tray design method based on three-dimensional cable laying as described in claim 1, characterized in that, Step 6 specifically includes the following steps: Step 6.1: Call the RunProgramToGenerateXMLFile function to convert the initial parameter set generated in Step 4, the new cable tray geometry entity created in Step 5, the cable attribute parameters, and the engineering constraints into XML data stream format; Step 6.2: Divide the cable into multiple layers according to its rated voltage level from high to low, and arrange the cables in each layer in descending order of their outer diameter. Step 6.3: Using the cable tray centerline as a reference, determine the center projection coordinates of each cable within the cable tray cross-section in the order ordered in Step 6.

2. Then, based on the center projection coordinates, physical radius, and preset safety gap value of adjacent cables, calculate and determine whether the center distance between adjacent cables meets the constraint conditions. If not, adjust the vertical coordinates of the cables to ensure the center distance between adjacent cables meets the constraint conditions. satisfy ,in and These are the physical radii of two adjacent cables, This is the preset safety gap value; Step 6.4: Traverse all cross-sections of the cable tray, calculate the ratio of the sum of the outer diameter cross-sectional areas of all cables in each cross-section to the effective net cross-sectional area inside the cable tray at the corresponding cross-section, and use the ratio as the cross-sectional fill rate of the corresponding cross-section; at the same time, based on the grid coordinates of each cable, check whether the actual bending radius of each cable at the cable tray bend and elevation change point is less than the minimum allowable bending radius threshold corresponding to the corresponding cable model. Step 6.5: If the cross-sectional fill rate of any section exceeds the preset fill rate tolerance threshold, or if the actual bending radius of any cable is less than its corresponding minimum allowable bending radius threshold, then increase the width or height of the cable tray at the corresponding section according to the preset step size, or increase the side wall radius of the cable tray on the turning side at the corresponding section, or adjust the installation elevation of the cable tray at the corresponding section upwards or downwards. Step 6.6: Substitute the cable tray parameters adjusted in Step 6.5 back into Step 6.3 and Step 6.4, recalculate the cable grid coordinates, the cross-sectional fill rate of each section, and the actual bending radius of each cable. Repeat Step 6.5 and Step 6.6 until the cross-sectional fill rate of all sections does not exceed the fill rate tolerance threshold and the actual bending radius of all cables is not less than their respective minimum allowable bending radius threshold, and stop the iteration. Step 6.7: Use the cable tray parameters and cable layout grid coordinates obtained when the iteration stops as the final optimization result to generate a three-dimensional cable tray solid model and cable laying scheme.

8. The cable tray design method based on three-dimensional cable laying as described in claim 1, characterized in that, Step 7 specifically involves calling the Synchronize method of the CATIPrdOccurrenceMngt interface for updating the engineering design structure tree to refresh the entire engineering design structure tree and synchronously update the associated database information. This allows the optimized cable tray entity model, cable laying scheme, and all associated data generated in step 6 to be presented in the design system, completing the entire cable tray design process based on three-dimensional cable laying.