A digital entity automatic modeling method, system and device for cables in a bridge

By sorting cables by type and outer diameter, and using the cable tray volume ratio to optimize and determine the cable position and centerline coordinates, a three-dimensional solid model is generated. This solves the problem of low efficiency in traditional cable laying design, realizes the digitization and automation of cables in cable trays, and is applicable to cable laying design for various projects.

CN114970165BActive Publication Date: 2025-11-18NORTHWEST ELECTRIC POWER DESIGN INST OF CHINA POWER ENG CONSULTING GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210602743.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-30
Publication Date
2025-11-18
Estimated Expiration
2042-05-30

AI Technical Summary

Technical Problem

Traditional cable laying design is inefficient, labor-intensive, and unable to generate a three-dimensional solid model of the cables inside the cable tray, thus failing to meet the requirements of digital design and digital twin application scenarios.

Method used

By sorting the cables to be laid according to different types and outer diameters, establishing an objective function using the cable tray volume ratio, optimizing the selection of cables to be placed in each layer of the cable tray, calculating the centerline coordinates of each cable, generating a three-dimensional solid model of the cable, and adding attributes to achieve automatic modeling of digital entities.

Benefits of technology

It has achieved digitalization and automation of cable laying design in cable trays, with a modeling accuracy of nearly 100%. It is applicable to cable laying design for various projects, and has significant economic and social benefits, especially in large and medium-sized power generation and transformation projects and power supply and distribution projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114970165B_ABST
    Figure CN114970165B_ABST
Patent Text Reader

Abstract

The application discloses a kind of digital entity automatic modeling method, system and equipment of cable in bridge, belong to cable laying and installation technical field, modeling method includes: to be laid cable is sorted according to different cable types and outer diameter size;Through the objective function established by bridge volume ratio, the cable to be placed in each layer of bridge is determined according to constraint condition optimization;According to the cable to be placed in each layer of bridge determined by optimization, the center line coordinate of each cable is determined;According to the center line coordinate of each cable and the outer diameter of cable, generate cable three-dimensional entity model;Through cable database, attribute is added to cable three-dimensional entity model, complete the digital entity automatic modeling of cable in bridge.The application further discloses a kind of digital entity automatic modeling system of cable in bridge and electronic equipment.The application realizes the digitization and automation of cable laying design in bridge.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of cable laying and installation, and particularly relates to a digital entity automatic modeling method, system and equipment for cables in a bridge. BACKGROUND

[0002] When cable laying design is performed, the traditional method is to perform "manual laying", that is, a designer determines the path through which a cable passes according to the starting end device, terminal end device and cable channel arrangement of the cable, which is low in efficiency and high in labor cost.

[0003] In recent years, some computer programs can obtain the laying path of each cable through optimization, but cannot obtain the three-dimensional entity model of the cable in the bridge, and thus cannot meet the requirements of digital design and digital twin application scenarios. SUMMARY

[0004] The application aims to solve the problems in the prior art and provides a digital entity automatic modeling method, system and equipment for cables in a bridge, which realizes the digitalization and automation of cable laying design in the bridge.

[0005] To achieve the above object, the application has the following technical scheme:

[0006] A digital entity automatic modeling method for cables in a bridge, comprising:

[0007] sorting the cables to be laid according to different cable types and outer diameter sizes;

[0008] determining the cables to be placed in each layer of the bridge according to the constraint conditions through the objective function established by the bridge volume ratio;

[0009] determining the center line coordinates of each cable according to the cables to be placed in each layer of the bridge determined through optimization;

[0010] generating a three-dimensional entity model of the cable according to the center line coordinates of each cable and the outer diameter of the cable;

[0011] adding attributes to the three-dimensional entity model of the cable through a cable database, and completing the digital entity automatic modeling of the cables in the bridge.

[0012] As a preferred scheme, the step of sorting the cables to be laid according to different cable types and outer diameter sizes, the cable types are divided into the following six types: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable; wherein,

[0013] the number of 35kV cables is N1, and the cross-sectional area of each cable is S 11 , S 12...

[0014] The number of 10kV cables is N2, and the cross-sectional area of ​​each cable is S. 21 S 22 ...

[0015] The number of 6kV cables is N3, and the cross-sectional area of ​​each cable is S. 31 S 32 ...

[0016] The number of low-voltage power cables is N4, and the cross-sectional area of ​​each cable is S. 41 S 42 ...

[0017] The number of control and signal cables is N5, and the cross-sectional area of ​​each cable is S. 51 S 52 ...

[0018] The number of communication cables is N6, and the cross-sectional area of ​​each cable is S. 61 S 62 ...

[0019] Therefore, the total number of cables is N, where N = N1 + N2 + N3 + N4 + N5 + N6.

[0020] As a preferred embodiment, the step of sorting the cables to be laid according to different cable types and outer diameters results in the following sorting:

[0021] The 35kV cables are numbered 11, 12, ..., 1N1, with cross-sectional areas of S respectively. 11 S 12 ...

[0022] The 10kV cables are numbered 21, 22, ..., 2N2, with cross-sectional areas of S respectively. 21 S 22 ...

[0023] The 6kV cables are numbered 31, 32, ..., 3N3, with cross-sectional areas of S respectively. 31 S 23 ...

[0024] The low-voltage power cables are numbered 41, 42, ..., 4N3, with cross-sectional areas of S respectively.31 S 42 ...

[0025] The control and signal cables are numbered 51, 52, ..., 5N5, with cross-sectional areas of S respectively. 51 S 52 ...

[0026] The communication cables are numbered 61, 62, ..., 6N6, with cross-sectional areas of S respectively. 61 S 62 ...

[0027] As a preferred embodiment, the step of determining the number of cables to be placed in each layer of the cable tray by optimizing the objective function established based on the cable tray volume ratio and according to the constraints includes: assuming the number of layers in the cable tray is M, with layer numbers 1, 2, ..., M from top to bottom; the width of the cable tray is W, and the height is H; the i-th layer of the cable tray has n cables, numbered i1, i2, ..., i... n Their cross-sectional areas are S i1 S i2 ... S in The volume ratio of the i-th layer of cable trays is:

[0028]

[0029] The objective function for determining the number of cables on each layer of the cable tray is:

[0030] Min{Max[δ1, δ2, ..., δ] M ]-Min[δ1, δ2, ... δ M ]}

[0031] The constraints are as follows: the cables must be arranged from top to bottom as follows: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable, and must not cross each other.

[0032] As a preferred embodiment, the step of determining the cables to be placed in each layer of the cable tray by optimizing the objective function established based on the cable tray volume ratio and according to the constraints includes:

[0033] Calculate the desired floor area ratio using the following formula:

[0034]

[0035] Following the order, place the cables to be laid in the cable tray from top to bottom. Calculate the volume ratio δ of the cable tray for each cable placed. If δ < δ... avIf δ ≥ δ av If the cable is not placed on the current floor, then stop placing cables on the next floor and start placing cables on the next floor, until all cables have been placed.

[0036] As a preferred embodiment, determining the centerline coordinates of each cable according to the optimally determined number of cables to be placed in each layer of the cable tray includes:

[0037] Assume the radii of the n cables in the i-th layer of the cable tray are R... i1 R i2 ... R in ;

[0038] if The spacing between cables is calculated using the following formula:

[0039]

[0040] The coordinates of the centerline of the i1th cable are:

[0041]

[0042] The coordinates of the centerline of the i2th cable are:

[0043]

[0044] And so on;

[0045] if The coordinates of the centerline of the first layer of cables within the cable tray are determined as follows:

[0046] The coordinates of the centerline of the i1th cable are:

[0047]

[0048] The coordinates of the centerline of the i2th cable are:

[0049]

[0050] And so on;

[0051] The centerline coordinates of the first cable in the second layer of the cable tray are solved using the following system of two quadratic equations:

[0052]

