A real-time monitoring and control platform for ship design weight and center of gravity

The AVEVA software-based ship design weight and center of gravity real-time monitoring and control platform automatically extracts and stores 3D model data, solving the problem of low efficiency in existing technologies. It achieves efficient and real-time weight monitoring and visualization, improving the accuracy and safety of ship design.

CN116834918BActive Publication Date: 2026-05-26AVIC WEIHAI SHIPYARD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
AVIC WEIHAI SHIPYARD
Filing Date
2023-08-29
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing ship weight and center of gravity monitoring systems rely on manual statistics, which is inefficient, cannot monitor in real time, and lacks intuitive visualization functions, leading to delays in design adjustments and the presence of errors.

Method used

Develop a real-time monitoring and control platform for ship design weight and center of gravity based on AVEVA software, including computer programs, server and database modules. The platform automatically extracts 3D model data through a traversal algorithm, stores it on the server, performs data calculations and displays the data in real time.

Benefits of technology

It enables efficient and real-time weight data acquisition and monitoring, improves the accuracy and stability of the design, provides intuitive visualization of weight distribution, and supports timely design adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116834918B_ABST
    Figure CN116834918B_ABST
Patent Text Reader

Abstract

This invention relates to the field of ship weight detection technology, specifically a real-time monitoring and control platform for the center of gravity of a ship's design weight. The program then cleans and summarizes the data in an easy-to-understand and use manner. The invention also includes an electronic dashboard displaying real-time weight data, allowing ship designers to monitor the distribution of the ship's weight. It boasts advantages such as system simplicity, good monitoring effect, and high monitoring efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of ship weight detection technology, specifically to a real-time monitoring and control platform for the design weight and center of gravity of ships that is simple to use, has good monitoring effect, and high monitoring efficiency. Background Technology

[0002] In ship design and construction, the center of gravity is a critical parameter, crucial to the ship's stability, performance, and safety. Traditional calculation methods are time-consuming, labor-intensive, and prone to errors. With the development of computer technology, more and more researchers are beginning to utilize CAD / CAE technology to calculate and control the ship's center of gravity.

[0003] Real-time monitoring systems for ship weight and center of gravity based on AVEVA software are a popular research area. AVEVA is an integrated CAD / CAE software widely used in shipbuilding, offshore platforms, and marine engineering. It provides powerful modeling, analysis, and optimization capabilities for simulating and analyzing ship design, modeling, and manufacturing processes.

[0004] Accurate calculation and control of a ship's weight and center of gravity are crucial for ship design and construction, directly affecting factors such as stability, speed, and load-bearing capacity. However, traditional methods are time-consuming, labor-intensive, and prone to errors. AVEVA software, as a leading CAD / CAE software, can perform weight statistics and center of gravity calculations during the design phase, ensuring that the ship design meets all requirements.

[0005] However, currently, few ship weight and center of gravity monitoring systems are used in the market, or the methods for calculating ship weight and center of gravity are still relatively traditional, such as statistical summarization.

[0006] Current ship design weight monitoring systems on the market have the following problems: the statistical methods are relatively traditional, mainly relying on manual summarization, which is inefficient; the use of spreadsheets such as Excel for statistical analysis cannot fully and accurately analyze the 3D model to obtain detailed weight information, including coordinates; the inability to monitor weight data in real time results in a certain time delay, affecting the timeliness of design adjustments; and the lack of intuitive weight distribution visualization functions makes weight analysis inconvenient.

[0007] This current method of data aggregation primarily uses Excel spreadsheets to summarize data by major equipment or system. However, it cannot accurately extract weight and center of gravity, and it suffers from errors, lacks real-time monitoring capabilities, and cannot provide visualization. Therefore, an advanced real-time monitoring system for ship weight and center of gravity based on AVEVA software is needed to address these issues. Summary of the Invention

