A pipeline support position optimization method and device

By using the gradient projection method to coordinate the position of pipe supports, the problem of time-consuming and difficult-to-coordinate adjustment of multiple support positions in the existing technology is solved, and efficient optimal design is achieved.

CN114611258BActive Publication Date: 2025-12-05CHINA NUCLEAR POWER ENGINEERING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210242208.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-11
Publication Date
2025-12-05
Estimated Expiration
2042-03-11

AI Technical Summary

Technical Problem

Existing methods for optimizing pipe support locations rely on the designer's experience, are time-consuming, and make it difficult to coordinate the adjustment of multiple support locations simultaneously, thus failing to achieve optimal design.

Method used

The gradient projection method is used to coordinate the position of all movable supports in the pipeline. An objective function is set and iterative optimization is performed to calculate the sensitivity and movement distance of the support position until the optimization objective is achieved.

Benefits of technology

It improves the efficiency of pipe support position optimization, enables coordinated adjustment of multiple support positions, reduces reliance on designer experience, and achieves optimal design results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114611258B_ABST
    Figure CN114611258B_ABST
Patent Text Reader

Abstract

The application provides a pipeline support position optimization method and device, the method comprising: acquiring all support positions in a pipeline and judging whether each support is a movable support; setting a pipeline support position optimization target, and cooperatively adjusting all movable support positions to meet the pipeline support position optimization target to obtain optimized pipeline support positions. The method and device can simultaneously adjust the positions of multiple supports, and have high optimization efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to a pipeline support position optimization method and device. BACKGROUND

[0002] At present, nuclear-grade pipelines often operate under complex, variable and harsh temperature and pressure conditions, and need to consider accident conditions such as earthquakes. In order to ensure the safety of nuclear-grade pipelines under these conditions, mechanical calculations considering multiple conditions need to be performed on nuclear-grade pipelines after layout design. The design usually needs to be continuously adjusted and calculated until the design scheme meets the requirements. The most commonly used method is to adjust the position of the pipeline support.

[0003] However, the existing method for adjusting the position of the pipeline support usually relies on the experience of the designer and is a process of continuous trial and error, which needs to continuously adjust the position of each support and change the adjustment direction and distance of the support. It not only takes a long time but also cannot simultaneously adjust the positions of multiple supports, making it difficult to achieve optimal design of the pipeline support position. SUMMARY

[0004] The technical problem to be solved by the present application is to solve the above-mentioned problems of the prior art. The present application provides a pipeline support position optimization method and device, which can simultaneously adjust the positions of multiple supports and has high optimization efficiency, thereby solving the problem that the existing pipeline support position optimization method cannot simultaneously adjust the positions of multiple supports and is difficult to achieve optimal design of the pipeline support position.

[0005] In a first aspect, the present application provides a pipeline support position optimization method, comprising:

[0006] obtaining each target support in the pipeline;

[0007] simultaneously adjusting the positions of all target supports to meet the optimization target of the pipeline support position to obtain the optimized pipeline support position.

[0008] Preferably, obtaining each target support in the pipeline specifically comprises:

[0009] obtaining all movable supports in the pipeline;

[0010] determining whether each movable support needs to be optimized;

[0011] determining the movable supports that need to be optimized as target supports.

[0012] Preferably, obtaining each target support in the pipeline further comprises:

[0013] determining the movable range of each target support.

[0014] Preferably, the positions of all target supports are cooperatively adjusted to meet the optimization target of the pipeline support positions to obtain optimized pipeline support positions, specifically including:

[0015] S1, setting an optimization target of the pipeline support positions, and setting a target function of all target supports in the pipeline according to the optimization target;

[0016] S2, calculating a first target function value of all target supports at current positions;

[0017] S3, optimizing the positions of all target supports based on a gradient projection method to obtain a second target function value of all target supports at optimized positions;

[0018] S4, comparing the second target function value with the first target function value, and obtaining optimized target support positions according to a comparison result;

[0019] Preferably, in step S1, the target function of the pipeline support positions is a maximum stress ratio of the pipeline;

[0020] Step S1 further includes initializing an optimization iteration number;