[0053] (x j ,y j The coordinates of (x) are taken from multiple solutions of the above system of two quadratic equations. j >0, and y j Solution > 0;

[0054] The centerline coordinates of the other cables in the second layer follow the same pattern.

[0055] If there are cables in the cable tray in the third or higher layers, the method for determining the centerline coordinates of the cables in the third or higher layers is the same as that for the second layer.

[0056] Secondly, a digital entity automatic modeling system for cables within cable trays is provided, comprising:

[0057] The cable sorting module is used to sort the cables to be laid according to different cable types and outer diameters.

[0058] The cable placement optimization module is used to optimize and determine the cables to be placed in each layer of cable tray based on the objective function established by the cable tray volume ratio and the constraints.

[0059] The centerline coordinate solving module is used to determine the centerline coordinates of each cable according to the cables to be placed in each layer of the cable tray as determined by optimization.

[0060] The 3D solid model generation module is used to generate a 3D solid model of the cable based on the centerline coordinates of each cable and the outer diameter of the cable.

[0061] The attribute addition module is used to add attributes to the 3D solid model of the cable through the cable database, thereby completing the automatic digital solid modeling of the cable in the cable tray.

[0062] As a preferred embodiment, when the cable sorting module sorts the cables to be laid according to different cable types and outer diameters, the cable types are divided into the following six categories: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable.

[0063] The cable placement optimization module determines the number of cables to be placed in each layer of the cable tray based on the objective function established by the cable tray volume ratio and the constraints. This includes: assuming the number of cable tray layers is M, with layer numbers 1, 2, ..., M from top to bottom; the width of the cable tray is W, and the height is H; the i-th layer of the cable tray has n cables, numbered i1, i2, ..., i... n Their cross-sectional areas are S i1 S i2 ... S in ;

[0064] The volume ratio of the i-th layer of cable trays is:

[0065]

[0066] The objective function for determining the number of cables on each layer of the cable tray is:

[0067] Min{Max[δ1, δ2, ..., δ] M]-Min[δ1, δ2, ... δ M ]}

[0068] The constraints are as follows: the cables must be arranged from top to bottom as follows: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable, and must not cross each other.

[0069] Calculate the desired floor area ratio using the following formula:

[0070]

[0071] Following the order, place the cables to be laid in the cable tray from top to bottom. Calculate the volume ratio δ of the cable tray for each cable placed. If δ < δ... av If δ ≥ δ av If the cable is not placed on the current floor, then stop placing cables on the next floor and start placing cables on the next floor, until all cables have been placed.

[0072] As a preferred embodiment, the centerline coordinate solving module determines the centerline coordinates of each cable by including the following steps:

[0073] Assume the radii of the n cables in the i-th layer of the cable tray are R... i1 R i2 ... R in ;

[0074] if The spacing between cables is calculated using the following formula:

[0075]

[0076] The coordinates of the centerline of the i1th cable are:

[0077]

[0078] The coordinates of the centerline of the i2th cable are:

[0079]

[0080] And so on;

[0081] if The coordinates of the centerline of the first layer of cables within the cable tray are determined as follows:

[0082] The coordinates of the centerline of the i1th cable are:

[0083]

[0084] The coordinates of the centerline of the i2th cable are:

[0085]

[0086] And so on;

[0087] The centerline coordinates of the first cable in the second layer of the cable tray are solved using the following system of two quadratic equations:

[0088]

[0089] (x j ,y j The coordinates of (x) are taken from multiple solutions of the above system of two quadratic equations. j >0, and y j Solution > 0;

[0090] The centerline coordinates of the other cables in the second layer follow the same pattern.

[0091] If there are cables in the cable tray in the third or higher layers, the method for determining the centerline coordinates of the cables in the third or higher layers is the same as that for the second layer.

[0092] Thirdly, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the automatic modeling method for digital entities of cables within a cable tray as described in the first aspect.

[0093] Compared with the prior art, the present invention has at least the following beneficial effects:

[0094] For AC power systems used in conventional power engineering plants or stations, single-core cables are generally not used. This invention sorts the cables to be laid according to different types and outer diameters, then optimizes the placement of cables in each layer of cable trays, and determines the centerline coordinates of each cable to generate a three-dimensional solid model of the cable. Attributes are then added to the three-dimensional solid model using a cable database, completing the automatic digital solid modeling of cables within the cable tray. This achieves the digitalization and automation of cable laying design within cable trays, meeting the requirements of digital design and digital twin application scenarios for cables within cable trays. Experiments show that the modeling accuracy of this invention is close to 100%. Compared with traditional cable laying design methods, the design methods and results have undergone a fundamental transformation, achieving a breakthrough in the automatic digital solid modeling of cables within cable trays. The digital entity automatic modeling method for cables in cable trays of this invention has a wide range of applications. It is not only applicable to the design of new, expanded and renovated power generation and transformation projects, but also to the cable laying design of all chemical, petroleum, coal, railway, municipal and civil building projects. It has significant economic and social benefits, especially in large and medium-sized power generation and transformation projects and power supply and distribution projects where there are many cables. Attached Figure Description

[0095] Figure 1 A schematic diagram of laying one layer of cables inside a cable tray;

[0096] Figure 2 A schematic diagram of multi-layer cables laid in a cable tray;

[0097] Figure 3 This is a cross-sectional view of the cable tray and cable according to an embodiment of the present invention;

[0098] Figure 4 This is a three-dimensional solid model of the cable tray and cable according to an embodiment of the present invention. Detailed Implementation

[0099] To enable those skilled in the art to better understand the present invention, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0100] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0101] For AC power systems used in conventional power engineering projects, single-core cables are generally not used. Therefore, this invention does not cover cases where single-core cables are used in AC systems. Cables are classified into the following six categories: 35kV cables, 10kV cables, 6kV cables, low-voltage power cables, control and signal cables, and communication cables. Assume that the following cables need to be laid on a certain cable tray branch:

[0102] The number of 35kV cables is N1, and the cross-sectional area of ​​each cable is S. 11 S 12 ...

[0103] The number of 10kV cables is N2, and the cross-sectional area of ​​each cable is S. 21 S 22...

[0104] The number of 6kV cables is N3, and the cross-sectional area of ​​each cable is S. 31 S 32 ...

[0105] The number of low-voltage power cables is N4, and the cross-sectional area of ​​each cable is S. 41 S 42 ...

[0106] The number of control and signal cables is N5, and the cross-sectional area of ​​each cable is S. 51 S 52 ...

[0107] The number of communication cables is N6, and the cross-sectional area of ​​each cable is S. 61 S 62 ...

[0108] The total number of cables is N, where N = N1 + N2 + N3 + N4 + N5 + N6.

[0109] Other conditions are as follows:

[0110] The cable tray has M layers, numbered 1, 2, ..., M from top to bottom;

[0111] The cable tray has a width of W and a height of H.

[0112] Assume the i-th layer of the cable tray has n cables, numbered i1, i2, ..., in, with cross-sectional areas S and S respectively. i1 S i2 ... S in Then, the volume ratio of the i-th layer of the cable tray is:

[0113]

[0114] Average floor area ratio, also known as expected floor area ratio:

[0115]

[0116] To determine the centerline coordinates of each cable, we first need to determine which cables are on each layer of the cable tray. The objective function for determining which cables are on each layer of the cable tray is:

[0117] Min{Max[δ1, δ2, ..., δ] M ]-Min[δ1, δ2, ... δ M ]}

[0118] The constraints are as follows: the cables must be arranged from top to bottom as follows: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable, and must not cross each other.

[0119] The present invention provides an automatic modeling method for digital entities of cables within cable trays, comprising:

[0120] S1. Sort the cables to be laid according to different cable types and outer diameters;

[0121] S2. Using the objective function established by the cable tray volume ratio, determine the cables to be placed in each layer of the cable tray according to the constraints.

[0122] S3. Determine the centerline coordinates of each cable according to the cables to be placed in each layer of the cable tray as determined by optimization.

[0123] S4. Generate a three-dimensional solid model of the cable based on the centerline coordinates of each cable and the outer diameter of the cable;

[0124] S5. Add attributes to the 3D solid model of the cable through the cable database to complete the automatic digital solid modeling of the cable in the cable tray.

[0125] In one possible implementation, step S1 sorts all cables in descending order of cross-sectional area, assuming the sorting result is:

[0126] The 35kV cables are numbered 11, 12, ..., 1N1, with cross-sectional areas of S respectively. 11 S 12 ...

[0127] The 10kV cables are numbered 21, 22, ..., 2N2, with cross-sectional areas of S respectively. 21 S 22 ...

[0128] The 6kV cables are numbered 31, 32, ..., 3N3, with cross-sectional areas of S respectively. 31 S 32 ...

[0129] The low-voltage power cables are numbered 41, 42, ..., 4N4, with cross-sectional areas of S respectively. 41 S 42 ...

[0130] The control and signal cables are numbered 51, 52, ..., 5N5, with cross-sectional areas of S respectively.51 S 52 ...

[0131] The communication cables are numbered 61, 62, ..., 6N6, with cross-sectional areas of S respectively. 61 S 62 ...

[0132] Step S2: Based on the cable arrangement order in Step 1, place the cables into the cable trays sequentially from top to bottom. Calculate the volume ratio δ of each layer of the cable tray after placing each cable. If δ < δ... av If δ ≥ δ av If the cable is not placed on the current floor, then stop placing cables on the next floor and start placing cables on the next floor, until all cables have been placed.

[0133] After step S2, the cables placed in each layer of the cable tray are determined. Assume the i-th layer of the cable tray has n cables, numbered i1, i2, ..., in, with radii R... i1 R i2 ... R in The cross-sectional areas are S i1 S i2 ... S in Then, the volume ratio of the i-th layer of cable trays is... Where i = 1, 2, ..., M.

