A ship through-cabin cable channel design method, system, equipment and medium

By establishing a virtual cabin through-passing channel connection model and cabin through cable channel model in three-dimensional software, the cable laying path is calculated and the information table is generated, the problem that the cabin through-passing cable path cannot be expressed in three-dimensionally, and the design efficiency and accuracy are improved.

CN118350122BActive Publication Date: 2025-03-25CHINA STATE SHIPBUILDING CORP LTD RESEARCH INSTITUTE 719
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410467773.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2025-03-25
Estimated Expiration
2044-04-18

AI Technical Summary

Technical Problem

In the prior art, the cabin-through cable path cannot be expressed through a three-dimensional model, resulting in low design efficiency and large design errors.

Method used

By establishing a virtual cabin through channel connector model and cabin through cable channel model in three-dimensional software, the shortest path algorithm is used to calculate the cable laying path, and the opening number of the virtual cabin through cable channel connector model is extracted to generate a cabin through cable laying information table.

Benefits of technology

The detailed three-dimensional expression of the cabin cable path is realized, the design efficiency is improved, and design errors and errors are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118350122B_ABST
    Figure CN118350122B_ABST
Patent Text Reader

Abstract

The present invention discloses a ship through-cabin cable channel design method, system, equipment and medium, which relates to the field of ship technology. Based on the cable channel entity model in three-dimensional software as the cable laying space placeholder, the design method includes: establishing a virtual through-cabin channel connector model and a through-cabin cable channel model; calling and arranging the virtual through-cabin cable channel connector model on both sides of the bulkhead, drawing a stuffing box and arranging it in the through-cabin part of the bulkhead, connecting one end face of the virtual through-cabin cable channel connector to the stuffing box, and connecting the other end face to the cable channel; using the shortest path algorithm to calculate the through-cabin cable laying path; extracting the opening number of each opening of the virtual through-cabin cable channel connector model for laying cables, and associating and outputting a through-cabin cable laying information table. The present invention parameterizes the virtual through-cabin channel connector, automatically adjusts the opening of the virtual through-cabin channel connector based on the cable opening of the stuffing box, and establishes a channel branch for each cable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of ship technology, and in particular to a ship cabin-penetrating cable channel design method, system, equipment and medium. Background Art

[0002] The ship electrical system has the characteristics of many devices, many interfaces, and many cables. In the process of ship 3D design, in order to improve the efficiency of design modeling, the solid cable model is often not drawn. The solid model of the cable channel with a rectangular or circular cross-section is used to occupy the cable laying space. According to certain design specifications, constraints and process requirements, the minimum path algorithm is used to calculate the cable laying path based on the center line of the cable channel. The cable laying information is output with the hull structure, equipment and cable channel as the background, so as to guide the on-site construction.

[0003] Ship cable channels are divided into two categories: in-cabin cable channels and through-cabin cable channels. Among them, in-cabin cable channels mainly express the path of cables whose starting and ending devices are in the same cabin; through-cabin cable channels are used to express the path of cables whose starting and ending devices are located in different cabins.

[0004] Since the hull and bulkheads are mostly watertight structures, stuffing boxes and other welded parts are generally used to seal the cables when they pass through the cabin. Each opening in the stuffing box corresponds to a cable, but the cable laying path expression method based on the center line of the channel does not reflect the arrangement of the cables in the channel, and cannot accurately express the number of cables passing through the specific openings of the stuffing box. As a result, the cable path through the cabin cannot be expressed through a three-dimensional model, and the cable laying path can only be manually selected and expressed through a two-dimensional diagram. Summary of the invention

[0005] In view of the technical problem that the path of the through-cabin cable in the prior art cannot be expressed through a three-dimensional model, the purpose of the present invention is to provide a method, system, equipment and medium for designing a through-cabin cable channel for a ship, by parametrically defining a virtual through-cabin channel connector and automatically adjusting the openings and connection interfaces of the through-cabin channel connector based on the number of cable openings in the stuffing box, and establishing a channel branch for each cable separately, thereby improving the traditional information expression method of cable laying based on drawings.

[0006] In order to solve the above problems, the first object of the present invention is to provide a method for designing a ship's through-cabin cable channel, based on a cable channel entity model in a three-dimensional software as a cable laying space placeholder, the design method comprises the steps of:

[0007] Step S 100 : Based on the secondary development function of 3D software, establish the virtual through-cabin channel connector model and through-cabin cable channel model;

