Method and device for generating process piping and instrument flow chart of equipment
By automatically obtaining interface information from the machine requirement table in the computing device and generating process piping and instrument flow charts, the problems of low generation efficiency and frequent errors in the existing technology are solved, and efficient and intelligent piping and flow chart generation is achieved.
Patent Information
- Application Number
- CN202510221648.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2045-02-27
AI Technical Summary
Existing technologies for generating process piping and instrumentation flow diagrams for semiconductor material cleanrooms are inefficient and prone to errors, especially when manually configuring piping sizes and drawing drawings.
Provided are a method and device for generating a process piping and instrumentation flow chart for equipment. A computing device automatically obtains interface information from a machine requirement table, determines the pipe size and connection method of the branch pipe, and automatically generates the process piping and instrumentation flow chart using a CAD graphics generation module.
It improves the efficiency of generating process piping and instrument flow charts, realizes automatic configuration of piping parameters and intelligent drawing process, and reduces manual errors.
Smart Images

Figure CN119720449B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of pipeline configuration, and in particular to a method and device for generating a process pipeline and instrument flow chart of equipment. Background Art
[0002] With the development of semiconductor technology, the requirements for the semiconductor material preparation process are becoming increasingly higher, including the requirements for the site of semiconductor material preparation. In order to meet the above requirements, it is proposed to build a clean room for semiconductor materials to prepare semiconductor materials.
[0003] A clean workshop refers to a semiconductor material production workshop that uses a series of environmental control measures to ensure that the concentration of dust and pollutants in the production environment reaches the lowest level, thereby ensuring the production quality and efficiency of chips.
[0004] Due to the high production process requirements of cleanroom facilities for semiconductor material manufacturing, a wide variety of piping systems are required, with densely packed layouts. This often complicates the installation of numerous pipelines and their connection to equipment, leading to a complex construction process and lengthy design and construction times. In particular, generating process piping and instrumentation diagrams (P&IDs) for secondary distribution equipment requires manual reading of relevant parameters from the machine requirement sheet (UM sheet), manually configuring piping dimensions, and creating drawings. This approach is not only inefficient but also prone to errors.
[0005] Therefore, a new method and device for generating a process piping and instrument flow diagram of equipment is needed. Summary of the Invention
[0006] To this end, the present invention provides a method for generating a process piping and instrumentation flow chart of an equipment in an effort to solve the above problems.
[0007] According to a first aspect of the present invention, a method for generating a process piping and instrumentation flow chart for an equipment is provided, which is suitable for execution in a computing device, and the method comprises the steps of: in response to receiving a drawing request for drawing a process piping and instrumentation flow chart, obtaining target interface information of one or more interfaces from a machine requirement table, the target interface information comprising: flow information and interface information, the interface information comprising interface size; determining the pipe size of a branch pipe connected to each interface according to the target interface information of each interface; determining the access method of the branch pipe to the system according to the pipe size of each branch pipe and the interface information of the system to be connected; and generating a process piping and instrumentation flow chart for the equipment according to the pipe size of the branch pipe and the access method of the branch pipe to the system.
[0008] Optionally, according to the method of the present invention, obtaining target interface information of one or more interfaces from the machine requirement table includes: determining one or more data types required to process the drawing request, matching each data type in the machine requirement table to determine the target column where the data type is located; and calling an acquisition function to obtain target interface information from the target column of the machine requirement table.
[0009] Optionally, in the method according to the present invention, the method further comprises: applying for a data buffer area, creating a data frame in the data buffer area; and storing the target interface information in the data frame.
[0010] Optionally, in the method according to the present invention, the flow information includes the maximum flow of the interface, and determining the pipe size of the branch pipe connected to each interface based on the target interface information of each interface includes: inputting the maximum flow and interface size of the interface into a pipe size configuration function; the pipe size configuration function determines the preset pipe size of the pipe connected to the interface based on the maximum flow of the interface and a pipe size matching rule set; and determining the pipe size based on the size relationship between the preset pipe size and the interface size.
[0011] Optionally, in the method according to the present invention, determining the pipeline size based on the size relationship between the preset pipeline size and the interface size includes: if the interface size is smaller than or equal to the preset pipeline size, using the preset pipeline size as the pipeline size; if the interface size is larger than the preset pipeline size, using the interface size as the pipeline size.
[0012] Optionally, in the method according to the present invention, the access method for connecting the branch pipe to the system includes: the number of main pipes required for connecting the branch pipe to the system, and one or more branch pipes connected to each main pipe, the interface information to be connected to the system includes the maximum flow rate of the system interface, and determining the access method for connecting the branch pipe to the system based on the pipe size of each branch pipe and the interface information to be connected to the system includes: connecting different branch pipes to be connected to the main pipe, merging the branch pipes through the main pipe, and then connecting each main pipe to a corresponding point on the system; averaging the flow rate connected to each main pipe, and the flow rate of each main pipe is less than the maximum flow rate of the system interface.
[0013] Optionally, according to the method of the present invention, generating a process piping and instrument flow chart for the equipment based on the pipe size of the branch pipe and the access method of the branch pipe to the system includes: creating a graphic object in a drawing, the graphic object including an image frame; marking the flow information, interface information, interface name and the name of the system to which the branch pipe is to be connected of the graphic object corresponding to the branch pipe in the image frame; setting an instrument valve group to control each branch pipe; connecting the branches connected to the same system to the main pipe, and merging the branches connected to the same system through the main pipe; and setting the main pipe to be connected to the system.
[0014] According to a second aspect of the present invention, a device for generating a process piping and instrumentation flow chart for an equipment is provided, the device comprising a data reading module adapted to obtain target interface information of one or more interfaces from a machine requirement table in response to receiving a drawing request for drawing a process piping and instrumentation flow chart, the target interface information comprising: flow information and interface information, the interface information comprising interface size; a pipe size configuration module adapted to determine the pipe size of a branch pipe connected to each interface according to the target interface information of each interface, and determine the access mode of connecting the branch pipe to the system according to the pipe size of each branch pipe and the interface information of the system to be connected; and a CAD graphics generation module adapted to generate a process piping and instrumentation flow chart for the equipment according to the pipe size of the branch pipe and the access mode of connecting the branch pipe to the system.
[0015] According to a third aspect of the present invention, a computing device is provided, comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any method of the method for generating a process piping and instrumentation flow diagram for the device according to the present invention.
[0016] According to a fourth aspect of the present invention, a computer-readable storage medium storing one or more programs is provided, wherein the one or more programs include instructions that, when executed by a computing device, cause the computing device to perform any of the methods for generating a process piping and instrumentation flow chart for a device according to the present invention.
[0017] According to a fifth aspect of the present invention, a computer program product is provided, comprising a computer program / instruction, wherein when the computer program / instruction is executed by a processor, a method for generating a process piping and instrumentation flow chart of an apparatus of the present invention is implemented.
[0018] A method for generating a process piping and instrumentation flow chart for equipment according to the present invention is suitable for execution in a computing device. The method comprises the steps of: in response to receiving a drawing request for drawing a process piping and instrumentation flow chart, obtaining target interface information of one or more interfaces from a machine requirement table, automatically determining the pipe size of a branch pipe connected to each interface according to the target interface information of each interface, then determining the access mode of the branch pipe to the system according to the pipe size of each branch pipe and the interface information of the system to be connected, further generating a process piping and instrumentation flow chart for the equipment, automatically configuring corresponding pipeline parameters according to the target interface information, and setting the access mode according to the corresponding parameters, thereby improving the generation efficiency of P&ID and the intelligence of the drawing process. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] To achieve the above and related purposes, certain illustrative aspects are described herein in conjunction with the following description and accompanying drawings, which indicate various ways in which the principles disclosed herein may be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. The above and other objects, features, and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout this disclosure, the same reference numerals generally refer to the same parts or elements.
[0020] Figure 1 A schematic diagram of a device 100 for generating a process piping and instrumentation diagram of an apparatus according to an exemplary embodiment of the present invention is shown;
[0021] Figure 2 A schematic flow chart of a method 200 for generating a process piping and instrumentation diagram for an apparatus according to an exemplary embodiment of the present invention is shown. DETAILED DESCRIPTION
[0022] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. The same reference numerals generally refer to the same components or elements.
[0023] Secondary hook-up, also known as process equipment secondary hook-up, connects process equipment to various main pipelines. This work spans the cleanroom from the main system take-off valves (points) to the Point of User (POU). Due to the diverse and densely packed pipeline systems within a cleanroom, secondary hook-up is a significant undertaking. The numerous connections between pipeline systems and equipment require processing, leading to complex routing. This present invention configures the pipeline system, known as secondary hook-up, to improve the accuracy of generated process piping and instrumentation flow diagrams.
[0024] The method for generating a process piping and instrumentation diagram for a device of the present invention is suitable for execution in a computing device. The computing device includes: one or more processors; a memory; and one or more devices, the one or more devices including instructions for executing the method for generating a process piping and instrumentation diagram for the device.
[0025] In a basic configuration, a computing device includes at least one processing unit and system memory. According to one aspect, the system memory includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories, depending on the configuration and type of the computing device. According to one aspect, the system memory includes an operating system.
[0026] According to one aspect, an operating system, for example, is suitable for controlling the operation of a computing device. In addition, examples are practiced in conjunction with a graphics library, other operating systems, or any other application program, and are not limited to any particular application or system. According to one aspect, a computing device has additional features or functions. For example, according to one aspect, a computing device includes additional data storage devices (removable and / or non-removable), such as magnetic disks, optical disks, or tapes.
[0027] As stated above, according to one aspect, a program module is stored in a system memory. According to one aspect, the program module can be implemented as one or more computer program products. This application does not limit the type of computer program product; for example, the program module may include: email, word processing applications, spreadsheet applications, database applications, slideshow applications, drawing or computer-aided applications, web browsers, etc. In some embodiments of the present application, computer programs / instructions related to user identity authentication methods are packaged as a computer program product. When these computer programs / instructions are executed by a processor (i.e., a processing unit), a method for generating a process piping and instrumentation flow diagram for a device according to the present application is implemented.
[0028] The invention also discloses a device for generating a process pipeline and instrument flow chart of the equipment. Figure 1 FIG. 1 is a schematic diagram showing a device 100 for generating a process piping and instrumentation flow diagram for an apparatus according to an exemplary embodiment of the present invention. Figure 1 As shown, the device 100 for generating a process piping and instrumentation flow chart of an equipment includes a data reading module 110 , a pipe size configuration module 120 and a CAD graphics generation module 130 .
[0029] In the following, each module in the device 100 for generating a process piping and instrumentation flow chart will be further described in each step of the method for generating a process piping and instrumentation flow chart of a device.
[0030] Figure 2 FIG. 2 is a flow chart showing a method 200 for generating a process piping and instrumentation flow chart for an apparatus according to an exemplary embodiment of the present invention. Figure 2As shown, method 200 first executes step 210. In response to receiving a drawing request for drawing a process piping and instrument flow chart, the data reading module is called to obtain target interface information of one or more interfaces from the machine requirement table. The target interface information includes flow information and interface information, and the interface information includes interface size.
[0031] According to one embodiment of the present invention, a computing device stores a machine requirement table (UM table). The machine requirement table can be entered by a developer or obtained from a business partner. The present invention does not limit the specific method of obtaining the machine requirement table. The UM table can be implemented as an Excel spreadsheet. The present invention does not limit the specific storage format of the UM table. The UM table stores interface information corresponding to different points. Points include demand points of a machine or an auxiliary machine. Each row in the UM table records the interface information corresponding to a point, and each column records a data type in the interface information. Interface information includes: component name, floor, maximum flow rate, minimum flow rate, maximum pressure, minimum pressure, interface material, interface type, and interface size.
[0032] According to one embodiment of the present invention, a UM table is stored in a target storage location in a computing device. The computing device can automatically search for the target storage location, or a user can manually set the target storage location, and provide the target storage location to a device for generating a process piping and instrumentation diagram for a device that executes a method for generating a process piping and instrumentation diagram for the device.
[0033] According to one embodiment of the present invention, in response to a device generating a process piping and instrumentation flow chart of a device receiving a drawing request for drawing a process piping and instrumentation flow chart, a data reading module processes the drawing request. The data reading module includes a path positioning submodule ( Figure 1 (not shown) can automatically locate the target storage location of the UM table or receive a target storage location set by the user. The data reading module retrieves the UM table based on the target storage location. The target storage location includes the storage disk path and file name where the UM table is stored on the computing device. An example of a target storage location is as follows: C:\Semiconductor_Projects\UM_Demand_Table.xlsx.
[0034] According to one embodiment of the present invention, when a data reading module obtains target interface information for one or more interfaces from a UM table, it determines one or more data types required to process a drawing request, matches each data type in the UM table to determine the target column where the data type resides, and calls a get function to obtain target interface information from the target column of the machine requirement table. For example, the data reading module calls the read_excel function in the Python pandas library to extract target interface information for one or more interfaces. The target interface information includes flow rate information, interface size, and other information extracted from the interface information.
[0035] According to one embodiment of the present invention, the data reading module creates a data frame to store target interface information. A data frame is similar to a matrix, with n rows and p columns, but each column can contain different types, such as numeric and character. The data frame can be stored in a separate data buffer allocated in memory, allowing the pipeline sizing module to retrieve the target interface information in the data frame from the data buffer. The present invention does not limit the specific storage location of the data frame.
[0036] After extracting the target interface information, the data reading module stores the target interface information in a data frame.
[0037] Then, step 220 is executed to call the pipe size configuration module to determine the pipe size of the branch pipe connected to each interface according to the target interface information of each interface.
[0038] According to one embodiment of the present invention, a pipeline sizing configuration module is adapted to monitor a data buffer. When, during the monitoring process, the data frame in the data buffer contains target interface information for one or more interfaces, indicating that the data reading module has successfully extracted the target interface information from the UM table, the pipeline sizing configuration module retrieves flow information (including the maximum flow rate) and interface size for each interface from the data frame in the data buffer. The flow information and interface size for each interface are sent to a pipeline sizing configuration function as input parameters. The interface flow information includes the maximum flow rate, which can be expressed in liters per minute (LPM). The present invention does not limit the specific units of flow information. If, during monitoring of the data buffer, the pipeline sizing configuration module fails to detect the target interface information stored in the data frame after receiving a drawing request for a predetermined time period, the module reports an error, notifying the data reading module that extraction of the target interface information has failed, prompting manual intervention to address the error.
[0039] According to one embodiment of the present invention, the pipe size configuration module defines a pipe size configuration function (configure_pipe_size). The pipe size configuration function's input parameters include the maximum flow rate and the interface size. Upon receiving the input parameters from the pipe size configuration module, the function automatically begins execution and calculates output parameters based on the input parameters. The output parameters include the pipe size of the branch pipe connected to the interface.
[0040] The pipe sizing function includes a pre-defined set of pipe sizing rules based on semiconductor industry engineering practices and relevant business requirements. The matching rules in this set consist of a series of conditional statements that form logical branches for matching pipe sizes. An example matching rule is as follows: When matching pipe sizes for a pure water system, if the incoming maximum flow rate is determined to be less than 10 L / min, the default pipe size for the branch pipe selected according to the rule is OD20. The pipe sizing configuration module determines the default pipe size for the pipe connected to the interface based on the interface's maximum flow rate and the pipe sizing matching rule set.
[0041] The Pipe Size Configuration module then calls the Pipe Size Configuration function to determine the pipe size based on the relationship between the preset pipe size and the interface size. This includes: if the interface size is less than or equal to the preset pipe size, the preset pipe size is used as the pipe size; if the interface size is greater than the preset pipe size, the interface size is used as the pipe size. The Pipe Size Configuration function strictly follows this rule logic, comparing, matching, and calculating each input parameter one by one, ultimately determining the correct pipe size for the branch pipe connected to the current interface.
[0042] Then, step 230 is executed to call the pipe size configuration module to determine the connection mode of the branch pipe to the system according to the pipe size of each branch pipe and the interface information of the system to be connected.
[0043] According to one embodiment of the present invention, the pipe sizing configuration module includes a pipe merging function (pipe_combine). The pipe merging function's input parameters include the pipe dimensions of each branch and system interface information. A system is a piping system deployed within a factory building, such as the pure water system, bulk gas, specialty gas, pure water (UPW), drain, chemical, process cooling water (PCW), process vacuum (PV), scavenging vacuum (HV), pumping line, exhaust, PW, CW, and NG. During calculations, all branches connected to the system belong to the same system, and the connection method for each branch is calculated separately. The interface information for the system to be connected includes the system interface dimensions and the maximum flow rate of the system interface. The system interface information refers to the system's take-off point. To minimize the number of points connected to the system, branches connected to the same system are merged to reduce the number of points. The pipe merging function also stores the system interface dimensions and maximum flow rate for each system. The pipe merging function connects the various branch pipes to the main pipe, merging them through the main pipe. Each main pipe is then connected to a corresponding point in the system. The flow rates of each main pipe are averaged, and each main pipe's flow rate is less than the maximum flow rate of the system interface. The output of the pipe merging function is the connection method of the branch pipes to the system. This method includes the number of points at which the branches are connected to the system (i.e., the number of main pipes required to connect to the system), as well as the number of branches connected to each main pipe. For each branch pipe connected to the main pipe, the interface size at the corresponding point can be set based on the branch pipe size.
[0044] According to one embodiment of the present invention, a pure water system has seven branch pipes to be connected to the system. Four of these branch pipes have a maximum flow rate of 60 kilowatts (for ease of calculation, a unified unit, such as L / Min, is used), and three branch pipes have a maximum flow rate of 40 kilowatts. The system interface size connected to a single take-off point in the system is OD63, and the maximum flow rate of the system interface is 300 kilowatts. Calculations have determined that the seven branch pipes are connected to the system via two take-off points. Specifically, two main pipes are connected to the system, with one take-off point (i.e., the main pipe) allocated for connection to two 60-kilowatt branches and two 40-kilowatt branches, and the other take-off point (i.e., the other main pipe) allocated for connection to two 60-kilowatt branches and one 40-kilowatt branch.
[0045] According to one embodiment of the present invention, each step performed by the pipeline size configuration module can be specifically implemented through Python code, and the present invention does not limit the specific implementation method of the pipeline size configuration module.
[0046] The pipe size configuration module can store the pipe size of the branch pipe and the connection method of the branch pipe to the system in the size configuration result buffer area.
[0047] Finally, step 240 is executed to call the CAD graphics generation module to generate a process piping and instrumentation flow chart for the equipment based on the pipe size of the branch pipe and the access method of the branch pipe to the system; this includes: creating a graphic object in the drawing and setting the graphic object based on the pipe size of the branch pipe and the access method of the branch pipe to the system. The graphic object includes an image frame; marking the flow information, interface information, interface name and system name of the branch pipe to be connected to the graphic object in the image frame; setting the instrument valve group to control each branch pipe; connecting the branches connected to the same system to the main pipe, and merging the branches connected to the same system through the main pipe; and setting the main pipe to be connected to the system. According to one embodiment of the present invention, the flow information of the interface includes the maximum flow, average flow and minimum flow of the interface. For example, the maximum flow of a certain interface is marked as 4, the average flow is 2, and the minimum flow is 0, and the unit is LPM.
[0048] According to one embodiment of the present invention, a CAD graphics generation module can interact with AutoCAD software based on the pyautocad library to automatically generate a process piping and instrumentation diagram (P&ID) for the equipment based on the configured branch pipe sizes and the access method of the branch pipe to the system.
[0049] According to one embodiment of the present invention, the CAD graphics generation module first initializes a connection with AutoCAD. During startup, the CAD graphics generation module first loads the connection initialization function module of the pyautocad library. Based on the installed AutoCAD software version information and the default installation path configuration on the computing device, a communication connection is established with a running or activatable AutoCAD process. This communication connection is established by sending a predefined connection request instruction and verification information, ensuring unimpeded interaction between the CAD graphics generation module (which can be implemented as a Python program) and AutoCAD software, laying the foundation for subsequent graphics drawing operations.
[0050] Subsequently, the functions and methods provided by the pyautocad library are used to create graphical objects in AutoCAD, such as lines, symbols, and annotations. Graphic objects are set based on the read branch pipe dimensions and the connection method to the system, and a complete drawing is drawn according to P&ID specifications and layout requirements. First, the data reading module retrieves the preset drawing layout for each system (including the horizontal position and vertical spacing of each element, and the CAD legend for each element). Subsequently, after extracting the pipe dimension data from the dimension configuration result buffer of the pipe sizing module, the CAD graphics generation module begins the drawing process. The rich drawing functions provided by the pyautocad library are utilized. For example, the create line function draws pipe lines based on take-off points and point coordinates, and text annotations are set based on pipe dimension data to visually represent different pipe diameters. For special symbols such as valves and instruments, pre-set CAD blocks are used to annotate the interface flow value, interface dimensions, material, type, pressure, and other information using CAD parameter blocks. Throughout the entire drawing process, the standard P&ID layout framework is strictly adhered to, ensuring that the position, orientation, and connection relationships of all graphic objects conform to engineering drawing logic and industry practices. Finally, the generated AutoCAD file is saved. After all drawing and annotation work is completed, the CAD drawing generation module triggers the file save process. Based on the user-defined save path (which can be set by default to the "PID_Flowchart" subfolder in the same directory as the requirements table, or can be manually specified by the user) and file name specifications (such as a combination of project number, date, and version number to ensure uniqueness and identifiability), the pyautocad library's file save command saves the currently drawn P&ID in its native AutoCAD file format (such as .dwg) to the specified location. After saving, the connection to AutoCAD is automatically closed, releasing related system resources. A prompt message indicating "P&ID for a certain machine has been successfully drawn and saved" is displayed on the user interface, completing the entire implementation process of this assisted drawing method.
[0051] A method for generating a process piping and instrumentation flow chart for equipment according to the present invention is suitable for execution in a computing device. The method comprises the steps of: in response to receiving a drawing request for drawing a process piping and instrumentation flow chart, obtaining target interface information of one or more interfaces from a machine requirement table, automatically determining the pipe size of a branch pipe connected to each interface according to the target interface information of each interface, then determining the access mode of the branch pipe to the system according to the pipe size of each branch pipe and the interface information of the system to be connected, further generating a process piping and instrumentation flow chart for the equipment, automatically configuring corresponding pipeline parameters according to the target interface information, and setting the access mode according to the corresponding parameters, thereby improving the generation efficiency of P&ID and the intelligence of the drawing process.
[0052] It should be noted that the storage medium (computer-readable medium) mentioned above in the present application may be a computer-readable signal medium or a non-transitory computer-readable storage medium or any combination of the above two. The non-transitory computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of non-transitory computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0053] In this application, a non-transitory computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a non-transitory computer-readable storage medium that can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0054] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0055] The above description is only a partial embodiment of the present application and an illustration of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in this application is not limited to the technical solutions formed by the specific combination of the above technical features, but also includes other technical solutions formed by any combination of the above technical features or their equivalents without departing from the above disclosed concepts. For example, the above features can be replaced with (but not limited to) technical features with similar functions disclosed in this application.
[0056] In addition, although adopting specific order to describe each operation, this should not be interpreted as requiring these operations to be performed in the specific order shown or in sequential order. Under certain environment, multitasking and parallel processing may be advantageous. Similarly, although comprising some specific implementation details in the above discussion, these should not be interpreted as limiting the scope of the application. Some features described in the context of separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment also can be implemented in multiple embodiments individually or in the mode of any suitable subcombination.
[0057] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A method for generating a process piping and instrumentation flow diagram for a device, suitable for execution in a computing device, the method comprising the steps of: In response to receiving a drawing request for drawing a process piping and instrumentation flow diagram, target interface information of one or more interfaces is obtained from the machine requirement table, where the target interface information includes: flow information and interface information, wherein the interface information includes interface size; Determine the pipe size of the branch pipe connected to each interface according to the target interface information of each interface; Determine the connection method of the branch pipe to the system based on the pipe size of each branch pipe and the interface information of the system to be connected; Generate a process piping and instrument flow diagram for the equipment based on the pipe size of the branch pipe and the access method of the branch pipe to the system; The flow information includes the maximum flow of the interface, and determining the pipe size of the branch pipe connected to each interface according to the target interface information of each interface includes: Inputting the maximum flow rate and the interface size of the interface into a pipe size configuration function; The pipe size configuration function determines a preset pipe size of a pipe connected to the interface based on the maximum flow of the interface and a pipe size matching rule set; Determine the pipe size based on the relationship between the preset pipe size and the interface size; If the interface size is less than or equal to the preset pipe size, the preset pipe size will be used as the pipe size; If the interface size is larger than the preset pipe size, the interface size will be used as the pipe size.
2. The method according to claim 1, wherein The step of obtaining target interface information of one or more interfaces from the machine requirement table includes: Determine one or more data types required to process the drawing request, and match each data type in the machine requirement table to determine the target column where the data type is located; Call the acquisition function to obtain the target interface information from the target column of the machine requirement table.
3. The method according to claim 2, wherein: The method further comprises: Applying for a data buffer area, and creating a data frame in the data buffer area; The target interface information is stored in the data frame.
4. The method according to claim 1, wherein The connection mode of the branch pipe to the system includes: the number of main pipes required for the branch pipe to be connected to the system, and one or more branch pipes connected to each main pipe. The interface information to be connected to the system includes the maximum flow rate of the system interface. The connection mode of the branch pipe to the system determined based on the pipe size of each branch pipe and the interface information to be connected to the system includes: Connect the different branch pipes to be connected to the main pipe, merge the branch pipes through the main pipe, and then connect each main pipe to a corresponding point on the system; The average flow rate of each main pipe is less than the maximum flow rate of the system interface.
5. The method according to claim 1, wherein Generating a process piping and instrumentation flow chart of the equipment according to the pipe size of the branch pipe and the connection method of the branch pipe to the system includes: Creating a graphic object in a drawing, wherein the graphic object includes an image frame; Mark the flow information, interface information, interface name and system name to which the branch pipe is to be connected of the graphic object corresponding to the branch pipe in the image frame; Set up instrument valve groups to control each branch pipe; Connect the branch pipes connected to the same system to the main pipe, and merge the branch pipes connected to the same system through the main pipe; Set up supervisor connections to the system.
6. A device for generating a process piping and instrumentation flow diagram for equipment, the device comprising a data reading module adapted to, in response to receiving a drawing request for drawing a process piping and instrumentation flow diagram, obtain target interface information of one or more interfaces from a machine requirement table, the target interface information comprising: flow information and interface information, wherein the interface information includes interface size; a pipe size configuration module adapted to determine the pipe size of the branch pipe connected to each interface according to the target interface information of each interface, and determine the access mode of the branch pipe to the system according to the pipe size of each branch pipe and the interface information of the system to be connected; A CAD graphics generation module is adapted to generate a process piping and instrumentation flow diagram for the equipment based on the pipe size of the branch pipe and the connection method of the branch pipe to the system; The flow information includes the maximum flow of the interface, and determining the pipe size of the branch pipe connected to each interface according to the target interface information of each interface includes: Inputting the maximum flow rate and the interface size of the interface into a pipe size configuration function; The pipe size configuration function determines a preset pipe size of a pipe connected to the interface based on the maximum flow of the interface and a pipe size matching rule set; Determine the pipe size based on the relationship between the preset pipe size and the interface size; If the interface size is less than or equal to the preset pipe size, the preset pipe size will be used as the pipe size; If the interface size is larger than the preset pipe size, the interface size will be used as the pipe size.
7. A computing device comprising: one or more processors; Memory; as well as One or more devices comprising instructions for performing any of the methods according to claims 1 to 5.
8. A computer-readable storage medium storing one or more programs, the one or more programs comprising instructions which, when executed by a computing device, cause the computing device to perform any one of the methods according to claims 1 to 5.
9. A computer program product comprising a computer program / instructions, wherein: When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
BIM (Building Information Modeling) technology-based air duct model generation method and device and readable medium
CN115203805A