Pipeline integration module design method and system
Genetic algorithms generate pipeline integration module design solutions, which solves the problems of low efficiency and relying on experience in existing design methods, and achieves a more efficient and compact design solution, suitable for complex industrial facilities design.
Patent Information
- Application Number
- CN202411719670.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-21
AI Technical Summary
The existing pipeline integration module design methods rely on experience, resulting in low design efficiency, high workload, and difficulty in ensuring the optimization of the design scheme.
Genetic algorithms are used to generate pipeline integration module design schemes, and by obtaining industrial facility design model data and user input design constraint parameters, gene encoding, virtual body generation, fitness function calculation, cross-section and mutation operations are performed, and the design scheme is gradually optimized.
It improves the efficiency of pipeline integration module design, reduces the need for experience dependence, and the generated design solutions are more compact and reasonable, highly adaptable, and can quickly find optimization solutions that meet design requirements.
Smart Images

Figure CN119670306A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pipeline integrated module design, and in particular to a pipeline integrated module design method and system. Background Art
[0002] The existing design scheme of pipeline integration module mainly relies on designers to design based on the completed pipeline layout design scheme under the guidance of established division requirements and criteria. However, considering the number of process pipelines and the iterative process of the scheme in the design stage, the design process of this method is labor-intensive and relies on the designers' understanding of the pipeline integration module and the on-site construction environment. In addition, considering the experience limitations of personnel, there are only a few schemes for the design of pipeline integration module, the efficiency of pipeline integration module design is low, and it cannot be guaranteed that the final scheme is the optimized scheme. Summary of the invention
[0003] In view of this, the present invention provides a pipeline integrated module design method and system, which can reduce the dependence on experience in the pipeline integrated module design process while alleviating the workload of designers and improving the efficiency of pipeline integrated module design.
[0004] In a first aspect, the present invention provides a pipeline integrated module design method, the method comprising:
[0005] Acquire industrial facility design model data and user-input pipeline integration unit design constraint parameters;
[0006] Generate a pipeline integration module design scheme using a genetic algorithm based on the industrial facility design model data and pipeline integration unit design constraint parameters;
[0007] The generated pipeline integration module design scheme is displayed.
[0008] The pipeline integrated module design method provided by the embodiment of the present invention can quickly find a better solution in a larger search space based on a genetic algorithm, and can generate a pipeline integrated module design scheme that meets the design requirements in a relatively short time through continuous iterative evolution, thereby improving design efficiency, avoiding the trial and error process that may occur in traditional design methods, and the unreasonable scheme caused by human factors based on experience in the scheme design process, saving a lot of time and labor costs. Users can input different pipeline integrated unit design constraint parameters and customize the design scheme according to actual needs. This flexibility enables the design method to adapt to different industrial facility design scenarios and requirements, improves the versatility of the method, and displays the generated pipeline integrated module design scheme, so that users can intuitively understand the characteristics and advantages of the design scheme, and better evaluate its feasibility and practicality, which is of great significance to promoting the application of pipeline integrated modules and pipeline prefabrication technology.
[0009] In an optional implementation, the industrial facility design model data includes: a nuclear power plant civil structure design scheme, process system equipment and pipeline layout design scheme data, process system equipment, pipelines and pipe fittings / pipeline connector data;
[0010] The pipeline integration unit design constraint parameters include: pipeline integration module size limit, genetic algorithm parameter value, pipeline integration module division range, pipeline integration module design fixed boundary, wherein the fixed boundary includes process system equipment and pipe fittings / pipeline connectors that are not involved in the module design within the pipeline integration module demarcation range.
[0011] The pipeline integration module of the embodiment of the present invention covers the design scheme data of the civil structure of industrial facilities when designing, which can ensure that the design of the pipeline integration module matches the overall civil structure. Taking into full consideration the spatial layout, bearing capacity, construction and transportation means of civil engineering, etc., it is possible to avoid the conflict between the pipeline module and the civil structure in the subsequent construction process, improve the accuracy and feasibility of the design, and the process system equipment and pipeline layout design scheme data and the data of the process system equipment, pipelines and pipe fittings / pipeline connectors provide detailed basic information for the design of the pipeline integration module. The location of the equipment, the direction and connection method of the pipeline can be accurately understood, so as to design a more reasonable and efficient pipeline integration module to ensure the normal operation of the process system; the determination of the division range of the pipeline integration module makes the design process more targeted, and the pipeline integration module can be reasonably divided according to different functional requirements, installation requirements and other factors to improve the modularization of the design; by reasonably setting the parameters of the genetic algorithm, the search range and convergence speed of the algorithm can be balanced, and a solution that meets the design requirements can be found more quickly. The present invention comprehensively considers these data and constraint parameters, so that the pipeline integration module design method has stronger adaptability, can be adjusted and optimized according to different project requirements, and meets various complex design requirements.
[0012] In an optional implementation, the parameter values of the genetic algorithm include population number, target iteration number, selection probability, crossover probability, and mutation probability; the method of generating a pipeline integration module design scheme using the genetic algorithm based on the industrial facility design model data and the pipeline integration unit design constraint parameters includes:
[0013] Based on the industrial facility design model data and pipeline integration unit design constraint parameters, process system equipment, pipelines and pipe fittings / pipeline connectors are genetically encoded to randomly generate a variety of pipeline integration module design solutions as the first generation population;
[0014] For each pipeline integration module design scheme in the first generation population, a pipeline integration module virtual body is generated, and according to the height and collision relationship of the virtual body, the installation logic relationship of the pipeline integration module division scheme is generated, and the pipeline weld reduction ratio under each scheme is calculated as the fitness function of the genetic algorithm;
[0015] Selecting one or more target parent individuals based on the installation logic relationship and the fitness function value according to the selection probability;
[0016] Based on the crossover probability and mutation probability, a gene crossover operation and a gene mutation operation are performed on one or more target parent individuals to obtain target child individuals corresponding to the multiple target parent individuals, and all target child individuals constitute a second generation population;
[0017] Determine whether the current number of iterations reaches the target iteration number. If not, replace the second generation population with the first generation population for the next round of iterations. When the target number of iterations is reached, select one or more larger fitness function values from the last round of iterations as the final generation pipeline integrated module design.
[0018] The embodiment of the present invention obtains data from multiple key aspects of industrial facility design, including civil structure, process system equipment and pipeline layout, connectors, etc., to ensure the comprehensiveness and systematicness of the design scheme, uses genetic algorithms to design pipeline integrated modules, follows scientific optimization methods, and improves the reliability and accuracy of the design.
[0019] In an optional embodiment, the pipeline weld reduction ratio R is calculated by the following formula:
[0020]
[0021] Where N initial is the number of initial on-site welds, determined according to the process system equipment and pipeline layout design data, N m The number of on-site welding points in the pipeline integration module design.
[0022] The embodiment of the present invention uses the pipeline weld reduction ratio as the fitness function, which can guide the genetic algorithm to optimize in the direction of reducing the number of welds, prompting the algorithm to generate a more compact and reasonable pipeline integrated module design scheme, improve space utilization and the overall performance of the system, and provide protection for the safe operation of industrial facilities. The smaller number of on-site welds makes the pipeline system convenient for on-site installation, while reducing the workload of on-site installation, shortening the installation cycle, and making it easier for maintenance personnel to locate and deal with potential problems in the future, reducing maintenance time and cost.
[0023] In an optional implementation, presenting the generated pipeline integration module design solution includes:
[0024] Get the output content set by the user, including: the pipe number and length contained in each pipe integration module, the number of pipe fittings / pipe connectors, the recommended installation sequence of the pipe integration module, and the thumbnail of the pipe integration module;
[0025] The generated pipeline integration module design scheme or its corresponding virtual body is visualized based on the output content set by the user.
[0026] In the embodiment of the present invention, users can set specific output content according to their needs, so that they can more actively participate in the evaluation process of the design scheme. By selecting information of concern, such as pipeline number and length, connector number, etc., users can have a deeper understanding of the fit between the design scheme and their own needs. By displaying detailed information of the design scheme, users can promptly discover potential problems and deficiencies, which helps to make targeted improvements and improve the design quality.
[0027] In an optional embodiment, the method further comprises: adjusting the input pipeline integration unit design constraint parameters according to the generated pipeline integration module design scheme and generating a plurality of alternative design schemes.
[0028] The embodiment of the present invention generates different alternative design schemes by adjusting the design constraints, and selects the best alternative scheme by comparing the performance of different alternative schemes in meeting the design requirements, performance indicators and cost-effectiveness, so as to provide more choices and optimization space for the design of the nuclear power plant pipeline integration module, thereby ensuring the feasibility and reliability of the design scheme.
[0029] In a second aspect, the present invention provides a pipeline integrated module design system, comprising:
[0030] A data acquisition module is used to acquire industrial facility design model data and pipeline integration unit design constraint parameters input by the user;
[0031] A scheme generating module, used for generating a pipeline integration module design scheme by using a genetic algorithm based on the industrial facility design model data and the pipeline integration unit design constraint parameters;
[0032] The scheme display module is used to display the generated pipeline integration module design scheme.
[0033] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the pipeline integrated module design method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0034] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the pipeline integrated module design method of the first aspect or any corresponding embodiment thereof.
[0035] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the pipeline integration module design method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A schematic diagram of a flow chart of a pipeline integrated module design method according to an embodiment of the present invention;
[0038] Figure 2 A schematic flow chart of another pipeline integrated module design method according to an embodiment of the present invention;
[0039] Figure 3 A structural block diagram of a pipeline integrated module design system according to an embodiment of the present invention;
[0040] Figure 4 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0042] With the development of nuclear power technology, higher requirements have been put forward for the economic efficiency of nuclear power while ensuring safety, especially in the context of the serious impact of nuclear power construction cycle on economic efficiency and increased labor costs. In order to effectively ensure the construction cycle and save labor costs, the concept of modularization is introduced in the nuclear power construction process. As a typical bulk item in a nuclear power plant, the on-site welding and transportation of process pipelines require a lot of time and labor costs.
[0043] Consider applying the modular concept to the construction and installation of nuclear power plant process pipelines, and form pipeline integrated modules by reasonably combining valves, elbows, tees and other pipe fittings / pipeline connectors with pipelines and between pipelines and equipment. Such pipeline integrated modules are prefabricated in the factory to reduce the manpower requirements for on-site welding, transportation, installation, and testing, and to ensure the construction period.
[0044] The role of pipeline integration modules in improving the construction stage of nuclear power plants has been confirmed through engineering practice. However, the existing design scheme of pipeline integration modules mainly relies on designers to design on the basis of the completed pipeline layout design scheme under the guidance of established division requirements and criteria. Considering the number of process pipelines in nuclear power plants and the iterative process of the design phase scheme, this method has a long design period and a large workload. Therefore, an embodiment of the present invention provides a method that can assist designers in carrying out pipeline integration modules. The method can pre-process the process system and pipeline data (three-dimensional model) involved in the division of pipeline integration modules, the division requirements of pipeline integration modules, and the main module design constraints. At the same time, according to the parameters specified by the user, the pipeline integration module division scheme is recommended to the user, which reduces the dependence on experience in the design process of pipeline integration modules while reducing the workload of designers, improves the efficiency of pipeline integration module design, and promotes the large-scale application of pipeline integration modules to improve the economy of nuclear power plants.
[0045] According to an embodiment of the present invention, an embodiment of a pipeline integrated module design method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0046] In this embodiment, a pipeline integrated module design method is provided. Figure 1 is a flow chart of a pipeline integrated module design method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0047] S101, obtaining industrial facility design model data and pipeline integration unit design constraint parameters input by a user.
[0048] The embodiment of the present invention takes the design of the pipeline integrated module of a nuclear power plant as an example, and obtains the design model data of the nuclear power plant including: the civil structure design scheme of the nuclear power plant, the process system equipment and pipeline layout design scheme data, the process system equipment, pipelines and pipe fittings / pipeline connectors data, wherein the process system equipment and pipeline layout design scheme data include coordinates, volume, seismic resistance category, quality assurance level, safety level, specification level, etc.; the pipe fittings / pipeline connectors include valves, elbows, tees, (virtual) welding points, etc.
[0049] The pipeline integration unit design constraint parameters input by the user can be set by setting the user interaction interface. The pipeline integration unit design constraint parameters include: pipeline integration module size (such as length, width, height) limit, genetic algorithm parameter values (including population number, generation, selection probability, crossover probability, mutation probability and other parameter values), pipeline integration module division range (including according to a single process system pipe section and pipe fittings / pipeline connectors, or a combination of several process system pipelines and pipe fittings / pipeline connectors, or a pipeline design scheme and model for the internal area of a process room), pipeline integration module design fixed boundaries, where the fixed boundaries include process system equipment and pipe fittings / pipeline connectors that do not participate in the module design within the scope of the pipeline integration module (it can be understood that the equipment or process pipeline itself will not be integrated into any pipeline integration module).
[0050] The pipeline integration module of the embodiment of the present invention covers the design scheme data of the civil structure of industrial facilities when designing, which can ensure that the design of the pipeline integration module matches the overall civil structure. Taking into full consideration the spatial layout, bearing capacity, construction and transportation means of civil engineering, etc., it is possible to avoid the conflict between the pipeline module and the civil structure in the subsequent construction process, improve the accuracy and feasibility of the design, and the process system equipment and pipeline layout design scheme data, process system equipment, pipelines and pipe fittings / pipeline connectors data provide detailed basic information for the design of the pipeline integration module, which can accurately understand the location of the equipment, the direction and connection method of the pipeline, so as to design a more reasonable and efficient pipeline integration module to ensure the normal operation of the process system; the determination of the division range of the pipeline integration module makes the design process more targeted, and the pipeline integration module can be reasonably divided according to different functional requirements, installation requirements and other factors to improve the modularization of the design; by reasonably setting the parameters of the genetic algorithm, the search range and convergence speed of the algorithm can be balanced, and a solution that meets the design requirements can be found more quickly. The present invention comprehensively considers these data and constraint parameters, so that the pipeline integration module design method has stronger adaptability, can be adjusted and optimized according to different project requirements, and meets various complex design requirements.
[0051] S102, based on the industrial facility design model data and the pipeline integration unit design constraint parameters, a pipeline integration module design scheme is generated using a genetic algorithm. Specifically, the following steps are included:
[0052] S1021, based on the industrial facility design model data and the pipeline integration unit design constraint parameters, the process system equipment, pipelines and pipe fittings / pipeline connectors are genetically encoded, and a variety of pipeline integration module design schemes are randomly generated as the first generation population.
[0053] Specifically, according to the characteristics of pipeline design, the genetic structure of each individual is determined, and the key parameters in the design model data are converted into genetic codes, and the genes may include the location coordinates of the equipment, the type of connector, the connection method, the pressure bearing capacity, etc. A suitable coding method can be selected to represent the pipeline integrated module design scheme, such as binary coding, real number coding or other suitable coding methods. In one embodiment, the location of the equipment can be represented by three-dimensional coordinates, and for the layout and connection method of the pipeline, the connection state (connected or not connected) between the pipelines is represented by binary coding, and the length and angle of the pipeline are represented by real number coding. The pressure bearing capacity of the connector can be encoded with a numerical value within a certain range. Using a random number generator, each gene is assigned a value within the range of values that meet the constraints, and a variety of pipeline integrated module design schemes are randomly generated as the first generation population, which provides an initial search space for subsequent optimization using a genetic algorithm. Specifically, for the layout and connection of pipelines, binary coding is used to represent the connection status (connected or not connected) of each pipeline. For example, if there are 10 pipelines, the coding form of these 10 pipelines is 1 0 1 0 1 0 1 0 1 0, and the form in which each pipeline is combined into a pipeline integrated unit is: starting from the first segment is 1, and the second segment is 0, which means that these two pipelines are two independent units, and so on, each pipeline is not connected to each other. If the gene code is 1 1 1 0 1 0 1 0 1 1, the first three pipelines are connected to each other as a pipeline integrated unit, and the last two pipelines are connected to each other as a pipeline integrated unit. The other pipelines are independent individual units and are not connected to other pipelines.
[0054] S1022, generating a pipeline integration module virtual body for each pipeline integration module design scheme in the first generation population, and generating an installation logic relationship of the pipeline integration module division scheme according to the height and collision relationship of the virtual body, and calculating the pipeline weld reduction ratio under each scheme as the fitness function of the genetic algorithm;
[0055] Specifically, there are many individuals in the first generation population, each of which corresponds to a design scheme, and there are many integrated units in each scheme, and each unit needs a virtual body to judge the construction and installation sequence and logic. Three-dimensional modeling software or a virtual simulation platform can be used to build the pipeline integration module virtual body one by one according to the pipeline integration module design scheme in the first generation population, which can accurately reflect the shape, size and position of the process system equipment, as well as the type and connection method of the pipe fittings / pipeline connectors, and ensure that the details of the virtual body are as close to the actual situation as possible, so as to accurately analyze and evaluate. For example, by measuring the height parameters of each pipeline integration module virtual body, considering the influence of the height on the installation sequence and spatial layout during the actual installation process, the higher module may need to be installed after the lower module is installed to ensure the stability and operability of the installation. Simulate the installation process of the pipeline integration module in a virtual environment to check whether there is a collision between different modules. If there is a collision, it is necessary to adjust the design scheme or installation sequence to avoid problems in the actual installation. According to the height and collision relationship of the virtual body, the embodiment of the present invention determines the installation logic relationship of the pipeline integration module division scheme, and can express the installation logic relationship in the form of a flowchart or an installation step list to clarify the installation sequence and dependency relationship of each module.
[0056] The pipeline weld reduction ratio R in the embodiment of the present invention is calculated by the following formula:
[0057]
[0058] Where N initial is the number of initial on-site welds, determined according to the process system equipment and pipeline layout design data, N m The number of on-site welding points in the pipeline integration module design.
[0059] Usually, pipe sections, pipe sections and equipment, pipe sections and pipe fittings / pipeline connectors are mostly connected by welding. The initial number of on-site welds is determined based on the process system equipment and pipeline layout design plan data before the pipeline integration module design is performed (for example, the sum of the number of pipelines that need to be connected minus 1). For each pipeline integration module design plan in the first generation population, the pipeline connection in its virtual body is analyzed, and the number of pipeline welds under the plan is counted. The pipeline weld reduction ratio under each plan is used as the fitness function of the genetic algorithm. The higher the weld reduction ratio, the better the design plan. By using the weld reduction ratio as an effective fitness function for the genetic algorithm, a better pipeline integration module design scheme can be screened out in the subsequent evolution process, prompting the algorithm to generate a more compact and reasonable pipeline integration module design scheme, thereby improving space utilization and the overall performance of the system, and providing protection for the safe operation of the nuclear power plant. The smaller number of on-site welds makes the piping system easier to install on-site, while reducing the workload of on-site installation, shortening the installation cycle, and making it easier for maintenance personnel to locate and deal with potential problems in the future, reducing maintenance time and costs.
[0060] S1023, based on the installation logic relationship and the fitness function value, one or more target parent individuals are selected according to the selection probability.
[0061] Specifically, the installation logic relationship of the pipeline integration module design scheme represented by each individual can be checked. Ensure that the selected individuals will not have serious conflicts or unreasonable situations during the installation process, conduct a preliminary evaluation of the individuals based on factors such as the difficulty of installation and space utilization, and exclude those individuals that obviously do not meet the installation requirements. Then, based on the results of the fitness function, determine the fitness value of each individual, and use the roulette selection method to calculate the selection probability, that is, the selection probability of the individual is proportional to its fitness value. The specific calculation formula is: Individual selection probability = individual fitness value / sum of all individual fitness values in the population, or select one or more target parent individuals according to the preset selection probability, to provide a high-quality individual basis for subsequent operations of the genetic algorithm (such as crossover and mutation) to promote the evolution and optimization of the population.
[0062] S1024, performing gene crossover operation and gene mutation operation on one or more target parent individuals based on the crossover probability and the mutation probability, to obtain target child individuals corresponding to the multiple target parent individuals, and all the target child individuals constitute the second generation population.
[0063] Specifically, the crossover probability determines the probability of genetic crossover between two parent individuals. Usually, the crossover probability is between 0.6 and 0.9. If the crossover probability is too high, it may cause the algorithm to converge to the local optimal solution too early; if the crossover probability is too low, the algorithm's search ability may be limited. The mutation probability determines the probability of individual genes mutating. The mutation probability is generally between 0.001 and 0.1. If the mutation probability is too high, the algorithm will become a random search, and if it is too low, the algorithm may fall into the local optimal solution.
[0064] The embodiment of the present invention determines whether to perform a crossover operation based on the crossover probability. If a randomly generated number is less than the crossover probability, a crossover operation is performed; otherwise, no crossover operation is performed, and the two parent individuals are directly copied to the next generation. For each child individual, whether to perform a mutation operation is determined based on the mutation probability. If a randomly generated number is less than the mutation probability, a mutation operation is performed; otherwise, no mutation operation is performed. All target child individuals are combined together to form a second-generation population. Through gene crossover and gene mutation operations, the diversity of the population can be increased, and the possibility of the algorithm finding a global optimal solution can be improved.
[0065] S1025, determine whether the current number of iterations reaches the target iteration number. If not, replace the second generation population with the first generation population and perform the next round of iterations. When the target number of iterations is reached, select one or more with larger fitness function values from the last round of iterations as the final generation pipeline integrated module design scheme.
[0066] Specifically, when the target number of iterations is not reached, the second-generation population is replaced by the first-generation population, which means that in the next round of iterations, the second-generation population will be used as the new starting population, and the previous steps will be repeated, including generating a pipeline integration module virtual body, determining the installation logic relationship, calculating the fitness function, selecting the target parent individual, performing gene crossover and gene mutation operations, etc., to generate a new second-generation population. In the process of continuous iteration, the population gradually evolves. When the target number of iterations is reached, one or more with larger fitness function values are selected from the last round of iterations. For example, the fitness function values corresponding to each scheme are sorted from large to small, and one or more with the highest ranking are selected according to the preset number of selections.
[0067] In the embodiment of the present invention, through the above iterative optimization method, the genetic algorithm can gradually find a better pipeline integration module design solution in the continuous evolution process. Each round of iteration utilizes the results of the previous round of iteration, and continuously improves the quality of the population through operations such as selection, crossover and mutation, and finally obtains the optimal solution that meets the design goal.
[0068] S103, displaying the generated pipeline integration module design scheme.
[0069] Specifically, the final pipeline integration module design can be presented in the form of a 3D model. The layout, shape and size of the pipelines, equipment and connectors can be clearly displayed. Or the plan and section views of the pipeline integration module can be drawn to show its layout and size on different planes. The plan view can show the direction of the pipeline, the location of the equipment and the distribution of the connectors; the section view can show the hierarchy and internal details of the pipeline. Mark the key dimensions, parameters and annotations on the plan and section views to make the design more clearly understood. Different colors and line types can be used to distinguish different components and systems.
[0070] The embodiment of the present invention utilizes a genetic algorithm to design a pipeline integration module, follows a scientific optimization method, and improves the reliability and accuracy of the design.
[0071] In one embodiment, if Figure 2 As shown, in this embodiment, a pipeline integrated module design method is provided. Figure 2 is a flow chart of a pipeline integrated module design method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0072] S201, obtaining industrial facility design model data and pipeline integration unit design constraint parameters input by a user.
[0073] For specific data and parameters, please refer to the description of step S101 above, which will not be repeated here.
[0074] S202, generating a pipeline integration module design solution using a genetic algorithm based on the industrial facility design model data and the pipeline integration unit design constraint parameters.
[0075] For the specific steps, please refer to the description of step S102 above, which will not be repeated here.
[0076] S203, displaying the generated pipeline integration module design scheme.
[0077] In order to improve the user experience, the embodiment of the present invention can output the properties and parameters of the pipeline integration module division scheme according to the output content of the pipeline integration module division scheme formulated by the user, including: the pipeline number and length contained in each pipeline integration module, the number of the pipe fittings / pipeline connectors, the recommended installation order of the pipeline integration module, and the thumbnail of the pipeline integration module; based on the output content set by the user, the generated pipeline integration module design scheme or its corresponding virtual body is visualized. If the user needs to view the three-dimensional model, the three-dimensional modeling software or virtual reality technology can be used to display the pipeline integration module design scheme or its corresponding virtual body in a realistic form, and the user can observe the model at different angles through rotation, zooming and translation operations; if the user only needs to view the two-dimensional graphics, the drawing software or chart tool can be used to draw the plan view or cross-section view of the pipeline integration module, and key information such as the pipeline number, the position of the connector, the installation order, etc. can be annotated on the graphics to provide the user with more intuitive and clear information.
[0078] The embodiments of the present invention allow users to set specific output content according to their needs, so that they can more actively participate in the evaluation process of the design scheme. By selecting information of concern, such as pipeline numbers and lengths, connector numbers, etc., they can have a deeper understanding of the fit between the design scheme and their own needs. By displaying detailed information on the design scheme, users can promptly discover potential problems and deficiencies, which helps to make targeted improvements and improve the design quality.
[0079] S204, adjusting the input pipeline integration unit design constraint parameters according to the generated pipeline integration module design scheme and generating a plurality of alternative design schemes.
[0080] Specifically, you can check whether the generated pipeline integration module design scheme fully complies with the input pipeline integration unit design constraint parameters, including space restrictions, pressure requirements, seismic performance, etc., to determine which constraint parameters have a greater impact on the design scheme and whether there is room for adjustment. To determine the pipeline integration unit design constraint parameters that need to be adjusted, you can consider the following adjustment methods:
[0081] 1. Relax some constraint parameters: If the existing design is too strict in some constraint parameters, you can relax these parameters appropriately to expand the design space. For example, you can increase the range of space restrictions.
[0082] 2. Tighten some constraint parameters: If the existing design has a large margin in some aspects, you can consider tightening the relevant constraint parameters to improve the compactness and efficiency of the design. For example, you can reduce space constraints, etc.
[0083] 3. Change the priority of constraint parameters: Adjust the priority of different constraint parameters according to actual needs. For example, if seismic performance is more important in some cases, its priority in the design can be increased, while the importance of other constraint parameters can be relatively reduced.
[0084] It should be noted that when adjusting the design constraint parameters of the pipeline integrated unit, it is necessary to ensure that the adjusted parameters are still practical and feasible. You can refer to relevant standards, specifications and empirical data to avoid unreasonable adjustments. In the process of generating alternative design schemes, you can pay close attention to the convergence of the algorithm and the coverage of the search space. If the algorithm converges to the local optimal solution too early, you can try to increase the population size, increase the probability of crossover and mutation, and other measures to increase the search ability of the algorithm; you can use the same fitness function as the evaluation of the original design scheme, or you can redesign the fitness function based on the adjusted pipeline integrated unit design constraint parameters. By comparing the performance of different alternatives in meeting design requirements, performance indicators, and cost-effectiveness, select the best alternative or make further improvement suggestions.
[0085] The embodiment of the present invention adjusts the design constraint parameters of the pipeline integration unit corresponding to the generated pipeline integration module design scheme and generates multiple alternative design schemes, thereby providing more options and optimization space for the design of the nuclear power plant pipeline integration module to ensure the feasibility and reliability of the design scheme.
[0086] In this embodiment, a pipeline integrated module design system is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0087] This embodiment provides a pipeline integrated module design system, such as Figure 3 As shown, including:
[0088] The data acquisition module 301 is used to acquire industrial facility design model data and pipeline integration unit design constraint parameters input by the user;
[0089] A scheme generating module 302 is used to generate a pipeline integration module design scheme using a genetic algorithm based on the industrial facility design model data and the pipeline integration unit design constraint parameters;
[0090] The scheme display module 303 is used to display the generated pipeline integration module design scheme.
[0091] In some optional embodiments, the industrial facility design model data in the data acquisition module 301 include: civil structure design plan of the nuclear power plant, process system equipment and pipeline layout design plan data, process system equipment, pipelines, pipe fittings / pipeline connectors data; pipeline integration unit design constraint parameters, including: pipeline integration module size limit, genetic algorithm parameter value, pipeline integration module division range, pipeline integration module design fixed boundary, wherein the fixed boundary includes process system equipment and pipe fittings / pipeline connectors that do not participate in the module design within the scope of the pipeline integration module.
[0092] In some optional implementations, the parameter values of the genetic algorithm include the population size, target iteration number, selection probability, crossover probability, and mutation probability. The solution generation module 302 includes:
[0093] A gene encoding unit, for performing gene encoding on process system equipment, pipelines and pipe fittings / pipeline connectors based on the industrial facility design model data and pipeline integration unit design constraint parameters, and randomly generating a variety of pipeline integration module design solutions as a first generation population;
[0094] The virtual body generation and fitness function calculation unit generates a virtual body of the pipeline integration module for each pipeline integration module design scheme in the first generation population, generates the installation logic relationship of the pipeline integration module division scheme according to the height and collision relationship of the virtual body, and calculates the pipeline weld reduction ratio under each scheme as the fitness function of the genetic algorithm;
[0095] A crossover operation and gene mutation operation unit, used to select one or more target parent individuals according to the selection probability based on the installation logic relationship and the fitness function value; perform gene crossover operation and gene mutation operation on the one or more target parent individuals based on the crossover probability and mutation probability to obtain target child individuals corresponding to the multiple target parent individuals, and all target child individuals constitute a second generation population;
[0096] The iteration unit is used to determine whether the current number of iterations has reached the target number of iterations. If the target number of iterations has not been reached, the second generation population is replaced by the first generation population for the next round of iterations. When the target number of iterations is reached, one or more populations with larger fitness function values are selected from the last round of iterations as the final generation pipeline integrated module design scheme.
[0097] In some optional embodiments, the pipeline weld reduction ratio R is calculated by the following formula:
[0098]
[0099] Where N initialis the number of initial on-site welds, determined according to the process system equipment and pipeline layout design data, N m The number of on-site welding points in the pipeline integration module design.
[0100] In some optional implementations, the solution display module 303 includes:
[0101] The output content setting unit is used to obtain the output content set by the user, including: the number and length of the pipelines included in each pipeline integration module, the number of the pipe fittings / pipeline connectors, the recommended installation sequence of the pipeline integration modules, and the thumbnails of the pipeline integration modules;
[0102] The visualization display unit visualizes the generated pipeline integration module design scheme or its corresponding virtual body based on the output content set by the user.
[0103] The system also adjusts the input pipeline integration unit design constraint parameters according to the generated pipeline integration module design scheme and generates multiple alternative design schemes.
[0104] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0105] The pipeline integrated module design system in this embodiment is presented in the form of functional units, where the units refer to ASIC (Application Specific Integrated Circuit) circuits, processors and memories that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0106] The embodiment of the present invention also provides a computer device having the above Figure 3 The pipeline integrated module design system shown.
[0107] See also Figure 4 , Figure 4 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 4As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4 A processor 10 is taken as an example.
[0108] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0109] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0110] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0111] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0112] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0113] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor central control system or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.
[0114] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0115] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A pipeline integrated module design method, characterized in that: include: Acquire industrial facility design model data and user-input pipeline integration unit design constraint parameters; Generate a pipeline integration module design scheme using a genetic algorithm based on the industrial facility design model data and pipeline integration unit design constraint parameters; The generated pipeline integration module design scheme is displayed.
2. The method according to claim 1, characterized in that The industrial facility design model data includes: nuclear power plant civil structure design plan, process system equipment and pipeline layout design plan data, process system equipment, pipelines and pipe fittings / pipeline connector data; The pipeline integration unit design constraint parameters include: pipeline integration module size limit, genetic algorithm parameter value, pipeline integration module division range, pipeline integration module design fixed boundary, wherein the fixed boundary includes process system equipment and pipe fittings / pipeline connectors that are not involved in the module design within the pipeline integration module demarcation range.
3. The method according to claim 2, characterized in that The parameter values of the genetic algorithm include population number, target iteration number, selection probability, crossover probability, and mutation probability; the method of generating a pipeline integration module design scheme based on the industrial facility design model data and pipeline integration unit design constraint parameters by using the genetic algorithm includes: Based on the industrial facility design model data and pipeline integration unit design constraint parameters, process system equipment, pipelines and pipe fittings / pipeline connectors are genetically encoded to randomly generate a variety of pipeline integration module design solutions as the first generation population; For each pipeline integration module design scheme in the first generation population, a pipeline integration module virtual body is generated, and according to the height and collision relationship of the virtual body, the installation logic relationship of the pipeline integration module division scheme is generated, and the pipeline weld reduction ratio under each scheme is calculated as the fitness function of the genetic algorithm; Based on the installation logic relationship and the fitness function value, one or more target parent individuals are selected according to the selection probability; Based on the crossover probability and mutation probability, a gene crossover operation and a gene mutation operation are performed on one or more target parent individuals to obtain target child individuals corresponding to the multiple target parent individuals, and all target child individuals constitute a second generation population; Determine whether the current number of iterations reaches the target number of iterations. If not, replace the second-generation population with the first-generation population for the next round of iterations. When the target number of iterations is reached, select one or more solutions with larger fitness function values from the last round of iterations as the final generation pipeline integrated module design solution.
4. The method according to claim 3, characterized in that The pipeline weld reduction ratio R is calculated by the following formula: Where N initial is the number of initial on-site welds, determined according to the process system equipment and pipeline layout design data, N m The number of on-site welding points in the pipeline integration module design.
5. The method according to claim 2, characterized in that: The generated pipeline integration module design scheme is presented, including: Get the output content set by the user, including: the pipe number and length contained in each pipe integration module, the number of pipe fittings / pipe connectors, the recommended installation sequence of the pipe integration module, and the thumbnail of the pipe integration module; The generated pipeline integration module design scheme or its corresponding virtual body is visualized based on the output content set by the user.
6. The method according to claim 1 or 5, characterized in that: Also includes: According to the generated pipeline integration module design scheme, the input pipeline integration unit design constraint parameters are adjusted and a variety of alternative design schemes are generated.
7. A pipeline integrated module design system, characterized in that: include: A data acquisition module is used to acquire industrial facility design model data and pipeline integration unit design constraint parameters input by the user; A scheme generating module, used for generating a pipeline integration module design scheme by using a genetic algorithm based on the industrial facility design model data and the pipeline integration unit design constraint parameters; The scheme display module is used to display the generated pipeline integration module design scheme.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the pipeline integrated module design method according to any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the pipeline integration module design method according to any one of claims 1 to 6.
10. A computer program product, characterized in that It comprises computer instructions, and the computer instructions are used to make a computer execute the pipeline integration module design method according to any one of claims 1-6.