[0008] The purpose of this invention is to overcome the shortcomings of the prior art and provide a real-time monitoring and control platform for ship design weight that is simple, has good monitoring effect, and high monitoring efficiency.

[0009] The invention includes the following modules

[0010] The technical solution adopted by this invention to solve its technical problem is:

[0011] A real-time monitoring and control platform for ship design weight and center of gravity is characterized by comprising a computer program weight and coordinate information extraction and acquisition module, a server and database module, a data calculation module, and a data display and reporting module, which are sequentially connected. The computer program weight and coordinate information extraction and acquisition module extracts weight and center of gravity data from all sub-elements of each structural module in the ship's three-dimensional design model. This is achieved by calling the model parsing interface and employing a traversal algorithm to extract model element information one by one. Different customized extraction methods are used for different types of elements (faces, pipes, etc.). The extracted content includes element names, categories, weights, coordinates, etc., forming the collection records. The data is cleaned and summarized in an easy-to-understand and use manner. The server and database modules store the collected data on the server, which adopts a client-server model architecture. The application can act as a client, connecting to the local MySQL database and retrieving data from the database. The database implements persistent data storage and defines a dedicated database containing a series of column names, with fields such as element type, name, weight, and coordinates. The data calculation module uses the content collected from the database as input and calls the algorithm module to perform various calculations such as isocenter calculation and weight summarization, including calculating the total weight and the weight and center of gravity of each module. The data display and reporting module generates corresponding data displays and reports based on the calculation and customized results, according to the scatter plot composed of the 3D spatial coordinates of the sub-elements of all modules. This includes data dashboards or charts that visualize the 3D scatter plot and generate detailed report documents to meet the data analysis and decision-making needs of ship designers.

[0012] The computer program weight and coordinate information extraction and acquisition module of this invention includes a hull structure module, a piping system module, an equipment module, an electrical module, an interior module, and an outfitting module. The hull structure module, based on the hull design model, subdivides the hull into various sections, extracts relevant weight data from each section, and records the weight, three-dimensional coordinates (XPOS, YPOS, ZPOS), etc., of each sub-section. The piping system module analyzes the piping system design model, extracts the weight data of pipes and piping systems, and records the weight, three-dimensional coordinates (XPOS, YPOS, ZPOS), etc., of each sub-section. The equipment module, based on the equipment module's design model, extracts the weight data of various equipment and records... The system records the weight and three-dimensional coordinates (XPOS, YPOS, ZPOS) of each sub-item, including its directory, name, code, and weight. The electrical module extracts the weight data of relevant equipment from the electrical equipment module and records the weight and three-dimensional coordinates (XPOS, YPOS, ZPOS) of each sub-item. The interior module analyzes the ship's interior design model, extracts the weight data of interior components, and records the weight and three-dimensional coordinates (XPOS, YPOS, ZPOS) of each sub-item. The outfitting module extracts the weight data of outfitting components based on the outfitting module's design model and records the weight and three-dimensional coordinates (XPOS, YPOS, ZPOS) of each sub-item.

[0013] Due to the above-described structure, this invention has the advantages of simple system, good monitoring effect, and high monitoring efficiency. Attached Figure Description

[0014] Figure 1 This is a schematic diagram of the structure of the present invention.

[0015] Figure 2 This is a flowchart illustrating the process of extracting weight data from various structural modules within a ship's 3D design model.

[0016] Figure 3 This is a flowchart illustrating the process of storing the collected CSV data on the server.

[0017] Figure 4 It is a 3D scatter plot of the center of gravity.

[0018] Figure 5 This is a Kanban display image. Detailed Implementation

[0019] The present invention will be further described below with reference to the accompanying drawings:

[0020] As shown in the attached figure, a real-time monitoring and control platform for ship design weight and center of gravity is characterized by comprising a computer program weight and coordinate information extraction and acquisition module S1, a server and database module S2, a data calculation module S3, and a data display and reporting module S4, which are sequentially connected. The computer program weight and coordinate information extraction and acquisition module S1 extracts weight and center of gravity data from all sub-elements of each structural module in the ship's three-dimensional design model. This is achieved by calling the model parsing interface and employing a traversal algorithm to extract model element information one by one. The traversal algorithm uses different customized extraction methods for different types of elements (faces, pipes, etc.). The extracted content includes element names, categories, weights, coordinates, etc., forming the collection records. The data is cleaned and summarized in an easy-to-understand and use manner. The server and database module S2 stores the collected data in the server. The server adopts a client-server model architecture. The application can act as a client, connecting to the local MySQL database and retrieving data from the database. The database implements persistent data storage and defines a dedicated database containing a series of column names, with tables created using element type, name, weight, coordinates, etc. as fields. The data calculation module S3 uses the content collected from the database as input and calls the algorithm module to perform various calculations such as isocenter calculation and weight summarization, including calculating the total weight and the weight and center of gravity of each module. The data display and reporting module S4 generates corresponding data displays and reports based on the calculation and customization results and a scatter plot composed of the 3D spatial coordinates of the sub-elements of all modules. This includes data dashboards or charts that visualize the 3D scatter plot and generate detailed report documents to meet the data analysis and decision-making needs of ship designers.

[0021] The computer program weight and coordinate information extraction and acquisition module S1 of this invention includes a hull structure module, a piping system module, an equipment module, an electrical module, an interior module, and an outfitting module. The hull structure module, based on the hull design model, subdivides the hull into various sections, extracts relevant weight data from each section, and records the weight, three-dimensional coordinates (XPOS, YPOS, ZPOS), etc., of each sub-section. The piping system module analyzes the piping system design model, extracts the weight data of pipes and piping systems, and records the weight, three-dimensional coordinates (XPOS, YPOS, ZPOS), etc., of each sub-section. The equipment module, based on the equipment module's design model, extracts the weight data of various equipment. The system records the weight and three-dimensional coordinates (XPOS, YPOS, ZPOS) of each sub-item, including its directory, name, code, and weight. The electrical module extracts the weight data of relevant equipment from the electrical equipment module and records the weight and three-dimensional coordinates (XPOS, YPOS, ZPOS) of each sub-item. The interior module analyzes the ship's interior design model, extracts the weight data of interior components, and records the weight and three-dimensional coordinates (XPOS, YPOS, ZPOS) of each sub-item. The outfitting module extracts the weight data of outfitting components based on the outfitting module's design model and records the weight and three-dimensional coordinates (XPOS, YPOS, ZPOS) of each sub-item.

[0022] To address the aforementioned shortcomings of existing technologies, the ship design weight and center of gravity real-time monitoring and control platform of the present invention has the following improvements and innovations: It proposes an integrated monitoring system capable of automatically and efficiently collecting weight and coordinate data from a 3D model; it uses a server database to store the collected data, centrally manages the data, and enables multi-dimensional calculation and analysis; the data calculation module S3 can perform diverse calculations on the data according to requirements; it uses an electronic dashboard to visualize the weight distribution in real time, intuitively reflecting the center of gravity; the system achieves automated data collection, calculation, analysis, and real-time display, greatly improving work efficiency.

[0023] Compared to existing technologies, this system boasts a high degree of automation, high accuracy, strong real-time performance, and excellent intuitiveness. It effectively addresses the current pain points in ship design weight monitoring, demonstrating significant advancements. Overall, it improves the scientific rigor, safety, and stability of ship design.

[0024] Example 1

[0025] A real-time monitoring and control platform for ship design weight, characterized in that the control platform includes a computer program weight and coordinate information extraction and acquisition module S1, a server and database module S2, a data calculation module S3, and a data display and reporting module S4.

[0026] Computer program weight and coordinate information extraction and acquisition module S1: Extracts weight data from various structural modules of the ship's three-dimensional design model, and cleans and summarizes the data in an easy-to-understand and use manner.

