Method, System, Device and Medium for Generating a Structural Tree of Ship Electrical Area Design
By automatically obtaining and importing the spatial location and construction sequence of electrical equipment and fittings from the electrical detailed design structure tree, the electrical area design structure tree is formed, which solves the problems of low efficiency and uncontrollable accuracy of electrical area design in the existing technology, and achieves more efficient and accurate design transformation.
Patent Information
- Application Number
- CN202111527648.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-14
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2041-12-14
AI Technical Summary
In the prior art, the electrical area design efficiency of ships is low, the conversion accuracy is uncontrollable, and electrically related parts are easily missed, resulting in an increased risk of construction rework.
By automatically obtaining the spatial location of electrical equipment and electrical fittings from the electrical detailed design structure tree, determining their corresponding location and construction sequence in the electrical area design structure tree, and importing the model and design information into the corresponding nodes to form an electrical area design structure tree.
It reduces the workload of designers' manual conversion, reduces the risk of missing or repeated conversion of electrical equipment and fittings, and improves conversion accuracy and design efficiency.
Smart Images

Figure CN114169079B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of ship electrical area design structure tree construction, and more specifically, to a method, system, device, and medium for generating a ship electrical area design structure tree. Background Art
[0002] The two most time-consuming design stages in ship electrical design are detailed design and area design. Different from the electrical detailed design mode of two-dimensional drawings, the electrical detailed design technology based on three-dimensional models has been widely used in the ship field. The main task in the electrical detailed design stage is to determine the division of each deck functional area and decide the division of all ship cabins according to the owner's personalized requirements, technical specifications, general layout drawings, etc., and then determine the requirements of electrical specialties such as electrical equipment and electrical outfittings. Electrical production / area design is an extension based on electrical detailed design, providing process information, installation guidance, construction procedures, etc. for the production site. Therefore, the presentation methods of the structure tree based on model design are different in different design stages.
[0003] Electrical detailed design focuses on the functionality of the system and the integrity of the model, while electrical area design focuses on the installation area and installation stage of electrical equipment models and electrical outfitting models. Therefore, there are differences in the architecture levels of the three-dimensional structure trees of the two detailed designs and area designs. Electrical area design is a subsequent design stage of electrical detailed design, which needs to inherit the three-dimensional model of electrical detailed design and determine the installation positions, installation sequences, etc. of electrical equipment and electrical outfittings. However, in the face of thousands of electrical equipment and electrical outfittings, if only relying on manual conversion between stages, it is not only time-consuming and laborious with low efficiency, but more seriously, it may lead to omission of electrical equipment and electrical outfittings, increasing the risk probability of rework in ship construction.
[0004] Therefore, how to provide a method, system, device, and medium for generating a ship electrical area design structure tree to solve the defects of low efficiency, uncontrollable conversion accuracy, and easy omission of electrical related parts in the existing technology has actually become an urgent technical problem for those skilled in the art. Summary of the Invention
[0005] The purpose of the embodiments of this application is to provide a method for generating a ship electrical area design structure tree, which can effectively solve the defects of low efficiency, uncontrollable conversion accuracy, and easy omission of electrical related parts in the existing technology.
[0006] The second purpose of the embodiments of this application is also to provide a system for generating a ship electrical area design structure tree that implements the above calculation method.
[0007] A third object of the embodiments of the present application is also to provide a computer storage medium storing a computer program, which when executed by a processor implements the above-mentioned method for generating a ship electrical area design structure tree.
[0008] A fourth object of the embodiments of the present application is also to provide a computer device including a memory and a processor, the memory storing a computer program, which when executed by the processor implements the above-mentioned method for generating a ship electrical area design structure tree.
[0009] In a first aspect, a method for generating a ship electrical area design structure tree for generating an electrical area design structure tree from an electrical detailed design structure tree is provided, including the following steps:
[0010] S1. Create an initial node of the electrical area design structure tree, and create an electrical equipment area design branch node and an electrical outfitting part area design branch node in the initial node;
[0011] S2. Create multi-level space nodes under the electrical equipment area design branch node; the multi-level space nodes are divided according to the size of the ship space;
[0012] S3. Obtain the ship space position where the electrical equipment model is located in the electrical detailed design structure tree, determine the corresponding space node of the current ship space under the electrical equipment area design branch node, and import the model and design information of the current electrical equipment from the electrical detailed design structure tree to the space node in the electrical equipment area design branch node corresponding to its ship space position;
[0013] S4. Based on the multi-level construction sequence division from small ship spaces to large ship spaces, create multi-level construction stage nodes under the electrical outfitting part area design branch node;
[0014] S5. Obtain the ship space position where each electrical outfitting part model is located in the electrical detailed design structure tree, determine the corresponding construction sequence of the current ship space, and determine the corresponding construction stage node of the current construction sequence in the electrical outfitting part area design branch node, and import the model and design information of the current electrical outfitting part from the detailed electrical design structure tree to the construction stage node in the electrical outfitting part area design branch node corresponding to its ship space position.
[0015] In an implementable solution, after obtaining the ship space position of each electrical outfitting part model in the electrical detailed design structure tree, the following steps are further included: obtaining the electrical outfitting parts required for the installation of each electrical equipment and classifying them into the same category, and creating the same electrical equipment installation label for the electrical outfitting parts in the same category.
[0016] In an implementable solution, the steps of obtaining the ship space position where each electrical equipment model is located in the electrical detailed design structure tree and determining the space node corresponding to the current ship space under the electrical equipment area design branch node include the following steps:
[0017] Obtain the space coordinates of the electrical equipment model in the electrical detailed design structure tree;
[0018] Analyze the inclusion relationship between the space coordinates of the electrical equipment model and the ship spaces from small to large in sequence, determine the ship space that completely contains the space coordinates of the current electrical equipment model, and then determine the space node corresponding to the current ship space under the electrical equipment area design branch node.
[0019] In an implementable solution, the steps of obtaining the ship space position of each electrical fitting model in the electrical detailed design, determining the construction sequence corresponding to the current ship space, and determining the construction stage node corresponding to the current construction sequence in the electrical fitting area design branch node include the following steps:
[0020] Obtain the space coordinates of the electrical fitting model in the electrical detailed design structure tree;
[0021] Analyze the inclusion relationship between the space coordinates of the electrical fitting model and the ship spaces from small to large in sequence, and determine the ship space that completely contains the space coordinates of the current electrical fitting model;
[0022] Obtain the construction sequence corresponding to the current ship space, and further determine the construction stage node corresponding to the current construction sequence under the electrical fitting area design branch node.
[0023] In an implementable solution, the generating method further includes the following steps:
[0024] S6. Compare the differences between the electrical equipment in the electrical detailed design structure tree and the electrical equipment in the electrical area design structure tree, compare the differences between the electrical fittings in the electrical detailed design structure tree and the electrical fittings in the electrical area design structure tree, and update the electrical area design structure tree.
[0025] In an implementable solution, step S6 further includes the following steps:
[0026] S61. Before the construction of electrical fittings and electrical equipment, set the screening frequency for comparing the electrical area design structure tree and the electrical detailed design structure tree;
[0027] S62. Compare the differences in the quantity, time information, and names of the electrical equipment between the electrical detailed design structure tree and the electrical area design structure tree according to the screening frequency, and update the electrical equipment branch structure tree;
[0028] S63. Compare the differences in the quantity, time information, and names of electrical outfitting parts between the electrical detailed design structure tree and the electrical area design structure tree according to the screening frequency, and update the electrical outfitting part branch structure tree.
[0029] In an implementable solution, step S62 includes the following steps:
[0030] Traverse and obtain the quantity of all electrical equipment under the electrical detailed design structure tree according to the screening frequency;
[0031] Judge whether the quantity of electrical equipment in the electrical detailed design structure tree is consistent with the quantity of electrical equipment in the electrical area design structure tree;
[0032] If the quantity of electrical equipment in the electrical detailed design structure tree is less than the quantity of electrical equipment in the electrical area design structure tree, delete the extra electrical equipment under the electrical equipment area design branch node; if the quantity of electrical equipment in the electrical detailed design structure tree is greater than the quantity of electrical equipment in the electrical area design structure tree, screen out the extra electrical equipment in the electrical detailed design structure tree, and then repeat step S3; if the quantity of electrical equipment in the electrical detailed design structure tree is the same as the quantity of electrical equipment in the electrical area design structure tree, compare the names and time information of the electrical equipment in the electrical detailed design structure tree and the electrical area design structure tree in turn, and update the model and design information of the electrical equipment in the electrical area design structure tree.
[0033] In an implementable solution, step S63 includes the following steps:
[0034] Traverse and obtain the quantity of all electrical outfitting parts under the electrical detailed design structure tree according to the screening frequency;
[0035] Judge whether the quantity of electrical outfitting parts in the electrical detailed design structure tree is consistent with the quantity of electrical outfitting parts in the electrical area design structure tree;
[0036] If the quantity of electrical outfitting parts in the electrical detailed design structure tree is less than the quantity of electrical outfitting parts in the electrical area design structure tree, delete the extra electrical outfitting parts under the electrical outfitting part area design branch node; if the quantity of electrical outfitting parts in the electrical detailed design structure tree is greater than the quantity of electrical outfitting parts in the electrical area design structure tree, screen out the extra electrical outfitting parts in the electrical detailed design structure tree, and then repeat step S5; if the quantity of electrical outfitting parts in the electrical detailed design structure tree is the same as the quantity of electrical outfitting parts in the electrical area design structure tree, compare the names and time information of the electrical outfitting parts in the electrical detailed design structure tree and the electrical area design structure tree in turn, and update the model and design information of the electrical outfitting parts in the electrical area design structure tree.
[0037] According to a second aspect of the present application, there is also provided a system for generating a ship electrical area design structure tree, which is used to generate an electrical area design structure tree from an electrical detailed design structure tree, including a classification module, a node construction module, a location acquisition module, a node confirmation module, and a formation module. The classification module is used to create initial nodes of the electrical area design structure tree, and create electrical equipment area design branch nodes and electrical outfitting part area design branch nodes in the initial nodes. The node construction module is used to create multi-level space nodes under the electrical equipment area design branch nodes; the multi-level space nodes are divided according to the size of the ship space, and are also used to divide according to the multi-level construction sequence from small ship space to large ship space, and create multi-level construction stage nodes under the electrical outfitting part area design branch nodes. The location acquisition module is used to obtain the ship space location where the electrical equipment model is located in the electrical detailed design structure tree, and is also used to obtain the ship space location of each electrical outfitting part model in the electrical detailed design structure tree, determine the corresponding construction sequence of the current ship space, and determine the corresponding construction stage node in the electrical outfitting part area design branch nodes. The node confirmation module is used to determine the corresponding space node of the current electrical equipment under the electrical equipment area design branch nodes based on the ship space where the electrical equipment model is located, and is also used to determine the corresponding construction sequence of the current ship space based on the ship space where the electrical outfitting part model is located, and determine the corresponding construction stage node in the electrical outfitting part area design branch nodes. The formation module is used to import the model and design information of each electrical equipment into the corresponding space node under the electrical equipment area design branch nodes, and is also used to import the model and design information of each electrical outfitting part into the corresponding construction stage node under the electrical outfitting part area design branch nodes.
[0038] According to a third aspect of the present application, there is also provided a computer device, including a memory and a processor, where the memory stores a computer program, and when the program is executed by the processor, it implements the method for generating a ship electrical area design structure tree in the above solution.
[0039] According to a fourth aspect of the present application, there is also provided a computer storage medium, which stores a computer program, and when the program is executed by the processor, it implements the method for generating a ship electrical area design structure tree in the above solution.
[0040] Compared with the prior art, the beneficial effects of the present application are as follows:
[0041] The method and system for generating the electrical area design structure tree of the present application first create the electrical equipment area design branch nodes and electrical fitting area design branch nodes of the electrical area design structure tree according to the electrical detailed design structure tree. Then, the spatial positions of the electrical equipment and electrical fittings in the electrical detailed design are automatically obtained. Next, the space to which the electrical equipment belongs is determined based on the spatial position, and the corresponding construction sequence of the electrical fittings, that is, the corresponding construction stage, is also determined. Finally, the electrical equipment models and design information in the electrical detailed design structure tree are automatically imported into the corresponding space nodes under the electrical equipment area design branch nodes, and the electrical fitting models and design information in the electrical detailed design structure tree are automatically imported into the corresponding construction stage nodes under the electrical fitting area design branch nodes, and finally the electrical area design structure tree is formed. It can be seen from this that the method for generating the electrical area design structure tree of the present application reduces the workload of designers manually converting the electrical area structure tree, can reduce the risk of omission or repeated conversion of models of electrical-related equipment and fittings, improves the accuracy of conversion, and correspondingly improves the conversion design efficiency. Brief Description of the Drawings
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0043] Figure 1 FIG. is a flowchart of a method for generating an electrical area design structure tree of a ship according to an embodiment of the present application;
[0044] Figure 2 FIG. is an example diagram of an electrical area design structure tree of a ship according to an embodiment of the present application;
[0045] Figure 3 FIG. is a flowchart of another method for generating an electrical area design structure tree of a ship according to an embodiment of the present application;
[0046] Figure 4 is Figure 3 a flowchart of a method for updating the electrical area design structure tree in
[0047] Figure 5 FIG. is a block diagram of the composition of a system for generating an electrical area design structure tree of a ship according to an embodiment of the present application.
[0048] In the figure: 10, classification module; 20, node construction module; 30, position acquisition module; 40, node confirmation module; 50, formation module; 60, update module. Detailed Embodiments
[0049] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. The components of the embodiments of this application usually described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations.
[0050] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of this application that is claimed, but merely represents selected embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts fall within the scope of protection of this application.
[0051] According to the first aspect of this application, referring to Figure 1 , first, a method for generating an electrical area design structure tree for a ship is provided, which is used to generate an electrical area design structure tree from an electrical detailed design structure tree, including the following steps:
[0052] S1. Create an initial node of the electrical area design structure tree, and create an electrical equipment area design branch node and an electrical outfitting part area design branch node in the initial node.
[0053] For step S1, according to the design scheme and plan in the electrical detailed design structure tree, it can be known that since electrical equipment is generally installed during the hull erection or delivery stage, and the electrical outfitting parts for installing electrical equipment generally need to be constructed in the order from small space to large space according to the spatial interference during construction, based on the characteristics of this electrical specialty, this application divides the electrical area design structure tree into an electrical equipment area design branch and an electrical outfitting part area design branch, which is conducive to classifying and identifying electrical outfitting parts and electrical equipment through the electrical area design structure tree, and also helps to clearly understand the construction sequence.
[0054] S2. Create multi-level space nodes under the electrical equipment area design branch node; the multi-level space nodes are divided according to the size of the ship space.
[0055] In step S2, since the installation stage of electrical equipment is basically concentrated in the final stage of hull construction, electrical equipment pays attention to the installation location, so space nodes are only generated in the electrical equipment area design branch node. The ship creates space according to the hull structure. The ship space can be divided from small to large into sections, sub-assemblies, mega sub-assemblies, outfitting areas, etc. Corresponding to the space nodes corresponding to the electrical equipment area design branch node, such as Figure 2As shown, it is convenient for electrical equipment converted from the electrical detailed design structure tree to be placed in categories according to their positions, so that the installation positions of electrical equipment can be clearly seen through the structure tree of area design.
[0056] It should be noted that the space division here and the space divisions mentioned later are exemplary and do not form an absolute limitation on the space division. For example, the cabins in a ship can be divided into sectional spaces or can form an independent space. Another example is that a section can be divided into smaller erection spaces, etc.
[0057] S3. Obtain the ship space position where the electrical equipment model is located in the electrical detailed design structure tree, determine the space node corresponding to the current ship space under the electrical equipment area design branch node, and import the model and design information of the current electrical equipment from the electrical detailed design structure tree to the space node in the electrical equipment area design branch node corresponding to its ship space position.
[0058] In step S3, to obtain the space position of the electrical equipment model in the electrical detailed design structure tree, the space attribution can be judged by the space position labels set in advance in the electrical equipment in the electrical detailed design structure tree. In the case where there is no prior setting, it can also be automatically judged by comparing the coordinates of the electrical equipment model in the electrical detailed design structure tree with the coordinates of the hull space, without manual identification.
[0059] S4. Based on the multi-level construction sequence division from small ship spaces to large ship spaces, create multi-level construction stage nodes under the electrical fitting-out area design branch node.
[0060] In step S4, due to the different installation positions of electrical fittings, their installation times are distributed in various construction stages of hull construction. Therefore, electrical fittings not only need to pay attention to the installation position but also pay more attention to the installation stage, that is, the construction sequence needs to be specially considered. Therefore, construction stage nodes including space and sequence are generated in the electrical fitting-out area design branch node. Corresponding to the ship space divisions of ship sections, sub-assemblies, and mega-sub-assemblies, the construction sequence from small spaces to large spaces can be divided into erection stages, stages of assembling erections into sections, stages of assembling sections into sub-assemblies, stages of assembling sub-assemblies into mega-sub-assemblies, etc. The corresponding multi-level construction stage nodes can be divided into erection stage nodes, stage nodes of assembling erections into sections, stage nodes of assembling sections into sub-assemblies, stage nodes of assembling sub-assemblies into mega-sub-assemblies, as Figure 2 shown. After that, the electrical fittings converted from the electrical detailed design structure tree are placed in categories according to the construction stage, so that the installation positions and installation sequences of the electrical fittings can be clearly seen through the electrical area design structure tree.
[0061] It should be noted that the division of the construction stage here and the construction stages mentioned later are exemplary and do not absolutely limit the construction stages of this application. For example, the construction stage of the cabin structure in a ship can be divided into the block assembly stage or can form an independent construction stage. Also, for example, the erection stage can be divided into smaller sub-erection stages, medium-erection stages, large-erection stages, etc.
[0062] S5. Obtain the ship space position where each electrical fitting model is located in the electrical detailed design structure tree, determine the construction sequence corresponding to the current ship space, and determine the construction stage node corresponding to the current construction sequence in the design branch node of the electrical fitting area. Import the model and design information of the current electrical fitting from the electrical detailed design structure tree to the construction stage node in the design branch node of the electrical fitting area corresponding to its ship space position.
[0063] In step S5, to obtain the space position of the electrical fitting model in the electrical detailed design structure tree, the space attribution can be judged by the space position label set in advance in the electrical fitting in the electrical detailed design structure tree. In the case where it is not set in advance, it can also be automatically compared and judged by the coordinates of the electrical fitting model and the hull space in the electrical detailed design structure tree. After determining the space attribution, corresponding it with the construction sequence can judge the construction stage node, without manual identification.
[0064] As can be seen from the above embodiments, in the method for generating the electrical area design structure tree of this application, first, create the design branch nodes of the electrical equipment area and the design branch nodes of the electrical fitting area of the electrical area design structure tree according to the electrical detailed design structure tree. Then, automatically obtain the space positions of the electrical equipment and electrical fittings in the electrical detailed design structure tree. Next, determine the space to which the electrical equipment belongs based on the space position, and also determine the construction sequence corresponding to the electrical fittings, that is, the corresponding construction stage. Finally, automatically import the electrical equipment model and design information in the electrical detailed design structure tree into the corresponding space node under the design branch node of the electrical equipment area, and automatically import the electrical fitting model and design information in the electrical detailed design structure tree into the corresponding construction stage node under the design branch node of the electrical fitting area to form the electrical area design structure tree. It can be seen that the method for generating the electrical area design structure tree of this application reduces the workload of the designer in manually converting the electrical area structure tree, can reduce the risk of omission or repeated conversion of models of electrical-related equipment and fittings, improves the accuracy of conversion, and correspondingly improves the conversion design efficiency.
[0065] It should be noted that, referring to Figure 1 , step S4 can be carried out after step S3 or can be carried out synchronously with step S2.
[0066] In one embodiment, in order to obtain the correspondence between electrical equipment and electrical outfittings in the electrical area design structure tree, the present application provides a method. After obtaining the ship space position of each electrical outfitting model in the electrical detailed design structure tree in step S5, the following steps are further included: obtaining the electrical outfittings required for the installation of each electrical equipment and classifying them into the same category, and creating the same electrical equipment installation label for the electrical outfittings in the same category. In the electrical detailed design structure tree, electrical outfittings will definitely not exist alone, and their function is to install specific electrical equipment. Therefore, obtaining all the electrical outfittings used to install the same electrical equipment in the electrical detailed design structure tree and adding the same electrical equipment installation label facilitates quickly determining the electrical equipment to be installed based on the electrical outfittings in the electrical area design structure tree. There are various types of electrical equipment installation labels, which can be reflected in the name of the electrical outfittings in the electrical area design, such as Figure 2 the additional name in the parentheses after the electrical outfittings in
[0067] In one embodiment, in order to obtain the correspondence between electrical equipment and electrical outfittings in the electrical area design structure tree, the present application also provides another method. After obtaining the ship space position of each electrical outfitting model in the electrical detailed design structure tree in step S5, the following steps are further included: obtaining the electrical outfittings required for the installation of each electrical equipment, and adding the names and model information of all current electrical outfittings to the current electrical equipment attribute library, which facilitates quickly finding the corresponding electrical outfittings according to the attribute library information of the electrical equipment in the electrical area design structure tree.
[0068] In one embodiment, the steps of obtaining the ship space position where each electrical equipment model is located in the electrical detailed design structure tree and determining the corresponding space node of the current ship space under the electrical equipment area design branch node include the following steps:
[0069] Obtaining the space coordinates of the electrical equipment model in the electrical detailed design structure tree;
[0070] Performing an inclusion relationship analysis on the space coordinates of the electrical equipment model in sequence with the ship spaces from small to large, determining the ship space that completely contains the space coordinates of the current electrical equipment model, and then determining the space node corresponding to the current ship space under the electrical equipment area design branch node.
[0071] In the above steps of determining the space node of the electrical equipment, performing an inclusion relationship analysis on the ship spaces from small to large, that is, space interference analysis. See Figure 2The content under the design branch node of the electrical equipment area is as follows. If the model space coordinates of an electrical equipment are completely within a segment, then the electrical equipment belongs to this segment; if the model space coordinates of an electrical equipment occupy two segments, then further judge the upper-level general segment of the two segments. If the model space coordinates of the electrical equipment are completely within a general segment, then the current electrical equipment belongs to this general segment; if the model space coordinates of the electrical equipment span two general segments, then further judge whether the model space coordinates are within the upper-level giant general segment. If the model space coordinates of the electrical equipment are completely within a giant general segment, then the current electrical equipment belongs to this giant general segment.
[0072] In one implementation, the steps of obtaining the ship space position of each electrical fitting model in the electrical detailed design structure tree, determining the construction sequence corresponding to the current ship space, and determining the construction stage node corresponding to the current construction sequence in the design branch node of the electrical fitting area include the following steps:
[0073] Obtain the space coordinates of the electrical fitting model in the electrical detailed design structure tree;
[0074] Analyze the inclusion relationship between the space coordinates of the electrical fitting model and the ship spaces from small to large in turn, and determine the ship space that completely contains the space coordinates of the current electrical fitting model;
[0075] Obtain the construction sequence corresponding to the current ship space, and further determine the construction stage node corresponding to the current construction sequence under the design branch node of the electrical fitting area.
[0076] In the above steps of determining the space node of the electrical fitting, the inclusion relationship analysis of the ship spaces from small to large, that is, the space interference analysis. See Figure 2 The content under the design branch node of the electrical fitting area is as follows. If the model space coordinates of an electrical fitting are completely within a segment, then the electrical fitting belongs to this segment, corresponding to the erection and assembly segment node; if the model space coordinates of an electrical fitting occupy two segments, then further judge the upper-level general segment of the two segments. If the model space coordinates of the electrical fitting are completely within a general segment, then the current electrical fitting belongs to this general segment, corresponding to the segment assembly general segment node; if the model space coordinates of the electrical fitting span two general segments, then further judge whether the model space coordinates are within the upper-level giant general segment. If the model space coordinates of the electrical fitting are completely within a giant general segment, then the current electrical fitting belongs to this giant general segment, corresponding to the general segment assembly giant general segment node.
[0077] In one implementation, see Figure 3 , the generation method further includes the following steps:
[0078] S6. Compare the differences between the electrical equipment in the electrical detailed design structure tree and the electrical equipment in the electrical area design structure tree, and compare the differences between the electrical outfittings in the electrical detailed design structure tree and the electrical outfittings in the electrical area design structure tree, and update the electrical area design structure tree.
[0079] After the electrical area design structure tree is created, if the electrical equipment and electrical outfittings in the electrical detailed design structure tree are modified again, it will seriously reduce the design efficiency for designers to manually check one by one. However, the solution of this embodiment automatically compares the differences between the electrical area design structure tree and the electrical detailed design structure tree, and performs incremental updates on the electrical area design structure tree (that is, only updates the changed electrical equipment and electrical outfittings). Among them, the differences include but are not limited to time information differences, name differences, quantity differences, etc.
[0080] In one implementation, see Figure 4 , the step S6 further includes the following steps:
[0081] S61. Before the construction of electrical outfittings and electrical equipment, set the screening frequency for comparing the electrical area design structure tree and the electrical detailed design structure tree;
[0082] S62. According to the screening frequency, compare the differences in quantity, time information, and name of the electrical equipment in the electrical detailed design structure tree and the electrical area design structure tree, and update the electrical equipment branch structure tree;
[0083] S63. According to the screening frequency, compare the differences in quantity, time information, and name of the electrical outfittings in the electrical detailed design structure tree and the electrical area design structure tree, and update the electrical outfittings branch structure tree.
[0084] Steps S62 and S63 can be carried out separately and independently of each other, so as to ensure that the electrical equipment and electrical outfittings are updated in a timely manner. In one implementation, after step S62 changes, step S63 is carried out at least once to prevent changes in the electrical outfittings for installing electrical equipment.
[0085] In one implementation, the step S62 includes the following steps:
[0086] Traverse and obtain the quantity of all electrical equipment under the electrical detailed design structure tree according to the screening frequency;
[0087] Judge whether the quantity of the electrical equipment in the electrical detailed design structure tree is consistent with the quantity of the electrical equipment in the electrical area design structure tree;
[0088] If the number of electrical devices in the electrical detailed design structure tree is less than the number of electrical devices in the electrical area design structure tree, delete the extra electrical devices under the electrical device area design branch node; if the number of electrical devices in the electrical detailed design structure tree is greater than the number of electrical devices in the electrical area design structure tree, screen out the extra electrical devices in the electrical detailed design structure tree, and then repeat step S3; if the number of electrical devices in the electrical detailed design structure tree is the same as the number of electrical devices in the electrical area design structure tree, compare the names and time information of the electrical devices in the electrical detailed design structure tree and the electrical area design structure tree in turn, and update the models and design information of the electrical devices in the electrical area design structure tree.
[0089] The above update steps for electrical devices first update the electrical devices in the electrical area design structure tree through the difference in the number of electrical devices in the electrical detailed design structure tree and the electrical area design structure tree. When the numbers are the same, further check for differences through the names and time information of the electrical devices to ensure that the modifications made in the electrical detailed design structure tree are not overlooked and that the electrical devices in the area design are updated in a timely manner to improve the design accuracy and efficiency.
[0090] In one implementation, step S63 includes the following steps:
[0091] Traverse and obtain the number of all electrical outfittings under the electrical detailed design structure tree according to the screening frequency;
[0092] Determine whether the number of electrical outfittings in the electrical detailed design structure tree is consistent with the number of electrical outfittings in the electrical area design structure tree;
[0093] If the number of electrical outfittings in the electrical detailed design structure tree is less than the number of electrical outfittings in the electrical area design structure tree, delete the extra electrical outfittings under the electrical outfitting area design branch node; if the number of electrical outfittings in the electrical detailed design structure tree is greater than the number of electrical outfittings in the electrical area design structure tree, screen out the extra electrical outfittings in the electrical detailed design structure tree, and then repeat step S5; if the number of electrical outfittings in the electrical detailed design structure tree is the same as the number of electrical outfittings in the electrical area design structure tree, compare the names and time information of the electrical outfittings in the electrical detailed design structure tree and the electrical area design structure tree in turn, and update the models and design information of the electrical outfittings in the electrical area design structure tree.
[0094] The above update steps for electrical outfitting parts first update the electrical outfitting parts in the electrical area design structure tree by the difference in the number of electrical outfitting parts between the electrical detailed design structure tree and the electrical area design structure tree. When the numbers are the same, further check for differences through the names and time information of the electrical outfitting parts to ensure that the modifications made in the electrical detailed design are not omitted and that the electrical outfitting parts in the area design are updated in a timely manner, so as to improve the design accuracy and efficiency.
[0095] In one implementation, comparing the names and time information of electrical equipment in the electrical detailed design structure tree and the electrical area design structure tree, the steps for updating the electrical equipment in the electrical area design structure tree include the following:
[0096] Traverse the names of each electrical equipment in the electrical detailed design structure tree in sequence, and determine whether the name of the electrical equipment in the electrical area design structure tree is the same as the name of the electrical equipment in the electrical detailed design structure tree;
[0097] If the name of the electrical equipment in the electrical area design structure tree is not the same as the name of the electrical equipment in the electrical detailed design structure tree, delete the corresponding electrical equipment in the electrical area design structure tree, then screen out the electrical equipment with name changes in the electrical detailed design structure tree, and then repeat step S3;
[0098] If the name of the electrical equipment in the electrical area design structure tree is the same as the name of the electrical equipment in the electrical detailed design structure tree, traverse the last modification time of each electrical equipment in the electrical detailed design structure tree in sequence. If the last modification time is later than the creation time of the electrical equipment in the electrical area design structure tree, replace the current electrical equipment in the electrical area design structure tree with the modified electrical equipment in the electrical detailed design structure tree and update the creation time.
[0099] In the above embodiments, when the number of electrical equipment in the electrical detailed design structure tree and the electrical area design structure tree is the same, the names are compared, and the modification time and creation time are compared, so as to ensure that the electrical equipment in the electrical area design structure tree is the final version. Among them, the name of the electrical equipment can be a number, or a combination of name and number, etc. It should be noted that generally, after updating the electrical equipment, the electrical outfitting parts should be updated at least once.
[0100] In one implementation, comparing the names and time information of electrical outfitting parts in the electrical detailed design structure tree and the electrical area design structure tree, the steps for updating the electrical outfitting parts in the electrical area design structure tree include the following:
[0101] Traverse the names of each electrical outfitting part in the electrical detailed design structure tree in sequence, and determine whether the name of the electrical outfitting part in the electrical area design structure tree is consistent with the name of the electrical outfitting part in the electrical detailed design structure tree;
[0102] If the name of the electrical outfitting part in the electrical area design structure tree is not consistent with the name of the electrical outfitting part in the electrical detailed design structure tree, delete the corresponding electrical outfitting part in the electrical area design structure tree, then screen out the electrical outfitting parts with name changes in the electrical detailed design structure tree, and then repeat step S3;
[0103] If the name of the electrical outfitting part in the electrical area design structure tree is consistent with the name of the electrical outfitting part in the electrical detailed design structure tree, traverse the last modification time of each electrical outfitting part in the electrical detailed design structure tree in sequence. If the last modification time is later than the creation time of the electrical equipment in the electrical area design structure tree, replace the current electrical outfitting part in the electrical area design structure tree with the modified electrical outfitting part in the electrical detailed design structure tree, and update the creation time.
[0104] In the above embodiment, when the number of electrical outfitting parts in the electrical detailed design structure tree and the electrical area design structure tree is the same, the names are compared, and the modification time and creation time are compared, so as to ensure that the electrical outfitting parts in the electrical area design structure tree are the final version. Among them, the name of the electrical outfitting part can be a number, or a combination of a name and a number, etc.
[0105] In one implementation, the method for generating the ship electrical area design structure tree further includes the following steps: after at least one or more of the name, quantity, and creation time of the electrical equipment and / or electrical outfitting parts in the electrical area design structure tree change, generate an update list table of the electrical equipment and / or electrical outfitting parts in the electrical area design structure tree, so as to facilitate designers to view the changes in the structure tree.
[0106] According to the second aspect of the present application, see Figure 5, a ship electrical area design structure tree generation system is also provided, which is used to generate an electrical area design structure tree from an electrical detailed design structure tree, including a classification module 10, a node construction module 20, a position acquisition module 30, a node confirmation module 40, and a formation module 50. The classification module 10 is used to create an initial node of the electrical area design structure tree, and create an electrical equipment area design branch node and an electrical outfitting area design branch node in the initial node. The node construction module 20 is used to create multi-level space nodes under the electrical equipment area design branch node; the multi-level space nodes are divided according to the size of the ship space, and are also used to divide based on the multi-level construction sequence from small ship space to large ship space, and create multi-level construction stage nodes under the electrical outfitting area design branch node. The position acquisition module 30 is used to obtain the ship space position where the electrical equipment model is located in the electrical detailed design structure tree, and is also used to obtain the ship space position of each electrical outfitting model in the electrical detailed design, determine the corresponding construction sequence of the current ship space, and determine the corresponding construction stage node of the current construction sequence in the electrical outfitting area design branch node. The node confirmation module 40 is used to determine the corresponding space node of the current electrical equipment under the electrical equipment area design branch node based on the ship space where the electrical equipment model is located, and is also used to determine the corresponding construction sequence of the current ship space based on the ship space where the electrical outfitting model is located, and determine the corresponding construction stage node of the current construction sequence in the electrical outfitting area design branch node. The formation module 50 is used to import the model and design information of each electrical equipment from the electrical detailed design structure tree to the corresponding space node under the electrical equipment area design branch node, and is also used to import the model and design information of each electrical outfitting from the electrical detailed design structure tree to the corresponding construction stage node under the electrical outfitting area design branch node, to form a ship electrical area design structure tree.
[0107] In one implementation, referring to Figure 5 , the ship electrical area design structure tree generation system further includes an update module 60. The update module 60 is used to compare the differences between the electrical equipment in the electrical detailed design structure tree and the electrical equipment in the electrical area design structure tree, compare the differences between the electrical outfittings in the electrical detailed design structure tree and the electrical outfittings in the electrical area design structure tree, and update the electrical area design structure tree.
[0108] According to the third aspect of the present application, a computer device is also provided, including a memory and a processor. The memory stores a computer program, and when the program is executed by the processor, it implements the ship electrical area design structure tree generation method in the above solution.
[0109] According to the fourth aspect of the present application, there is also provided a computer storage medium storing a computer program, which when executed by a processor implements the method for generating a ship electrical area design structure tree in the above solution.
[0110] The foregoing is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application.
Claims
1. A method for generating an electrical area design structure tree of a ship, which is used to generate an electrical area design structure tree from an electrical detailed design structure tree, Characterized in that, It includes the following steps: S1. Create an initial node of the electrical area design structure tree, and create an electrical equipment area design branch node and an electrical fitting area design branch node in the initial node; S2. Create multi-level space nodes under the electrical equipment area design branch node; The multi-level space nodes are divided according to the size of the ship space; S3. Obtain the ship space position where the electrical equipment model is located in the electrical detailed design structure tree, determine the space node corresponding to the current ship space under the electrical equipment area design branch node, and import the model and design information of the current electrical equipment from the electrical detailed design structure tree to the space node in the electrical equipment area design branch node corresponding to its ship space position; S4. Based on the multi-level construction sequence division from small space to large space, create multi-level construction stage nodes under the electrical fitting area design branch node; among them, small space to large space refers to the ship space division from ship blocks, sections, sub-assemblies to super sub-assemblies, and the multi-level construction sequence includes the block stage, the stage of assembling blocks into sections, the stage of assembling sections into sub-assemblies, and the stage of assembling sub-assemblies into super sub-assemblies; the multi-level construction stage nodes are nodes created corresponding to the multi-level construction sequence, which are used to import the models and design information of electrical fittings in the corresponding construction stages subsequently, so as to represent the construction stages when electrical fittings are constructed; S5. Obtain the ship space position where each electrical fitting model is located in the electrical detailed design structure tree, determine the corresponding construction sequence of the current ship space, and determine the construction stage node corresponding to the current construction sequence in the electrical fitting area design branch node, and import the model and design information of the current electrical fitting from the electrical detailed design structure tree to the construction stage node in the electrical fitting area design branch node corresponding to its ship space position.
2. The method for generating an electrical area design structure tree of a ship according to claim 1, Characterized in that, After obtaining the ship space position of each electrical fitting model in the electrical detailed design structure tree, the following steps are further included: obtaining the electrical fittings required for the installation of each electrical equipment and classifying them into the same category, and creating the same electrical equipment installation label for the electrical fittings in the same category.
3. The method for generating an electrical area design structure tree of a ship according to claim 2, Characterized in that, The step of obtaining the ship space position where each electrical equipment model is located in the electrical detailed design structure tree and determining the space node corresponding to the current ship space under the electrical equipment area design branch node includes the following steps: Obtain the space coordinates of the electrical equipment model in the electrical detailed design structure tree; Perform an inclusion relationship analysis on the space coordinates of the electrical equipment model in sequence with the ship spaces from small to large, determine the ship space that completely contains the space coordinates of the current electrical equipment model, and then determine the space node corresponding to the current ship space under the electrical equipment area design branch node.
4. The method for generating a ship electrical area design structure tree according to claim 2, characterized in that, the steps of obtaining the ship space position where each electrical fitting model is located in the electrical detailed design structure tree, determining the construction sequence corresponding to the current ship space, and determining the construction stage node corresponding to the current construction sequence in the electrical fitting area design branch node include the following steps: Obtain the space coordinates of the electrical fitting model in the electrical detailed design structure tree; Analyze the inclusion relationship between the space coordinates of the electrical fitting model and the ship spaces from small to large in sequence, and determine the ship space that completely contains the space coordinates of the current electrical fitting model; Obtain the construction sequence corresponding to the current ship space, and further determine the construction stage node corresponding to the current construction sequence under the electrical fitting area design branch node.
5. The method for generating a ship electrical area design structure tree according to any one of claims 1-4, characterized in that, the generating method further includes the following steps: S6. Compare the differences between the electrical equipment in the electrical detailed design structure tree and the electrical equipment in the electrical area design structure tree, compare the differences between the electrical fittings in the electrical detailed design structure tree and the electrical fittings in the electrical area design structure tree, and update the electrical area design structure tree.
6. The method for generating a ship electrical area design structure tree according to claim 5, and the step S6 further includes the following steps: S61. Before the construction of electrical fittings and electrical equipment, set the screening frequency for comparing the electrical area design structure tree and the electrical detailed design structure tree; S62. Compare the differences in the quantity, time information, and name of the electrical equipment in the electrical detailed design structure tree and the electrical area design structure tree according to the screening frequency, and update the electrical equipment branch structure tree; S63. Compare the differences in the quantity, time information, and name of the electrical fittings in the electrical detailed design structure tree and the electrical area design structure tree according to the screening frequency, and update the electrical fitting branch structure tree.
7. The method for generating a ship electrical area design structure tree according to claim 6, characterized in that, the step S62 includes the following steps: Traverse and obtain the quantity of all electrical equipment under the electrical detailed design structure tree according to the screening frequency; Judge whether the quantity of the electrical equipment in the electrical detailed design structure tree is consistent with the quantity of the electrical equipment in the electrical area design structure tree; If the quantity of the electrical equipment in the electrical detailed design structure tree is less than the quantity of the electrical equipment in the electrical area design structure tree, delete the extra electrical equipment under the electrical equipment area design branch node; if the quantity of the electrical equipment in the electrical detailed design structure tree is greater than the quantity of the electrical equipment in the electrical area design structure tree, screen out the extra electrical equipment in the electrical detailed design structure tree, and then repeat step S3; if the quantity of the electrical equipment in the electrical detailed design structure tree is the same as the quantity of the electrical equipment in the electrical area design structure tree, compare the name and time information of the electrical equipment in the electrical detailed design structure tree and the electrical area design structure tree in sequence, and update the model and design information of the electrical equipment in the electrical area design structure tree.
8. The method for generating a ship electrical area design structure tree according to claim 6, characterized in that, step S63 includes the following steps: Traverse and obtain the quantity of all electrical outfittings under the electrical detailed design structure tree according to the screening frequency; Judge whether the quantity of electrical outfittings in the electrical detailed design structure tree is consistent with the quantity of electrical outfittings in the electrical area design structure tree; If the quantity of electrical outfittings in the electrical detailed design structure tree is less than the quantity of electrical outfittings in the electrical area design structure tree, delete the extra electrical outfittings under the electrical outfitting area design branch node; if the quantity of electrical outfittings in the electrical detailed design structure tree is greater than the quantity of electrical outfittings in the electrical area design structure tree, screen out the extra electrical outfittings in the electrical detailed design structure tree, and then repeat step S5; if the quantity of electrical outfittings in the electrical detailed design structure tree is the same as the quantity of electrical outfittings in the electrical area design structure tree, compare the names and time information of the electrical outfittings in the electrical detailed design structure tree and the electrical area design structure tree in turn, and update the models and design information of the electrical outfittings in the electrical area design structure tree.
9. A ship electrical area design structure tree generation system for generating an electrical area design structure tree from an electrical detailed design structure tree, characterized in that, it includes: A classification module for creating an initial node of the electrical area design structure tree and creating an electrical equipment area design branch node and an electrical outfitting area design branch node in the initial node; A node construction module for creating multi-level space nodes under the electrical equipment area design branch node; The multi-level space nodes are divided according to the ship space size, and are also used to divide based on the multi-level construction sequence from small space to large space. Multi-level construction stage nodes are created under the electrical outfitting area design branch node; among them, the small space to large space refers to the ship space division from ship sections, sub-assemblies, blocks to super blocks, and the multi-level construction sequence includes the section stage, the stage of assembling sections into blocks, the stage of assembling blocks into sub-assemblies, and the stage of assembling sub-assemblies into super blocks; the multi-level construction stage nodes are nodes created corresponding to the multi-level construction sequence, and are used to import the models and design information of electrical outfittings in the corresponding construction stage subsequently, so as to represent the construction stage when the electrical outfittings are under construction; A position acquisition module for obtaining the ship space position where the electrical equipment model is located in the electrical detailed design structure tree, and also for obtaining the ship space position of each electrical outfitting model in the electrical detailed design, determining the corresponding construction sequence of the current ship space, and determining the corresponding construction stage node in the electrical outfitting area design branch node; A node confirmation module for determining the corresponding space node of the current electrical equipment under the electrical equipment area design branch node based on the ship space where the electrical equipment model is located, and also for determining the corresponding construction sequence of the current ship space based on the ship space where the electrical outfitting model is located, and determining the corresponding construction stage node in the electrical outfitting area design branch node; A forming module, which is used to import the models and design information of each electrical equipment from the electrical detailed design structure tree to the corresponding space node under the electrical equipment area design branch node, and is also used to import the models and design information of each electrical fitting from the electrical detailed design structure tree to the corresponding construction stage node under the electrical fitting area design branch node.
10. A computer device, characterized in that, it includes a memory and a processor, the memory stores a computer program, and when the program is executed by the processor, it implements the ship electrical area design structure tree generation method according to any one of claims 1 to 7.
11. A computer storage medium, characterized in that, it stores a computer program, and when the program is executed by the processor, it implements the ship electrical area design structure tree generation method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Ship outfitting manufacturing structure tree recombination method and system, terminal and medium
CN112446093A
System and method thereof creating computer aidedengineering model using computer aided design model ofship created by hull structure detail design stage
KR1020060027477A