[0021] Step S3 specifically includes:

[0022] S31, calculating a sensitivity of movement of each target support position;

[0023] S32, determining a next movement distance of each target support according to the sensitivity of movement of each target support position;

[0024] S33, moving each target support according to the next movement distance of each target support, and calculating a second target function value of each target support according to the moved target support positions;

[0025] Step S4 specifically includes:

[0026] If the second target function value is not less than the first target function value, the next movement distance of each target support is halved as a new next movement distance, and step S33 is returned to;

[0027] If the second target function value is less than the first target function value, the moved target support positions are taken as optimized target support positions, and step S5 is executed;

[0028] Step S5 specifically includes: increasing the optimization iteration number by 1, if the optimization iteration number is less than a preset threshold, taking the optimized target support positions as new current positions, and returning to step S2; if the optimization iteration number is greater than or equal to the preset threshold, ending the flow, and obtaining optimized pipeline support positions.

[0029] Preferably, in step S31, the sensitivity of each target support position is calculated according to the following formula:

[0030]

[0031] wherein, is the sensitivity of the target function to the movement of the ith target support, f is the first target function value, f i is the third target function value after the movement of the ith target support, is the movement distance of the ith target support.

[0032] Preferably, in step S32, the next movement distance of each target support is determined according to the sensitivity of the movement of each target support position, specifically comprising:

[0033] If the ith target support is at the maximum movable distance and f i <f for the ith target support, the next movement distance of the ith target support is 0, otherwise the next movement distance of the ith target support satisfies the following formula:

[0034]

[0035] wherein, D i is the next movement distance of the ith target support, a is a first preset coefficient,

[0036] The value of the first preset coefficient is the maximum value satisfying the following condition:

[0037] The next movement distance of the target support does not exceed the maximum value D imax of the next movable distance of the target support.

[0038] The value of D imax is the movable range of the target support multiplied by a second preset coefficient, and the second preset coefficient is a positive number not greater than 1.

[0039] In a second aspect, the present application provides a pipeline support position optimization device, comprising:

[0040] A target acquisition module is configured to acquire each target support in the pipeline.

[0041] A position optimization module is connected to the target acquisition module and is configured to cooperatively adjust the positions of all target supports to meet the optimization target of the pipeline support position, so as to obtain the optimized pipeline support position.

[0042] Preferably, the target acquisition module specifically comprises:

[0043] ​An acquisition unit is configured to acquire all movable supports in the pipeline;

[0044] A judgment unit is connected with the acquisition unit and configured to judge whether each movable support needs to be optimized;

[0045] A determination unit is connected with the judgment unit and configured to determine the movable support judged by the judgment unit as a target support.

[0046] Preferably, the position optimization module specifically comprises:

[0047] A function setting unit is configured to set an optimization target of the pipeline support position and set a target function of all target supports in the pipeline according to the optimization target;

[0048] A calculation unit is connected with the function setting unit and configured to calculate a first target function value of all target supports at the current position;

[0049] An optimization unit is connected with the calculation unit and configured to optimize each target support position based on the gradient projection method to obtain a second target function value of all target supports at the optimized position;

[0050] An iteration unit is connected with the optimization unit and configured to compare the second target function value with the first target function value and obtain the optimized target support position according to the comparison result.

[0051] The pipeline support position optimization method and device provided by the application can set a target function according to the position of all movable supports in the pipeline and optimize the target function based on the gradient projection method, and the position of multiple movable supports is adjusted cooperatively, so that the optimization effect of the existing optimization method can be achieved, but better optimization efficiency can be realized, and the problem that the existing pipeline support position optimization method cannot simultaneously adjust the positions of multiple supports cooperatively and cannot realize optimal design of the pipeline support position is solved. BRIEF DESCRIPTION OF DRAWINGS

[0052] Figure 1 The flowchart of the pipeline support position optimization method of the embodiment 1 of the application;

[0053] Figure 2 The flowchart of the step S102 in the embodiment 1 of the application; Figure 1

[0054] The flowchart of the step S3 in the embodiment 1 of the application; Figure 3 Figure 2

[0055] Figure 4 The structural schematic diagram of the pipeline support position optimization device of the embodiment 2 of the application. DETAILED DESCRIPTION​​

[0056] In order to make the skilled in the art better understand the technical solutions of the present application, the embodiments of the present application will be further described in detail below with reference to the drawings.

[0057] It can be understood that the specific embodiments and drawings described herein are only used to explain the present application, but not to limit the present application.

[0058] It can be understood that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0059] It can be understood that, for the convenience of description, only the parts related to the present application are shown in the drawings of the present application, and the parts unrelated to the present application are not shown in the drawings.

[0060] It can be understood that each unit and module involved in the embodiments of the present application can only correspond to one entity structure, or can be composed of multiple entity structures, or multiple units and modules can be integrated into one entity structure.

[0061] It can be understood that the functions and steps marked in the flowcharts and block diagrams of the present application can occur in an order different from that marked in the drawings without conflict.

[0062] It can be understood that in the flowcharts and block diagrams of the present application, the possible implementation architecture, functions and operations of the system, device, equipment and method according to the embodiments of the present application are shown. Each block in the flowchart or block diagram can represent a unit, module, program segment, code, which contains executable instructions for realizing the specified function. Moreover, each block or combination of blocks in the block diagram and flowchart can be realized by a hardware-based system for realizing the specified function, or by a combination of hardware and computer instructions.

[0063] It can be understood that the units and modules involved in the embodiments of the present application can be realized by software or hardware, for example, the units and modules can be located in a processor.

[0064] Embodiment 1:

[0065] The embodiment provides a pipeline support position optimization method, which is mainly used in the layout design of a nuclear power plant, wherein the pipeline support is specifically a nuclear-grade pipeline support, and the method can optimize the positions of any multiple nuclear-grade pipeline supports.

[0066] As shown in the method, the method comprises the following steps. Figure 1 Step S101: acquiring each target support in the pipeline.

[0067] Step S102: determining the target support position of each target support in the pipeline.

[0068] Step S103: determining the target support position of each target support in the pipeline.In the embodiment, in order to achieve the goal of optimizing the positions of the pipe supports, all the selected target support positions are continuously adjusted until the optimization goal is met or continuously approaches the goal.

[0069] Specifically, acquiring each target support in the pipeline can include the following steps:

[0070] acquiring all the movable supports in the pipeline;

[0071] determining whether each movable support needs to be optimized;

[0072] determining the movable supports that need to be optimized as target supports.

[0073] In the embodiment, some supports in the pipeline cannot be moved at will, including boundary supports of the pipeline and supports whose positions depend on the positions of pipe fittings, for example, supports arranged on valves, elbows and other components, and the remaining supports arranged on straight pipe sections are movable supports. Meanwhile, the movement of some movable supports has little effect on the whole, and according to specific conditions, the positions of these supports can also not be optimized, thereby reducing the calculation amount in subsequent optimization.

[0074] Specifically, acquiring each target support further includes determining the movable range of each target support.

[0075] In the embodiment, the movable range of the movable support is automatically set under the condition of meeting certain criteria. The direction toward the medium flow in the pipeline is defined as the positive direction, the initial position of the movable support is 0, and the position of the i th movable support is x i satisfies -a i ≤x i ≤b i wherein a i is the maximum distance that can be moved backward, b i is the maximum distance that can be moved forward, and the criteria for automatically setting the movable range of the movable support can be set according to requirements, for example, the movable range can be set according to the lengths of the straight pipe sections at both ends of the movable support to ensure that the movable support will not move onto other pipe fittings.

[0076] Step S102: cooperatively adjusting the positions of all the target supports to meet the optimization goal of the positions of the pipeline supports, to obtain the optimized positions of the pipeline supports.

[0077] In the embodiment, the gradient projection method is used to iteratively optimize the positions of all the target supports, cooperatively adjusts the positions of all the target supports, reduces the trial cost of manual optimization, and thus more easily achieves the optimal design of the support positions.

[0078] Optionally, as Figure 2As shown, step S102: cooperatively adjust the positions of all target supports to meet the optimization target of the pipeline support positions, to obtain the optimized pipeline support positions, which can specifically include the following steps:

