Automatic analysis method of latent passages in thermal system pipe network based on SysML
Through the SysML internal block diagram model and topological structure diagram, the latent paths in the thermal system pipe network are automatically analyzed, which solves the problems of low analysis efficiency and poor accuracy in the existing technology, and achieves fast and accurate latent path identification and thermal system safety. Reliability design support.
Patent Information
- Application Number
- CN202410896261.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-07-05
AI Technical Summary
The prior art is difficult to effectively analyze the latent paths in the thermal system pipeline network, especially the method based on equivalent conversion is large, error-prone and incomplete coverage.
An automatic analysis method for latent paths in thermal system pipe networks based on SysML is used to establish a pipe network model through SysML internal block diagrams, define the topology, and automatically search for potential connection paths to eliminate the influence of interlocking valves.
It achieves rapid and accurate identification of latent pathways, improves analysis efficiency and accuracy, reduces the workload of the design team, and provides strong support for the safe and reliable design of thermal systems.
Smart Images

Figure CN118761221B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of digital design of thermal systems, and in particular to a method for automatically analyzing latent passages of thermal system pipe networks based on SysML. Background Art
[0002] Subterranean passages are potential paths in complex systems that may trigger unexpected events or inhibit desired events. For thermal systems, subterranean passages mainly refer to potential connecting paths in liquid and gas pipelines. Existing subterranean passage analysis technology for circuit design is relatively mature, but there are limitations in direct application to thermal systems, especially methods based on equivalent conversion, which are labor-intensive, error-prone, and incomplete in coverage. With the widespread application of SysML (System Modeling Language) in the field of systems engineering, safety and reliability analysis technology based on SysML has made significant progress. However, there is still a lack of effective methods for analyzing subterranean passages in thermal system pipelines. Summary of the invention
[0003] An embodiment of the present invention provides a method for automatically analyzing potential paths in a thermal system pipe network based on SysML. The method establishes a pipe network model through a SysML internal block diagram, defines a topological structure, and automatically searches for potential connection paths, eliminating the influence of interlocking valve pairs, thereby being able to quickly and accurately identify potential paths.
[0004] To achieve the above object, the present invention provides a method for automatically analyzing the latent paths of a thermal system pipe network based on SysML, comprising:
[0005] Step S100, using SysML internal block diagram to model the thermal system pipe network and generate a SysML internal block diagram model;
[0006] Step S200, generating a thermal system pipe network topology diagram based on the SysML internal block diagram model;
[0007] Step S300, obtaining the starting point, end point and interlock valve pair information of the potential pathway to be analyzed, and generating analysis conditions;
[0008] Step S400, based on the SysML internal block diagram model, the thermal system pipe network topology diagram and the analysis conditions, perform path search and generate analysis results.
[0009] In one embodiment of the present invention, the SysML-based automatic analysis method for thermal system pipeline network latent paths further includes:
[0010] Step S500: output based on the analysis result.
[0011] In one embodiment of the present invention, step S100 includes:
[0012] Step S101, determining the modeling scope and target;
[0013] Step S102, obtaining pipe network data and information;
[0014] Step S103, defining elements of an internal block diagram for modeling a thermal system pipe network according to the SysML standard;
[0015] Step S104, creating an internal block diagram in the SysML modeling tool;
[0016] Step S105, in the internal block diagram, according to the acquired pipe network data and information, add the equipment, components and pipes in the pipe network of the thermal system one by one;
[0017] Step S106, defining the connection relationship between equipment, components and pipelines in the internal block diagram;
[0018] Step S107, setting preset properties for each element in the internal block diagram, and defining constraints between elements, to generate the SysML internal block diagram model.
[0019] In one embodiment of the present invention, step S200 includes:
[0020] Step S201, traverse all elements in the SysML internal block diagram model to obtain connection information of each element;
[0021] Step S202, constructing an adjacency list for each element according to the acquired connection information;
[0022] Step S203: generating a pipe network topology diagram of the thermal system based on the adjacency table.
[0023] In one embodiment of the present invention, step S300 includes:
[0024] Step S301, determining the analysis scope;
[0025] Step S302, based on the analysis scope, obtaining the potential path starting point, end point and interlock valve pair information;
[0026] Step S303, generating the analysis conditions based on the potential pathway start point, end point and the interlock valve pair information.
[0027] In one embodiment of the present invention, step S400 includes:
[0028] Step S401, recording the SysML internal block diagram model, the thermal system pipe network topology diagram and the analysis conditions;
[0029] Step S402, taking the starting point specified in the analysis condition as the search starting point;
[0030] Step S403, using a preset search algorithm to traverse the adjacency list starting from the starting point;
[0031] Step S404, during the search process, if a preset component is encountered, processing is performed according to the definition in the analysis condition;
[0032] Step S405, during the search process, record the elements that have been visited, and if it is found that the element to be visited in the path already exists in the current path, terminate the search of the path;
[0033] Step S406, repeating steps S404 and S405, performing iterative search, and generating analysis results.
[0034] In one embodiment of the present invention, step S500 includes:
[0035] Step S501, collating the analysis results to generate collated analysis results;
[0036] Step S502: output the results based on the sorted analysis results.
[0037] In one embodiment of the present invention, the step S100 further includes:
[0038] Step S108: verifying the SysML internal block diagram model.
[0039] In one embodiment of the present invention, the step S303 further includes:
[0040] The analysis condition is generated based on obtaining the preset constraint condition, the potential path starting point, the end point and the interlock valve pair information.
[0041] In one embodiment of the present invention, the step S400 further includes:
[0042] Step S407, optimizing and verifying the analysis results.
[0043] Compared with the prior art, the automatic analysis method of the thermal system pipeline network potential path based on SysML according to the present invention has the following beneficial effects:
[0044] 1. The efficiency of potential connection analysis of thermal system pipe networks is significantly improved through automated modeling and path search processes. Compared with traditional manual analysis methods, this method can identify potential connection paths more quickly and reduce the workload of the design team.
[0045] 2. The automated analysis process avoids possible errors and omissions in manual operations; the precise representation of the SysML internal block diagram model and topological structure (adjacency list) ensures the accuracy and reliability of the analysis results;
[0046] 3. By analyzing the potential connection paths in the pipe network, especially eliminating the impact of special situations such as interlock valves, it provides strong support for the safety and reliability design of the thermal system; this helps to timely discover and solve potential safety hazards in the design stage and reduce system operation risks;
[0047] 4. This method is suitable for large-scale, multi-level thermal system pipe network analysis; the flexibility and scalability of the SysML model enable it to meet the modeling needs of complex systems and provide comprehensive support for system design, optimization and maintenance;
[0048] 5. Based on accurate analysis results, the design team can make more scientific and reasonable decisions; for example, in terms of pipeline layout optimization, equipment selection, fault prevention, etc., the analysis results can serve as an important basis to guide the formulation and implementation of design plans;
[0049] 6. The graphical representation of the SysML internal block diagram model is intuitive and easy to understand, which facilitates communication and cooperation among members of the design team. At the same time, the visual display of the analysis results also makes it easier to explain and illustrate the system design to non-professionals;
[0050] 7. By saving and analyzing the result documents, design experience and knowledge can be accumulated to provide reference and reference for subsequent projects; at the same time, the reusability of the analysis results also improves the efficiency and quality of the design work. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a flow chart of a method for automatically analyzing a latent path of a thermal system pipe network based on SysML in one embodiment of the present invention;
[0052] Figure 2 is a schematic diagram of a SysML graphic composition in a specific embodiment of the present invention;
[0053] Figure 3 It is a schematic diagram of a process flow of searching for a pipe network path of a thermal system in a specific embodiment of the present invention;
[0054] Figure 4 It is a schematic diagram of the internal block diagram of the water treatment system pipe network in a specific embodiment of the present invention. DETAILED DESCRIPTION
[0055] The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. It is also necessary to explain that, for ease of description, only parts related to the embodiments of the present invention are shown in the accompanying drawings, rather than all structures.
[0056] For ease of understanding, the main implementation concepts of the embodiments of the present invention are first briefly described.
[0057] With the development of the shipbuilding industry, modern ships not only pursue higher sailing speed and carrying capacity, but also put forward higher requirements for energy utilization efficiency and system operation stability. As the core component of the ship power system, the ship thermal system is responsible for providing the necessary heat energy supply for the ship and ensuring the normal operation of various ship systems.
[0058] As a key link in heat transmission, the ship thermal system network faces many challenges in its design, construction and maintenance. First, the ship thermal system network is large in scale and complex in structure, including a large number of pipes, valves, pumps, heat exchangers and other equipment. These devices are connected by intricate pipes to form a complex network structure. Secondly, during the operation of the ship, the environmental conditions are changeable, such as wave impact, temperature changes, humidity fluctuations, etc. These external factors may affect the thermal system network, increasing the difficulty of potential channel analysis.
[0059] The problem of hidden passages is particularly prominent in the pipe network of the ship's thermal system. Due to the complexity of the pipe network and the uncertainty of the environment, potential unexpected connection paths may appear at any time, leading to a series of safety issues such as heat leakage, medium mixing, and equipment failure. For example, valve failure may cause accidental leakage of high-temperature steam, causing harm to surrounding equipment and personnel; unreasonable pipeline layout may cause poor medium flow and affect system efficiency; accidental connection between equipment may destroy the thermal balance of the system and cause degradation of ship performance.
[0060] Traditional methods for analyzing the submerged passages of ship thermal system pipe networks rely on manual experience and drawing analysis, which has obvious limitations. On the one hand, manual analysis is labor-intensive, and for a huge pipe network system, it takes a lot of time and effort to check each one; on the other hand, manual analysis is easily affected by subjective factors, prone to omissions and errors, and it is difficult to ensure the accuracy of the analysis results. In addition, with the continuous advancement of ship technology, the design of thermal system pipe networks has become more and more complex, and traditional analysis methods can no longer meet actual needs.
[0061] In this context, automated analysis methods based on system modeling languages (such as SysML) have emerged. As a powerful graphical modeling tool, SysML can systematically describe the structure, behavior and constraints of complex systems. Through model elements such as SysML internal block diagrams, the equipment, pipelines and their connections in the ship's thermal system network can be accurately represented, providing a solid model foundation for submerged channel analysis.
[0062] However, although SysML has broad application prospects in the field of ship system modeling, its specific application in the analysis of the submerged passages of ship thermal system pipe networks is still in its infancy. Existing research focuses on the submerged passage analysis of circuit systems, while there is still a lack of mature automated analysis methods and tools for the specific field of ship thermal system pipe networks. Therefore, developing an automatic analysis method for the submerged passages of ship thermal system pipe networks based on SysML is of great significance for improving analysis efficiency, reducing human errors, and ensuring the safe operation of ships.
[0063] The inventors discovered the above-mentioned defects in the prior art, and in view of the complexity of the ship thermal system pipe network and the importance of the submerged passage analysis, proposed a SysML-based automatic analysis method for the submerged passage of the thermal system pipe network. This method aims to provide strong support for the design, optimization and maintenance of the ship thermal system pipe network through accurate modeling and efficient analysis, and ensure the safe and efficient operation of the ship in the complex and changeable marine environment.
[0064] Figure 1 FIG. 1 is a flow chart of a method for automatically analyzing a potential path of a thermal system pipe network based on SysML in one embodiment of the present invention. Figure 1 As shown, this embodiment provides a method for automatically analyzing latent paths of a thermal system pipe network based on SysML, including:
[0065] Step S100, using SysML internal block diagram to model the thermal system pipe network and generate a SysML internal block diagram model;
[0066] Specifically, the thermal system network is graphically modeled by using the SysML internal block diagram to construct a SysML internal block diagram model including the connection relationship between equipment, components and pipelines.
[0067] In a specific embodiment, in order to model a certain ship thermal system pipe network, the scope and target of the modeling, that is, the entire water treatment system, are first determined. Then, the detailed data and information of the pipe network are obtained, including equipment model, pipe layout, valve position, etc. According to the SysML standard, the internal block diagram elements required for modeling, such as equipment, components, pipes and connection relationships, are defined. Subsequently, a new internal block diagram is created in the SysML modeling tool, and according to the obtained pipe network data and information, the ion exchanger, valves (such as check valves such as J02, B19, and J10), pump groups (such as P1) and other equipment, components and pipes in the system are added one by one. In the internal block diagram, the connection relationship between these elements is defined, for example, valve J01 connects equipment 1 and pump group P1, and pump group P1 is connected to valve J02, etc. Finally, preset properties were set for each element (such as the working status of the equipment, the medium type of the pipeline, etc.), and constraints between elements were defined (such as the one-way flow constraint of the check valve), thus generating a complete SysML internal block diagram model. This model intuitively shows the layout and connection of each component in the water quality treatment system, providing a basis for subsequent potential channel analysis.
[0068] Based on the above analysis, we can see that the complex structure of the thermal system network can be intuitively and accurately represented through SysML internal block diagram modeling, including the connection relationship between equipment, components and pipelines. This graphical modeling method is not only easy to understand and communicate, but also provides a solid foundation for subsequent analysis work, ensuring the consistency and accuracy of the analysis process.
[0069] Step S200, generating a thermal system pipe network topology diagram based on the SysML internal block diagram model;
[0070] Specifically, by traversing the elements and their connection relationships in the SysML internal block diagram model, the topological structure diagram of the thermal system pipeline network is constructed, and the connection between components is represented in the form of an adjacency list in graph theory.
[0071] In a specific embodiment, based on the SysML internal block diagram model of the water treatment system generated in step S100, the system traverses all elements in the model (such as equipment, valves, pipelines, etc.) and their connection relationships. By parsing these connection information, an adjacency table is constructed for each component to indicate the direct connection between the component and other components. For example, the adjacency table of component '1' contains 'J01', indicating that component '1' is directly connected to valve J01; and the adjacency table of valve J02 contains '4' and 'P1', indicating that J02 is connected to component '4' and pump group P1 respectively, but it should be noted that the one-way flow characteristics of the check valve should be paid attention to, and the connection direction should be adjusted accordingly in the adjacency table. Finally, through these adjacency tables, a topological structure diagram of the thermal system pipeline network is generated, which clearly shows the connection paths between the components in the system, providing a basis for subsequent path search and potential path analysis.
[0072] Based on the above analysis, it can be seen that converting the SysML internal block diagram model into a topology diagram (such as an adjacency list) further simplifies the representation of the system structure and facilitates computer processing. The topology diagram directly reflects the connection path between components, provides efficient data structure support for the subsequent path search algorithm, and significantly improves the search efficiency.
[0073] Step S300, obtaining the starting point, end point and interlock valve pair information of the potential pathway to be analyzed, and generating analysis conditions;
[0074] Specifically, through user input or automatic extraction by the system, the starting point and end point of the potential pathways that need to be analyzed in the thermal system network and the information of the interlocking valve pairs that affect the pathways are determined, and this information is integrated into analysis conditions.
[0075] In a specific embodiment, in order to analyze the potential potential paths in the water treatment system, the user inputs the potential path to be analyzed as component '2' and the end point as component '12' through the interface, and specifies the interlock valve pair that affects the path as [J07, J08]. This information is integrated into analysis conditions by the system and used to search for potential connection paths in the topological structure diagram of the thermal system pipe network. The information entered by the user is based on the understanding of the system design and the prediction of potential risks, ensuring the purposefulness and pertinence of the analysis.
[0076] Based on the above analysis, it can be seen that clarifying the analysis objectives and constraints (such as the starting point, end point, and interlocking valve pairs) makes the path search and analysis work more targeted and purposeful. These analysis conditions directly guide the execution of the search algorithm and ensure the relevance and effectiveness of the analysis results.
[0077] Step S400, based on the SysML internal block diagram model, the thermal system pipe network topology diagram and the analysis conditions, perform path search and generate analysis results;
[0078] Specifically, based on the SysML internal block diagram model and its topological structure diagram, combined with the starting point, end point and interlocking valve pair information specified in the analysis conditions, a search algorithm is used to traverse all possible paths, exclude paths that do not meet the conditions, and finally generate an analysis result containing all potential connected paths.
[0079] In a specific embodiment, the system starts the path search algorithm based on the SysML internal block diagram model of the water quality treatment system and its topological structure diagram (i.e., adjacency list) according to the starting point '2', end point '12', and interlock valve pair [J07, J08] specified in the analysis conditions. The algorithm starts from the starting point '2', traverses the adjacency list, gradually explores possible paths, and checks whether there is an interlock valve pair on each path. After searching, the system excludes the path containing the interlock valve pair J07 and J08, and finally generates analysis results containing the remaining potential connected paths, such as ['2', 'B19', '6', 'J20', '8', 'J07', '9', 'F01', '12'], etc. These paths provide the design team with important information about the potential risks of the system.
[0080] Based on the above analysis, it can be seen that by combining the precise representation of the SysML internal block diagram model, the efficient data structure of the topology diagram, and clear analysis conditions, an efficient path search algorithm can be executed to quickly and accurately identify all potential connection paths in the thermal system network. This process is highly automated, avoiding subjectivity and errors in manual analysis, and significantly improving analysis efficiency and accuracy. At the same time, the generated analysis results directly support the optimization of thermal system design and the improvement of safety.
[0081] In this embodiment, the SysML-based automatic analysis method for thermal system pipe network latent passages further includes:
[0082] Step S500, outputting based on the analysis result;
[0083] Specifically, the analysis results generated in step S400 are organized and output in the form of visual reports, charts, or data files, etc., to facilitate the design team's understanding and application.
[0084] In a specific embodiment, the system automatically generates a detailed analysis report based on the analysis results of the potential connection paths of the water treatment system generated in step S400. The report includes a graphical display of each potential path, a list of components on the path, and key information such as whether there are interlocking valves. The design team can intuitively understand the potential paths that may exist in the system through this report, so as to take corresponding optimization measures to ensure the safety and reliability of the system. The report is finally output in PDF format, for example, for easy review and sharing by team members.
[0085] Based on the above analysis, it can be seen that by collating and outputting the analysis results, the complex analysis data can be presented to the design team and related personnel in an intuitive and easy-to-understand form. This not only helps team members quickly grasp the potential problems of the system, but also promotes cross-departmental and cross-domain communication and collaboration, and further promotes the optimization and improvement of thermal system design. At the same time, the output results can also be used as part of the design documentation to provide a reference for the implementation and maintenance of subsequent projects.
[0086] In this embodiment, step S100 includes:
[0087] Step S101, determining the modeling scope and target;
[0088] Specifically, it is necessary to clarify the specific scope of thermal system pipeline modeling (such as specific areas or subsystems) and the goals to be achieved in modeling (such as identifying potential pathways, optimizing system design, etc.) to provide direction for subsequent modeling work.
[0089] In a specific embodiment, for the water treatment system of a ship, the modeling scope is determined to be the pipe network part of the entire system, including all equipment, pipes and valves from the water inlet to the water outlet. The modeling goal is to identify potential potential channels in the system so that they can be optimized in the design stage to ensure the water treatment effect and the safety of system operation.
[0090] Step S102, obtaining pipe network data and information;
[0091] Specifically, relevant data and information of the thermal system pipeline network are collected and organized, including equipment parameters, pipeline layout, valve status, etc., to provide a comprehensive data source for subsequent modeling and analysis work.
[0092] In a specific embodiment, in order to construct the SysML internal block diagram model of the water treatment system, detailed pipe network data and information including ion exchanger model, pipe diameter, valve position and switch status were collected from design drawings, equipment manuals and on-site surveys to ensure the accuracy and completeness of the modeling.
[0093] Step S103, defining elements of an internal block diagram for modeling a thermal system pipe network according to the SysML standard;
[0094] Specifically, according to the SysML standard, define internal block diagram elements suitable for thermal system network modeling, such as blocks, ports, flows, etc. Determine how these elements represent the actual equipment, components and pipelines in the network, as well as the connection relationship between them.
[0095] In a specific embodiment, according to the SysML standard, the element types in the internal block diagram model of the water treatment system are defined, including the ion exchanger as the processing core (as a device element), the pipeline connecting each device (as a connection element), and the valve that controls the flow of the medium (including special types of valves such as check valves, all as component elements). At the same time, the necessary attributes are specified for each element, such as the working status of the equipment, the material and diameter of the pipeline, the switch status of the valve, etc., to ensure that the model can accurately reflect the structure and function of the actual system.
[0096] Step S104, creating an internal block diagram in the SysML modeling tool;
[0097] Specifically, a new project is started in the SysML modeling environment, and a blank internal block diagram document is created as a visual container for the thermal system network model.
[0098] In a specific embodiment, a SysML-compatible modeling tool such as Enterprise Architect is used to create a new project, and an internal block diagram document named "Water Quality Treatment System Pipeline Network Model" is created in the project. This document will serve as a canvas for adding elements such as equipment, pipelines, and valves in the future, and will graphically display the structure of the entire system.
[0099] Step S105, in the internal block diagram, according to the acquired pipe network data and information, add the equipment, components and pipes in the pipe network of the thermal system one by one;
[0100] Specifically, based on the network data and information collected in the early stage, specific equipment, components and pipelines in the thermal system network are drawn and placed one by one in the internal block diagram to construct a preliminary graphical representation of the system.
[0101] In a specific embodiment, according to the design drawings and on-site survey data of the water treatment system, ion exchangers, pipelines of different specifications, and various valves (such as J02 check valves, B19 valves, etc.) are added one by one to the internal block diagram of the "water treatment system pipe network model". These elements are placed in the diagram according to the actual layout and connection relationship, and a graphical model of the system pipe network is initially formed.
[0102] Step S106, defining the connection relationship between equipment, components and pipelines in the internal block diagram;
[0103] Specifically, the physical connection logic between devices, components and pipelines is clarified in the internal block diagram, and the interactions and dependencies between them are represented by connecting lines or ports.
[0104] In a specific embodiment, in the internal block diagram of the "water quality treatment system pipeline model", graphic elements such as straight lines and arrows are used to clearly mark the connection relationship between the ion exchanger and the water inlet pipeline, the water outlet pipeline and the regeneration pipeline. At the same time, the connection direction of each valve and the adjacent pipeline is also defined, ensuring that the model can accurately reflect the fluid flow path and valve control logic of the system pipeline network.
[0105] Step S107, setting preset attributes for each element in the internal block diagram, and defining constraints between elements, to generate the SysML internal block diagram model;
[0106] Specifically, by configuring specific attribute values and mutual constraint rules for each element in the internal block diagram, the detailed description of the model is improved, and finally a SysML internal block diagram model containing complete information is generated.
[0107] In a specific embodiment, detailed preset properties are set for each element in the "water treatment system pipe network model", such as specifying parameters such as processing capacity and regeneration cycle for ion exchangers, marking properties such as material and diameter for pipelines, and adding constraints such as switch status and allowed flow direction for valves. Through these property settings and constraint definitions, the model not only shows the physical structure of the system, but also includes the operating logic and functional characteristics, thus forming a complete and accurate SysML internal block diagram model.
[0108] In this embodiment, step S200 includes:
[0109] Step S201, traverse all elements in the SysML internal block diagram model to obtain connection information of each element;
[0110] Specifically, each element in the SysML internal block diagram model is systematically examined, and the connection details between them are collected and sorted out to prepare for the construction of the topology diagram.
[0111] In a specific embodiment, in order to construct the topological structure diagram of the water treatment system, all elements in the "water treatment system network model" are traversed, including ion exchangers, pipelines, valves, etc. By reading the connection port and adjacent element information of each element, the connection details between all elements in the system are collected, such as which two devices or valves are connected to a certain pipeline, whether the switch state of the valve affects the flow path of the fluid, etc. This connection information provides key data support for the subsequent topological structure diagram generation.
[0112] Step S202, constructing an adjacency list for each element according to the acquired connection information;
[0113] Specifically, based on the connection information between elements, an adjacency list is created for each element in the model, which displays other directly connected elements in the form of a graph, thereby building the topological structure foundation of the system.
[0114] In a specific embodiment, an adjacency list is constructed for each element in the model (such as ion exchangers, pipes, and valves) based on the connection information obtained from the "water treatment system pipe network model". Taking a valve as an example, its adjacency list lists all pipes and other equipment directly connected to it, as well as the connection directions and conditions between them (such as unidirectional flow, switch state dependence, etc.). These adjacency lists together form the basis of the topological structure of the water treatment system pipe network, which facilitates subsequent path search and analysis.
[0115] Step S203, generating a topological structure diagram of the thermal system pipe network based on the adjacency table;
[0116] Specifically, the data in the adjacency table is used to graphically display the connection relationship between the elements in the thermal system network, forming an intuitive and easy-to-understand topological structure diagram.
[0117] In a specific embodiment, based on the adjacency list constructed in step S202, the elements (equipment, pipelines, valves) and their connection relationships in the water treatment system are drawn into a topological structure diagram using a drawing tool or a graphical function of a modeling software. The diagram clearly shows the layout and connection paths between ion exchangers, pipelines, and valves, as well as the impact of valve status on fluid flow. This topological structure diagram not only makes it easier for team members to understand the system structure, but also provides strong support for subsequent potential path analysis and optimization design.
[0118] In this embodiment, step S300 includes:
[0119] Step S301, determining the analysis scope;
[0120] Specifically, identify the specific areas or subsystems for the thermal system pipeline network potential path analysis, and define the boundaries and focus of the analysis work.
[0121] In a specific embodiment, in order to conduct the latent path analysis efficiently, it was decided to first focus on the part of the pipe network in the water treatment system that is directly related to the ion exchanger, including its inlet pipe, outlet pipe and regeneration system. The determination of this analysis scope enables the team to concentrate on analyzing the possible latent path problems in this area, thereby optimizing the system design and improving operational safety.
[0122] Step S302, based on the analysis scope, obtaining the potential path starting point, end point and interlock valve pair information;
[0123] Specifically, within the scope of the analysis, the potential fluid flow starting points, end points, and information on interlocking valve pairs that may affect the path are identified and collected to provide key data for subsequent analysis.
[0124] In a specific embodiment, for the analysis scope related to the ion exchanger in the water treatment system, the possible starting point of the potential path is determined to be a node in the water inlet pipeline and the end point is a specific location in the water outlet pipeline. At the same time, the information of all interlocking valve pairs in the area is also collected, including their location, control logic and mutual relationship. This information is crucial for the subsequent identification of potential paths and optimization of system design.
[0125] Step S303, generating the analysis condition based on the potential path starting point, end point and the interlock valve pair information;
[0126] Specifically, the information of potential pathway starting points, end points, and interlocking valve pairs is integrated to form a set of clear rules or parameters, which serve as the basis for subsequent path search and analysis.
[0127] In a specific embodiment, a set of detailed analysis conditions is formulated based on the potential path starting point, end point and interlock valve pair information determined in the water quality treatment system. These conditions include specifying the specific location of the starting point and end point, setting the direction and conditions of fluid flow (such as unidirectional flow, pressure requirements, etc.), and clarifying the control logic and mutual influence relationship of the interlock valve pair. These analysis conditions provide clear guidance for the subsequent path search algorithm, ensuring the accuracy and pertinence of the analysis results.
[0128] In this embodiment, step S400 includes:
[0129] Step S401, recording the SysML internal block diagram model, the thermal system pipe network topology diagram and the analysis conditions;
[0130] Specifically, the SysML internal block diagram model, thermal system pipe network topology diagram and analysis conditions are organized and recorded to ensure the integrity and consistency of the data during the analysis process.
[0131] In a specific embodiment, the SysML internal block diagram of the "water quality treatment system pipe network model", the topology diagram generated based on the model, and the detailed analysis conditions formulated for the system are integrated and recorded. These documents and data are properly stored so that they can be consulted and referenced at any time during the subsequent path search and analysis process to ensure the data integrity and consistency of the entire analysis process.
[0132] Step S402, taking the starting point specified in the analysis condition as the search starting point;
[0133] Specifically, according to the starting point position determined in the analysis conditions, the path search algorithm is started to explore possible fluid flow paths from this point.
[0134] In a specific embodiment, a path search algorithm is started according to the starting point position specified in the analysis conditions (such as a node on the water inlet pipeline). Starting from the starting point, the algorithm begins to traverse the topological structure diagram of the thermal system pipe network and explore all possible fluid flow paths. This process is completed automatically, which greatly improves the analysis efficiency and accuracy.
[0135] Step S403, using a preset search algorithm to traverse the adjacency list starting from the starting point;
[0136] Specifically, the preset search strategy is used, with the starting point as the starting node, and the entire topology graph is traversed layer by layer according to the connection information in the adjacency table.
[0137] In a specific embodiment, a preset algorithm such as depth first search (DFS) or breadth first search (BFS) is used to traverse the topological structure diagram of the water quality treatment system layer by layer, starting from the starting point specified in the analysis condition, along the connection relationships listed in the adjacency table. In this process, the algorithm systematically checks each possible path branch to ensure that no potential fluid flow path is missed.
[0138] Step S404, during the search process, if a preset component is encountered, processing is performed according to the definition in the analysis condition;
[0139] Specifically, when searching for a path, if a preset specific component (such as an interlocking valve) is encountered in the path, the component is processed accordingly according to the definition and constraints of the component in the analysis conditions.
[0140] In a specific embodiment, when the path search algorithm traverses to a certain interlock valve in the water treatment system, the path will be processed accordingly according to the definition of the valve in the analysis conditions (such as switch status, control logic, etc.) and constraints (such as only allowing one-way flow, requiring specific conditions to be met before opening, etc.). If the current path does not meet the valve status or control conditions, the algorithm will exclude the path and continue to search for other possible paths. This process ensures the accuracy of the analysis results and meets the system design requirements.
[0141] Step S405, during the search process, record the elements that have been visited, and if it is found that the element to be visited in the path already exists in the current path, terminate the search of the path;
[0142] Specifically, visited elements are tracked during the search process to avoid circular paths, and if repeated access is found, further search of the path is stopped immediately.
[0143] In a specific embodiment, the path search algorithm maintains a list of visited elements. When the algorithm finds that the element to be visited (such as a device or pipeline node) already exists in the current path during the traversal process, it means that the path may form a loop, which is usually not allowed in the thermal system pipeline network. Therefore, the algorithm immediately terminates further search for the path and continues to explore other possible paths. This process effectively prevents the generation of invalid loop paths and improves the accuracy and efficiency of the analysis results.
[0144] Step S406, repeating steps S404 and S405, performing iterative search, and generating analysis results;
[0145] Specifically, step S404 and step S405 are executed in a loop, and the iterative search is continued until all possible paths are traversed, and finally all paths that meet the conditions are summarized as analysis results.
[0146] In a specific embodiment, the path search algorithm is allowed to repeatedly execute step S404 (processing preset components according to analysis conditions) and step S405 (recording visited elements and avoiding cyclic paths). Through this iterative search method, the algorithm systematically explores all possible fluid flow paths in the water treatment system. After traversing all paths, the algorithm summarizes all paths that meet the analysis conditions (such as valid paths from the start point to the end point, paths that do not violate the interlock valve control logic, etc.) as the final analysis results. These results are of great significance for identifying potential pathways in the system, optimizing the pipe network layout, and improving the safety of system operation.
[0147] In this embodiment, step S500 includes:
[0148] Step S501, collating the analysis results to generate collated analysis results;
[0149] Specifically, all paths generated by the search are screened, classified and organized to form a clear and easy-to-understand analysis result report.
[0150] In a specific embodiment, a large number of potential paths generated by the path search algorithm were carefully screened and sorted. The paths were classified according to their effectiveness, importance, and impact on system security, and invalid or duplicate paths were eliminated. Finally, a clear and detailed analysis result report was generated, which not only listed all potential paths that met the conditions, but also gave a brief description and evaluation of these paths, providing strong support for subsequent pipe network optimization and transformation work.
[0151] Step S502, outputting the results based on the sorted analysis results;
[0152] Specifically, the collated analysis results should be presented to relevant personnel in an appropriate form (such as charts, reports or visual interfaces) to facilitate understanding and application.
[0153] In a specific embodiment, multiple forms are used to output the collated analysis results. First, a detailed report is produced, which contains a graphical description of all potential paths, risk assessments, and improvement suggestions. In addition, an interactive visualization interface is available, through which relevant personnel can intuitively view the distribution of each path in the system, and click on any path to obtain detailed information and improvement plans. These output forms not only improve the readability and understandability of the analysis results, but also help promote communication and collaboration between departments, and jointly promote the optimization and improvement of the thermal system network.
[0154] In this embodiment, the step S100 further includes:
[0155] Step S108, verifying the SysML internal block diagram model;
[0156] Specifically, by comparing design documents, on-site survey data or simulation test results, the constructed SysML internal block diagram model is fully verified to ensure its accuracy and completeness.
[0157] In a specific embodiment, the "pipe network model of the water quality treatment system" was strictly verified. First, the equipment list, pipeline layout, valve configuration and other information in the system design documents were compared to ensure that the elements and their attributes in the model were consistent with the design requirements. Then, combined with the on-site survey data, the position, connection relationship and attribute settings of each element in the model were verified on the spot. In addition, the model was simulated and tested using simulation software, and the accuracy and reliability of the model were further verified by simulating the flow process of the fluid in the pipe network. These verifications ensure that the "pipe network model of the water quality treatment system" can truly reflect the structure and functional characteristics of the actual system, laying a solid foundation for subsequent analysis and optimization work.
[0158] In this embodiment, the step S303 further includes:
[0159] Generate the analysis condition based on obtaining the preset constraint condition, the potential path starting point, the end point and the interlock valve pair information;
[0160] Specifically, this step integrates the preset constraints, potential fluid flow start and end positions, and interlock valve pair information, and generates specific conditions for subsequent analysis based on these factors; the preset constraints can be, for example, flow restrictions, pressure requirements, medium types, etc.; flow restrictions are to set the maximum or minimum flow requirements for certain paths in the pipe network; pressure requirements are to specify the pressure range of certain parts of the pipe network; medium types are to distinguish the pipe network paths of different media (such as water, steam, oil, etc.). These conditions can be achieved by adding additional attributes in the SysML model or setting parameters when using the analysis tool.
[0161] In a specific embodiment, when constructing the potential path analysis conditions of the water quality treatment system, not only the potential starting point (such as the water inlet) and end point (such as a specific treatment unit) of the fluid flow are considered, but also the specific working logic of the interlocking valve pair in the system (such as when valve A is open, valve B must be closed). In addition, additional preset constraints are introduced, such as fluid pressure restrictions, flow speed requirements, etc. Based on this information, a set of detailed analysis conditions are generated, which guide the subsequent path search and potential path identification work, ensuring the accuracy and pertinence of the analysis results.
[0162] In this embodiment, the step S400 further includes:
[0163] Step S407, optimizing and verifying the analysis results;
[0164] Specifically, the preliminary analysis results are further optimized and verified by comparing with actual data or simulation tests to ensure the accuracy and practicality of the analysis results.
[0165] In a specific embodiment, the results of the water treatment system pipeline network submerged path analysis were deeply optimized. First, the identified submerged paths were prioritized according to the system design requirements and actual operation experience, focusing on those paths that may have a significant impact on system safety. Subsequently, these submerged paths were simulated and tested using simulation software, and the accuracy of the analysis results was verified by comparing the simulation results with the actual operation data. During the verification process, the analysis results were also adjusted and optimized as necessary based on feedback to ensure that they can provide strong support for subsequent system improvements.
[0166] In another specific embodiment, in step S100 (modeling process), in addition to defining static devices, components and pipelines and their connection relationships, the SysML internal block diagram model can also be extended to include dynamic parameters. These parameters can be defined as attributes of model elements or additional model elements and associated with corresponding devices or pipelines. Time-varying parameters such as temperature and pressure are defined in the model and assigned to each related element (such as pipes, valves, equipment, etc.); these parameters can be continuously changing functions or values at discrete time points. Dynamic parameters are associated with elements in the model through ports, streams or other appropriate SysML elements to indicate how these parameters affect the behavior and constraints of the elements.
[0167] Specifically, according to the SysML standard, elements such as equipment (such as steam generators), components (such as valves), pipelines and connection relationships are defined, and additional model elements or attributes are introduced to represent dynamic parameters such as "temperature" and "pressure". Dynamic parameters "temperature" and "pressure" are defined for each relevant element (such as pipes, valves). These parameters can be continuously changing functions, such as using mathematical expressions or lookup tables to represent the changes in temperature and pressure over time and position. In the SysML model, these dynamic parameters can be represented by adding attributes such as "CurrentTemperature" and "CurrentPressure" to the elements. Associate dynamic parameters with elements in the model through ports, streams, or other appropriate SysML elements. For example, a port can be defined on a pipe element, which is associated with a temperature and pressure sensor. The sensor measures and updates the temperature and pressure values of the pipe in real time. On the valve element, constraints based on temperature and pressure can be defined, such as "When the pipe temperature exceeds And the pressure is lower than In addition to static properties (such as equipment model and pipe material), constraints containing dynamic parameters are also set for elements. Use logical expressions or mathematical formulas to express these constraints. If the temperature of the pipe ( ) exceeds the temperature threshold And the pressure of the pipeline ( ) is below the pressure threshold ( ), then the valve status ( ) is "closed"; otherwise, the valve state is "open". After completing the definition of all elements, connection relationships, dynamic parameters and their associations, a complete SysML internal block diagram model is generated.
[0168] In step S107 (setting element attributes and constraints), the definition of constraints can include dynamic parameters. These constraints can be dynamically adjusted based on time-varying parameters to reflect the behavior of the system under different operating conditions. Constraints are defined using mathematical expressions or logical rules, and these constraints can include dynamic parameters as variables. For example, a constraint for opening a valve is defined as "the valve must be closed when the pipeline pressure exceeds a threshold value P(t)", where P(t) is a pressure function that varies with time. During the path search and analysis process, these dynamic constraints are regularly evaluated to determine whether they are satisfied, and the search strategy or output results are adjusted based on the evaluation results.
[0169] Specifically, the opening constraint of valve V is defined as "when the pressure P(t) of pipeline P exceeds the set threshold Valve V must be closed".
[0170] In step S400 (path search), the path search algorithm is adaptively adjusted to handle scenarios containing dynamic constraints. For example, time is divided into multiple slices, and the current dynamic parameter values and constraints are evaluated in each slice; the path search is performed in each slice, and the constraints in the slice are considered. When changes in dynamic parameters are detected that cause changes in constraints, the algorithm should be able to respond to these changes, re-evaluate the searched paths, and explore new potential paths. If needed, the path search can be iteratively performed on multiple time slices to track the evolution of the system state over time and identify all relevant potential paths.
[0171] Specifically, during the path search process, for each time point t, the pressure P(t) of the pipeline P is evaluated, and the state of the valve V is determined according to the constraints. , the search algorithm should exclude paths containing the open state of valve V.
[0172] In step S500 (result output), the output results can be expanded to include the impact of dynamic constraints and the behavior of the system at different time points. A report containing time series data is generated to show the potential path of the system under different working conditions; the report can include information such as parameter values that change over time, the satisfaction of constraints, and the potential paths searched. Through interactive visualization tools, users are allowed to dynamically view the state of the system at different time points, the potential path situation, and the satisfaction of constraints; and users can simulate the system behavior under different working conditions by adjusting the time slider or entering specific parameter values.
[0173] Specifically, a report containing time series data is generated to show the changes in valve V status caused by changes in pipeline P pressure at different time points t, as well as the corresponding potential passage conditions. At the same time, an interactive visualization tool is provided to allow users to dynamically view these changes.
[0174] In practical applications, in a specific embodiment, the automatic analysis method of the thermal system pipeline network potential path based on SysML of the present invention includes the following steps:
[0175] S1, use SysML internal block diagram to model the thermal system network;
[0176] S2, forming a topological structure diagram of the thermal system pipe network;
[0177] S3, input the starting point, end point and interlock valve pair of the potential pathway to be analyzed;
[0178] S4, search for possible connected paths.
[0179] In the step S1, an internal block diagram of the thermal system network is established according to the functions to be realized by the thermal system network, wherein the external system interface is the external port of the internal block diagram of the thermal system network.
[0180] The internal block diagram mentioned above is one of the SysML standard diagrams. Figure 2 As shown in the figure, SysML adds requirement diagrams and parameter diagrams based on UML (Unified Modeling Language), and expands internal block diagrams, block definition diagrams, and activity diagrams to meet the application of system engineering. SysML has 9 standard diagrams, which can be divided into 4 categories, namely requirement model (requirement diagram), parameter model (parameter diagram), structural model (block definition diagram, internal block diagram and package diagram) and behavior model (use case diagram, activity diagram, sequence diagram and state machine diagram).
[0181] In step S2, according to the connection relationship of the internal block graph in step S1, it is converted into an adjacency list in the form of:
[0182] Component A: [adjacent component B, adjacent component C, adjacent component D, …]
[0183] Among them, adjacent component B, adjacent component C, adjacent component D, etc. are components directly connected to component A.
[0184] On the basis of the above, for a component with unidirectional flow, the adjacency list of its downstream component does not contain this component. Take the check valve component A as an example. Its upstream is component B and its downstream is component C. The flow is from component B→component A→component C. The adjacency list of component A contains components B and C, while the adjacency list of component C does not contain component A.
[0185] On the basis of the above, for all components, the flow direction is distinguished by the inlet and outlet properties of the port. The default is bidirectional flow, otherwise it is unidirectional flow.
[0186] The so-called interlocking valve pair in step S4 refers to two valves in interlocking action. Assume that the interlocking valves are V1 and V2. When V1 is opened, V2 is closed; when V1 is closed, V2 is opened.
[0187] In step S5, when the starting point S and the end point E have been input in step S4, Figure 3 Search as shown:
[0188] S51, with S as the starting point of the path, the path is [S];
[0189] S52, obtain the node adjacent to the starting point S from the adjacency list, denoted as S i , expand the nodes on the existing path, and the resulting path is [S, S i ], when there are repeated nodes in the path, the path is interrupted; when the node reaches the end point E, the path search ends and is added to the path list;
[0190] S53, S i As a new starting point, search for a path according to S52, and continue this process to form a path list;
[0191] S54: traverse all paths in S53, and if the interlocking valve pair in step S4 exists in the path, remove the path.
[0192] According to the present invention, there is also provided a SysML-based automatic analysis system for latent paths of thermal system pipe networks. The system is a functional plug-in of SysML modeling software. The internal block diagram of the thermal system pipe network to be analyzed is selected, and then the analysis is performed. The system specifically includes a directed graph generation module, an analysis setting module, a path search module, and an example saving module.
[0193] The directed graph generation module converts the internal block diagram of the selected thermal system pipe network to be analyzed into an adjacency table format, in which the connection of one-way flow components such as check valves to downstream nodes is a one-way connection, and the others are bidirectional connections by default;
[0194] An analysis setting module is used to set interlock valve pairs and start and end points, where multiple pairs of start and end points can be set;
[0195] The path search module starts from the starting point and searches for the path that can reach the end point through the adjacency table, and excludes the path containing the interlocking valve pair nodes;
[0196] The example saving module is used to save example information such as internal block graph, adjacency table, setting information, path search results, etc.
[0197] Compared with the existing thermal system pipeline potential path analysis method based on circuit equivalence, the thermal system pipeline network potential path automatic analysis method based on SysML provided by the present invention can quickly obtain the potential connection path between two points based on a unified SysML model, overcoming the problems of low efficiency and incomplete coverage of pipeline network components in manual model conversion.
[0198] Here are some specific examples:
[0199] Figure 4 The figure shows the internal block diagram of the water treatment system in the thermal system in step S1. The system uses an ion exchanger to treat impurities in water to purify the water. In the figure, valve J02, valve B19 and valve J10 are check valves, and the outlet is one-way.
[0200] from Figure 4 The adjacency list of the directed graph formed is as follows:
[0201] '1': ['J01'],
[0202] 'J01': ['1', 'P1'],
[0203] 'P1': ['J01', 'J02'],
[0204] 'J02': ['4', 'P1'],
[0205] '4': ['3', 'J04'],
[0206] '3': ['4', 'J14', 'J06'],
[0207] 'J14': ['10', '3'],
[0208] '10': ['J14'],
[0209] 'J06': ['3', 'R1'],
[0210] 'J04': ['4', '5'],
[0211] '5': ['J04', 'J11', 'J12'],
[0212] 'J11': ['5'],
[0213] 'J10': ['R4', 'J11'],
[0214] 'R4': ['J10', '6'],
[0215] '6': ['R4', 'J20'],
[0216] '2': ['B19'],
[0217] 'B19': ['2', '6'],
[0218] 'J20': ['6', '8'],
[0219] '8': ['J20', 'R3', 'J07'],
[0220] 'R1': ['J06', '7'],
[0221] '7': ['R1', 'J08', '9'],
[0222] 'J08': ['7', 'R2'],
[0223] 'R2': ['J08', 'J09'],
[0224] '9': ['7', 'J07', 'F01'],
[0225] 'J07': ['8', '9'],
[0226] 'F01': ['9', '12'],
[0227] '12': ['F01'],
[0228] 'J12': ['5', '11'],
[0229] '11': ['J12'],
[0230] 'J09': ['R2', 'R3'],
[0231] 'R3': ['8', 'J09']
[0232] According to step S4, the starting point, the end point and the interlocked valve pair are input. Assume that the starting point and the end point combination is ['2', '12'], and the interlocked valve pair is [J07, J08]. The algorithm of step S5 is used to perform path search. The path formed from steps S51 to S53 is as follows:
[0233] 1) ['2', 'B19', '6', 'R4', 'J10', 'J11', '5', 'J04', '4', '3', 'J06','R1', '7', 'J08', 'R2', 'J09', 'R3', '8', 'J07', '9', 'F01', '12'];
[0234] 2) ['2', 'B19', '6', 'R4', 'J10', 'J11', '5', 'J04', '4', '3', 'J06','R1', '7', '9', 'F01', '12'];
[0235] 3) ['2', 'B19', '6', 'J20', '8', 'R3', 'J09', 'R2', 'J08', '7', '9','F01', '12'];
[0236] 4) ['2', 'B19', '6', 'J20', '8', 'J07', '9', 'F01', '12'].
[0237] According to step S54, among the above paths, path 1) contains the interlocking valve pair J07 and J08, so this path is removed, and the connectable paths are 2), 3) and 4).
[0238] In summary, the automatic analysis method of the thermal system pipeline network potential path based on SysML of the present invention has the following beneficial effects:
[0239] 1. The efficiency of potential connection analysis of thermal system pipe networks is significantly improved through automated modeling and path search processes. Compared with traditional manual analysis methods, this method can identify potential connection paths more quickly and reduce the workload of the design team.
[0240] 2. The automated analysis process avoids possible errors and omissions in manual operations; the precise representation of the SysML internal block diagram model and topological structure (adjacency list) ensures the accuracy and reliability of the analysis results;
[0241] 3. By analyzing the potential connection paths in the pipe network, especially eliminating the impact of special situations such as interlock valves, it provides strong support for the safety and reliability design of the thermal system; this helps to timely discover and solve potential safety hazards in the design stage and reduce system operation risks;
[0242] 4. This method is suitable for large-scale, multi-level thermal system pipe network analysis; the flexibility and scalability of the SysML model enable it to meet the modeling needs of complex systems and provide comprehensive support for system design, optimization and maintenance;
[0243] 5. Based on accurate analysis results, the design team can make more scientific and reasonable decisions; for example, in terms of pipeline layout optimization, equipment selection, fault prevention, etc., the analysis results can serve as an important basis to guide the formulation and implementation of design plans;
[0244] 6. The graphical representation of the SysML internal block diagram model is intuitive and easy to understand, which facilitates communication and cooperation among members of the design team. At the same time, the visual display of the analysis results also makes it easier to explain and illustrate the system design to non-professionals;
[0245] 7. By saving and analyzing the result documents, design experience and knowledge can be accumulated to provide reference and reference for subsequent projects; at the same time, the reusability of the analysis results also improves the efficiency and quality of the design work.
[0246] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for automatic analysis of latent paths in thermal system pipe networks based on SysML, characterized in that: include: Step S100, using SysML internal block diagram to model the thermal system pipe network and generate a SysML internal block diagram model; Step S200, generating a thermal system pipe network topology diagram based on the SysML internal block diagram model; Step S300, obtaining the starting point, end point and interlock valve pair information of the potential pathway to be analyzed, and generating analysis conditions; Step S400, based on the SysML internal block diagram model, the thermal system pipe network topology diagram and the analysis conditions, perform path search and generate analysis results; Wherein, the step S100 includes: Step S101, determining the modeling scope and target; Step S102, obtaining pipe network data and information; Step S103, defining elements of an internal block diagram for modeling a thermal system pipe network according to the SysML standard; Step S104, creating an internal block diagram in the SysML modeling tool; Step S105, in the internal block diagram, according to the acquired pipe network data and information, add the equipment, components and pipes in the pipe network of the thermal system one by one; Step S106, defining the connection relationship between equipment, components and pipelines in the internal block diagram; Step S107, setting preset attributes for each element in the internal block diagram, and defining constraints between elements, to generate the SysML internal block diagram model; Wherein, the step S200 includes: Step S201, traverse all elements in the SysML internal block diagram model to obtain connection information of each element; Step S202, constructing an adjacency list for each element according to the acquired connection information; Step S203, generating a topological structure diagram of the thermal system pipe network based on the adjacency table; Wherein, the step S300 includes: Step S301, determining the analysis scope; Step S302, based on the analysis scope, obtaining the potential path starting point, end point and interlock valve pair information; Step S303, generating the analysis condition based on the potential path starting point, end point and the interlock valve pair information; Wherein, the step S400 includes: Step S401, recording the SysML internal block diagram model, the thermal system pipe network topology diagram and the analysis conditions; Step S402, taking the starting point specified in the analysis condition as the search starting point; Step S403, using a preset search algorithm to traverse the adjacency list starting from the starting point; Step S404, during the search process, if a preset component is encountered, processing is performed according to the definition in the analysis condition; Step S405, during the search process, record the elements that have been visited, and if it is found that the element to be visited in the path already exists in the current path, terminate the search of the path; Step S406, repeating steps S404 and S405, performing iterative search, and generating analysis results.
2. The method for automatically analyzing latent passages in a thermal system pipe network based on SysML as claimed in claim 1, characterized in that: Also includes: Step S500: output based on the analysis result.
3. The method for automatically analyzing the latent passages of a thermal system pipe network based on SysML as claimed in claim 2, characterized in that: The step S500 includes: Step S501, collating the analysis results to generate collated analysis results; Step S502: output the results based on the sorted analysis results.
4. The method for automatically analyzing latent passages in a thermal system pipe network based on SysML as claimed in claim 1, characterized in that: The step S100 further includes: Step S108: verifying the SysML internal block diagram model.
5. The method for automatically analyzing latent passages in a thermal system pipe network based on SysML as claimed in claim 1, characterized in that: The step S303 further includes: The analysis condition is generated based on obtaining the preset constraint condition, the potential path starting point, the end point and the interlock valve pair information.
6. The method for automatically analyzing latent passages in a thermal system pipe network based on SysML as claimed in claim 1, characterized in that: The step S400 further includes: Step S407, optimizing and verifying the analysis results.
Citation Information
Patent Citations
Fluid system sneak path analysis method and related equipment
CN114841105A
SysML-based thermodynamic system integration method
CN115146442A