[0134] Step S3, determining the centerline coordinates of each cable, includes the following process:

[0135] if The spacing between the cables is:

[0136]

[0137] like Figure 1 As shown, the coordinates of the centerline of the i1th cable are:

[0138]

[0139] The coordinates of the centerline of the i2th cable are:

[0140]

[0141] i-th j The coordinates of the centerline of the cable are:

[0142]

[0143] And so on.

[0144] if The cables are then placed in layers, such as Figure 2 As shown, the centerline coordinates of the first layer of cables within the cable tray are calculated using the following formula, and the centerline coordinates of the i1th cable are:

[0145]

[0146] The coordinates of the centerline of the i2th cable are:

[0147]

[0148] And so on.

[0149] like Figure 2 As shown, the centerline coordinates of the second layer cable require solving the following system of two quadratic equations:

[0150]

[0151] (x j ,y j The coordinates are taken from multiple solutions of the above system of two quadratic equations. j >0, and y j The solution is greater than 0.

[0152] The centerline coordinates of the other cables on the second layer follow the same pattern.

[0153] If there are cables in the third layer and beyond, the calculation method is the same as for the second layer.

[0154] Another embodiment of the present invention provides an automatic digital solid modeling system for cables in cable trays, comprising:

[0155] Cable sorting module 1 is used to sort the cables to be laid according to different cable types and outer diameters;

[0156] Cable placement optimization module 2 is used to optimize and determine the cables to be placed in each layer of cable tray according to the constraints by using an objective function established with the cable tray volume ratio.

[0157] Centerline coordinate solving module 3 is used to determine the centerline coordinates of each cable according to the cables to be placed in each layer of cable tray determined by optimization.

[0158] The 3D solid model generation module 4 is used to generate a 3D solid model of the cable based on the centerline coordinates of each cable and the outer diameter of the cable.

[0159] Attribute Addition Module 5 is used to add attributes to the 3D solid model of the cable through the cable database, thereby completing the automatic modeling of the digital solid model of the cable in the cable tray.

[0160] In one possible implementation, when the cable sorting module 1 sorts the cables to be laid according to different cable types and outer diameters, the cable types are divided into the following six categories: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable.

[0161] In one possible implementation, the cable placement optimization module 2 determines the number of cables to be placed in each layer of the cable tray according to the constraints using an objective function established based on the cable tray volume ratio. This includes: assuming the number of cable tray layers is M, with layer numbers 1, 2, ..., M from top to bottom; the width of the cable tray is W, and the height is H; the i-th layer of the cable tray has n cables, numbered i1, i2, ..., i... n Their cross-sectional areas are S i1 S i2 ... S in ;

[0162] The volume ratio of the i-th layer of cable trays is:

[0163]

[0164] The objective function for determining the number of cables on each layer of the cable tray is:

[0165] Min{Max[δ1, δ2, ..., δ] M ]-Min[δ1, δ2, ... δ M ]}

[0166] The constraints are as follows: the cables must be arranged from top to bottom as follows: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable, and must not cross each other.

[0167] Calculate the desired floor area ratio using the following formula:

[0168]

[0169] Following the order, place the cables to be laid in the cable tray from top to bottom. Calculate the volume ratio δ of the cable tray for each cable placed. If δ < δ... av If δ ≥ δ av If the cable is not placed on the current floor, then stop placing cables on the next floor and start placing cables on the next floor, until all cables have been placed.

[0170] In one possible implementation, the centerline coordinate solving module 3 determines the centerline coordinates of each cable by including:

[0171] Assume the radii of the n cables in the i-th layer of the cable tray are R... i1 R i2 ... Rin ;

[0172] if The spacing between cables is calculated using the following formula:

[0173]

[0174] The coordinates of the centerline of the i1th cable are:

[0175]

[0176] The coordinates of the centerline of the i2th cable are:

[0177]

[0178] And so on;

[0179] if The coordinates of the centerline of the first layer of cables within the cable tray are determined as follows:

[0180] The coordinates of the centerline of the i1th cable are:

[0181]

[0182] The coordinates of the centerline of the i2th cable are:

[0183]

[0184] And so on;

[0185] The centerline coordinates of the first cable in the second layer of the cable tray are solved using the following system of two quadratic equations:

[0186]