[0079] S1, set the optimization target of the pipeline support positions, and set the objective function of all target supports in the pipeline according to the optimization target;

[0080] S2, calculate the first objective function value of all target supports at the current positions;

[0081] S3, optimize the positions of each target support based on the gradient projection method, to obtain the second objective function value of all target supports at the optimized positions;

[0082] S4, compare the second objective function value with the first objective function value, and obtain the optimized target support positions according to the comparison result;

[0083] Optionally, in the embodiment, the optimization target is that the maximum stress ratio of the pipeline under all working conditions is as small as possible, and the dependent variable of the objective function is the maximum stress ratio of the pipeline under all working conditions, and the independent variable is the position of the movable support in the pipeline.

[0084] Therefore, in step S1, the objective function of the pipeline support positions is the maximum stress ratio of the pipeline;

[0085] Step S1 further includes: initializing the optimization algebra.

[0086] Step S3 specifically includes:

[0087] S31, calculate the sensitivity of the movement of each target support position;

[0088] S32, determine the next movement distance of each target support according to the sensitivity of the movement of each target support position;

[0089] S33, move each target support according to the next movement distance of each target support, and calculate the second objective function value of each target support according to the moved target support positions;

[0090] Step S4 specifically includes: if the second objective function value is not less than the first objective function value, then halve the next movement distance of each target support as the new next movement distance, and return to step S33;

[0091] If the second objective function value is less than the first objective function value, the moved target support positions are taken as the optimized target support positions, and step S5 is executed;

[0092] The step S5 specifically comprises: increasing the optimization algebra by 1, if the optimization algebra is less than the preset threshold, taking the optimized target support position as a new current position, and returning to the step S2; if the optimization algebra is greater than or equal to the preset threshold, ending the flow, and obtaining the optimized pipeline support position.

[0093] In the embodiment, the initialization optimization algebra is 0, and the preset threshold is the number of optimization iterations, which is 10 in the embodiment. If the support position design scheme after the iteration is still not satisfied, more iterations can be selected. The sensitivities of different target support positions are different, and the next moving distance is also different. After all the target supports are moved, the pipeline stress ratio is calculated. When the stress ratio is not reduced by one movement, the next moving distance is halved and the operation is performed again until it is consistent with the expectation, which is regarded as completing one optimization.

[0094] Optionally, the step S31 comprises: calculating the sensitivity of each target support position movement, specifically comprising:

[0095] The sensitivity of each target support position is calculated according to the following formula:

[0096]

[0097] Wherein, is the sensitivity of the optimization target function to the movement of the i th target support, f is the first target function value, f i is the third target function value after the i th target support moves a distance, is the moving distance of the i th target support.

[0098] In the embodiment, A small distance is usually taken to calculate the sensitivity of the target function to the movement of each target support, for example, 1 cm. After each target support moves a distance, the corresponding target function value f i is calculated and recorded, and then the target support is restored to the initial position, and the same operation is performed on the next target support. In this way, the sensitivity of the target function to the movement of each target support is calculated.

[0099] Optionally, the step S32 comprises: determining the next moving distance of each target support according to the sensitivity of each target support position movement, specifically comprising:

[0100] All target support positions are judged. If the i th target support is at the maximum movable distance, and f i < f, the next moving distance of the i th target support is 0, otherwise the next moving distance of the i th target support satisfies the following formula:

[0101]

[0102] wherein D i is the next moving distance of the ith target support, and a is a first preset coefficient,

[0103] the value of the first preset coefficient a is the maximum value satisfying the following condition:

[0104] the next moving distance of the target support does not exceed the maximum value D imax of the next moving distance thereof.

[0105] the value of D imax is the movable range of the target support multiplied by a second preset coefficient, wherein the second preset coefficient is a positive number not greater than 1.

[0106] For example, the ith target support can move forward by 1 m and can move backward by 1 m, so the movable range thereof is 2 m, the second preset coefficient is 0.2, and the maximum value D imax of the next moving distance of the ith target support is 0.2*2 m=0.4 m, and the first preset coefficient a makes the next moving distance of all target supports not exceed the maximum value of the next moving distance thereof.