[0008] Step S 200: Call and arrange virtual through-cabin cable channel connector models on both sides of the bulkhead, draw stuffing boxes and arrange them at the through-cabin part of the bulkhead, connect one end face of each virtual through-cabin cable channel connector model close to the bulkhead with the stuffing box, and connect the other end face of each virtual through-cabin cable channel connector away from the bulkhead with the cable channel;

[0009] Step S 300 :Use the shortest path algorithm to calculate the cable laying path through the cabin;

[0010] Step S 400 : Extract the opening numbers for laying cables in each opening of the virtual through-cabin cable channel connector model, and associate and output a through-cabin cable laying information table, wherein the through-cabin cable laying information table includes a stuffing box number, an opening number, and a cable number.

[0011] Furthermore, in step S 100 The establishment of a virtual through-cabin channel connector model specifically includes:

[0012] Step S 110 : Establish a virtual cabin cable channel connector model with a rectangular cross-section;

[0013] Step S 120 : Establishing a plurality of circular cable channels in the virtual cabin cable channel connector model, wherein the circular cable channels form end holes on the end faces of the virtual cabin cable channel connector model;

[0014] Step S 130 : One end of the plurality of circular cable channels extends to one end face of the virtual cabin penetration cable channel connector model to form a first end face hole consistent with the number, size and spacing of the cable openings in the stuffing box.

[0015] Furthermore, in step S 200 These also include:

[0016] According to the size of the stuffing box and the cable channel, the design parameters of the virtual cabin penetration cable channel connector model are adjusted.

[0017] Furthermore, in step S 300 The specific operation of using the shortest path algorithm to calculate the cable laying path through the cabin includes:

[0018] Step S 310 :The shortest path S0 is obtained by Dijkstra algorithm. Based on the shortest path, the second shortest path can be obtained by using the second shortest path algorithm. The second shortest path algorithm is continued to be used on the basis of the second shortest path. This cycle is repeated m-1 times to obtain the first m shortest paths S1, S2…S m ;

[0019] Step S 320 :The paths S1, S2…S obtained through the second shortest path are extended again by the path extension method. m Expand and get p extended paths S 11 , S 12 …S 1P , S 21 , S 22 …S 2p …S m1 , S m2 …S mp ;

[0020] Step S 330 : Finally, the obtained m*p paths are sorted from small to large through a sorting algorithm, and the first k paths are taken as the first k shortest paths.

[0021] Furthermore, the design parameters of the virtual cabin penetration cable channel connector model include a rectangular section length L, a section width W, a circular cable channel radius R, and a circular cable channel spacing D.

[0022] Furthermore, the three-dimensional software is any one of CATIA, CREO and Solidworks.

[0023] The second object of the present invention is to provide a ship through-cabin cable channel design system, using the ship through-cabin cable channel design method described above, the design system comprises:

[0024] A model building module is used to build a virtual through-cabin channel connector model and a through-cabin cable channel model;

[0025] The through-cabin cable connection module is used to connect the two ends of the virtual through-cabin cable channel connector model to the stuffing box and the cable channel respectively:

[0026] A path calculation module is used to calculate the path for laying cables through cabins using the shortest path algorithm;

[0027] The cable information association module is used to output and display the through-cabin cable laying information table.

[0028] Furthermore, it also includes:

[0029] A ship cable information publishing module, used to publish the through-cabin cable laying information table in a preset format for display;

[0030] The ship cable information display module is used to display the published through-cabin cable laying information table.

[0031] The third object of the present invention is to provide a computer device, comprising: a memory and a processor; the memory stores a computer program, and the processor runs the computer program to execute the ship cabin cable channel design method as described above.

[0032] A fourth object of the present invention is to provide a computer storage medium storing a computer program, which, when executed, executes the ship cabin cable channel design method as described above.

[0033] Compared with the prior art, the present invention has the following beneficial effects:

[0034] 1. This application is based on the secondary development function of the three-dimensional software. A virtual through-cabin channel connector model and a through-cabin cable channel model are established in the three-dimensional software. Through the model establishment module, the virtual through-cabin channel connector model and the through-cabin cable channel model are selected and called to prepare for the subsequent three-dimensional expression of the through-cabin cable path in the three-dimensional software; when the cable needs to pass through the cabin, in the three-dimensional design process, a stuffing box is drawn in three dimensions and arranged in the through-cabin part of the bulkhead. At the same time, in order to accurately express the cable passing through the specific opening of the stuffing box, the virtual through-cabin cable channel connector model is called and arranged on both sides of the bulkhead, and one end face of each virtual through-cabin cable channel connector model close to the bulkhead is connected to the stuffing box, and the other end face of each virtual through-cabin cable channel connector away from the bulkhead is connected to the cable channel to complete the laying of the through-cabin cable; the shortest path algorithm is used to calculate the through-cabin cable laying path; the opening number of the cable laid in each opening of the virtual through-cabin cable channel connector model is extracted, and the through-cabin cable laying information table is associated and output.