[0187] (x j ,y j The coordinates of (x) are taken from multiple solutions of the above system of two quadratic equations. j >0, and y j Solution > 0;

[0188] The centerline coordinates of the other cables in the second layer follow the same pattern.

[0189] If there are cables in the cable tray in the third or higher layers, the method for determining the centerline coordinates of the cables in the third or higher layers is the same as that for the second layer.

[0190] Another embodiment of the present invention provides an electronic device, characterized in that it includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of an automatic modeling method for digital entities of cables within the cable tray.

[0191] For example, the instructions stored in the memory can be divided into one or more modules / units. These modules / units are stored in a computer-readable storage medium and executed by the processor to complete the automatic modeling method for digital entities of cables within a cable tray according to the present invention. The one or more modules / units can be a series of computer-readable instruction segments capable of performing specific functions, which describe the execution process of the computer program in the server.

[0192] The electronic device may be a smartphone, laptop, PDA, or cloud server, among other computing devices. It may include, but is not limited to, a processor and memory. Those skilled in the art will understand that the electronic device may also include more or fewer components, or combinations of certain components, or different components; for example, it may also include input / output devices, network access devices, buses, etc.

[0193] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0194] The memory can be an internal storage unit of the server, such as a hard drive or RAM. Alternatively, it can be an external storage device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital Card (SD), or Flash Card. Furthermore, the memory can include both internal and external storage units. The memory stores computer-readable instructions and other programs and data required by the server. It can also temporarily store data that has been output or will be output.

[0195] It should be noted that the information interaction and execution process between the above-mentioned module units are based on the same concept as the method embodiment. For details on their specific functions and technical effects, please refer to the method embodiment section. They will not be repeated here.

[0196] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0197] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.

[0198] This invention presents an automatic digital entity modeling method for cables within cable trays. It sorts and optimizes the cables to be laid according to different types and outer diameters to determine the appropriate number of cables to be placed in each layer of the cable tray. Then, it uses formula calculations and equation solving to determine the centerline coordinates of each cable, thus achieving automatic digital entity modeling of the cables. Cable data is retrieved from a cable database, realizing the digitalization and automation of cable laying design within cable trays. Experiments have shown that the modeling accuracy of this invention's automatic digital entity modeling method for cables within cable trays is close to 100%. Compared with traditional cable laying design methods, it represents a fundamental revolution in design methods and results, achieving a breakthrough in the automatic digital entity modeling of cables within cable trays. This invention has a wide range of applications, not only suitable for the design of new, expanded, and renovated power generation and transformation projects, but also for cable laying design in all chemical, petroleum, coal, railway, municipal, and civil building projects. It is particularly beneficial for large and medium-sized power generation and transformation projects and power distribution projects with a large number of cables, demonstrating significant economic and social benefits.

[0199] In another embodiment of the present invention, a practical application scenario of a method for automatically modeling digital entities of cables in cable trays is provided, taking the cables in a cable tray on a certain floor of a main plant of a certain project as an example.

[0200] The number of 35kV cables in a certain cable tray is N1 = 0; the number of 10kV cables is N2 = 7, and the cross-sectional area of ​​each cable is S. 21 =4068mm 2 (Outer diameter is 72mm), S 22 =4068mm 2 S 23 =4068mm 2 S 24 =4068mm 2 S 25 =4068mm 2 S 27 =2550mm 2 (Outer diameter is 57mm), S 27 =2550mm 2 The number of 6kV cables is N3 = 0; the number of low-voltage power cables is N4 = 7, and the cross-sectional area of ​​each cable is S. 41 =804mm 2 (Outer diameter is 32mm), S 42 =804mm 2 S 43 =804mm 2 S 44 =804mm 2 S 45 =314mm 2 (Outer diameter is 20mm), S46 =314mm 2 S 47 =314mm 2 The number of control and signal cables is N5 = 0; the number of communication cables is N6 = 0. The total number of cables is N = N1 + N2 + N3 + N4 + N5 + N6 = 14. The cable tray width is W = 600 mm, and the cable tray height is H = 150 mm.

[0201] S1: Determine the centerline coordinates of each cable based on the laying path optimized by the cable laying software. The specific method is as follows:

[0202] Step 1: Sort all cables in descending order of cross-sectional area. Assume the sorting result is:

[0203] The 10kV cables are numbered 21, 22, ..., 27, with cross-sectional areas of S respectively. 21 S 22 ... S 27 ;