[0107] In the embodiment, the value of a is the same for all target supports, and thus the size of the second preset coefficient controls the size of the next moving distance. If the second preset coefficient is set too large, the next moving distance of the target support is too large, and the optimization is difficult to converge. If the second preset coefficient is set too small, the next moving distance of the target support is too small, and the optimization converges slowly.

[0108] In a specific embodiment, the pipeline support position optimization method can include the following steps:

[0109] When the PEPS software is used, a nuclear-grade pipeline needs to be written into a.fre input file of the PEPS software after obtaining an initial arrangement design scheme, and the file contains arrangement scheme information of the pipeline. The PEPS software reads the.fre file for calculation and evaluation, and then outputs the maximum stress ratio of the pipeline. If the stress ratio is less than 1, it indicates that the pipeline design meets the specification requirements. If the stress ratio is greater than or equal to 1, the arrangement scheme of the pipeline needs to be iteratively optimized until the stress ratio of the final arrangement scheme is less than 1. When the stress ratio of a pipeline is greater than or equal to 1, the process of optimizing the arrangement of the pipeline by using the steps described in the present application is as follows:

[0110] Step 1.1: automatically selecting all movable supports in the pipeline and automatically judging the movable range thereof according to certain criteria

[0111] Identify the position of the node to which all the support definitions in the.fre file are attached, only when the node is in a straight pipe segment (the identification of the straight pipe segment in the.fre file is TANG) the support is a movable support, if the node is on an anchor point, on a valve, on an elbow, or other cases, consider that the support is not a movable support.

[0112] Set the movable range of all the movable supports according to the following criteria: identify the length of the straight pipe segments (the pipe segments identified as TANG) at both ends of the movable support, then multiply it by a coefficient less than 1 (for example 0.9) as the maximum distance that the movable support can move forward and backward, so as to ensure that the movable support will not move to other pipe fittings (elbows, valves, etc.), when all the pipe segments between two adjacent movable supports are straight pipe segments, take the midpoint of the line connecting the two movable supports as the farthest position that the two movable supports can move to. It should be noted that the above criteria is not unique, and reasonable criteria can be set according to needs.

[0113] Step 1.2: According to needs, manually adjust the movable supports and their movable ranges that need to be optimized to determine the target supports

[0114] According to experience, manually delete some supports from the list of all movable supports that have little effect on the pipe stress ratio, and the remaining movable supports are taken as target supports, and their movable ranges are manually modified according to the actual situation of the pipe arrangement (for example, whether the movable support can take root, whether there are items interfering with the movable support, etc.), to ensure that the target support is actually feasible after moving within this range.

[0115] Step 2.1: Set the optimization target

[0116] The optimization target function in this example is the maximum stress ratio of the pipe, and the optimization target is to minimize the maximum stress ratio of the pipe.

[0117] Step 2.2: Calculate the target function value when the current pipe arrangement design is obtained

[0118] Use PEPS software to read the current.fre file for calculation and evaluation, then extract the maximum stress ratio in the result file as the first target function value of the current.

[0119] Step 2.3: Calculate the third target function value when the position of each target support changes slightly

[0120] Step 2.3: Calculate the third objective function value

[0121] Step 2.4: Calculate the sensitivity of the objective function to the movement of each target support position

[0122] Step 2.5: Calculate the sensitivity of the objective function to the movement of each target support position

[0123] Step 3.1: Determine whether each target support is effectively constrained

[0124] Step 3.2: Determine the movement distance of each target support in the next step

[0125] Step 3.3: Move the target supports and calculate the second objective function value

[0126] Step 3.4: Determine the movement distance of each target support in the next step

[0127] (1) The movement distance of the target support in the next step does not exceed the maximum value D of the movement distance in the next step imax ;

[0128] (2) The value of D imax is the movable range of the target support multiplied by a second preset coefficient r (r < 1), for example, if a target support can move forward 1 m and backward 1 m, the size of the movable interval is 2 m, and the second preset coefficient r is set to 0.2, then the maximum value D imax of the movement distance in the next step of the target support is 2 m * 0.2 = 0.4 m.