[0027] Computer program: The process of extracting weight data from various structural modules of a ship's 3D design model and cleaning and summarizing the data in an easy-to-understand and use manner, such as... Figure 2 As shown.

[0028] Hull Structure Module: Based on the hull design model, the hull is subdivided into various sections, such as the engine room area, cargo hold area, stern area, and bow area. Relevant weight data is extracted from each section, and information such as the sub-item's directory, name, code, weight, and three-dimensional coordinates (XPOS, YPOS, ZPOS) are recorded.

[0029] Piping System Module: Analyzes the design model of the piping system, extracts the weight data of pipes and piping systems, and records information such as the directory, name, code, weight, and three-dimensional coordinates (XPOS, YPOS, ZPOS) of sub-items.

[0030] Equipment Module: Based on the design model of the equipment module, extract the weight data of various equipment and record information such as the sub-item's directory, name, code weight, and three-dimensional coordinates (XPOS, YPOS, ZPOS).

[0031] Electrical Module: Extracts the weight data of relevant equipment from the electrical equipment module and records information such as the sub-item's directory, name, code, weight, and three-dimensional coordinates (XPOS, YPOS, ZPOS).

[0032] Interior module: Analyze the design model of the ship's interior, extract the weight data of the interior components, and record information such as the sub-item's catalog, name, code, weight, and three-dimensional coordinates (XPOS, YPOS, ZPOS).

[0033] Outfitting Module: Based on the design model of the outfitting module, extract the weight data of the outfitting components and record information such as the sub-item's directory, name, code, weight, and three-dimensional coordinates (XPOS, YPOS, ZPOS).

[0034] Within each module, the computer program parses the data from the 3D design model and identifies specific sub-item types (such as BLOCK, PIPE, STRU, EQUI, etc.), extracting the corresponding weight data and location information. This data is then aggregated for subsequent data calculations and visualization.

[0035] The above process can be refined and organized according to the actual situation to ensure that weight data is accurately extracted from each construction module and that necessary sub-item information and three-dimensional coordinates are recorded.

[0036] The specific analysis steps are as follows:

[0037] 1. Define a file list object myFiles to store the paths of all model directory files.