[0204] The low-voltage power cables are numbered 41, 42, ..., 47, with cross-sectional areas of S respectively. 41 S 42 ... S 47 ;

[0205] There are no other types of cables.

[0206] Step 2: Determine which floor each cable tray should be placed on. Since this embodiment only applies to one floor, all 14 cables are placed on this floor.

[0207] Step 3: Determine the centerline coordinates of each cable.

[0208] First, a judgment is made. Right now According to the calculation method, the centerline coordinates of each cable are shown in Table 1.

[0209] Table 1 Centerline coordinates of each cable

[0210] Serial number Coordinate x Coordinate y 1 36 36 2 108 36 3 180 36 4 252 36 5 324 36 6 388.87 28.5 7 445.87 28.5 8 488.22 16 9 520.22 16 10 552.22 16 11 72.02 73.53 12 144.00 64.66 13 216.00 64.66 14 288.00 64.66

[0211] Step S1 is now complete.

[0212] S2: Automatically generate a three-dimensional solid model of the cable based on the centerline and outer diameter of the cable obtained from S1;

[0213] Based on the centerline coordinates and cable outer diameter obtained from S1, the cross-sectional diagrams of the cable tray and cable in this embodiment of the invention are as follows: Figure 3 As shown; the automatically generated 3D solid model of the cable is as follows. Figure 4 As shown.

[0214] S3: Automatically add attributes to the 3D solid model of the cable obtained in S2 based on the cable database;

[0215] This concludes the example.

