IEEE Access (Jan 2023)
Program Design for Ship Piping Network Visualization Model Based on WPF and C#
Abstract
The traditional approach to ship pipeline programming often involves describing and calculating based on text files. This method tends to be error-prone and time-consuming, especially for complex systems with a large amount of data related to pipelines. In case of system failures, troubleshooting becomes inconvenient. Additionally, matrix calculations can lead to issues such as extreme values, and visualizing the results is challenging. To address these challenges, this paper proposes an intuitive, user-friendly, and efficient ship pipeline programming tool. The tool utilizes Microsoft’s WPF (Windows Presentation Foundation) graphical interface technology and the C# programming language. A graphical interface for ship pipeline networks is constructed, allowing users to visually build the physical model of pipelines through intuitive drag-and-drop and connection operations. Furthermore, the paper adopts Excel spreadsheets as the input method for data and combines it with domain knowledge of marine engineering pipelines. This approach establishes logical models for various pipelines, valves, and other equipment on ships. The models incorporate attributes from the spreadsheet to control characteristics like maximum flow rates and flow directions. By combining graphical modules, pipeline connections, and Excel spreadsheets, the method proposed in this paper offers a more convenient way to construct pipeline network models. The resulting models closely resemble actual ship pipelines, leading to improved accuracy and efficiency in data processing and calculations.
Keywords