[go: up one dir, main page]

CN119720449B - Method and device for generating process pipeline and instrument flow chart of equipment - Google Patents

Method and device for generating process pipeline and instrument flow chart of equipment

Info

Publication number
CN119720449B
CN119720449B CN202510221648.XA CN202510221648A CN119720449B CN 119720449 B CN119720449 B CN 119720449B CN 202510221648 A CN202510221648 A CN 202510221648A CN 119720449 B CN119720449 B CN 119720449B
Authority
CN
China
Prior art keywords
interface
size
pipeline
branch pipe
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202510221648.XA
Other languages
Chinese (zh)
Other versions
CN119720449A (en
Inventor
赖雪凝
申伏龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Kingtek Mechanic And Electric System Engineering Co ltd
Original Assignee
Shanghai Kingtek Mechanic And Electric System Engineering Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Kingtek Mechanic And Electric System Engineering Co ltd filed Critical Shanghai Kingtek Mechanic And Electric System Engineering Co ltd
Priority to CN202510221648.XA priority Critical patent/CN119720449B/en
Publication of CN119720449A publication Critical patent/CN119720449A/en
Application granted granted Critical
Publication of CN119720449B publication Critical patent/CN119720449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Pipeline Systems (AREA)
  • Image Processing (AREA)

Abstract

The invention relates to the field of pipeline configuration, and discloses a method for generating a process pipeline and an instrument flow chart of equipment, which is suitable for being executed in computing equipment, and the method comprises the steps of responding to a drawing request for drawing the process pipeline and the instrument flow chart, acquiring target interface information of one or more interfaces from a machine station demand table, wherein the target interface information comprises flow information and interface information, and the interface information comprises interface size; the method comprises the steps of determining the pipeline size of a branch pipe connected with each interface according to target interface information of each interface, determining the access mode of the branch pipe connected with a system according to the pipeline size of each branch pipe and the interface information of the system to be accessed, and generating a process pipeline and an instrument flow chart of equipment according to the pipeline size of the branch pipe and the access mode of the branch pipe connected with the system.

Description

Method and device for generating process pipeline and instrument flow chart of equipment
Technical Field
The invention relates to the field of pipeline configuration, in particular to a method and a device for generating a process pipeline and an instrument flow chart of equipment.
Background
With the development of semiconductor technology, the requirements of the semiconductor material preparation process are also increasing, wherein the requirements of the semiconductor material preparation place are included. In order to meet the above-mentioned demand, clean plants for building semiconductor materials are proposed for preparing semiconductor materials.
The clean factory building is a semiconductor material production workshop which ensures that the concentration of dust and pollutants in the production environment reaches the minimum level through a series of environmental control measures so as to ensure the production quality and efficiency of chips.
Because the clean factory building for manufacturing the semiconductor material has high requirements on the production process, the required pipeline systems are various, the pipeline arrangement is dense, a large number of pipelines are required to be arranged when the pipeline construction or the pipeline and equipment butt joint are carried out, the construction process is complex, and the design and construction time is long. In particular, when generating process pipelines and instrument flow charts (P & ID) of secondary distribution equipment, related parameters need to be manually read from a machine station demand table (UM demand table), pipeline dimensions are manually configured, and drawings are drawn. This approach is not only inefficient, but is also prone to errors.
For this purpose, a new apparatus, process piping and instrumentation flow diagram generation method and apparatus are needed.
Disclosure of Invention
To this end, the present invention provides a method of generating a process pipe and meter flow diagram for an apparatus in an attempt to solve the above-presented problems.
According to a first aspect of the invention, there is provided a method of generating a process pipe and an instrument flow chart of a device, adapted to be executed in a computing device, the method comprising the steps of obtaining target interface information of one or more interfaces from a machine requirement table in response to receiving a drawing request for drawing the process pipe and the instrument flow chart, the target interface information comprising flow information and interface information, the interface information comprising interface dimensions, determining a pipe dimension of a branch pipe connected to each interface according to the target interface information of each interface, determining an access way of the branch pipe to the system according to the pipe dimension of each branch pipe and the interface information to be accessed to the system, and generating the process pipe and the instrument flow chart of the device according to the pipe dimension of the branch pipe and the access way of the branch pipe to the system.
Optionally, in the method according to the present invention, the obtaining the target interface information of one or more interfaces from the machine table includes determining one or more data types required for processing the drawing request, matching the machine table according to each data type to determine a target column in which the data type is located, and calling an obtaining function to obtain the target interface information from the target column of the machine table.
Optionally, in the method according to the invention, the method further comprises the steps of applying for a data buffer, creating a data frame in the data buffer, and storing the target interface information into the data frame.
Optionally, in the method according to the invention, the flow information comprises the maximum flow of the interfaces, and the determining the pipeline size of the branch pipe connected with each interface according to the target interface information of each interface comprises inputting the maximum flow of the interfaces and the interface size into a pipeline size configuration function, determining the preset pipeline size of the pipeline connected with the interfaces according to the maximum flow of the interfaces and a pipeline size matching rule set, and determining the pipeline size according to the size relation of the preset pipeline size and the interface size.
Optionally, in the method according to the invention, determining the pipe size according to the size relation between the preset pipe size and the interface size includes taking the preset pipe size as the pipe size if the interface size is smaller than or equal to the preset pipe size, and taking the interface size as the pipe size if the interface size is larger than the preset pipe size.
Optionally, in the method according to the invention, the access mode of the branch pipe connected to the system comprises the number of main pipes required by the branch pipe connected to the system and one or more branch pipes connected to each main pipe, the interface information to be connected to the system comprises the maximum flow rate of the system interface, and the determination of the access mode of the branch pipe connected to the system according to the pipeline size of each branch pipe and the interface information to be connected to the system comprises the steps of connecting different branch pipes to the main pipes, combining the branch pipes through the main pipes and connecting each main pipe to a corresponding point on the system, and averaging the flow rates of the access main pipes, wherein the flow rate of each main pipe is smaller than the maximum flow rate of the system interface.
Optionally, in the method according to the invention, the process pipeline and instrument flow chart of the generating equipment comprise creating a graphic object in a drawing, wherein the graphic object comprises an image frame, marking flow information, interface names and system names of the corresponding branch pipes of the graphic object in the image frame, setting an instrument valve group for controlling each branch pipe, connecting the branch pipes connected to the same system to a main pipe, merging the branch pipes connected to the same system through the main pipe, and setting the main pipe to be connected to the system.
According to a second aspect of the present invention, there is provided an apparatus for generating a process pipe and a meter flow chart of a device, the apparatus comprising a data reading module adapted to obtain, in response to receiving a drawing request to draw the process pipe and the meter flow chart, target interface information for one or more interfaces from a machine table, the target interface information including flow information and interface information, the interface information including an interface size, a pipe size configuration module adapted to determine a pipe size of a branch pipe connected to each interface according to the target interface information for each interface, and determine an access manner of the branch pipe to the system according to the pipe size of each branch pipe and the interface information to be connected to the system, and a CAD pattern generation module adapted to generate the process pipe and the meter flow chart of the device according to the pipe size of the branch pipe and the access manner of the branch pipe to the system.
According to a third aspect of the present invention there is provided a computing device comprising one or more processors, 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, the one or more programs comprising instructions for performing any of the methods of generating process piping and instrumentation flow diagrams of the device according to the present invention.
According to a fourth aspect of the present invention there is provided 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 of the methods of generating a process pipe and meter flow diagram for a device according to the present invention.
According to a fifth aspect of the present invention there is provided a computer program product comprising computer programs/instructions which when executed by a processor implement a method of generating a process pipe and meter flow diagram for an apparatus of the present invention.
The method comprises the steps of responding to a drawing request for drawing the process pipeline and the instrument flow chart, acquiring target interface information of one or more interfaces from a machine station demand table, automatically determining the pipeline size of a branch pipe connected with each interface according to the target interface information of each interface, then determining the access mode of the branch pipe connected with a system according to the pipeline size of each branch pipe and the interface information of the system to be accessed, further generating the process pipeline and the instrument flow chart of the equipment, automatically configuring corresponding parameters of the pipeline according to the target interface information, setting the access mode according to the corresponding parameters, and improving the generation efficiency of P & ID and the intellectualization of the drawing process.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above, as well as additional objects, features, and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 shows a schematic diagram of a process piping and instrumentation flow diagram generation apparatus 100 of an apparatus according to one exemplary embodiment of the present invention;
Fig. 2 shows a flow diagram of a method 200 of generating a process pipe and meter flow diagram of an apparatus according to an exemplary embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Like reference numerals generally refer to like parts or elements.
The secondary distribution is also called as process equipment secondary distribution ("Hook up"), and the process equipment is connected with various main pipelines, and the working range is from a Take off valve (Point) of each main system of the clean room to a POU (Point of User) of the clean room process equipment. In clean plants, various pipeline systems are various, pipelines are densely arranged, so that the workload of secondary distribution is very large, the pipeline systems and machine equipment to be processed have very many joints, and wiring is also relatively complex. The invention configures the pipeline system, namely, secondarily configures, and improves the accuracy of the generated process pipeline and instrument flow chart.
The method of generating the process piping and instrumentation flow diagrams of the apparatus of the present invention is adapted to be executed in a computing device. The computing device includes one or more processors, memory, and one or more apparatuses including instructions for performing a method of generating a process pipe and meter flow diagram according to the device.
In a basic configuration, a computing device includes at least one processing unit and system memory. According to one aspect, depending on the configuration and type of computing device, 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. According to one aspect, the system memory includes an operating system.
According to one aspect, an operating system, for example, is adapted to control the operation of a computing device. Further, examples are practiced in connection 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, the computing device has additional features or functionality. For example, according to one aspect, the computing device includes additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape.
As set forth hereinabove, according to one aspect, program modules are stored in a system memory. According to one aspect, program modules may be implemented as one or more computer program products, the application is not limited in type to computer program products, and may include, for example, electronic mail, word processing applications, spreadsheet applications, database applications, slide show applications, drawing or computer-aided application, web browser, and the like. In some embodiments according to the application, the computer program/instructions related to the authentication method for a user are packaged as a computer program product, which when executed by a processor (i.e. a processing unit) implements a method of generating a process pipe and meter flow diagram of an apparatus according to the application.
The invention also discloses a device for generating the process pipeline and the instrument flow chart of the equipment. Fig. 1 shows a schematic diagram of a process pipe and meter flow diagram generating device 100 of an apparatus according to an exemplary embodiment of the invention. As shown in fig. 1, the process piping and instrumentation flow diagram generation apparatus 100 of the device includes a data reading module 110, a piping size configuration module 120, and a CAD pattern generation module 130.
The steps of the method for generating process piping and flow charts of the apparatus will be further described with respect to the respective modules in the apparatus 100 for generating process piping and flow charts.
Fig. 2 shows a flow diagram of a method 200 of generating a process pipe and meter flow diagram of an apparatus according to an exemplary embodiment of the invention. As shown in fig. 2, the method 200 first executes step 210, and in response to receiving a drawing request for drawing a process pipeline and an instrument flow chart, invokes a data reading module to obtain target interface information of one or more interfaces from a machine requirement table, where the target interface information includes flow information and interface information, and the interface information includes an interface size.
According to one embodiment of the invention, a table of organic requirements (UM table) is stored in a computing device. The machine requirement table can be input by a developer or acquired from a service interfacing party, and the specific acquisition mode of the machine requirement table is not limited. The UM table may be specifically implemented as an excel table, and the present invention does not limit a specific storage form of the UM table. The UM table stores interface information of interfaces corresponding to different points. The point location includes a required contact point of the machine or an accessory machine, etc. Each row in the UM table records interface information of an interface corresponding to a point position, and each column records one data type in the interface information. The interface information comprises a part name, floors, maximum flow, minimum flow, maximum pressure, minimum pressure, interface materials, interface forms, interface sizes and the like.
According to one embodiment of the invention, the UM table is stored in a target storage location in the computing device. The computing device may automatically find the target storage location or manually set the target storage location by a user, provided to the process piping and meter flow chart generation apparatus of the device performing the process piping and meter flow chart generation method of the device.
According to one embodiment of the invention, the data reading module processes a drawing request to draw a process pipe and a meter flow diagram in response to the process pipe and meter flow diagram generating device of the apparatus receiving the drawing request. The data reading module includes a path locating sub-module (not shown in fig. 1) for automatically locating a target storage location of the UM table or receiving a target storage location set by a user. And the data reading module acquires the UM table according to the target storage position. The target storage location includes a storage disk path and file name that the UM table stores in the computing device, an example of the target storage location is C: semiconductor_projects\UM_demand_Table Xlsx.
According to one embodiment of the invention, when the data reading module obtains the target interface information of one or more interfaces from the UM table, one or more data types required by processing the drawing request are determined, matching is carried out on the UM table according to each data type to determine a target column where the data type is located, an obtaining function is called to obtain the target interface information from the target column of the machine station requirement table, for example, the data reading module calls a read_excel function in a pandas library of Python to extract the target interface information of one or more interfaces. The target interface information includes traffic information, interface size, and the like extracted from the interface information.
According to one embodiment of the invention, the data reading module creates a data box storing the target interface information. The data frame is similar to a matrix, having n rows and p columns, but each column allows for different types, numerical and character, etc. The data frame may be stored in a separate data buffer applied in the memory so that the pipeline size configuration module obtains the target interface information in the data frame from the data buffer. The invention does not limit the specific storage position of the data frame.
The data reading module stores the target interface information into the data frame after extracting the target interface information.
Subsequently, step 220 is performed, and a pipe size configuration module is invoked to determine the pipe size of the branch pipe connected to each interface according to the target interface information of each interface.
According to one embodiment of the invention, the pipeline size configuration module is adapted to monitor the data buffer, and when it is determined during the monitoring that the target interface information of one or more interfaces is stored in the data frame of the data buffer, the pipeline size configuration module indicates that the data reading module successfully extracts the target interface information of the interfaces from the UM table, and obtains the flow information (including the maximum flow of the interfaces) and the interface size of each interface from the data frame in the data buffer. The flow information and interface size of each interface are sent to a pipe size configuration function as input parameters to the pipe size configuration function. The traffic information of the interface includes the maximum traffic of the interface, and the unit of the maximum traffic of the interface can be specifically set to LPM (liter per minute). If the pipeline size configuration module exceeds a preset time threshold after receiving the drawing request in the process of monitoring the data buffer zone, and the storage of the target interface information in the data frame is still not monitored, error reporting is carried out, and the data reading module is prompted to fail to extract the target interface information, so that error reporting is prompted to be carried out by manual intervention.
According to one embodiment of the invention, a pipe size configuration function (configure_pipe_size function) is defined in the pipe size configuration module. The input parameters of the pipeline size configuration function comprise the maximum flow of the interface and the size of the interface, the execution is automatically started after the input parameters sent by the pipeline size configuration module are received, the output parameters are obtained by operation according to the input parameters, and the output parameters comprise the pipeline sizes of the branch pipes connected with the interface.
The pipeline size configuration function is preset with a pipeline size matching rule set established based on the engineering practice experience of the semiconductor industry and related business main requirements. The matching rules in the pipeline size matching rule set form a logic branch for matching pipeline sizes by a series of condition judgment sentences. An example of the matching rule is that when the maximum flow value of the incoming water is judged to be less than 10L/Min in matching the pipe size of the pure water system, the preset pipe size of the branch pipe is selected to be OD20 according to the rule. The pipeline size configuration module determines the preset pipeline size of the pipeline connected with the interface according to the maximum flow of the interface and the pipeline size matching rule set.
The pipeline size configuration module calls a pipeline size configuration function and determines the pipeline size according to the size relation between the preset pipeline size and the interface size, wherein the pipeline size configuration function comprises the steps that the preset pipeline size is used as the pipeline size if the interface size is smaller than or equal to the preset pipeline size, and the interface size is used as the pipeline size if the interface size is larger than the preset pipeline size. The pipeline size configuration function strictly follows the rule logic, the input parameters are compared, matched and calculated one by one, and the accurate pipeline size of the branch pipe connected with the current interface is finally determined.
Subsequently, step 230 is executed to call a pipe size configuration module to determine an 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 accessed.
According to one embodiment of the invention, a pipe merge function (pipe_combination function) is included in the pipe size configuration module. The input parameters of the pipe merge function include the pipe size of each branch pipe and the interface information of the system. The system is a pipeline system deployed inside a factory building, such as a pure water system, bulk gas (Bulk gas), extra gas (SPECIAL GAS), pure water (UPW), waste water (Drain), chemicals (Chemical), process circulating cooling water (PCW), process Vacuum (PV), purge vacuum (HV), vacuum tube (Pumping line), exhaust (Exhaust), PW, CW, NG, etc. In the calculation, all branch pipes to be connected into the system belong to the same system, and the connection mode of the branch pipes of each system is calculated independently. The interface information to be accessed to the system includes the system interface size and the system interface maximum traffic. The interface information of the system is the information of the take off point of the system. In order to minimize the point positions of the access systems, the branch pipes to be accessed by the same system are combined, so that the number of the point positions of the access systems is reduced. The system interface size and the maximum flow of the system interface of each system are also stored in the pipeline merging function. When the pipeline merging function is operated, different branch pipes to be connected into the system are connected to the main pipes, the branch pipes are merged through the main pipes, each main pipe is connected to a corresponding point on the system, the flow of each main pipe is averagely connected, and the flow of each main pipe is smaller than the maximum flow of a system interface. The output of the pipeline combining function is the access mode of the branch pipe to the system. The branch-to-system access includes the number of points at which the plurality of branches are connected to the system, i.e., the number of main pipes required to be connected to the system, and one or more branches connected to each main pipe. When each branch pipe is connected with the main pipe, the size of the interface of the corresponding point position of the branch pipe connected to the main pipe can be set according to the size of the branch pipe.
In the pure water system according to one embodiment of the present invention, the total number of branch pipes to be connected to the system is 7, wherein the maximum flow rate of 4 branch pipes is 60 (for convenience of calculation, a uniform unit is taken, such as L/Min, etc.), and the maximum flow rate of 3 branch pipes is 40. The system interface size for a single take off point connected to the system is OD63 and the maximum system interface traffic is 300. It was determined by calculation that 7 branches were connected to the system by two take off points, i.e. two main pipes were provided to connect to the system, one take off point (i.e. main pipe) allocated to connect 2 branches 60 and 2 branches 40, and the other take off point (i.e. other main pipe) allocated to connect 2 branches 60 and 1 branch 40.
According to one embodiment of the present invention, each step performed by the pipe dimension configuration module may be implemented by Python code, and the specific implementation of the pipe dimension configuration module is not limited by the present invention.
The pipeline size configuration module can store the pipeline size of the branch pipe and the access mode of the branch pipe connected to the system into a size configuration result buffer area.
Finally, step 240 is executed to call a CAD graph generating module to generate a process pipeline and instrument flow chart of the equipment according to the pipeline size of the branch pipe and the access mode of the branch pipe connected to the system, wherein the process pipeline and instrument flow chart comprises the steps of creating a graph object in a drawing and setting the graph object according to the pipeline size of the branch pipe and the access mode of the branch pipe connected to the system. The graphic object comprises an image frame, flow information, interface names and system names of branch pipes corresponding to the graphic object are marked in the image frame, an instrument valve group for controlling each branch pipe is arranged, the branch pipes connected to the same system are connected to a main pipe, the branch pipes connected to the same system are combined through the main pipe, and the main pipe is arranged to be connected to the system. According to one embodiment of the invention, the traffic information of the interface includes a maximum traffic, an average traffic and a minimum traffic of the interface. If the maximum flow of a certain interface is marked as 4, the average flow is 2, the minimum flow is 0, and the unit is LPM.
According to one embodiment of the invention, the CAD graph generation module may interact with AutoCAD software according to pyautocad libraries to automatically generate process piping and instrument flow diagrams (P & IDs) for the equipment according to the pipe dimensions of the configured branch pipes and the manner in which the branch pipes are connected to the system.
According to one embodiment of the invention, the CAD pattern generation module first initializes a connection to AutoCAD. The CAD graph generating module firstly loads the connection initialization function module of the pyautocad library in the starting stage. And establishing communication connection with the running or activatable AutoCAD process according to the version information of the installed AutoCAD software in the computing device and the default installation path configuration. Communication connection is realized by sending a predefined connection request instruction and verification information, so that the smooth interaction channel between the CAD graph generating module (which can be realized as a Python program) and AutoCAD software is ensured, and a foundation is laid for subsequent graph drawing operation.
Then, using the functions and methods provided by pyautocad library to create graphic objects such as lines, symbols, marks, etc. in AutoCAD, setting the graphic objects according to the read pipeline size of the branch pipe and the access mode of the branch pipe to the system, and drawing the complete drawing according to the specification and layout requirements of P & ID. Firstly, drawing layouts (including horizontal positions and vertical intervals of each graphic element, representative legends of each graphic element in cad and the like) of different preset systems are obtained according to a data reading module. And then, after extracting the pipeline size data from the size configuration result buffer area of the pipeline size configuration module, the CAD graph generating module formally starts drawing operation. The method comprises the steps of utilizing a rich drawing function provided by a pyautocad library, drawing pipeline trend lines according to a take-off point and point position coordinate position information by using a linear function, setting character labels according to pipeline size data to intuitively embody different pipe diameters, calling preset CAD blocks for special symbol marks of valves, meters and the like, and labeling flow values, interface sizes, materials, forms, pressures and the like of interfaces by utilizing the CAD parameter blocks. In the whole drawing process, the standard layout framework of P & ID is strictly followed, and the positions, directions and connection relations of all graphic objects are ensured to accord with engineering drawing logic and industry practice. And finally, storing the generated AutoCAD file. After all the graphics drawing and labeling work is completed, the CAD graphics generating module triggers a file saving process. According to a preset preservation path (which can be set as a sub-folder of PID_ Flowchart under the same directory as a requirement table by default or can be manually designated by a user) and a file name specification (such as naming according to the combination of information such as project numbers, dates, version numbers and the like, so as to ensure the uniqueness and the identifiability of the file name), a file preservation instruction of a pyautocad library is used for completely preserving the P & ID which is currently drawn to a designated position in an AutoCAD original file format (such as a dwg format). After the storage is completed, the connection with the AutoCAD is automatically closed, related system resources are released, and prompt information of 'a certain machine +P & ID drawing and successful storage' is fed back to a user interface, so that all implementation flows of the auxiliary drawing method are completed.
The method comprises the steps of responding to a drawing request for drawing the process pipeline and the instrument flow chart, acquiring target interface information of one or more interfaces from a machine station demand table, automatically determining the pipeline size of a branch pipe connected with each interface according to the target interface information of each interface, then determining the access mode of the branch pipe connected with a system according to the pipeline size of each branch pipe and the interface information of the system to be accessed, further generating the process pipeline and the instrument flow chart of the equipment, automatically configuring corresponding parameters of the pipeline according to the target interface information, setting the access mode according to the corresponding parameters, and improving the generation efficiency of P & ID and the intellectualization of the drawing process.
The storage medium (computer readable medium) of the present application may be a computer readable signal medium, a non-transitory computer readable storage medium, or any combination of the two. The non-transitory computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of a non-transitory computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the context of this document, a non-transitory computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a non-transitory computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to electrical wiring, fiber optic cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be included in the electronic device or may exist alone without being incorporated into the electronic device.
The above description is only illustrative of some of the embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in the present application is not limited to the specific combinations of technical features described above, but also covers other technical features formed by any combination of the technical features described above or their equivalents without departing from the spirit of the disclosure. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the application. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to 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 example forms of implementing the claims.

Claims (9)

1. A method of generating a process piping and instrumentation flow diagram of a device, adapted to be executed in a computing device, the method comprising the steps of:
in response to receiving a drawing request for drawing a process pipeline and an instrument flow chart, acquiring target interface information of one or more interfaces from a machine station demand table, wherein the target interface information comprises flow information and interface information, and the interface information comprises interface size;
determining the pipeline size of a branch pipe connected with each interface according to the target interface information of each interface;
Determining an access mode of the branch pipes connected to the system according to the pipeline size of each branch pipe and interface information of the system to be accessed;
Generating a process pipeline and an instrument flow chart of the equipment according to the pipeline size of the branch pipe and the access mode of the branch pipe connected to the system;
Wherein the flow information includes a maximum flow of the interfaces, and the determining a pipe size of a 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 pipeline size configuration function;
The pipeline size configuration function determines the preset pipeline size of a pipeline connected with the interface according to the maximum flow of the interface and the pipeline size matching rule set;
Determining the pipeline size according to the size relation between the preset pipeline size and the interface size;
if the interface size is smaller than or equal to the preset pipeline size, taking the preset pipeline size as the pipeline size;
And if the interface size is larger than the preset pipeline size, taking the interface size as the pipeline size.
2. The method of claim 1, wherein the obtaining target interface information for one or more interfaces from the platform requirements table comprises:
Determining one or more data types required by processing the drawing request, and matching and determining a target column in which the data type is located in a machine table according to each data type;
and calling an acquisition function to acquire target interface information from a target column of the machine table.
3. The method of claim 2, wherein the method further comprises:
applying for a data buffer area, and creating a data frame in the data buffer area;
and storing the target interface information into the data frame.
4. The method of claim 1, wherein the access pattern of the branch pipe to the system includes a 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 a system interface maximum flow rate, and the determining the access pattern of the branch pipe to be connected to the system according to 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 into the system to the main pipes, combining the branch pipes through the main pipes, and connecting each main pipe to a corresponding point on the system;
and the flow of each main pipe is smaller than the maximum flow of the system interface.
5. The method of claim 1, wherein the generating the process piping and instrumentation flow diagram of the apparatus according to the piping size of the manifold and the manner in which the manifold is connected to the system comprises:
creating a graphic object in a drawing, wherein the graphic object comprises an image frame;
Labeling flow information, interface names and system names of the branch pipes corresponding to the graphic objects in the image frames;
setting an instrument valve group for controlling each branch pipe;
connecting the branch pipes connected to the same system to the main pipe, and merging the branch pipes connected to the same system through the main pipe;
the setup master is connected to the system.
6. The device comprises a data reading module, a processing pipeline and instrument flow chart generation module and a processing module, wherein the data reading module is suitable for responding to a drawing request for drawing the processing pipeline and the instrument flow chart, and acquiring target interface information of one or more interfaces from a machine station demand table, wherein the target interface information comprises flow information and interface information, and the interface information comprises interface sizes;
The pipeline size configuration module is suitable for determining the pipeline size of the branch pipe connected with each interface according to the target interface information of each interface, and determining the access mode of the branch pipe connected with the system according to the pipeline size of each branch pipe and the interface information of the system to be accessed;
The CAD graph generating module is suitable for generating a process pipeline and an instrument flow chart of the equipment according to the pipeline size of the branch pipe and the access mode of the branch pipe connected to the system;
Wherein the flow information includes a maximum flow of the interfaces, and the determining a pipe size of a 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 pipeline size configuration function;
The pipeline size configuration function determines the preset pipeline size of a pipeline connected with the interface according to the maximum flow of the interface and the pipeline size matching rule set;
Determining the pipeline size according to the size relation between the preset pipeline size and the interface size;
if the interface size is smaller than or equal to the preset pipeline size, taking the preset pipeline size as the pipeline size;
And if the interface size is larger than the preset pipeline size, taking the interface size as the pipeline size.
7. A computing device, comprising:
one or more processors;
memory, and
One or more devices comprising instructions for performing any of the methods of claims 1-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 of the methods of claims 1-5.
9. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the method of any of claims 1-5.
CN202510221648.XA 2025-02-27 2025-02-27 Method and device for generating process pipeline and instrument flow chart of equipment Active CN119720449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510221648.XA CN119720449B (en) 2025-02-27 2025-02-27 Method and device for generating process pipeline and instrument flow chart of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510221648.XA CN119720449B (en) 2025-02-27 2025-02-27 Method and device for generating process pipeline and instrument flow chart of equipment

Publications (2)

Publication Number Publication Date
CN119720449A CN119720449A (en) 2025-03-28
CN119720449B true CN119720449B (en) 2025-09-19

Family

ID=95076989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510221648.XA Active CN119720449B (en) 2025-02-27 2025-02-27 Method and device for generating process pipeline and instrument flow chart of equipment

Country Status (1)

Country Link
CN (1) CN119720449B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115203805A (en) * 2022-07-20 2022-10-18 中国建筑西南设计研究院有限公司 Air duct model generation method and device based on BIM technology and readable medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BE788831A (en) * 1971-09-14 1973-01-02 Badger Co DRAWING PROCESS AND APPARATUS
US4551810B1 (en) * 1982-07-28 1995-09-05 Technology Inc Const Method and apparatus for designing duct work for producing patterns for conduit sections in the designated duct work
US8676545B2 (en) * 2010-07-07 2014-03-18 Rite-Hite Holding Corporation Methods and apparatus to determine air duct system configurations
KR101204087B1 (en) * 2011-01-31 2012-11-22 한국전력기술 주식회사 A system and method for intelligent piping and instrumentation diagram creation
US20190220551A1 (en) * 2016-09-20 2019-07-18 Siemens Product Lifecycle Management Software Inc. Automated design of a piping system
KR102103970B1 (en) * 2018-05-03 2020-04-24 에스텍엔지니어링 주식회사 Automatic calculation server and method of piping quantity
CN115585396B (en) * 2022-09-29 2025-07-11 新仟意能源科技(成都)集团有限责任公司 A kind of early warning method and system based on natural gas leakage detection
CN115731321A (en) * 2022-09-30 2023-03-03 北京字跳网络技术有限公司 Flow chart drawing method, device, equipment, readable storage medium and product
CN119228941A (en) * 2023-06-30 2024-12-31 中石化宁波工程有限公司 Method for automatically generating two-dimensional pipeline and instrument flow chart based on three-dimensional pipeline model

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115203805A (en) * 2022-07-20 2022-10-18 中国建筑西南设计研究院有限公司 Air duct model generation method and device based on BIM technology and readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
AutoCAD2000绘制工艺管道及仪表流程图的方法和技巧;朱玉华;辽阳石油化工高等专科学校学报;20000925(03);56-59页 *

Also Published As

Publication number Publication date
CN119720449A (en) 2025-03-28

Similar Documents

Publication Publication Date Title
EP3924790B1 (en) Automatic extraction of assets data from engineering data sources
US10755002B2 (en) Method and apparatus for facilitating creation of simulation model
US11580272B2 (en) 3D model creation support system and 3D model creation support method
CN113050472A (en) Intelligent zero-direct-discharge dynamic sewage supervision system based on pipe network early warning analysis technology
CN112199808B (en) System and method for quickly designing ship pipeline
CN111828846A (en) Fire-fighting engineering pipeline water leakage detection method, device, equipment and storage medium
CN114266170B (en) Gas supply range identification method and device in gas distribution pipe network
CN108427823B (en) Low-voltage transformer area automatic generation method based on graphic layout and topological service
CN112380607B (en) Pipeline connection data generation method, device, computer equipment and storage medium
CN113378302A (en) Ship piping schematic diagram creating method, system, medium and electronic equipment
CN108536723A (en) Distribution power network GIS electric wire figure multiplexing list cooperates with drafting method and device
CN119720449B (en) Method and device for generating process pipeline and instrument flow chart of equipment
CN112231876A (en) Pipeline system fluid dynamic model generation system and method based on geometric model
CN116861602A (en) Method and device for checking comprehensive pipe network topology structure
CN117114645A (en) Abnormal pressure gauge node determination method, device, electronic equipment and storage medium
CN109446684B (en) Automatic checking method for pipeline vector data
CN108804778A (en) Circuit design and output method and device
JP2003186928A (en) Method for inputting data of pipeline network model
KR102145178B1 (en) Method of automatically creating Intelligent PID drawings by using information of design stored in a database
CN119228941A (en) Method for automatically generating two-dimensional pipeline and instrument flow chart based on three-dimensional pipeline model
JP2024113626A (en) Automatic calculation system, automatic calculation method, machine learning model, and method for generating machine learning model
CN115292826A (en) Method and device for establishing three-dimensional model of cold rolling unit and storage medium
CN110188370B (en) A Rapid Modeling Approach for Automated Reusable Geospatial Information Processing
EP4379535A1 (en) Pipe layout and analysis
CN118427912B (en) Method for secondarily matching three-dimensional model

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant