Nuclear island pipeline layout method and device, computer equipment, readable storage medium and program product

Through particle swarm algorithm and optimization of target constraints, the nuclear island pipeline layout is automatically designed, which solves the problem that traditional manual design cannot guarantee the rationality of layout and achieves efficient and reasonable pipeline layout.

CN119849074APending Publication Date: 2025-04-18CHINA NUCLEAR POWER TECH RES INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411827663.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The traditional nuclear island pipeline layout relies on manual design and cannot guarantee the rationality and efficiency of the layout.

Method used

The particle swarm algorithm is used to combine optimization goals and constraints to automatically obtain the pipeline layout parameters of the target core island, determine the optimization goals and constraints, and generate a reasonable pipeline layout plan by solving the objective function.

Benefits of technology

It improves the rationality and efficiency of the nuclear island pipeline layout, and can generate the optimal pipeline layout plan in a short time, which significantly improves the efficiency of the nuclear island pipeline layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119849074A_ABST
    Figure CN119849074A_ABST
Patent Text Reader

Abstract

The invention relates to a nuclear island pipeline layout method and device, computer equipment, a readable storage medium and a program product, and relates to the technical field of nuclear power. The method comprises the steps of obtaining pipeline layout parameters of a target nuclear island in response to a pipeline layout instruction for the target nuclear island; based on the pipeline layout parameters, determining an optimization target and constraint conditions of the target nuclear island during pipeline layout; according to a particle swarm algorithm and constraint conditions, solving the target function of the optimization target to obtain a target solution; and determining a pipeline layout scheme matched with the target solution. The method can improve the rationality of the nuclear island pipeline layout.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of nuclear power technology, and in particular to a nuclear island pipeline layout method, device, computer equipment, readable storage medium and program product. Background Art

[0002] The nuclear island piping is responsible for connecting all the equipment and components of the nuclear island system, and directly affects the functional integrity of the nuclear island system. Therefore, the quality requirements for the layout design of the nuclear island piping are getting higher and higher.

[0003] The traditional nuclear island pipeline layout mainly relies on manual design. However, this approach that relies on human subjective consciousness cannot guarantee the rationality of the nuclear island pipeline layout. Summary of the invention

[0004] Based on this, it is necessary to provide a nuclear island pipeline layout method, device, computer equipment, computer readable storage medium and computer program product that can improve the rationality of the nuclear island pipeline layout in response to the above technical problems.

[0005] In a first aspect, the present application provides a nuclear island pipeline layout method, comprising: in response to a pipeline layout instruction for a target nuclear island, obtaining pipeline layout parameters of the target nuclear island; based on the pipeline layout parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout; solving the objective function of the optimization objective according to the particle swarm algorithm and the constraints to obtain a target solution; and determining a pipeline layout scheme that matches the target solution.

[0006] In one of the embodiments, based on the pipeline layout parameters, the optimization objectives and constraints of the target nuclear island when performing pipeline layout are determined, including: based on the pipeline layout parameters, analyzing the optimization objectives of the target nuclear island when performing pipeline layout to obtain the optimization objectives of the target nuclear island; the optimization objectives include at least two of minimizing pipeline length, minimizing pipeline intersections, minimizing pipeline pressure losses, and minimizing pipeline layout distances; based on the pipeline layout parameters, analyzing the constraints of the target nuclear island to obtain the constraints of the target nuclear island when performing pipeline layout; the constraints include at least one of the space constraints of the target nuclear island when performing pipeline layout, the equipment constraints of the takeover equipment in the target nuclear island, and the force constraints of the pipeline layout.

[0007] In one of the embodiments, the objective function of the optimization target is solved according to the particle swarm algorithm and the constraints to obtain the target solution, including: solving the initial solution of the objective function of the optimization target according to the particle swarm algorithm and the constraints; performing fitness analysis on the initial solution based on the fitness function to obtain the fitness value of the initial solution; updating the initial solution according to the fitness value to obtain an updated solution; until the stopping condition is reached, the updated solution is used as the target solution.

[0008] In one of the embodiments, determining a pipeline layout scheme that matches a target solution includes: determining a selected layout scheme that matches the target solution, performing a feasibility analysis on the selected layout scheme, and obtaining a feasibility analysis result of the selected layout scheme; when the feasibility analysis result indicates that the selected layout scheme is feasible, using the selected layout scheme as the pipeline layout scheme.

[0009] In one of the embodiments, the pipeline layout parameters of the target nuclear island are obtained, including: performing parameter analysis on the pipeline transmission medium in the target nuclear island to obtain the pipeline transmission medium parameters of the target nuclear island; performing spatial structure analysis on the target nuclear island to obtain spatial structure parameters of the target nuclear island; performing parameter analysis on the takeover equipment in the target nuclear island to obtain the takeover equipment parameters of the target nuclear island; based on the pipeline layout parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout, including: based on the pipeline transmission medium parameters, spatial structure parameters, and takeover equipment parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout.

[0010] In one of the embodiments, the method further includes: establishing respective objective functions for each optimization target; obtaining respective target weights for each optimization target, and establishing a fitness function based on respective target weights and respective objective functions.

[0011] In the second aspect, the present application also provides a nuclear island pipeline layout device, including: a pipeline information acquisition module, which is used to respond to the pipeline layout instructions for the target nuclear island and obtain the pipeline layout parameters of the target nuclear island; a module for determining the optimization parameters, which is used to determine the optimization objectives and constraints of the target nuclear island when performing pipeline layout based on the pipeline layout parameters; a solution module, which is used to solve the objective function of the optimization objective according to the particle swarm algorithm and the constraints to obtain the target solution; and a pipeline layout plan generation module, which is used to determine the pipeline layout plan that matches the target solution.

[0012] In a third aspect, the present application also provides a computer device, including a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program: in response to a pipeline layout instruction for a target nuclear island, obtaining pipeline layout parameters of the target nuclear island; based on the pipeline layout parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout; solving the objective function of the optimization objective according to the particle swarm algorithm and the constraints to obtain the target solution; and determining a pipeline layout scheme that matches the target solution.

[0013] In a fourth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the following steps when the computer program is executed by a processor: in response to a pipeline layout instruction for a target nuclear island, obtain the pipeline layout parameters of the target nuclear island; based on the pipeline layout parameters, determine the optimization objectives and constraints of the target nuclear island when performing pipeline layout; according to the particle swarm algorithm and the constraints, solve the objective function of the optimization objective to obtain the target solution; determine a pipeline layout scheme that matches the target solution.

[0014] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the following steps when executed by a processor: in response to a pipeline layout instruction for a target nuclear island, obtain the pipeline layout parameters of the target nuclear island; based on the pipeline layout parameters, determine the optimization objectives and constraints of the target nuclear island when performing pipeline layout; according to the particle swarm algorithm and the constraints, solve the objective function of the optimization objective to obtain the target solution; determine a pipeline layout scheme that matches the target solution.

[0015] The above-mentioned nuclear island pipeline layout method, device, computer equipment, computer-readable storage medium and computer program product, in response to the pipeline layout instruction for the target nuclear island, first obtain the pipeline layout parameters of the target nuclear island. Based on the pipeline layout parameters, the optimization objectives and constraints of the target nuclear island when performing pipeline layout are determined. And using the particle swarm algorithm, based on the constraints, the objective function of the optimization objective is solved to obtain the target solution. According to the pipeline layout scheme corresponding to the target solution, the pipeline layout of the target nuclear island is performed. In this way, the present application takes into account the optimization objectives and corresponding constraints in the nuclear island pipeline layout process, reduces the one-sidedness of the pipeline layout, and thus ensures the rationality and efficiency of the nuclear island pipeline layout. Moreover, by solving the multi-objective particle swarm optimization algorithm, the optimal pipeline layout scheme can be generated in a relatively short time, which significantly improves the efficiency of the nuclear island pipeline layout. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 is an application environment diagram of a nuclear island pipeline layout method in one embodiment;

[0018] Figure 2 A schematic diagram of a flow chart of a nuclear island pipeline layout method in one embodiment;

[0019] Figure 3 A schematic diagram of a process for determining optimization objectives and constraints in one embodiment;

[0020] Figure 4 A schematic diagram of a particle swarm algorithm solution process in one embodiment;

[0021] Figure 5 A schematic diagram of a process for performing a feasibility analysis on a pipeline layout scheme in one embodiment;

[0022] Figure 6 A schematic diagram of a flow chart of a nuclear island pipeline layout method in a specific embodiment;

[0023] Figure 7 A schematic diagram of a nuclear island pipeline layout space in a specific embodiment;

[0024] Figure 8 A schematic diagram of particle swarm optimization in a specific embodiment;

[0025] Fig. 9 A schematic diagram showing a comparison of pipeline layout schemes in a specific embodiment;

[0026] Fig.10 is a structural block diagram of a nuclear island pipeline layout device in one embodiment;

[0027] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0029] The nuclear island pipeline layout method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and Internet of Things devices. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0030] Specifically, the server 104 responds to the pipeline layout instruction for the target nuclear island initiated by the terminal 102, and first obtains the pipeline layout parameters of the target nuclear island. Based on the pipeline layout parameters, the optimization target and constraint conditions of the target nuclear island when performing pipeline layout are determined. And according to the particle swarm algorithm and the constraint conditions, the objective function of the optimization target is solved to obtain the target solution. Finally, the pipeline layout scheme matching the target solution is determined.

[0031] In an exemplary embodiment, Figure 2 As shown, a nuclear island pipeline layout method is provided, and the method is applied to Figure 1 The server 104 in FIG. 1 is used as an example to illustrate, including:

[0032] Step S202, in response to a pipeline layout instruction for a target nuclear island, obtaining pipeline layout parameters of the target nuclear island.

[0033] It should be noted that with the development of new energy, various nuclear reactors are gradually developed and deployed in nuclear power plants to provide clean energy comparable to other renewable energy technologies. For example, small reactors, also known as small advanced modular multi-purpose reactors, are a type of highly safe, small-sized, multi-purpose nuclear energy equipment. It can not only be used for power generation, but also for industrial heat and steam supply, urban heating, seawater desalination, and marine development. Small reactors focus on safety and can automatically shut down in the event of an accident to prevent the spread of accidents. Moreover, the modular design of small reactors makes them easy to deploy and maintain, and they are suitable for use in remote areas and sites lacking sufficient power transmission facilities. The nuclear island pipeline layout occupies an important position in the research and development of nuclear reactors. It is responsible for connecting various equipment and components in the nuclear island system corresponding to the nuclear reactor, which directly affects the integrity of the entire nuclear island system function.

[0034] Among them, the nuclear island is a general term for the nuclear reactors and various systems related to the reactors in a nuclear power plant. In this embodiment, the nuclear island pipeline layout design is mainly carried out for small reactors. The target nuclear island refers to the nuclear island that needs to be pipelined. The pipeline layout instruction refers to the instruction for the process pipeline layout of the target nuclear island, and the nuclear island process pipeline refers to the pipeline system used to transport the medium inside the nuclear island in the nuclear power plant. The pipeline layout parameters can refer to the relevant attribute parameters of the target nuclear island when performing pipeline layout, which can include the attribute parameters of the target nuclear island itself, and can also include the attribute parameters of each equipment in the target nuclear island. These parameters can be used to define the optimization objectives and constraints when defining the pipeline layout.

[0035] For example, when the server receives an instruction to perform process pipeline layout for a target nuclear island, it may first obtain parameters, that is, obtain relevant parameters required for pipeline layout of the target nuclear island, so as to facilitate subsequent accurate definition of optimization objectives and constraints.

[0036] In one example, the server may obtain the pipeline layout parameters from a system background database corresponding to the target nuclear island, or may collect the pipeline layout parameters in real time, which is not limited in this embodiment.

[0037] Step S204, based on the pipeline layout parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout.

[0038] It is understandable that in practical applications, the layout of nuclear island process pipelines often requires comprehensive consideration of multiple layout objectives. Therefore, the nuclear island pipeline layout in this embodiment belongs to a multi-objective optimization problem. The optimization objective refers to the objective that needs to be considered and optimized during the nuclear island pipeline layout process. In this embodiment, there are at least two optimization objectives. Constraints refer to the limiting conditions that need to be met during the optimization process. These constraints can be equality constraints or inequality constraints.

[0039] Exemplarily, after acquiring the pipeline layout parameters of the target nuclear island, the server may analyze multiple optimization objectives and corresponding constraints in the pipeline layout process based on these pipeline layout parameters.

[0040] Optionally, the server may also determine the optimization target of the process pipeline layout according to the design criteria of the target nuclear island, or define various constraints according to the nuclear power design specification, the design purpose of the target nuclear island or the small reactor, and the safety standard. This embodiment does not limit this.

[0041] Step S206, solving the objective function of the optimization target according to the particle swarm algorithm and the constraint conditions to obtain the target solution.

[0042] Among them, Particle Swarm Optimization (PSO) is an evolutionary computing technology that simulates the predation behavior of bird flocks to find the optimal solution. The basic idea of ​​the PSO is to find the global optimal solution through collaboration and information sharing among individuals in the group. The objective function can be understood as a mathematical expression of the optimization goal. The target solution can be considered as a set of solutions called Pareto optimal solutions that make each objective function reach the optimal value. These solutions provide different trade-offs between various optimization goals.

[0043] Exemplarily, the server uses a particle swarm algorithm to solve the objective function of each optimization goal under the constraints, and continuously seeks the best solution in the solution process to find an optimal solution that balances each optimization goal.

[0044] Optionally, the server may also use other multi-objective optimization algorithms to solve the objective function, such as a non-dominated sorting genetic algorithm (NSGA II), which is not limited in this embodiment.

[0045] Step S208, determining a pipeline layout solution that matches the target solution.

[0046] The pipeline layout plan may refer to an implementation plan for pipeline layout in a target nuclear island.

[0047] For example, after the server obtains the optimal solution, that is, the target solution, it resolves the parameters in the optimal solution into specific pipeline layout information, such as the direction of the pipeline, the number of elbows, the position of the bracket, etc. Among them, the elbow is a component used to change the flow direction of the pipeline in the pipeline system, and the bracket is a device used to support and fix the pipeline in the pipeline system. These pipeline layout information form a pipeline layout plan, and the server can send the pipeline layout plan to the technicians, who will perform pipeline layout for the target nuclear island according to the pipeline layout plan.

[0048] In this embodiment, the server responds to the pipeline layout instruction for the target nuclear island and first obtains the pipeline layout parameters of the target nuclear island. Based on the pipeline layout parameters, the optimization objectives and constraints of the target nuclear island when performing pipeline layout are determined. And the particle swarm algorithm is used to solve the objective function of the optimization objective based on the constraints to obtain the target solution. According to the pipeline layout scheme corresponding to the target solution, the pipeline layout of the target nuclear island is performed. In this way, this embodiment takes into account the optimization objectives and corresponding constraints in the process of nuclear island pipeline layout, reduces the one-sidedness of the pipeline layout, and thus ensures the rationality and efficiency of the nuclear island pipeline layout under multiple constraints. Moreover, by solving the multi-objective particle swarm optimization algorithm, the optimal pipeline layout scheme can be generated in a relatively short time, shortening the layout cycle, thereby significantly improving the efficiency of the nuclear island pipeline layout.

[0049] In an exemplary embodiment, Figure 3 As shown, based on the pipeline layout parameters, the optimization objectives and constraints of the target nuclear island when performing pipeline layout are determined, including:

[0050] Step S302, based on the pipeline layout parameters, the optimization target analysis of the pipeline layout of the target nuclear island is performed to obtain the optimization target of the target nuclear island; the optimization target includes at least two of minimizing the pipeline length, minimizing the pipeline intersection, minimizing the pipeline pressure loss, and minimizing the pipeline layout distance.

[0051] Among them, minimizing pipeline length means minimizing the total length of the pipeline as much as possible during the process pipeline layout, which helps to reduce material costs and installation workload, and shorter pipelines are also easier to maintain and overhaul. Minimizing pipeline intersections means minimizing the intersection and overlap between pipelines during the process pipeline layout, which helps to avoid interference and conflict between pipelines and reduce the difficulty of maintenance and overhaul. In addition, there is a risk of leakage when pipelines cross, so minimizing pipeline intersections can improve the safety of the target nuclear island. Minimizing pipeline pressure loss means minimizing the pressure loss of the fluid, that is, the medium transmitted by the pipeline, when flowing in the pipeline during the process pipeline layout. Minimizing the pipeline layout distance means minimizing the space distance where the pipeline can be installed or arranged during the process pipeline layout, so as to achieve efficient pipeline layout in a limited space.

[0052] Exemplarily, the server analyzes the various objectives to be optimized during the pipeline layout of the target nuclear island according to the acquired pipeline layout parameters, namely, at least two of minimizing the pipeline length, minimizing the pipeline intersection, minimizing the pipeline pressure loss, and minimizing the pipeline layout distance. In this embodiment, the above four optimization objectives are selected to be considered simultaneously.

[0053] Optionally, in actual applications, the server may also select other optimization targets and a specific number of optimization targets according to actual conditions, which is not limited in this embodiment.

[0054] For example, the objective function expression corresponding to minimizing the pipeline length can be:

[0055]

[0056] in, represents the length of the i-th pipeline, and n represents the number of pipelines.

[0057] The expression of the objective function corresponding to pipeline cross minimization can be:

[0058]

[0059] in, Indicates the intersection between the i-th pipe and the j-th pipe. If there is an intersection, ,otherwise .

[0060] The expression of the objective function corresponding to the minimization of pipeline pressure loss can be:

[0061]

[0062] in, represents the friction coefficient of the i-th section of the pipeline, represents the length of the i-th pipe segment, represents the diameter of the i-th pipe section, Indicates the density of the fluid, i.e. the medium transmitted by the pipeline. represents the flow rate of the i-th pipe section.

[0063] The expression of the objective function corresponding to minimizing the pipeline layout distance can be:

[0064]

[0065] in, represents the horizontal axis coordinate of the i-th pipeline at the end point, represents the vertical coordinate of the i-th pipeline at the end point, Represents the vertical coordinate of the i-th pipeline at the end point. , , They represent the coordinates of the kth obstacle such as bracket, wall, floor or equipment.

[0066] Step S304, based on the pipeline layout parameters, the constraint analysis of the target nuclear island is performed to obtain the constraint conditions of the target nuclear island when performing pipeline layout; the constraint conditions include at least one of the space constraint conditions of the target nuclear island when performing pipeline layout, the equipment constraint conditions of the takeover equipment in the target nuclear island, and the force constraint conditions when performing pipeline layout.

[0067] Among them, the spatial constraint condition refers to the condition that the pipeline layout needs to meet the spatial structure of the target nuclear island to avoid conflicts between the pipeline and other structures in the nuclear island. Equipment constraints can also be understood as process constraints, which are used to ensure that the pipeline layout can meet the process connection requirements between the connecting equipment. Force constraints include at least self-weight load constraints and thermal stress constraints to ensure the structural strength and stability of the pipeline under the action of self-weight load, and to ensure the structural integrity of the pipeline under the action of thermal stress. Of course, other forces can also be defined as force constraints in actual applications, which are not limited in this embodiment.

[0068] For example, the expression of the spatial constraint condition can be:

[0069] Pipeline coordinates, Prohibited coordinates

[0070] in, Represents the coordinates of the pipeline in three-dimensional space. The prohibited area may include the space occupied by existing structures or equipment in the target nuclear island.

[0071] The expression of the equipment constraint can be:

[0072] Equipment pair, pipeline connection

[0073] in, Indicates the equipment in the nuclear island that needs to be connected by pipelines. A device that indicates that pipes can be connected correctly and equipment .

[0074] The expression of the force constraint condition can be:

[0075]

[0076]

[0077] in, represents the deadweight load stress of the pipeline, W represents the deadweight of the pipeline, and A represents the cross-sectional area of ​​the pipeline. represents thermal stress, E represents the elastic modulus of the pipeline material, represents the thermal expansion coefficient of the pipe material, Indicates the temperature change.

[0078] Exemplarily, the server analyzes the constraints that each optimization target needs to meet during the optimization process based on the acquired pipeline layout parameters, namely, at least one of the space constraints, equipment constraints, and force constraints during pipeline layout.

[0079] Optionally, in actual applications, the server may also define other constraints and a specific number of constraints according to actual conditions, which is not limited in this embodiment.

[0080] In this embodiment, multiple objective constraints such as pipeline length, intersection between pipelines, pipeline pressure loss, and pipeline layout distance of the target nuclear island are comprehensively considered during pipeline layout, and space constraints, equipment constraints, and force constraints are defined, which not only ensures the rationality and efficiency of the pipeline layout, but also ensures the safety of the pipeline layout.

[0081] In an exemplary embodiment, Figure 4 As shown in the figure, according to the particle swarm algorithm and the constraints, the objective function of the optimization target is solved to obtain the target solution, including:

[0082] Step S402, finding an initial solution of the objective function of the optimization target according to the particle swarm algorithm and the constraint conditions.

[0083] The initial solution can also be understood as an initial candidate solution, which is randomly generated by the particle swarm algorithm.

[0084] Exemplarily, after determining each optimization goal and establishing the corresponding objective function, the server can use the particle swarm algorithm to solve. The algorithm will first initialize the particle position, and the position of each particle represents a point in the solution space. In addition to the position, each particle also has a velocity vector, which represents its moving direction and speed in the solution space. Of course, the algorithm can also initialize the number of particles, which determines how many candidate solutions are involved in the search at the beginning. In this embodiment, the number of initialized particles is 100. The initial solution is represented by these randomly generated particle positions. When the algorithm generates the initial solution, it needs to ensure that the initial solution meets the predefined constraints.

[0085] For example, the expression for initializing the particle position can be:

[0086]

[0087] in, represents the particle vector position, represents the minimum displacement limit in the vector space, represents the maximum limit of displacement in the vector space, Indicates generating a random number between [0,1]. In a preferred example, is -40, is 40.

[0088] The expression for initializing particle velocity can be:

[0089]

[0090] in, represents the particle vector velocity, represents the minimum speed limit in the vector space, represents the maximum speed limit in the vector space, Indicates generating a random number between [0,1]. In a preferred example, is -1, is 1.

[0091] Step S404: Based on the fitness function, perform fitness analysis on the initial solution to obtain the fitness value of the initial solution.

[0092] Among them, the fitness function is a function used to evaluate the particle position to determine whether the position is the optimal solution or the possibility of the best solution. The fitness value reflects the quality of the solution corresponding to the particle position, which can also be understood as the degree of quality of the solution corresponding to the particle position. The larger the fitness value, the more likely it is to become the basis for the next search, thereby finding a better solution.

[0093] Exemplarily, the process of establishing the fitness function includes: establishing the objective function of each optimization target respectively; obtaining the target weight of each optimization target, and establishing the fitness function based on the target weights and the objective functions.

[0094] Exemplarily, the fitness function can be expressed as:

[0095]

[0096] in, , , , Represent the weight of each optimization objective, , , , Represent the objective functions of each optimization objective respectively.

[0097] It should be noted that, in this embodiment, considering that reducing the total length of the pipeline can significantly reduce the material and installation costs, Assign a higher weight, that is It is set to 0.3. Considering that reducing pipe crossings can simplify the installation process and reduce the risk of failure, it is also given The higher the weight, the The same value is set to 0.3. Considering that reducing pipeline pressure loss can improve the operating efficiency of the system, which is very important for the overall system performance, Moderate weight, that is Considering that reducing the installation distance of the pipeline, especially close to the bracket, wall or equipment, can optimize the space utilization and installation cost, it is given Moderate weight, that is It is set to 0.2. Of course, in practical applications, corresponding weights can also be defined for the optimization target according to actual conditions, and this embodiment does not limit this.

[0098] Step S406: Update the initial solution according to the fitness value to obtain an updated solution.

[0099] For example, if the fitness value of the solution of the current particle position is better than the fitness value of the best position remembered before, the algorithm will update the optimal solution, that is, the solution of the current particle position will be used as the optimal solution. The entire particle swarm will also remember the best position found so far, that is, the global optimal solution. Based on the current position, the individual optimal position and the global optimal position, the speed and position of each particle will be updated to guide the particle to move to a better solution.

[0100] For example, the expression for updating the speed and position of all particles can be:

[0101]

[0102]

[0103] in, represents the optimal position of an individual, represents the global optimal position, represents the velocity of the ith particle in the t+1 generation, represents the inertia weight, , Represents the learning factor. represents the position of the ith particle in the t+1 generation. In a preferred example, is 0.5, , Both are 1.5.

[0104] Exemplarily, the algorithm will store the non-dominated solutions in the current particle swarm in an external archive. The non-dominated solutions in the external archive represent different areas of the solution space found by the algorithm during the search process. By saving these solutions, the algorithm can maintain the diversity of the solution space and avoid premature convergence to the local optimal solution. In subsequent iterations, particles can update their speed and position according to the non-dominated solutions in the external archive to explore new areas of the solution space. This helps the algorithm find better solutions. Among them, non-dominated solutions refer to solutions that are not dominated by any other solutions. The external archive is a data structure used to store non-dominated solutions.

[0105] Step S408, until the stopping condition is reached, the updated solution is used as the target solution.

[0106] Exemplarily, the algorithm will continue to iterate particles until the stopping condition is reached, and the target solution, that is, the optimal solution, is output. The stopping condition refers to the condition for stopping iteration, which can be reaching a preset number of iterations or the algorithm being in a convergence state. Of course, other stopping conditions can also be defined according to actual conditions, and this embodiment does not limit it.

[0107] In this embodiment, the particle swarm algorithm is used to solve the objective function. In the process of solving the problem, the fitness value of the solution is calculated and the particles are continuously updated to search for the optimal solution. In this way, the optimal solution can be found in a relatively short time, and the solving efficiency is improved. Thus, the optimized pipeline layout solution can be generated in a short time, which significantly reduces the layout workload and layout cycle.

[0108] In an exemplary embodiment, Figure 5 As shown in the figure, determine the pipeline layout solution that matches the target solution, including:

[0109] Step S502 , determining a selected layout solution that matches the target solution, performing a feasibility analysis on the selected layout solution, and obtaining a feasibility analysis result of the selected layout solution.

[0110] The selected layout scheme refers to the pipeline layout scheme corresponding to the target solution. Before it is officially put into use, a feasibility analysis is required. The feasibility analysis result is used to characterize the feasibility of the selected layout scheme when it is implemented.

[0111] For example, after the server uses the particle swarm algorithm to solve the optimal solution, it can determine the pipeline layout plan corresponding to the optimal solution. In order to further ensure the accuracy of the pipeline layout, this embodiment will conduct a feasibility analysis on the pipeline layout plan, that is, analyze the feasibility of the pipeline layout plan when it is implemented, which can be analyzed from aspects such as cost, construction technology, and even environmental impact.

[0112] Optionally, the server can also simulate the implementation process of the selected layout scheme under a virtual three-dimensional model of the target nuclear island in a one-to-one ratio, so as to evaluate its feasibility. Of course, other methods can also be used to determine whether the scheme is feasible, which is not limited in this embodiment.

[0113] Step S504: when the feasibility analysis result indicates that the selected layout scheme is feasible, the selected layout scheme is used as the pipeline layout scheme.

[0114] For example, when the server determines that the selected layout scheme is feasible, it is used as the final pipeline layout scheme, and the technicians can perform pipeline layout on the target nuclear island according to the pipeline layout scheme.

[0115] In this embodiment, the feasibility of the layout scheme corresponding to the target solution is analyzed to determine the feasibility of the layout scheme. When the layout scheme is feasible, it is used as the final pipeline layout scheme to perform pipeline layout on the target nuclear island, thereby improving the accuracy and reliability of the nuclear island pipeline layout.

[0116] In an exemplary embodiment, the pipeline layout parameters of the target nuclear island are obtained, including: performing parameter analysis on the pipeline transmission medium in the target nuclear island to obtain the pipeline transmission medium parameters of the target nuclear island; performing spatial structure analysis on the target nuclear island to obtain spatial structure parameters of the target nuclear island; performing parameter analysis on the takeover equipment in the target nuclear island to obtain the takeover equipment parameters of the target nuclear island.

[0117] Among them, pipeline transmission medium refers to the medium transmitted by the pipeline in the target nuclear island, including but not limited to water, gas, liquid metal, etc. Pipeline transmission medium parameters refer to the relevant parameters of pipeline transmission medium, such as type, flow rate, quality, etc. Spatial structure parameters refer to the relevant parameters of the spatial structure in the target nuclear island, including but not limited to internal available space, obstacle space, etc. Takeover equipment can be understood as equipment in the target nuclear island that is connected through pipelines. Takeover equipment parameters refer to the relevant parameters of the takeover equipment, including but not limited to the position, size, connection requirements, etc. of the takeover nozzle.

[0118] For example, when the server obtains the pipeline layout parameters of the target nuclear island, it will analyze the pipeline transmission medium to obtain the relevant parameters of the medium transmitted by the pipeline. It will also analyze the internal space structure of the target nuclear island to obtain the parameters such as the internal available space and obstacle space of the target nuclear island. It will also analyze the equipment that needs to be connected through the pipeline to obtain the parameters such as the position, size, and connection requirements of the nozzle. Of course, in actual applications, other relevant parameters can also be obtained according to actual conditions, and this embodiment does not limit this.

[0119] In an exemplary embodiment, based on the pipeline layout parameters, the optimization objectives and constraints of the target nuclear island when performing pipeline layout are determined, including: based on the pipeline transmission medium parameters, spatial structure parameters, and takeover equipment parameters, the optimization objectives and constraints of the target nuclear island when performing pipeline layout are determined.

[0120] For example, after the server obtains the pipeline transmission medium parameters, space structure parameters, and takeover equipment parameters, it can determine the optimization objectives and constraints of the target nuclear island when performing pipeline layout based on these parameters.

[0121] In this embodiment, by analyzing the pipeline transmission medium, the internal space structure of the nuclear island, and the equipment, the pipeline transmission medium parameters, space structure parameters, and takeover equipment parameters are obtained, which improves the comprehensiveness and accuracy of the pipeline layout parameters, thereby improving the accuracy of the optimization target and constraint design, and further improving the accuracy of the entire nuclear island pipeline layout.

[0122] In a specific embodiment, Figure 6 As shown, the implementation steps of the nuclear island piping layout method include:

[0123] S1: In response to the pipeline layout instruction for the target nuclear island, the medium type of the pipeline transmission in the target nuclear island is obtained, the available space for pipeline layout in the target nuclear island is obtained, and the equipment takeover information is obtained. Specifically, the target nuclear island is a small reactor nuclear island of 100MWe (megawatt electricity), the pipeline transmission medium is water, and the available space for pipeline layout is 80m (meters) * 80m, such as Figure 7The black part is the obstacle space, where the equipment connection points are located at points A and B respectively. The pipe size is DN50, i.e. the nominal diameter is 50 mm, and the pipe material is 316L stainless steel. The pipe layout design is carried out within this space.

[0124] S2: Determine the optimization objectives, including minimizing pipeline length, minimizing pipeline intersections, minimizing pipeline pressure loss, and minimizing pipeline layout distance.

[0125] S3: Define constraints, including space constraints, equipment constraints for connecting equipment in the target nuclear island, and force constraints for pipeline layout.

[0126] S4: Based on the particle swarm algorithm, solve the objective function of the optimization target.

[0127] S4.1: Initialize the particle swarm, including initializing the particle position and initializing the particle velocity;

[0128] S4.2: Evaluate the fitness value of the particle. The fitness function is established based on the objective functions of minimizing the pipeline length, minimizing the pipeline intersection, minimizing the pipeline pressure loss, and minimizing the pipeline layout distance and the corresponding weights;

[0129] S4.3: Update the individual optimal position and global optimal position of the particle;

[0130] S4.4: Update the speed and position of all particles;

[0131] S4.5: storing the non-dominated solution of the current particle swarm into an external archive;

[0132] S4.6: Check whether the preset number of iterations or convergence conditions are met. If not, return to step S4.2. In this embodiment, the number of iterations is defined as 1000 times, and the convergence condition is to achieve path planning from point A (17, 47) to point B (36, 12). The optimization process of the multi-objective particle swarm optimization algorithm is as follows: Figure 8 shown.

[0133] S5: If yes, then output the optimal solution, generate the corresponding pipeline layout plan, and perform feasibility analysis on the plan.

[0134] In this embodiment, the layout scheme ( Fig. 9 Left), and the layout scheme planned using the method in this embodiment ( Fig. 9 Right), it can be seen that the layout scheme planned by the method of this embodiment is more reasonable.

[0135] In this embodiment, the server responds to the pipeline layout instruction for the target nuclear island and first obtains the pipeline layout parameters of the target nuclear island. Based on the pipeline layout parameters, the optimization objectives and constraints of the target nuclear island when performing pipeline layout are determined. And the particle swarm algorithm is used to solve the objective function of the optimization objective based on the constraints to obtain the target solution. According to the pipeline layout scheme corresponding to the target solution, the pipeline layout of the target nuclear island is performed. In this way, this embodiment takes into account the optimization objectives and corresponding constraints in the process of nuclear island pipeline layout, reduces the one-sidedness of the pipeline layout, and thus ensures the rationality and efficiency of the nuclear island pipeline layout under multiple constraints. Moreover, by solving the multi-objective particle swarm optimization algorithm, the optimal pipeline layout scheme can be generated in a relatively short time, shortening the layout cycle, thereby significantly improving the efficiency of the nuclear island pipeline layout.

[0136] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0137] Based on the same inventive concept, the embodiment of the present application also provides a nuclear island pipeline layout device for implementing the nuclear island pipeline layout method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more nuclear island pipeline layout device embodiments provided below can refer to the limitations of the nuclear island pipeline layout method above, and will not be repeated here.

[0138] In an exemplary embodiment, Fig.10 As shown, a nuclear island pipeline layout device is provided, including: a pipeline information acquisition module 1002, which is used to respond to the pipeline layout instruction for the target nuclear island and obtain the pipeline layout parameters of the target nuclear island; a determination optimization parameter module 1004, which is used to determine the optimization target and constraint conditions when the target nuclear island is performing pipeline layout based on the pipeline layout parameters; a solution module 1006, which is used to solve the objective function of the optimization target according to the particle swarm algorithm and the constraint conditions to obtain the target solution; a pipeline layout solution generation module 1008, which is used to determine the pipeline layout solution that matches the target solution.

[0139] In one embodiment, the optimization parameter determination module 1004 is also used to: analyze the optimization target when performing pipeline layout on the target nuclear island based on the pipeline layout parameters to obtain the optimization target of the target nuclear island; the optimization target includes at least two of minimizing pipeline length, minimizing pipeline intersections, minimizing pipeline pressure losses, and minimizing pipeline layout distances; based on the pipeline layout parameters, analyze the constraint conditions of the target nuclear island to obtain the constraint conditions of the target nuclear island when performing pipeline layout; the constraint conditions include at least one of the space constraint conditions of the target nuclear island when performing pipeline layout, the equipment constraint conditions of the takeover equipment in the target nuclear island, and the force constraint conditions when performing pipeline layout.

[0140] In one embodiment, the solution module 1006 is also used to: solve the initial solution of the objective function of the optimization target according to the particle swarm algorithm and the constraint conditions; perform fitness analysis on the initial solution based on the fitness function to obtain the fitness value of the initial solution; update the initial solution according to the fitness value to obtain an updated solution; until the stopping condition is reached, the updated solution is used as the target solution.

[0141] In one of the embodiments, the pipeline layout scheme generating module 1008 is also used to: determine a selected layout scheme that matches the target solution, perform a feasibility analysis on the selected layout scheme, and obtain a feasibility analysis result of the selected layout scheme; when the feasibility analysis result indicates that the selected layout scheme is feasible, the selected layout scheme is used as the pipeline layout scheme.

[0142] In one of the embodiments, the pipeline information acquisition module 1002 is also used to: perform parameter analysis on the pipeline transmission medium in the target nuclear island to obtain the pipeline transmission medium parameters of the target nuclear island; perform spatial structure analysis on the target nuclear island to obtain the spatial structure parameters of the target nuclear island; perform parameter analysis on the takeover equipment in the target nuclear island to obtain the takeover equipment parameters of the target nuclear island; based on the pipeline layout parameters, determine the optimization objectives and constraints of the target nuclear island when performing pipeline layout, including: based on the pipeline transmission medium parameters, spatial structure parameters, and takeover equipment parameters, determine the optimization objectives and constraints of the target nuclear island when performing pipeline layout.

[0143] In one of the embodiments, the device is also used to: establish an objective function for each optimization target respectively; obtain an objective weight for each optimization target, and establish a fitness function based on each objective weight and each objective function.

[0144] Each module in the above-mentioned nuclear island pipeline layout device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0145] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.11 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store nuclear island pipeline layout data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a nuclear island pipeline layout method is implemented.

[0146] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0147] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: in response to a pipeline layout instruction for a target nuclear island, obtaining pipeline layout parameters of the target nuclear island; based on the pipeline layout parameters, determining the optimization target and constraint conditions when performing pipeline layout for the target nuclear island; solving the objective function of the optimization target according to the particle swarm algorithm and the constraint conditions to obtain a target solution; and determining a pipeline layout scheme that matches the target solution.

[0148] In one embodiment, the processor also implements the following steps when executing the computer program: based on the pipeline layout parameters, analyzing the optimization target when laying out the pipeline on the target nuclear island to obtain the optimization target of the target nuclear island; the optimization target includes at least two of minimizing the pipeline length, minimizing the pipeline intersection, minimizing the pipeline pressure loss, and minimizing the pipeline layout distance; based on the pipeline layout parameters, analyzing the constraint conditions of the target nuclear island to obtain the constraint conditions of the target nuclear island when laying out the pipeline; the constraint conditions include at least one of the space constraint conditions of the target nuclear island when laying out the pipeline, the equipment constraint conditions of the takeover equipment in the target nuclear island, and the force constraint conditions when laying out the pipeline.

[0149] In one embodiment, when the processor executes the computer program, the following steps are also implemented: according to the particle swarm algorithm and the constraint conditions, an initial solution of the objective function of the optimization target is solved; based on the fitness function, a fitness analysis is performed on the initial solution to obtain a fitness value of the initial solution; according to the fitness value, the initial solution is updated to obtain an updated solution; until the stop condition is reached, the updated solution is used as the target solution.

[0150] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining a selected layout scheme that matches the target solution, performing a feasibility analysis on the selected layout scheme, and obtaining a feasibility analysis result of the selected layout scheme; when the feasibility analysis result indicates that the selected layout scheme is feasible, using the selected layout scheme as the pipeline layout scheme.

[0151] In one embodiment, when the processor executes the computer program, the following steps are also implemented: performing parameter analysis on the pipeline transmission medium in the target nuclear island to obtain the pipeline transmission medium parameters of the target nuclear island; performing spatial structure analysis on the target nuclear island to obtain the spatial structure parameters of the target nuclear island; performing parameter analysis on the takeover equipment in the target nuclear island to obtain the takeover equipment parameters of the target nuclear island; based on the pipeline layout parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout, including: based on the pipeline transmission medium parameters, spatial structure parameters, and takeover equipment parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout.

[0152] In one embodiment, when the processor executes the computer program, the following steps are also implemented: establishing the objective function of each optimization target respectively; obtaining the target weight of each optimization target respectively, and establishing the fitness function based on each target weight and each objective function.

[0153] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: in response to a pipeline layout instruction for a target nuclear island, the pipeline layout parameters of the target nuclear island are obtained; based on the pipeline layout parameters, the optimization target and constraint conditions of the target nuclear island when performing pipeline layout are determined; according to the particle swarm algorithm and the constraint conditions, the objective function of the optimization target is solved to obtain a target solution; and a pipeline layout scheme that matches the target solution is determined.

[0154] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the pipeline layout parameters, the optimization target analysis of the target nuclear island during pipeline layout is performed to obtain the optimization target of the target nuclear island; the optimization target includes at least two of minimizing pipeline length, minimizing pipeline intersections, minimizing pipeline pressure losses, and minimizing pipeline layout distances; based on the pipeline layout parameters, the constraint analysis of the target nuclear island is performed to obtain the constraint conditions of the target nuclear island during pipeline layout; the constraint conditions include at least one of the space constraint conditions of the target nuclear island during pipeline layout, the equipment constraint conditions of the takeover equipment in the target nuclear island, and the force constraint conditions during pipeline layout.

[0155] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the particle swarm algorithm and the constraint conditions, an initial solution of the objective function of the optimization target is solved; based on the fitness function, a fitness analysis is performed on the initial solution to obtain a fitness value of the initial solution; according to the fitness value, the initial solution is updated to obtain an updated solution; until the stop condition is reached, the updated solution is used as the target solution.

[0156] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining a selected layout scheme that matches the target solution, performing a feasibility analysis on the selected layout scheme, and obtaining a feasibility analysis result of the selected layout scheme; when the feasibility analysis result indicates that the selected layout scheme is feasible, using the selected layout scheme as the pipeline layout scheme.

[0157] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: performing parameter analysis on the pipeline transmission medium in the target nuclear island to obtain the pipeline transmission medium parameters of the target nuclear island; performing spatial structure analysis on the target nuclear island to obtain the spatial structure parameters of the target nuclear island; performing parameter analysis on the takeover equipment in the target nuclear island to obtain the takeover equipment parameters of the target nuclear island; based on the pipeline layout parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout, including: based on the pipeline transmission medium parameters, spatial structure parameters, and takeover equipment parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout.

[0158] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: establishing the objective function of each optimization target respectively; obtaining the target weight of each optimization target respectively, and establishing the fitness function based on each target weight and each objective function.

[0159] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the following steps: in response to a pipeline layout instruction for a target nuclear island, obtaining pipeline layout parameters of the target nuclear island; based on the pipeline layout parameters, determining the optimization target and constraint conditions when performing pipeline layout for the target nuclear island; solving the objective function of the optimization target according to the particle swarm algorithm and the constraint conditions to obtain a target solution; and determining a pipeline layout scheme that matches the target solution.

[0160] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the pipeline layout parameters, the optimization target analysis of the target nuclear island during pipeline layout is performed to obtain the optimization target of the target nuclear island; the optimization target includes at least two of minimizing pipeline length, minimizing pipeline intersections, minimizing pipeline pressure losses, and minimizing pipeline layout distances; based on the pipeline layout parameters, the constraint analysis of the target nuclear island is performed to obtain the constraint conditions of the target nuclear island during pipeline layout; the constraint conditions include at least one of the space constraint conditions of the target nuclear island during pipeline layout, the equipment constraint conditions of the takeover equipment in the target nuclear island, and the force constraint conditions during pipeline layout.

[0161] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the particle swarm algorithm and the constraint conditions, an initial solution of the objective function of the optimization target is solved; based on the fitness function, a fitness analysis is performed on the initial solution to obtain a fitness value of the initial solution; according to the fitness value, the initial solution is updated to obtain an updated solution; until the stop condition is reached, the updated solution is used as the target solution.

[0162] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining a selected layout scheme that matches the target solution, performing a feasibility analysis on the selected layout scheme, and obtaining a feasibility analysis result of the selected layout scheme; when the feasibility analysis result indicates that the selected layout scheme is feasible, using the selected layout scheme as the pipeline layout scheme.

[0163] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: performing parameter analysis on the pipeline transmission medium in the target nuclear island to obtain the pipeline transmission medium parameters of the target nuclear island; performing spatial structure analysis on the target nuclear island to obtain the spatial structure parameters of the target nuclear island; performing parameter analysis on the takeover equipment in the target nuclear island to obtain the takeover equipment parameters of the target nuclear island; based on the pipeline layout parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout, including: based on the pipeline transmission medium parameters, spatial structure parameters, and takeover equipment parameters, determining the optimization objectives and constraints of the target nuclear island when performing pipeline layout.

[0164] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: establishing the objective function of each optimization target respectively; obtaining the target weight of each optimization target respectively, and establishing the fitness function based on each target weight and each objective function.

[0165] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0166] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0167] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0168] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A nuclear island pipeline layout method, characterized in that: The method comprises: In response to a pipeline layout instruction for a target nuclear island, obtaining pipeline layout parameters of the target nuclear island; Based on the pipeline layout parameters, determining the optimization target and constraint conditions of the target nuclear island when performing pipeline layout; Solving the objective function of the optimization target according to the particle swarm algorithm and the constraint conditions to obtain the target solution; A pipeline layout solution matching the target solution is determined.

2. The method according to claim 1, characterized in that The step of determining the optimization target and constraint conditions of the target nuclear island when performing pipeline layout based on the pipeline layout parameters includes: Based on the pipeline layout parameters, an optimization target analysis is performed on the target nuclear island during pipeline layout to obtain an optimization target of the target nuclear island; the optimization target includes at least two of minimizing pipeline length, minimizing pipeline intersection, minimizing pipeline pressure loss, and minimizing pipeline layout distance; Based on the pipeline layout parameters, a constraint analysis is performed on the target nuclear island to obtain the constraint conditions of the target nuclear island when performing pipeline layout; the constraint conditions include at least one of the space constraint conditions of the target nuclear island when performing pipeline layout, the equipment constraint conditions of the takeover equipment in the target nuclear island, and the force constraint conditions when performing pipeline layout.

3. The method according to claim 2, characterized in that The step of solving the objective function of the optimization target according to the particle swarm algorithm and the constraint conditions to obtain the target solution includes: According to the particle swarm algorithm and the constraint conditions, solving the initial solution of the objective function of the optimization goal; Based on the fitness function, performing fitness analysis on the initial solution to obtain a fitness value of the initial solution; According to the fitness value, the initial solution is updated to obtain an updated solution; Until the stopping condition is reached, the updated solution is taken as the target solution.

4. The method according to claim 1, characterized in that: The determining of a pipeline layout scheme matching the target solution comprises: Determining a selected layout solution that matches the target solution, performing a feasibility analysis on the selected layout solution, and obtaining a feasibility analysis result of the selected layout solution; When the feasibility analysis result indicates that the selected layout solution is feasible, the selected layout solution is used as the pipeline layout solution.

5. The method according to claim 1, characterized in that The step of obtaining the pipeline layout parameters of the target nuclear island includes: Performing parameter analysis on the pipeline transmission medium in the target nuclear island to obtain the pipeline transmission medium parameters of the target nuclear island; Performing spatial structural analysis on the target nuclear island to obtain spatial structural parameters of the target nuclear island; Performing parameter analysis on the takeover equipment in the target nuclear island to obtain the takeover equipment parameters of the target nuclear island; The step of determining the optimization target and constraint conditions of the target nuclear island when performing pipeline layout based on the pipeline layout parameters includes: Based on the pipeline transmission medium parameters, the space structure parameters, and the takeover equipment parameters, the optimization objectives and constraint conditions of the target nuclear island when performing pipeline layout are determined.

6. The method according to claim 3, characterized in that: The method further comprises: Establishing respective objective functions for each of the optimization objectives; Obtain the target weight of each optimization target, and establish the fitness function based on each target weight and each objective function.

7. A nuclear island pipeline layout device, characterized in that: The device comprises: A pipeline information acquisition module, for acquiring pipeline layout parameters of a target nuclear island in response to a pipeline layout instruction for the target nuclear island; An optimization parameter determination module is used to determine the optimization target and constraint conditions of the target nuclear island when performing pipeline layout based on the pipeline layout parameters; A solution module, used for solving the objective function of the optimization target according to the particle swarm algorithm and the constraint conditions to obtain a target solution; A pipeline layout solution generation module is used to determine a pipeline layout solution that matches the target solution.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.