[0129] Step 3.3: Move the target supports and calculate the second objective function value

[0130] According to the target support moving distance determined in the previous step, all target supports are moved, that is, the coordinates of the nodes corresponding to all selected movable supports in the.fre file are modified so as to move by the specified distance, and then the PEPS software is used to calculate the modified.fre file and obtain a second target function value.

[0131] Step 3.4: The second target function value is compared with the first target function value, if the second target function value is greater than the first target function value, the target moving distance is halved, and step 3.3 is repeated until the second target function value is less than the first target function value, then one optimization iteration is completed

[0132] The second target function value is compared with the first target function value, if the second target function value is greater, indicating that the current step is too large, then the moving distance of all supports is halved, the.fre file is modified and recalculated to obtain a new second target function value, and the above operation is repeatedly performed until the second target function value is less than the first target function value, then the current optimization iteration is completed, and the modified.fre file corresponds to the current support position design scheme.

[0133] Step 3.5: The process in steps 2.2 to 3.4 is repeated until a specified number of optimization iterations are completed, and a final optimized support position design scheme is obtained.

[0134] Based on the support position design scheme obtained in step 3.4, the sensitivity calculation and target support moving process are repeated to obtain a new optimization design scheme, until a specified number of iterations (for example, 10 times) are repeated and a final optimized support position design scheme is obtained, and the pipeline stress ratio of the scheme is generally reduced compared with the initial scheme, if it is still greater than 1, more iterations or other modifications (such as modifying the type of support) based on the scheme can be selected, which is not described here.

[0135] The pipeline support position optimization method provided by the embodiment of the application can optimize the target function by using the pipeline support position optimization method based on the gradient projection method after setting the target function according to the required optimization target, can cooperatively adjust the positions of multiple target supports, thereby improving the optimization efficiency, and finally obtains an optimized support position scheme. The application can realize the systematicness of pipeline support position adjustment, reduce the dependence on the experience of designers, and solve the problem that the existing pipeline support position optimization method cannot cooperatively adjust the positions of multiple supports and is difficult to realize the optimal design of the pipeline support position.

[0136] Embodiment 2:

[0137] As Figure 4As shown, the embodiment provides a pipeline support position optimization device for executing the pipeline support position optimization method described above, comprising:

[0138] A target acquisition module 41 is configured to acquire each target support in the pipeline.

[0139] A position optimization module 42 is connected to the target setting module 41 and is configured to cooperatively adjust the positions of all target supports to meet the optimization target of the pipeline support position, thereby obtaining the optimized pipeline support position.

[0140] Optionally, the target acquisition module 41 comprises:

[0141] An acquisition unit is configured to acquire all movable supports in the pipeline.

[0142] A judgment unit is configured to judge whether each movable support needs to be optimized.

[0143] A determination unit is configured to determine the movable supports that need to be optimized as target supports.

[0144] Optionally, the target acquisition module 41 further comprises:

[0145] A range unit is configured to determine the movable range of each target support.

[0146] Optionally, the position optimization module 42 comprises:

[0147] A function setting unit is configured to set the optimization target of the pipeline support position and set the target function of all target supports in the pipeline according to the optimization target.

[0148] A calculation unit is connected to the function setting unit and is configured to calculate the first target function value of all target supports at the current position.

[0149] An optimization unit is connected to the calculation unit and is configured to optimize each target support position based on the gradient projection method to obtain the second target function value of all target supports at the optimized position.

[0150] An iteration unit is connected to the optimization unit and is configured to compare the second target function value with the first target function value and obtain the optimized target support position according to the comparison result.

[0151] Optionally, in the function setting unit, the target function of the pipeline support position is the maximum stress ratio of the pipeline.

[0152] The function setting unit further comprises an initialization optimization algebra.

[0153] The optimization unit specifically comprises:

[0154] a sensitivity unit configured to calculate a sensitivity of movement of each target support position;

[0155] a distance determination unit connected to the sensitivity unit and configured to determine a next movement distance of each target support according to the sensitivity of movement of each target support position;