[0035] 2. Based on the technical problem that the cable path through the cabin cannot be expressed through a three-dimensional model in the existing technology, a design mode of limited secondary development in three-dimensional software is adopted. A virtual cabin penetration channel connector is defined parametrically, and the circular cable channel and end hole of the virtual cabin penetration channel connector are automatically adjusted based on the cable opening in the stuffing box, so as to establish a channel branch for each cable separately, thereby realizing the detailed definition and expression of the cable cabin penetration path. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 Schematic diagram of the process of designing a ship cabin cable channel in an embodiment of the present invention;

[0037] Figure 2 Step S in the embodiment of the present invention 100 Detailed process diagram;

[0038] Figure 3 Step S in the embodiment of the present invention 300 Detailed process diagram;

[0039] Figure 4 Schematic diagram of the structural design of the virtual through-cabin passage connector model in an embodiment of the present invention;

[0040] Figure 5 It is a schematic diagram of the connection structure in which the virtual through-cabin passage connector model is arranged on both sides of the bulkhead in an embodiment of the present invention;

[0041] Figure 6 Schematic diagram of the structure of the ship cabin cable channel design system in an embodiment of the present invention;

[0042] Figure 7 Schematic diagram of the principle of Dijkstra's shortest path algorithm in an embodiment of the present invention.

[0043] Description of reference numerals:

[0044] 1- Virtual through-cabin channel connector model;

[0045] 11-circular cable channel; 12-end face hole; 121-first end face hole; 122-first end face center hole;

[0046] 2- Cabin cable channel model;

[0047] 3-stuffing box; 31-cable opening;

[0048] 4-cable channel; 5-cable; 6-bulkhead. DETAILED DESCRIPTION

[0049] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0051] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0052] In the field of 3D modeling of electrical systems of some large ships, it is necessary to draw cable channels at reasonable locations in the cabin. Cable channels are a kind of virtual space, which is a model used in 3D ship design to represent the total space occupied by cable bundles connecting equipment and record the information of cables passing through.

[0053] Ship cable channels are divided into two categories: in-cabin cable channels and through-cabin cable channels. Among them, in-cabin cable channels mainly express the path of cables whose starting and ending devices are in the same cabin; through-cabin cable channels are used to express the path of cables whose starting and ending devices are located in different cabins.

[0054] Since the hull and bulkhead are mostly watertight structures, the cables are usually sealed by welding parts such as stuffing boxes and stuffing boxes when passing through the cabin, among which:

[0055] Each opening in the stuffing box corresponds to a cable, but the cable laying path expression method based on the center line of the channel does not reflect the arrangement of the cables in the channel, and cannot accurately express the cables passing through the specific openings of the stuffing box. As a result, the cable path through the cabin cannot be expressed through a three-dimensional model, and the cable laying path can only be manually selected and expressed through a two-dimensional diagram. The existing cable design scheme not only reduces the design efficiency, but also easily increases design errors and mistakes.

[0056] To solve the above technical problems, please refer to Figure 1 As shown, an embodiment of the present invention provides a method for designing a ship's through-cabin cable channel, based on a cable channel entity model in a three-dimensional software as a cable laying space occupant, the design method comprises the steps of:

[0057] Step S 100 : Based on the secondary development function of the 3D software, a virtual through-cabin channel connector model 1 and a through-cabin cable channel model 2 are established.

[0058] In this step, considering that all 3D software have secondary development functions, a new model building module is added to the 3D software based on secondary development. Through the model building module, the virtual through-cabin channel connector model 1 and the through-cabin cable channel model 2 are selected and called to prepare for the subsequent three-dimensional expression of the through-cabin cable path in the 3D software.

[0059] Step S 200 : Call and arrange virtual cabin-penetrating cable channel connector models 1 on both sides of the bulkhead 6 respectively, draw stuffing boxes 3 and arrange them at the cabin-penetrating position of the bulkhead 6, connect one end face of each virtual cabin-penetrating cable channel connector model 1 close to the bulkhead 6 with the stuffing box 3, and connect the other end face of each virtual cabin-penetrating cable channel connector 1 away from the bulkhead 6 with the cable channel 4.