[0038] (Explanation of myFiles: In this step, a file list object named myFiles is defined. This object stores the paths to all model directory files. Think of this file list object as a container, similar to a folder, used to centrally store the path information of multiple files. By storing the model's directory paths in the myFiles object, these files can be easily managed and accessed. In subsequent steps, this file list object will be used to process the contents of these files one by one.)

[0039] 2. Iterate through each file path in myFiles:

[0040] - Open the current file, read the file content line by line, and store the data of each line into a variable.

[0041] - Iterate through the file content and process each element one by one.

[0042] 3. Obtain Element Type: Based on the content or other characteristics of an element, determine which module the element belongs to, such as the hull structure module BLOCK, the piping system module PIPE, the equipment module EQUI, etc.

[0043] 4. Processing the Hull Structure Module: For the elements of the hull structure module, extract relevant weight data and coordinate information based on their specific structural model. This can be done using the weight calculation method of the system software. (The system software's weight calculation method is usually built-in and automatically calculates based on the material specifications and density. This article uses AVEVA design software, and the weight and coordinate information can be obtained using the commands Q NWEI and Q NCOFG.)

[0044] 5. Processing other construction modules: For elements of other construction modules, traverse their sub-items and extract the weight data and coordinate information of each sub-item. The specific extraction method can be determined based on the characteristics and data structure of the sub-items.

[0045] 6. Store sub-item information: Store the extracted sub-item's type, weight data, and 3D coordinates in a data structure, such as a dictionary or object.

[0046] 7. Save the data as a CSV file: Save the organized data as a CSV file for subsequent data calculation and display.

[0047] This allows you to extract and export the success information.

[0048] The table below shows a portion of the extracted CSV file content (partial collection tables are shown in the table below):

[0049]

[0050] Server and database storage: The collected CSV data is stored on the server. A dedicated database is defined, containing a series of column names, such as the type, description, weight, coordinates, and other information of the collected elements.

[0051] The algorithms and approaches involved in storing the collected CSV data to the server are as follows:

[0052] 1. Create a database table: Based on the given table name, create a new table in the database and define the column names and data types of the table, such as element type TYPE, description DESC, weight TOTWT, coordinates (XPOS, YPOS, ZPOS), etc.

[0053] 2. Reading a CSV file: Open the CSV file and read its contents line by line. For each line, use commas as delimiters to split it into fields and extract the required element types, descriptions, weights, coordinates, etc. Store these values ​​in memory or variables for later use.

[0054] 3. Import data into MySQL: Connect to the MySQL database and, for each record's extracted value, construct an SQL INSERT statement to insert the record into the specified table. Import the data into the MySQL database by executing the SQL INSERT statement.

[0055] 4. Verify the import results: Connect to the MySQL database and execute a SELECT query to retrieve the imported data. Check if the imported data matches the data in the CSV file. If the data matches, display a success message; otherwise, display an error message.

[0056] The above algorithms and approaches describe the process of storing collected CSV data on a server. These steps involve operations such as database table creation, file reading, data import, and result verification. By executing these steps, CSV data can be imported into a MySQL database, and the accuracy of the import results can be verified. Figure 3 This is a flowchart illustrating the process of storing the collected CSV data on the server.

[0057] Data Calculation: Based on the content collected in the database, data calculations are performed using a computer, including the following steps:

[0058] 1. Read data from the database: Read the data to be analyzed, including the name, coordinates (XPOS, YPOS, ZPOS) and weight TOTWT of each component.

[0059] 2. Data cleaning: Check the data for completeness and correct any errors.

[0060] The cleaning method is as follows:

[0061] 2.1. Check for missing values

[0062] - Check if there are any null values ​​in the data table, and how many null values ​​there are. This can be checked using computer assistance.

[0063] 2.2. Identify outliers

[0064] - Calculate the maximum, minimum, average, and standard deviation of the data.

[0065] - Based on these calculation results, check if there are any unusual values ​​in the data table that are outside the normal range.

[0066] 2.3. Delete duplicate data

[0067] - Use a computer to find the duplicate rows and then delete them.

[0068] 2.4. Standardize data format

[0069] - Ensure consistent text case and spacing. This makes the data cleaner.

[0070] 2.5. Splitting Mixed Columns

[0071] - If a field has values ​​of multiple types mixed together, split them into multiple fields.

[0072] 2.6. Fill in the missing values

[0073] - Replace missing and null values ​​with the mean, median, or most common value.

[0074] 2.7. Add a new field

[0075] - Add an extra column to record the data cleaning process and any problems encountered.

[0076] 3. Group statistics: Calculate the total weight and the number of items with a weight of 0 under each module name.

[0077] During the database import process after data collection, the element types of each component have been categorized. In this step, the computer will perform classification calculations based on different element types.

[0078] 4. Calculate the centroid: Calculate the average (weighted average) coordinates of all sub-elements as the centroid position.

[0079] Taking the EQUI device as an example, here is a simple example of the center of gravity calculation formula:

[0080]

[0081] Formula Explanation: mi is the mass (weight) of each component or point of the element, and xi, yi, and zi are the X, Y, and Z coordinates of the corresponding element or point. This formula calculates the position of the center of gravity by multiplying the mass of each sub-element or point by its coordinates, summing all the products, and then dividing by the total mass.

[0082] Data visualization and reporting module S4: Based on the calculation and customization results, it generates corresponding data visualizations and reports. This can include dashboards or charts that visually present the data, as well as generating detailed report documents to meet the data analysis and decision-making needs of ship designers. Specifically, it includes the following steps:

[0083] 1. Visualization: Draw a 3D scatter plot to show the location of all component elements. Mark the center point.

[0084] 1.1. Import libraries and modules for drawing 3D graphics. Here, we are using Python's matplotlib library.

[0085] 1.2. Create a 3D graphics window to display a 3D view.

[0086] 1.3. Extract the three position coordinates of each component from the data table: XPOS, YPOS, ZPOS

[0087] 1.4. In the 3D graphics window, plot the locations of all devices using a scatter plot (small dots).

[0088] 1.5. Specify the length, width, and height in three directions respectively.

[0089] 1.6. Based on the formula for calculating the center of gravity, draw the center of gravity point and use different colored graphics to represent it.

[0090] 1.7. Mark the precise X, Y, and Z coordinates of the centroid on the diagram.

[0091] 1.8. Optimize the graphics, and set the title, axis names, view angle, etc.

[0092] Final effect as Figure 4 3D scatter plot of the center of gravity.

[0093] 2. Data Reports: Detailed data reports corresponding to each module name can be exported according to user needs.

[0094] 3. User Interaction: Clicking on any element's scatter plot in the 3D viewport will display detailed information about that element (name, weight, coordinates).

[0095] 4. Save Report: Save the statistical results and exported content as an Excel file.

[0096] Implementation

[0097] In this invention, a computer program extracts weight data from each module of the ship's three-dimensional design model and stores it in a server database. Ship designers can use this platform to calculate and customize the data, and then view the calculated data on an electronic dashboard.

[0098] advantage

[0099] Compared with traditional weight data acquisition methods, the ship design weight real-time monitoring and control platform of the present invention has the following advantages:

[0100] Improve data acquisition efficiency: Automatic acquisition and statistical functions provide accurate weight data in real time.

[0101] Data storage and management: The collected data is stored on the server through the server and database, which facilitates subsequent data calculation and reorganization.

[0102] Data calculation and customization: Flexible customization of various data calculations and reorganizations according to the needs of ship designers.

[0103] Real-time display and monitoring: Ship weight data is displayed in real time through electronic dashboards, making it convenient for ship designers to monitor the distribution of ship weight.

[0104] The ship design weight real-time monitoring and control platform of the present invention can provide real-time and accurate weight data, providing a reference for ship designers and improving the safety and stability of ship design.

[0105] The real-time monitoring and control platform for ship design weight of the present invention has the following technical effects:

[0106] Real-time performance: The platform can acquire and update ship design weight data in real time, ensuring designers have access to the latest information. This allows designers to monitor the ship's weight distribution promptly and understand the actual design status at any time.

[0107] Accuracy: The platform employs precise data collection and calculation methods to ensure a high degree of accuracy in the provided weight data. Designers can rely on this accurate data for decision-making and analysis, avoiding erroneous design decisions based on inaccurate data.

[0108] Visualization: The platform displays weight data in a visual manner, using charts, graphs, and images, enabling designers to intuitively understand and analyze weight distribution. This provides a clearer way to present data, helping designers better understand design problems and optimization solutions.

[0109] Controllability: The platform not only provides weight data monitoring but also possesses certain control functions. Designers can make adjustments and controls based on real-time data to achieve the weight control targets set in the ship's design. This enables designers to take timely measures to maintain the ship's safety and stability.

[0110] Safety: The platform's real-time monitoring and control capabilities help improve the safety of ship design. Designers can promptly detect abnormal weight distribution and exceed design limits, and take corresponding measures to adjust and correct them, ensuring the ship has good stability and safety during operation.

[0111] Figure 5 This is a Kanban display image.

[0112] This invention provides a real-time monitoring and control platform for ship design weight. Through the combination of computer programs, servers and databases, data calculation, and electronic dashboards, it achieves automatic collection and statistical analysis of ship weight data, providing real-time display and monitoring capabilities. This platform can improve the efficiency and accuracy of ship design, provide crucial reference data, and ensure the safety and stability of ships.

[0113] Compared to traditional weight data acquisition methods, the ship design weight real-time monitoring and control platform of this invention has the following advantages: Improved data acquisition efficiency: Automatic acquisition and statistical functions provide accurate weight data in real time. Data storage and management: The acquired data is stored on the server via a server and database, facilitating subsequent data calculation and reassembly. Data calculation and customization: Various data calculations and reassemblies can be flexibly customized according to the needs of ship designers.

Claims

1. A real-time monitoring and control platform for ship design weight and center of gravity, characterized in that the control platform comprises a computer program weight and coordinate information extraction and acquisition module, a server and database module, a data calculation module, and a data display and reporting module, wherein the computer program weight and coordinate information extraction and acquisition module, the server and database module, the data calculation module, and the data display and reporting module are sequentially connected; the computer program weight and coordinate information extraction and acquisition module extracts weight and center of gravity data from all sub-elements of each structural module of the ship's three-dimensional design model, and cleans and summarizes the data in an easy-to-understand and use manner; the server and database module stores the acquired data in a dedicated database containing a series of column names; the data calculation module performs data calculations based on the content of the acquired database, including calculating the total weight and the weight and center of gravity of each structural module; the data display and reporting module displays the weight and center of gravity of all structural modules in 3D based on the calculation and customized results. The system generates scatter plots composed of spatial coordinates, producing corresponding data displays and reports. This includes data dashboards or charts that visually represent 3D scatter plots, as well as detailed report documents, to meet the data analysis and decision-making needs of ship designers. The computer program's weight and coordinate information extraction and acquisition module includes modules for hull structure, piping system, equipment, electrical systems, interior decoration, and outfitting. The hull structure module, based on the hull design model, subdivides the hull into sections, extracts relevant weight data from each section, and records the weight, three-dimensional coordinates (XPOS, YPOS, ZPOS) of each sub-section, including its directory, name, and code. The piping system module analyzes the design model of the piping system, extracts the weight data of pipes and piping systems, and records the weight, three-dimensional coordinates (XPOS, YPOS, ZPOS) of each sub-section. The equipment module extracts weight data for various equipment based on the design model of the equipment module, and records the weight, three-dimensional coordinates (XPOS, YPOS, ZPOS) of the sub-items, including their catalog, name, and code. The electrical module extracts weight data for relevant equipment from the electrical equipment module, and records the weight, three-dimensional coordinates (XPOS, YPOS, ZPOS) of the sub-items, including their catalog, name, and code. The interior module analyzes the design model of the ship's interior, extracts weight data for interior components, and records the weight, three-dimensional coordinates (XPOS, YPOS, ZPOS) of the sub-items, including their catalog, name, and code. The outfitting module extracts weight data for outfitting components based on the design model of the outfitting module, and records the weight, three-dimensional coordinates (XPOS, YPOS, ZPOS) of the sub-items, including their catalog, name, and code. The data display and reporting module specifically includes the following steps.

1. Visualization: Draw a 3D scatter plot to show the position of all component elements and mark the center point; 1.

1. Import libraries and modules for drawing 3D graphics; here, we are using Python's matplotlib library. 1.

2. Create a 3D graphics window to display a 3D view; 1.

3. Extract the three position coordinates of each component from the data table: XPOS, YPOS, ZPOS; 1.

4. In the three-dimensional graphics window, draw all the positions of the devices in the form of scattered points; 1.

5. Indicate the three dimensions of length, width and height in three directions respectively; 1.

6. Draw the barycenter point according to the barycenter calculation formula, and use different colored graphics to represent it; 1.

7. Mark the precise X, Y, Z coordinates of the barycenter point in the graph; 1.

8. Optimize the graphics, set the title, axis name, and viewing angle; 2. Data report: According to user needs, detailed data reports corresponding to each module name can be exported; 3. User interaction: Mouse click on the scattered point graph of any element in the 3D viewport to display the detailed information of the element's name, weight, and coordinates; 4. Save the report: Save the statistical results and export content as an Excel file.