[0156] a movement unit connected to the distance determination unit and configured to move each target support according to the next movement distance of each target support, and to calculate a second objective function value of each target support according to the position of each target support after movement;

[0157] The iteration unit specifically includes:

[0158] If the second objective function value is greater than the first objective function value, the next movement distance of each target support is halved as a new next movement distance, and the movement unit is returned to;

[0159] If the second objective function value is less than the first objective function value, the position of each target support after movement is taken as an optimized target support position, and the output unit is executed;

[0160] The output unit is connected to the iteration unit and configured to increase an optimization algebra by 1, take the optimized target support position as a new current position if the optimization algebra is less than a preset threshold, return to the calculation unit, end the process if the optimization algebra is not less than the preset threshold, and obtain the optimized pipeline support position.

[0161] Optionally, in the sensitivity unit, the sensitivity of movement of each target support position is calculated, specifically including:

[0162] The sensitivity of each target support position is calculated according to the following formula:

[0163]

[0164] wherein, is the sensitivity of movement of the i th target support to the optimization objective function, f is the first objective function value, f i is the third objective function value after movement of the i th target support, is the movement distance of the i th target support.

[0165] Optionally, in the distance determination unit, the next movement distance of each target support is determined according to the sensitivity of movement of each target support position, specifically including:

[0166] All target support positions are judged, if the i th target support is at the maximum movable distance, and f i ​If the i-th target support is not in the moving range, then the next moving distance of the i-th target support is 0, otherwise the next moving distance of the i-th target support satisfies the following formula:

[0167]

[0168] wherein D i is the next moving distance of the i-th target support, and a is a first preset coefficient,

[0169] The first preset coefficient is a maximum value satisfying the following condition:

[0170] The next moving distance of the target support does not exceed the maximum value D imax of the next moving distance of the target support.

[0171] The value of D imax is the movable range of the target support multiplied by a second preset coefficient, and the second preset coefficient is a positive number not greater than 1.

[0172] The pipeline support position optimization device provided in Embodiment 2 can perform collaborative adjustment on the positions of multiple supports after setting a target function according to a required optimization target, and can improve the optimization efficiency by using a pipeline support position optimization method based on the gradient projection method to optimize the target function, so as to finally obtain an optimized support position scheme. The present application can realize the systematic adjustment of the pipeline support position, reduce the dependence on the experience of designers, and solve the problem that the existing pipeline support position optimization method cannot simultaneously perform collaborative adjustment on the positions of multiple supports and is difficult to realize the optimal design of the pipeline support position.

[0173] It can be understood that the above embodiments are only exemplary embodiments for illustrating the principles of the present application, and the present application is not limited thereto. Various modifications and improvements can be made by those skilled in the art without departing from the spirit and essence of the present application, and these modifications and improvements are also considered to be within the protection scope of the present application.

Claims

1. A method for optimizing the position of a pipe support, characterized in that, The method comprises the following steps: obtaining each target support in the pipeline; coordinately adjusting the positions of all target supports to meet the optimization target of the pipeline support positions to obtain the optimized pipeline support positions; coordinately adjusting the positions of all target supports to meet the optimization target of the pipeline support positions to obtain the optimized pipeline support positions, specifically comprising: S1, setting the optimization target of the pipeline support positions, and setting the objective function of all target supports in the pipeline according to the optimization target; S2, calculating the first objective function value of all target supports at the current position; S3, optimizing the position of each target support based on the gradient projection method to obtain the second objective function value of all target supports at the optimized position; S4, comparing the second objective function value with the first objective function value, and obtaining the optimized target support position according to the comparison result; Step S3 specifically comprises: S31, calculating the sensitivity of the movement of each target support position; S32, determining the next movement distance of each target support according to the sensitivity of the movement of each target support position; S33, moving each target support according to the next movement distance of each target support, and calculating the second objective function value of each target support according to the moved position of each target support; Step S4 specifically comprises: if the second objective function value is not less than the first objective function value, the next movement distance of each target support is halved as the new next movement distance, and the step S33 is returned; if the second objective function value is less than the first objective function value, the moved position of each target support is taken as the optimized target support position, and the step S5 is executed; Step S5 specifically comprises: increasing the optimization algebra by 1, if the optimization algebra is less than a preset threshold, the optimized target support position is taken as the new current position, and the step S2 is returned; if the optimization algebra is greater than or equal to the preset threshold, the process is ended, and the optimized pipeline support position is obtained.