[0060] In this step, since the bulkheads of the hull are mostly watertight structures, when the cable 5 needs to pass through the cabin, a stuffing box, a stuffing box 3 and other welded parts are generally used for sealing. For this reason, in the three-dimensional design process, the stuffing box 3 is drawn in three dimensions and arranged at the cabin penetration position of the bulkhead 6. At the same time, in order to accurately express the cable 5 passing through the specific opening of the stuffing box 3, the virtual cabin penetration cable channel connector model 1 is called and arranged on both sides of the bulkhead 6, and each virtual cabin penetration cable channel connector model 1 is close to one end face of the bulkhead 6 (that is, the attached Figure 4 The F end face in the figure) is connected to the stuffing box 3, and the other end face of each virtual through-cabin cable channel connector 1 away from the bulkhead 6 (that is, the attached Figure 2 The B end face in the middle is connected to the cable channel 4 to complete the laying of the cabin cable.

[0061] Step S 300 :The shortest path algorithm is used to calculate the cable laying path through the cabin.

[0062] Step S 400 : Extract the opening numbers for laying cables in each opening of the virtual through-cabin cable channel connector model 1, and associate and output a through-cabin cable laying information table, wherein the through-cabin cable laying information table includes a stuffing box number, an opening number, and a cable number.

[0063]

[0064] Based on the technical problem that the cable path through the cabin cannot be expressed through a three-dimensional model in the prior art, the embodiment of the present invention adopts a design mode of limited secondary development in three-dimensional software, defines a virtual cabin penetration channel connector 1 through parameterization, and automatically adjusts the circular cable channel 11 and the end hole 12 of the virtual cabin penetration channel connector 1 based on the cable opening 21 in the stuffing box 3, thereby establishing a channel branch for each cable separately, thereby realizing the detailed definition and expression of the cable cabin penetration path.

[0065] Specifically, see Figure 2 , 4 , 5, in step S 100 The establishment of the virtual through-cabin channel connector model 1 specifically includes:

[0066] Step S 110 : Establish a virtual cabin cable channel connector model 1 with a rectangular cross section;

[0067] Step S 120 : A plurality of circular cable channels 11 are established in the virtual cabin cable channel connector model 1, and the plurality of circular cable channels 11 form end holes 12 on the end surface of the virtual cabin cable channel connector model 1;

[0068] Step S 130: One end of the plurality of circular cable channels 11 extends to one end surface of the virtual cabin penetration cable channel connector model 1 to form a first end surface hole 121 that is consistent with the number, size, and spacing of the cable openings 31 in the stuffing box 3.

[0069] Therefore, by establishing multiple circular cable channels 11 in the virtual cabin cable channel connector model 1, the purpose is that when connected to the stuffing box 3, the circular cable channels 11 strictly correspond to the cable openings 31 of the stuffing box 3, and each cable opening 31 only allows one cable 5 to be laid.

[0070] Step S 140 : The other ends of the multiple circular cable channels 11 extend and converge in the virtual cabin cable channel connector model 1 to form a first end surface center hole 122.

[0071] It should be specially explained here that the virtual through-cabin channel connector model 1 is only used for the connection and laying path generation of the cable channel 4, and is not part of the ship design BOM table.

[0072] Specifically, step S 200 The method also includes: adjusting the design parameters of the virtual cabin penetration cable channel connector model 1 according to the size of the stuffing box 3 and the cable channel 4.

[0073] See also Figure 4 As shown, specifically in the embodiment of the present invention, the two ends of the virtual cabin cable channel connector model 1 are divided into two faces F and B, wherein:

[0074] The F surface (i.e., the end close to the bulkhead 6, or the first end hole 121 as mentioned above) is used to connect the stuffing box 3, and the number, size, and spacing of the F surface openings (i.e., the first end hole 121) are consistent with the cable openings 31 in the stuffing box 3.

[0075] The B surface (i.e., the end away from the bulkhead 6, or the first end surface center hole 122 as mentioned above) is used to connect the cable channel 4, and each opening of the F surface (i.e., the first end surface hole 121) is connected to the center of the B surface (the first end surface center hole 122) through the circular cable channel 11.

[0076] Specifically, see Figure 3 , 7 As shown, in step S 300 The specific operation of using the shortest path algorithm to calculate the cable laying path through the cabin includes:

[0077] Step S 310:The shortest path S0 is obtained by Dijkstra algorithm. Based on the shortest path, the second shortest path can be obtained by using the second shortest path theorem. The second shortest path algorithm is continued to be used on the basis of the second shortest path. This cycle is repeated m-1 times to obtain the first m shortest paths S1, S2…S m;

[0078] Step S 320 :Use the path expansion method again to find the path obtained through the second shortest path S1 , S2…S m Expand and get p extended paths S 11 , S 12 …S 1P , S 21 , S 22 …S 2p …S m1 , S m2 …S mp ;

[0079] Step S 330 : Finally, the obtained m*p paths are sorted from small to large through a sorting algorithm, and the first k paths are taken as the first k shortest paths.

[0080] The embodiment of the present invention transforms the cable laying path optimization problem into a standard directed graph problem, and proposes an algorithm for the first k shortest paths in the cable laying path mode, namely the k_Dijkstra algorithm, for the standard directed graph based on the second shortest path algorithm, the path extension method and the Dijkstra algorithm, which can effectively help designers improve design efficiency and reduce design errors and mistakes.

[0081] It should be noted that the second shortest path algorithm, the path extension method and the Dijkstra algorithm are all prior arts, and their principles will not be described in detail here.

[0082] Specifically, in a specific embodiment of the present invention, the design parameters of the virtual cabin penetration cable channel connector model 1 include a rectangular cross-sectional length L, a cross-sectional width W, a circular cable channel radius R, and a circular cable channel spacing D.

[0083] Considering that the arrangement position of the stuffing box 3 on the bulkhead 6 changes during the electrical design process, the design parameters of the virtual through-cabin cable channel connector model can be adjusted according to the size of the stuffing box 3 and the cable channel 4. If the size of the stuffing box 3 remains unchanged, there is no need for secondary cable laying and information output.

[0084] Specifically, in the specific embodiment of the present invention, the 3D software is any one of CATIA, CREO and Solidworks. In the embodiment of the present invention, CATIA 3D design software is selected as the development platform in combination with the actual needs of designers, and secondary development is performed based on the CATIA software.

[0085] See also Figure 6 As shown, an embodiment of the present invention further provides a ship through-cabin cable channel design system, which adopts the ship through-cabin cable channel design method described above, and the design system includes:

[0086] The model building module 100 is used to build a virtual through-cabin channel connector model 1 and a through-cabin cable channel model 2;

[0087] The cabin penetration cable connection module 200 is used to connect the two ends of the virtual cabin penetration cable channel connector model 1 to the stuffing box 3 and the cable channel 4 respectively:

[0088] A path calculation module 300 is used to calculate the path for laying the through-cabin cables using a shortest path algorithm;

[0089] The cable information association module 400 is used to associate, output and display the through-cabin cable laying information table.

[0090] Specifically, in a specific embodiment of the present invention, the design system further includes:

[0091] The ship cable information publishing module 500 is used to publish the through-cabin cable laying information table in a preset format for display;

[0092] The ship cable information display module 600 is used to display the published through-cabin cable laying information table.

[0093] It should be noted that it should be understood that the division of the various modules of the above system is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. Moreover, these modules can be implemented in the form of software calling through processing elements; or in the form of hardware; or some modules can be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware.

[0094] For example, the model building module 100 can be a separate processing element, or can be integrated into a chip of the above system, or can be stored in the memory of the above system in the form of program code, and can be called and executed by a processing element of the above system. The implementation of other modules is similar.

[0095] In addition, all or part of these modules can be integrated together or implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.

[0096] To achieve the above objectives and other related objectives, a computer device may also be provided in an embodiment of the present invention, including: a memory and a processor; the memory stores a computer program, and the processor runs the computer program to execute some or all of the steps in the aforementioned method embodiment.

[0097] Specifically, the memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as a ROM or a disk memory.

[0098] The processor may include a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0099] A person skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, part or all of the steps of the ship cabin cable channel design method in the above-mentioned embodiment are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0100] In summary, the ship through-cabin cable channel design method, system, equipment and medium of the present invention combine the advantages of three-dimensional design itself and realize innovative development and research from design process to function. A branch channel between the main cable channel and the cable opening of the stuffing box 3 is established through the virtual through-cabin cable channel connector model 1, thereby providing a separate laying path for each through-cabin cable, realizing the detailed design of the through-cabin cable based on the three-dimensional model, and at the same time improving the traditional drawing-based laying information expression method, and quickly supporting the cable laying in the stuffing box 3 through the through-cabin cable laying information table.