[0216] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for automatically modeling the digital entity of cables within a cable tray, characterized in that, include: The cables to be laid are sorted according to their different cable types and outer diameters; By using the objective function established based on the cable tray volume ratio, the cables to be placed in each layer of the cable tray are determined optimally according to the constraints. Based on the cables to be placed in each layer of the cable tray determined through optimization, determine the centerline coordinates of each cable. A three-dimensional solid model of the cable is generated based on the centerline coordinates of each cable and the outer diameter of the cable. By adding attributes to the 3D solid model of the cable using a cable database, the digital solid model of the cable within the cable tray can be automatically created. The objective function established based on the cable tray volume ratio, and the optimization determination of the cables to be placed in each layer of the cable tray according to the constraints, includes: assuming the number of cable tray layers is M, numbered 1, 2, ..., M from top to bottom; the width of the cable tray is W, and the height is H; the i-th layer of the cable tray has n cables, numbered i1, i2, ..., i... n Their cross-sectional areas are S i1 S i2 ... S in ; The volume ratio of the i-th layer of cable trays is: The objective function for determining the number of cables on each layer of the cable tray is: Min{Max[δ1、δ2、……δ M ]-Min[δ1、δ2、……δ M ]} The constraints are as follows: the cables must be arranged from top to bottom as follows: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable, and must not cross each other. The process of determining the cables to be placed in each layer of cable tray by optimizing the objective function established based on the cable tray volume ratio and according to the constraints includes: Calculate the desired floor area ratio using the following formula: Following the order, place the cables to be laid in the cable tray from top to bottom. Calculate the volume ratio δ of the cable tray for each cable placed. If δ < δ... av If δ ≥ δ av If the cable is not placed on the current floor, then stop placing cables on the next floor and start placing cables on the next floor, until all cables have been placed. The process of determining the centerline coordinates of each cable, based on the optimized cable arrangement within each layer of the cable tray, includes: Assume the radii of the n cables in the i-th layer of the cable tray are R... i1 R i2 ... R in ; if The spacing between cables is calculated using the following formula: The coordinates of the centerline of the i1th cable are: The coordinates of the centerline of the i2th cable are: And so on; if The coordinates of the centerline of the first layer of cables within the cable tray are determined as follows: The coordinates of the centerline of the i1th cable are: The coordinates of the centerline of the i2th cable are: And so on; The centerline coordinates of the first cable in the second layer of the cable tray are solved using the following system of two quadratic equations: (x j ,y j The coordinates of (x) are taken from multiple solutions of the above system of two quadratic equations. j >0, and y j Solution > 0; The centerline coordinates of the other cables in the second layer follow the same pattern. If there are cables in the cable tray in the third or higher layers, the method for determining the centerline coordinates of the cables in the third or higher layers is the same as that for the second layer.

2. The method for automatic digital entity modeling of cables within a cable tray according to claim 1, characterized in that, The step of sorting the cables to be laid according to different cable types and outer diameters, wherein the cable types are divided into the following six categories: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable; in, The number of 35kV cables is N1, and the cross-sectional area of ​​each cable is as follows: The number of 10kV cables is N2, and the cross-sectional area of ​​each cable is as follows: The number of 6kV cables is N3, and the cross-sectional area of ​​each cable is as follows: The number of low-voltage power cables is N4, and the cross-sectional area of ​​each cable is as follows: The number of control and signal cables is N5, and the cross-sectional area of ​​each cable is as follows: The number of communication cables is N6, and the cross-sectional area of ​​each cable is as follows: Therefore, the total number of cables is N, where N = N1 + N2 + N3 + N4 + N5 + N6.

3. The method for automatic digital solid modeling of cables within a cable tray according to claim 2, characterized in that, The step of sorting the cables to be laid according to different cable types and outer diameters results in the following sorting: The 35kV cables are numbered 11, 12, ..., 1N1, with cross-sectional areas of respectively... The 10kV cables are numbered 21, 22, ..., 2N2, with cross-sectional areas of respectively... The 6kV cables are numbered 31, 32, ..., 3N3, with cross-sectional areas of respectively... The low-voltage power cables are numbered 41, 42, ..., 4N4, with cross-sectional areas of respectively... The control and signal cables are numbered 51, 52, ..., 5N5, with cross-sectional areas of respectively... The communication cables are numbered 61, 62, ..., 6N6, with cross-sectional areas of respectively...

4. A digital entity automatic modeling system for cables within cable trays, characterized in that, include: The cable sorting module is used to sort the cables to be laid according to different cable types and outer diameters. The cable placement optimization module is used to optimize and determine the cables to be placed in each layer of cable tray based on the objective function established by the cable tray volume ratio and the constraints. The centerline coordinate solving module is used to determine the centerline coordinates of each cable according to the cables to be placed in each layer of the cable tray as determined by optimization. The 3D solid model generation module is used to generate a 3D solid model of the cable based on the centerline coordinates of each cable and the outer diameter of the cable. The attribute addition module is used to add attributes to the 3D solid model of the cable through the cable database, so as to complete the automatic modeling of the digital solid of the cable in the cable tray. When the cable sorting module sorts the cables to be laid according to different cable types and outer diameters, the cable types are divided into the following six categories: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable. The cable placement optimization module determines the number of cables to be placed in each layer of the cable tray based on the objective function established by the cable tray volume ratio and the constraints. This includes: assuming the number of cable tray layers is M, with layer numbers 1, 2, ..., M from top to bottom; the width of the cable tray is W, and the height is H; the i-th layer of the cable tray has n cables, numbered i1, i2, ..., i... n Their cross-sectional areas are S i1 S i2 ... S in ; The volume ratio of the i-th layer of cable trays is: The objective function for determining the number of cables on each layer of the cable tray is: Min{Max[δ1、δ2、……δ M ]-Min[δ1、δ2、……δ M ]} The constraints are as follows: the cables must be arranged from top to bottom as follows: 35kV cable, 10kV cable, 6kV cable, low-voltage power cable, control and signal cable, and communication cable, and must not cross each other. Calculate the desired floor area ratio using the following formula: Following the order, place the cables to be laid in the cable tray from top to bottom. Calculate the volume ratio δ of the cable tray for each cable placed. If δ < δ... av If δ ≥ δ av If the cable is not placed on the current floor, then stop placing cables on the next floor and start placing cables on the next floor, until all cables have been placed. The steps for the centerline coordinate solving module to determine the centerline coordinates of each cable include: Assume the radii of the n cables in the i-th layer of the cable tray are R... i1 R i2 ... R in ; if The spacing between cables is calculated using the following formula: The coordinates of the centerline of the i1th cable are: The coordinates of the centerline of the i2th cable are: And so on; if The coordinates of the centerline of the first layer of cables within the cable tray are determined as follows: The coordinates of the centerline of the i1th cable are: The coordinates of the centerline of the i2th cable are: And so on; The centerline coordinates of the first cable in the second layer of the cable tray are solved using the following system of two quadratic equations: (x j ,y j The coordinates of (x) are taken from multiple solutions of the above system of two quadratic equations. j >0, and y j Solution > 0; The centerline coordinates of the other cables in the second layer follow the same pattern. If there are cables in the cable tray in the third or higher layers, the method for determining the centerline coordinates of the cables in the third or higher layers is the same as that for the second layer.

5. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the automatic modeling method for digital entities of cables within a cable tray as described in any one of claims 1 to 3.