2. The pipe support position optimization method according to claim 1, characterized by, Obtaining each target support in the pipeline specifically comprises: obtaining all movable supports in the pipeline; determining whether each movable support needs to be optimized; determining the target support as the movable support that needs to be optimized.

3. The method of pipe support location optimization of claim 2, wherein, Obtaining each target support in the pipeline further comprises: determining the movable range of each target support.

4. The method of pipe support location optimization of claim 1, wherein, In step S1, the objective function of the pipeline support position is the maximum stress ratio of the pipeline; Step S1 further comprises: initializing the optimization algebra.

5. The method of pipe support location optimization of claim 1, wherein, In step S31, the sensitivity of each target support position is calculated according to the following formula: wherein, is the sensitivity of the objective function to the movement of the i-th target support, f is the first objective function value, f i is the movement of the i-th target support is the third objective function value after the distance, is the movement distance of the i-th target support.

6. The method of pipe support location optimization of claim 5, wherein, In step S32, the next movement distance of each target support is determined according to the sensitivity of the movement of each target support position, specifically comprising: If the ith target support is at the maximum movable distance, and for the ith target support f i If the ith target support is at the maximum movable distance, and for the ith target support f i If the ith target support is at the maximum movable distance, and for the ith target support f i If the ith target support is at the maximum movable distance, and for the ith target support f i If the ith target support is at the maximum movable distance, and for the ith target support f i If the ith target support is at the maximum movable distance, and for the ith target support f < wherein D i is the next moving distance of the ith target support, and a is a first preset coefficient, the first preset coefficient is the maximum value that satisfies the following condition: The next moving distance of the target support does not exceed the maximum value D of the next movable distance of the target support imax ; The D imax is the movable range of the target support multiplied by a second preset coefficient, and the second preset coefficient is a positive number not greater than 1.

7. A pipe support position optimization apparatus characterized by, The method comprises the following steps: a target acquisition module for obtaining each target support in the pipeline; a position optimization module connected with the target acquisition module, for coordinately adjusting the positions of all target supports to meet the optimization target of the pipeline support positions to obtain the optimized pipeline support positions; the position optimization module specifically comprises: A function setting unit is configured to set an optimization target of the pipe support position and set a target function of all target supports in the pipe according to the optimization target; A calculation unit is connected with the function setting unit and configured to calculate a first target function value of all target supports at the current position; An optimization unit is connected with the calculation unit and configured to optimize the position of each target support based on a gradient projection method to obtain a second target function value of all target supports at the optimized position; An iteration unit is connected with the optimization unit and configured to compare the second target function value with the first target function value and obtain the optimized target support position according to the comparison result; The optimization unit is specifically configured to perform the following steps: S31, calculate the sensitivity of the movement of each target support position; S32, determine the next movement distance of each target support according to the sensitivity of the movement of each target support position; S33, move each target support according to the next movement distance of each target support, and calculate the second target function value of each target support according to the moved target support position; The iteration unit is specifically configured to perform the following steps: If the second target function value is not less than the first target function value, the next movement distance of each target support is halved as a new next movement distance, and the step S33 is returned; If the second target function value is less than the first target function value, the moved target support position is taken as the optimized target support position, and the step S5 is performed; The step S5 specifically includes: increasing the optimization algebra by 1, if the optimization algebra is less than a preset threshold, taking the optimized target support position as a new current position, and returning to the step S2; if the optimization algebra is greater than or equal to the preset threshold, ending the flow, and obtaining the optimized pipe support position.

8. The pipe support position optimization apparatus according to claim 7, wherein, The target acquisition module specifically includes: An acquisition unit is configured to acquire all movable supports in the pipe; A judgment unit is connected with the acquisition unit and configured to judge whether each movable support needs to be optimized; A determination unit is connected with the judgment unit and configured to determine the movable support needing to be optimized as a target support.