[0101] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. A method for designing a ship's through-cabin cable channel, based on a cable channel entity model in a three-dimensional software as a cable laying space space, characterized in that: The design method comprises the steps of: Step S 100 : Based on the secondary development function of 3D software, establish the virtual through-cabin channel connector model and through-cabin cable channel model; Step S 200 : Call and arrange virtual through-cabin cable channel connector models on both sides of the bulkhead, draw stuffing boxes and arrange them at the through-cabin part of the bulkhead, connect one end face of each virtual through-cabin cable channel connector model close to the bulkhead with the stuffing box, and connect the other end face of each virtual through-cabin cable channel connector away from the bulkhead with the cable channel; Step S 300 :Use the shortest path algorithm to calculate the cable laying path through the cabin; Step S 400 : Extract the hole numbers for laying cables in each hole of the virtual through-cabin cable channel connector model, and associate and output a through-cabin cable laying information table, wherein the through-cabin cable laying information table includes a stuffing box number, a hole number, and a cable number; The step of establishing a virtual through-cabin channel connector model specifically includes: Step S 110 : Establish a virtual cabin cable channel connector model with a rectangular cross-section; Step S 120 : Establishing a plurality of circular cable channels in the virtual cabin cable channel connector model, wherein the circular cable channels form end holes on the end faces of the virtual cabin cable channel connector model; Step S 130 : One end of the plurality of circular cable channels extends to one end face of the virtual cabin penetration cable channel connector model to form a first end face hole consistent with the number, size and spacing of the cable openings in the stuffing box.

2. The method for designing a ship's through-cabin cable channel according to claim 1, characterized in that: In step S 200 These also include: According to the size of the stuffing box and the cable channel, the design parameters of the virtual cabin penetration cable channel connector model are adjusted.

3. The method for designing a ship's through-cabin cable channel according to claim 1, characterized in that: In step S 300 The specific operation of using the shortest path algorithm to calculate the cable laying path through the cabin includes: Step S 310 :Use Dijkstra algorithm to find the shortest path S0. Based on the shortest path, use the second shortest path algorithm to get the second shortest path. Continue to use the second shortest path algorithm based on the second shortest path. Repeat this cycle m-1 times to get the first m shortest paths S1, S2…S m ; Step S 320 :The paths S1, S2…S obtained through the second shortest path are extended again by the path extension method. m Expand and get p extended paths S 11 , S 12 …S 1P , S 21 , S 22 …S 2p …S m1 , S m2 …S mp ; Step S 330 : Finally, the obtained m*p paths are sorted from small to large through a sorting algorithm, and the first k paths are taken as the first k shortest paths.

4. The method for designing a ship's through-cabin cable channel according to claim 2, characterized in that: The design parameters of the virtual cabin penetration cable channel connector model include a rectangular section length L, a section width W, a circular cable channel radius R, and a circular cable channel spacing D.

5. The method for designing a ship's through-cabin cable channel according to claim 1, characterized in that: The three-dimensional software is any one of CATIA, CREO and Solidworks.

6. A ship through-cabin cable channel design system, using the ship through-cabin cable channel design method according to any one of claims 1 to 5, characterized in that: The design system includes: A model building module is used to build a virtual through-cabin channel connector model and a through-cabin cable channel model; The through-cabin cable connection module is used to connect the two ends of the virtual through-cabin cable channel connector model to the stuffing box and the cable channel respectively: A path calculation module is used to calculate the path for laying cables through cabins using the shortest path algorithm; The cable information association module is used to output and display the through-cabin cable laying information table.

7. The ship cabin cable channel design system according to claim 6, characterized in that: Also includes: A ship cable information publishing module, used to publish the through-cabin cable laying information table in a preset format for display; The ship cable information display module is used to display the published through-cabin cable laying information table.

8. A computer device, characterized in that: include: Memory and processor; The memory stores a computer program, and the processor runs the computer program to execute the ship cabin cable channel design method according to any one of claims 1 to 5.

9. A computer storage medium, characterized in that: A computer program is stored, and when the computer program is executed, the ship cabin cable channel design method according to any one of claims 1 to 5 is executed.

Citation Information

Patent Citations

  • Cable penetrating device for fuel cabin of dual-fuel ship and using method of cable penetrating device

    CN113964759A

  • Model-based ship cabin cable guide diagram rapid drawing method

    CN114840955A