Operation method and system for ensuring process safety and quality control of petrochemical enterprise

Through dynamic optimization methods, the operating time of the intermediate transition points is uniformly divided and optimized in the production equipment of petrochemical enterprises, and the blind problem of selecting the intermediate transition points of the operation variable during large-scale changes in working conditions is solved, the production safety and economy are improved, and the scientific and systematic process safety and quality control are realized.

CN120146543AActive Publication Date: 2025-06-13CHINA NAT PETROLEUM CORP +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311710781.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-13
Publication Date
2025-06-13
Estimated Expiration
2043-12-13

AI Technical Summary

Technical Problem

During the process of large-scale changes in operating conditions of petrochemical enterprises, the selection of transition points between operating variables is relatively blind, which makes it difficult to ensure operational safety and product quality, and the experience and technical requirements for operators are very high, making it difficult to promote and apply.

Method used

Through dynamic optimization methods, intermediate transition points are evenly divided, and the dynamic model of the production process is used to optimize the operating time of each intermediate transition point, ensuring that the intermediate transition points are evenly distributed within the reference node, thereby achieving process safety and quality control.

Benefits of technology

It improves the safety and economics of the production process, reduces the operational complexity and calculation costs, reduces the subjective influence of selecting intermediate transition points by relying on experience, and realizes the scientific and systematic process safety and quality control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120146543A_ABST
    Figure CN120146543A_ABST
Patent Text Reader

Abstract

The invention discloses an operation method and system for ensuring process safety and quality management and control of a petrochemical enterprise, and relates to the technical field of process safety and quality management and control of process changes of the petrochemical enterprise, and the method comprises the steps that an overall architecture comprises reference node division, operation time optimization and operation variable increment reconstruction. According to the method, the influence mechanism of the numerical value of the intermediate transition point and the operation time on the production process is comprehensively considered, the problems of safety, economy, optimality and the like of the production process in the large-range working condition change process of petrochemical enterprises are solved, and the aim of guiding operators to select the intermediate transition point through scientific means is achieved; technical support is provided for solving the operation problem in the working condition switching process of production devices of petrochemical enterprises.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of process safety and quality control for process changes in petrochemical enterprises, and particularly relates to an operation method and system for ensuring process safety and quality control in petrochemical enterprises. Background Art

[0002] After a century of development and evolution, the production processes in the oil refining and chemical industries have become mature. Under the dual background of current energy security and energy innovation, the future development direction of the chemical industry will be towards diversified raw materials, low-carbon technologies, and high-end products. Chemical production plants generally have long and complex processes, and production conditions include extreme conditions such as high temperature and high pressure, low temperature and negative pressure. Once the operation goes wrong, it will directly affect the entire production system, and further cause production and safety accidents. Therefore, there are high requirements for the reliability of the operation adjustment of production plants, and the research on their process safety and quality control is of great importance.

[0003] In petrochemical enterprises, considering economic benefits, a production plant may have multiple process flows. For example, changing product grades or adjusting loads will greatly change the process flow, and further cause large-scale changes in the system operating conditions. Chemical production is usually a multi-component continuous process. Any change in one condition will cause fluctuations in other variables, thus causing the system to deviate from the normal operating conditions, and further affecting operation safety and product quality. Therefore, it is necessary to timely adjust the operating variables of the production plant to ensure safe and stable production of the system throughout the operation cycle. How to safely and smoothly achieve large-scale operation adjustment of production plants is an urgent problem that enterprises need to solve.

[0004] In actual operation, the operators of petrochemical enterprise production plants often achieve large-scale changes in operating conditions by adjusting the controller set value multiple times. The large-scale change process of the operating conditions is artificially divided into several small-scale change processes, that is, some intermediate transition points are inserted to reduce the change range of the operating conditions in each section, and further reduce the fluctuations in the operation process to ensure production safety. At present, operators generally complete the selection and application of intermediate transition points based on experience, that is, they need to timely adjust the controller set value according to their own experience based on the measured values of relevant variables on site. However, this selection process is relatively blind and requires a lot of front-line production experience, with very high requirements for the experience and skills of operators, which is not conducive to popularization and application. Therefore, a novel, scientific and easy-to-use operation method is needed to adjust large-scale changes in operating conditions, and further provide technical support for the operation problems of petrochemical enterprises based on process safety and quality control. Summary of the Invention

[0005] The object of the present invention is to provide an operation method and system for ensuring the process safety and quality control of petrochemical enterprises, aiming to provide an operation method for ensuring the process safety and quality control of the production devices of petrochemical enterprises under the process condition switching, solve the problems such as relatively blind selection of the intermediate transition points of the operation variables of the devices under the large-scale change of process conditions, ensure the operation safety and production benefits through scientific methods; solve the problems such as high requirements for the experience and technology of operators for the selection of the intermediate transition points of the operation variables and difficult to promote and apply, adopt methods such as dynamic optimization, focus on carrying out the research on the technology of obtaining the optimization model under the actual application conditions, construct the solution strategy for the dynamic optimization problem of the process condition switching process, and provide technical support for solving the operation problems of the production devices of petrochemical enterprises during the process condition switching. To achieve the above object, the present invention provides the following technical solutions:

[0006] The present invention provides an operation method for ensuring the process safety and quality control of petrochemical enterprises, and the method includes the following steps:

[0007] Step S1: Evenly divide K intermediate transition points according to the change range of the operation variables from the current process condition to the target process condition and the overall adjustment time, and use them as the reference nodes for the subsequent optimization problems;

[0008] Step S2: Take the divided intermediate transition points as the initial values, use the operation values of the intermediate transition points as the standards, and optimize the dynamic model of the production process by using the dynamic optimization method to obtain the optimal operation time of each intermediate transition point;

[0009] Step S3: Judge whether the intermediate transition points obtained in the previous step evenly fall within each reference node according to the reference nodes divided in Step S1. If there are multiple intermediate transition points in one reference node or no intermediate transition point in a certain reference node, it is necessary to further optimize the optimal operation time of each intermediate transition point;

[0010] Step S4: If there is one intermediate transition point evenly distributed in each reference node, stop the optimization. This set of intermediate transition points is the optimal intermediate transition points, otherwise continue to repeat Step S3.

[0011] Further, the specific content of Step S1 includes:

[0012] Step S11: Determine the change range of the operation variables and the overall adjustment time according to the change situation from the current process condition to the target process condition;

[0013] Step S12: Evenly divide K intermediate transition points according to the principles of time network equilibrium division and equal growth of operation variables, and use them as the reference nodes for the subsequent optimization problems.

[0014] Further, the specific content of Step S2 includes:

[0015] Step S21: Establish a dynamic model of the production process; the expression of the dynamic model is as follows:

[0016]

[0017] In the formula, f[x(t), u(t), t] represents the state equation of the production process; represents the derivative of x(t); u(t) represents the manipulated variable, that is, the control variable; u(t 0 ) represents the manipulated variable under the current working condition; u(t f ) represents the manipulated variable under the target working condition; x(t) represents the state variable; x(t 0 ) represents the state variable under the current working condition; x(t f ) represents the state variable under the target working condition; the superscripts t 0 and t f respectively represent the steady-state values of the current working condition and the target working condition;

[0018] Step S22: Taking the initial intermediate transition points divided in Step S21 as the initial values and the operating values of the intermediate transition points as the criteria, optimize and calculate the operating time of each intermediate transition point:

[0019]

[0020] In the formula, J represents the performance index (also known as the objective function); represents the integral performance index; L is a continuously differentiable function of x(t) and t; the operating value of the intermediate transition point is the value of the manipulated variable u(t), and the operating time of the intermediate transition point is the time for which u(t) acts continuously, which can be detailed as:

[0021] u(t)=[u 1 (t) u 2 (t) … u l (t)... u M (t)] T ;

[0022]

[0023] In the formula, u l (t) represents the l-th manipulated variable, Tm represents the discrete period; nkTm represents the operating time of the k-th intermediate transition point node; t k-1 and t k represent the start and end times of the k-th intermediate transition point node; t N represents the end time of the adjustment process, that is, t f ;

[0024] Step S23: Search for in the interval [t 0 , tf The optimal operation time t of each intermediate transition point within k-1 and t k such that the state variable x(t) transitions from the initial state to the terminal state and the objective function J reaches an extreme value.

[0025] Furthermore, the specific steps of step S3 include:

[0026] Step S31: Using the initial intermediate transition points divided in step S12 as reference nodes, determine whether the optimized intermediate transition points obtained in the previous step are evenly distributed within each reference node;

[0027] Step S32: If the optimized intermediate transition points are not evenly distributed within each reference node, measures will be taken to re-divide the operation variable increment;

[0028] Step S33: Using the operation values re-adjusted in step S32 as the standard, continue to optimize and calculate the operation time of each intermediate transition point.

[0029] Furthermore, the specific steps of step S32 include:

[0030] Step S321: If there are multiple intermediate transition points within a certain reference node, it indicates that the operation within this section of the node is too frequent, and the increment of the operation variable needs to be merged;

[0031] Step S322: If there is no intermediate transition point within a certain reference node, it indicates that the increment of the operation variable is too large, and this increment needs to be re-divided.

[0032] Furthermore, the specific steps of step S4 include:

[0033] Step S41: The optimization termination condition is that there is exactly one intermediate transition point within each section of the node. If the termination condition is not met, continue to repeat step S3;

[0034] Step 42: If the termination condition is met, stop the optimization, and this set of intermediate transition points is the optimal intermediate transition points.

[0035] The present invention also provides an operating system for ensuring the process safety and quality control of petrochemical enterprises, and the system includes:

[0036] An intermediate transition point division module, which is used to evenly divide K intermediate transition points according to the change range of the operation variable from the current working condition to the target working condition and the overall adjustment time, as the reference nodes for subsequent optimization problems;

[0037] The optimal operation time acquisition module is used to take the divided intermediate transition points as the initial values, take the operation values of the intermediate transition points as the standards, and optimize the dynamic model of the production process by using the dynamic optimization method to obtain the optimal operation time of each intermediate transition point;

[0038] The optimal operation time optimization module is used to judge whether the intermediate transition points obtained in the previous step are evenly distributed within each reference node according to the reference nodes divided by the intermediate transition point division module. If there are multiple intermediate transition points within one reference node or no intermediate transition point within a certain reference node, then the optimal operation time of each intermediate transition point needs to be further optimized;

[0039] The optimal intermediate transition point judgment module is used to stop the optimization if there is one intermediate transition point evenly distributed within each reference node. This set of intermediate transition points is the optimal intermediate transition point, otherwise, the reference node judgment module is continued to be repeated.

[0040] The present invention also provides an electronic device, including:

[0041] One or more processors;

[0042] A storage device for storing one or more programs;

[0043] When the one or more programs are executed by the one or more processors, the one or more processors implement the operation method for ensuring the process safety and quality control of petrochemical enterprises as described above.

[0044] The present invention also provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the operation method for ensuring the process safety and quality control of petrochemical enterprises as described above when executed by a computer processor.

[0045] The technical effects and advantages of the present invention:

[0046] The present invention comprehensively considers the influence mechanism of the values and operation times of intermediate transition points on the production process, conducts research on the optimal intermediate transition points in the process of large-scale process changes, solves the problem of simultaneously achieving safety, economy and optimality in the process of large-scale working condition changes in petrochemical enterprises, and realizes the goal of guiding operators to select intermediate transition points by scientific means. All in all, compared with the prior art through the above technical solutions conceived by the present invention, the following beneficial effects can be obtained:

[0047] (1). The method for obtaining intermediate transition points in the process of large-scale working condition changes proposed by the present invention is based on the dynamic optimization method. By re-dividing the increments of operation variables, the optimal operation time of each intermediate transition point is obtained, avoiding production fluctuations caused by untimely or too frequent operations, and improving the safety of the production process;

[0048] (2) Under the premise of considering practical application problems such as calculation cost and operation complexity, the present invention proposes a simple method for obtaining the optimal intermediate transition point, which can provide an optimal solution for the site, reduce the subjective influence of the traditional method of selecting the intermediate transition point based on experience, and improve the economic benefits of the production process.

[0049] Other features and advantages of the present invention will be described in the following specification, and part of them will become obvious from the specification or be understood by implementing the present invention. The objectives and other advantages of the present invention can be achieved and obtained through the structures pointed out in the specification and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0051] Figure 1 It is a flowchart of an operation method for ensuring process safety and quality control in petrochemical enterprises according to the present invention;

[0052] Figure 2 It is a general flowchart of an operation method for process safety and quality control in the process of large-scale changes in petrochemical enterprises provided by an embodiment of the present invention;

[0053] Figure 3 It is a schematic diagram of the influence mechanism of the operation time of the intermediate transition point under low discrete precision in the production process of petrochemical enterprises on the control target provided by an embodiment of the present invention;

[0054] Figure 4 It is a schematic diagram of the influence mechanism of the operation time of the intermediate transition point under high discrete precision in the production process of petrochemical enterprises on the control target provided by an embodiment of the present invention;

[0055] Figure 5 It is a schematic diagram of an operating system for ensuring process safety and quality control in petrochemical enterprises according to the present invention;

[0056] Figure 6 It is a schematic diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0057] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0058] To solve the deficiencies of the prior art, the present invention discloses an operation method for ensuring process safety and quality control in petrochemical enterprises. Figure 1 As shown in the flowchart of an operation method for ensuring process safety and quality control in petrochemical enterprises according to an embodiment of the present invention, as Figure 1 shown, the method includes the following steps:

[0059] Step S1: According to the change range of the operation variable from the current working condition to the target working condition and the overall adjustment time, using the principles of time network equilibrium division and equal growth of operation variables, evenly divide K intermediate transition points as reference nodes for subsequent optimization problems.

[0060] Step S2: Taking the operation values of the intermediate transition points as the standard and the dynamic model of the production process as the object, optimize to obtain the operation time of each intermediate transition point.

[0061] Step S3: According to the reference nodes divided in Step S1, judge whether the intermediate transition points obtained in the previous step are evenly distributed within each reference node. If not, re-divide the increment of the operation variable according to certain principles, and then re-optimize the operation time of the intermediate transition points.

[0062] The optimization termination condition is that there is exactly one intermediate transition point within each segment of nodes. If the termination condition is not met, continue to repeat the optimization in Step S3; if the termination condition is met, stop the optimization, and this set of intermediate transition points is the optimal intermediate transition points.

[0063] Figure 2 As shown in the overall flowchart of an operation method for process safety and quality control in a large-scale process change of a petrochemical enterprise provided by an embodiment of the present invention, as Figure 2 shown, it includes the following steps:

[0064] Step S1: Evenly divide K intermediate transition points according to the change range of the operation variable from the current working condition to the target working condition and the overall adjustment time as reference nodes for subsequent optimization problems.

[0065] Step S11: Determine the change range (i.e., the steady-state increment) of the operation variable and the overall adjustment time according to the change situation from the current working condition to the target working condition.

[0066] In petrochemical enterprises, whether it is grade switching or load change, the process conditions are changed plannedly, which means that the system steady-state operating points before and after the working condition change are known. Therefore, the current and target stable working conditions can be obtained through steady-state optimization. In this way, the initial value, target value and change range of the operating variables can be determined.

[0067] Most chemical processes are non-linear processes with large time delays. Therefore, after adjusting the parameters, the device needs a certain dynamic response time to reach stability. This means that after the working condition changes, to ensure stable and safe production, the overall adjustment time of the operating variables must be greater than or equal to the dynamic response time of the device. Therefore, a step test can be performed on the device first to determine the dynamic response time, and then further determine the overall adjustment time of the operating variables.

[0068] Step S12: After determining the change range and overall adjustment time of the operating variables, based on comprehensively considering the size of the control variable increment and the length of the time grid, K intermediate transition points are evenly divided according to the principles of equal division of the time network and equal increase of the operating variables, as the reference nodes for the subsequent optimization problem.

[0069] Step S2: Using the divided intermediate transition points as the initial values and the operating values of the intermediate transition points as the standards, the dynamic model of the production process is optimized by using the dynamic optimization method to obtain the optimal operating time of each intermediate transition point.

[0070] Step S21: First, establish the dynamic model of the production process; the expression of the dynamic model is as follows:

[0071]

[0072] In the formula, f[x(t), u(t), t] represents the state equation of the production process; represents the derivative of x(t); u(t) represents the operating variable, that is, the control variable; u(t 0 ) represents the operating variable of the current working condition; u(t f ) represents the operating variable of the target working condition; x(t) represents the state variable; x(t 0 ) represents the state variable of the current working condition; x(t f ) represents the state variable of the target working condition; the superscripts t 0 and t f respectively represent the steady-state values of the current working condition and the target working condition;

[0073] Step S22: Using the initial intermediate transition points divided in Step S12 as the initial values and the operating values of the intermediate transition points as the standards, optimize and calculate the operating time of each intermediate transition point:

[0074]

[0075] In the formula, J represents the performance index (also known as the objective function); represents the integral performance index; L represents a continuously differentiable function of x(t) and t; the operating value at the intermediate transition point is the value of the operating variable u(t), and the operating time at the intermediate transition point is the time during which u(t) acts continuously, which can be specifically expressed as:

[0076] u(t) = [u 1 (t) u 2 (t)... u l (t)... u M (t)] T ; (3)

[0077]

[0078] In the formula, u l (t) represents the l-th operating variable, Tm represents the discrete period; nkTm represents the operating time of the k-th intermediate transition point node; t k-1 and t k represent the start and end times of the k-th intermediate transition point node; t N represents the end time of the adjustment process, that is, t f .

[0079] Step S23: Now, it is necessary to find the optimal operating times t 0 , t f for each intermediate transition point within the interval [t k-1 , t k such that the state variable x(t) transitions from the initial state to the terminal state and the objective function J reaches an extreme value.

[0080] Step S3: According to the reference nodes divided in Step 1, determine whether the intermediate transition points obtained in the previous step are evenly distributed within each reference node. If there are multiple intermediate transition points within one reference node or no intermediate transition points within a certain reference node, then it is necessary to further optimize the optimal operating times of each intermediate transition point.

[0081] Step S31: Using the initial intermediate transition points divided in Step S12 as reference nodes, determine whether the optimized intermediate transition points obtained in the previous step are evenly distributed within each reference node.

[0082] When the operation time of a certain intermediate transition point is very long, that is, the operation time of this intermediate transition point spans several reference nodes, the fluctuation of the controlled variable during the action time of this intermediate transition point is usually very large. On the contrary, when the operation time of the intermediate transition point is very short, the fluctuation of the corresponding controlled variable is very small. This shows that the rationality of the division of the current operation variable increment can be evaluated according to the operation time lengths of adjacent intermediate transition points. The present invention selects the operation time of the initial intermediate transition point divided in step S12 as the reference node.

[0083] Step S32: If the optimized intermediate transition points do not evenly fall within each reference node, the following measures will be taken:

[0084] Step S321: If there are multiple intermediate transition points within a certain reference node, it indicates that the operation within this section of the node is too frequent, and the increment of the operation variable needs to be merged.

[0085] Step S322: If there is no intermediate transition point within a certain reference node, it indicates that the increment of the operation variable is too large, and the increment needs to be re-divided.

[0086] To illustrate the rationality of this evaluation method, it is necessary to discuss the influence mechanism of the operation time of the intermediate transition point on the control target. The schematic diagram is as Figure 3 and Figure 4 , where Figure 3 represents the intermediate transition point under low discretization accuracy, and Figure 4 represents the intermediate transition point under high discretization accuracy. From Figure 3 and Figure 4 , it can be seen that the operation variable trajectory u * is the optimal trajectory under ideal conditions. For the convenience of operation by the operator, the optimal operation variable trajectory is discretized into a control parameter sequence When the discretization accuracy is higher, the control parameter sequence can better approximate the ideal operation variable trajectory. Figure 3 and Figure 4 The shaded areas in can represent the optimization error caused by discretization. Within the operation variable range of 0 to e, if it is divided into two increments, the discretization error will be reduced. Note that the total operation time within 0 to e remains unchanged, that is, the average growth rate of the operation variable does not change. Re-dividing the operation variable increment by the operation time is not to reduce the increment change speed, but to improve the discretization accuracy, subdivide the intermediate transition points with low accuracy (long operation time), and merge the intermediate transition points with too high accuracy (short operation time).

[0087] Regarding the issue of how to re-divide the operation variable increment, the present invention proposes the following measures: for the case where there is no intermediate transition point within a certain reference node, that is, when an intermediate transition point spans h reference nodes, it will be evenly divided into h intermediate transition points on the parameter axis; for the case where there are multiple intermediate transition points within a certain reference node, that is, g intermediate transition points are distributed within one reference node, these g intermediate transition points will be merged into one intermediate transition point.

[0088] Step S33: Taking the operation value re-adjusted in step S32 as the standard, continue to optimize and calculate the operation time of each intermediate transition point.

[0089] Step S4: If there is one intermediate transition point evenly distributed within each reference node, stop the optimization. This set of intermediate transition points is the optimal intermediate transition point; otherwise, continue to repeat step S3.

[0090] Step S41: The optimization termination condition is that there is exactly one intermediate transition point within each segment of nodes. If the termination condition is not met, continue to repeat step S3;

[0091] Step S42: If the termination condition is met, stop the optimization. This set of intermediate transition points is the optimal intermediate transition point.

[0092] This re-division of the operation variable increment cannot guarantee that the control parameter sequence obtained by re-optimization calculation meets the termination condition at one time. Therefore, it may be necessary to perform multiple rotation solutions until the termination requirement is met.

[0093] Based on the same principle of the present invention, the present invention also provides an operating system for ensuring the process safety and quality control of petrochemical enterprises. Figure 5 For a schematic diagram of an operating system for ensuring the process safety and quality control of petrochemical enterprises according to the present invention, as Figure 5As shown in the figure, the system includes: an intermediate transition point division module 201, which is used to evenly divide K intermediate transition points according to the change range of the operating variable from the current working condition to the target working condition and the overall adjustment time, and use them as reference nodes for subsequent optimization problems; an optimal operation time acquisition module 202, which is used to take the divided intermediate transition points as initial values and the operation values of the intermediate transition points as standards, and use the dynamic optimization method to optimize the dynamic model of the production process to obtain the optimal operation time of each intermediate transition point; an optimal operation time optimization module 203, which is used to judge whether the intermediate transition points obtained in the previous step are evenly distributed within each reference node according to the reference nodes divided by the intermediate transition point division module. If there are multiple intermediate transition points within one reference node or no intermediate transition point within a certain reference node, the optimal operation time of each intermediate transition point needs to be further optimized; an optimal intermediate transition point judgment module 204, which is used to stop the optimization if there is an intermediate transition point evenly distributed within each reference node. This set of intermediate transition points is the optimal intermediate transition point, otherwise, the reference node judgment module is continued to be repeated.

[0094] Based on the same inventive concept, the present invention also provides an electronic device. Figure 6 As shown in the figure, it is a schematic diagram of an electronic device provided by the present invention. Figure 6 As shown in the figure, the electronic device includes at least one processor 301, at least one communication interface 302, at least one memory 303 and at least one communication bus 304; wherein, the processor 301, the communication interface 302 and the memory 303 complete mutual communication through the communication bus 304;

[0095] The memory 303 stores a computer program.

[0096] The processor 301 is used to implement the operation method for ensuring the process safety and quality control of petrochemical enterprises when executing the program stored in the memory 303.

[0097] Optionally, the communication interface can be the interface of a communication module, such as the interface of a GSM module; the processor may be a processor CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention. The memory may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory. Among them, the memory stores a program, and the processor calls the program stored in the memory to execute the above-mentioned partial or all method embodiments.

[0098] Based on the same inventive concept, the present invention also provides a computer-readable storage medium storing a computer program, which when run, implements some or all of the above method embodiments. Optionally, the storage medium may be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0099] Finally, it should be noted that the above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements for some of the technical features. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An operation method for ensuring process safety and quality control in petrochemical enterprises, Characterized in that, The method includes the following steps: Step S1: Evenly divide K intermediate transition points according to the change range of operation variables from the current working condition to the target working condition and the overall adjustment time, and use them as reference nodes for subsequent optimization problems; Step S2: Taking the divided intermediate transition points as initial values and the operation values of the intermediate transition points as standards, use the dynamic optimization method to optimize the dynamic model of the production process to obtain the optimal operation time for each intermediate transition point; Step S3: Judge whether the intermediate transition points obtained in the previous step evenly fall within each reference node according to the reference nodes divided in Step S1. If there are multiple intermediate transition points within one reference node or no intermediate transition point within a certain reference node, then it is necessary to further optimize the optimal operation time of each intermediate transition point; Step S4: If one intermediate transition point is evenly distributed within each reference node, stop the optimization. This set of intermediate transition points is the optimal intermediate transition points. Otherwise, continue to repeat Step S3.

2. An operation method for ensuring process safety and quality control in petrochemical enterprises according to Claim 1, Characterized in that, The specific content of Step S1 includes: Step S11: Determine the change range of operation variables and the overall adjustment time according to the change situation from the current working condition to the target working condition; Step S12: Evenly divide K intermediate transition points according to the principles of time network equilibrium division and equal increment of operation variables, and use them as reference nodes for subsequent optimization problems.

3. An operation method for ensuring process safety and quality control in petrochemical enterprises according to Claim 1 or 2, Characterized in that, The specific content of Step S2 includes: Step S21: Establish a dynamic model of the production process; the expression of the dynamic model is as follows: In the formula, f[x(t), u(t), t] represents the state equation of the production process; represents the derivative of x(t); u(t) represents the manipulated variable, that is, the control variable; u(t 0 ) represents the manipulated variable under the current operating condition; u(t f ) represents the manipulated variable under the target operating condition; x(t) represents the state variable; x(t 0 ) represents the state variable under the current operating condition; x(t f ) represents the state variable under the target operating condition; the superscripts t 0 and t f represent the steady-state values of the current operating condition and the target operating condition, respectively; Step S22: Taking the initial intermediate transition points divided in Step S21 as initial values and the operation values of the intermediate transition points as standards, optimize and calculate the operation time of each intermediate transition point: In the formula, J represents the performance index (also known as the objective function); represents the integral performance index; L is a continuously differentiable function of x(t) and t; the operating value at the intermediate transition point is the value of the operating variable u(t), and the operating time at the intermediate transition point is the duration of the continuous action of u(t), which can be specifically expressed as: u(t) = [u 1 (t) u 2 (t) ... u l (t) ... u M (t)] T ; where u l (t) represents the l-th manipulated variable, and T m represents the discrete period; n k T m represents the operating time of the k-th intermediate transition point node; t k-1 and t k represent the start and end times of the k-th intermediate transition point node; t N represents the end time of the adjustment process, i.e., t f ; Step S23: Find the optimal operation times \(t_{ k-1}\) and \(t_{ k}\) for each intermediate transition point within the interval \([t_{ 0}, t_{ f}]\), such that the state variable \(x(t)\) transitions from the initial state \(x_{ }\) to the terminal state \(x_{ }\) and the objective function \(J\) reaches an extreme value.​​​​​​​​​​​​ 4. An operation method for ensuring process safety and quality control in petrochemical enterprises according to Claim 2, Characterized in that, The specific content of Step S3 includes: Step S31: Taking the initial intermediate transition points divided in Step S12 as reference nodes, judge whether the optimized intermediate transition points obtained in the previous step evenly fall within each reference node; Step S32: If the optimized intermediate transition points do not evenly fall within each reference node, then measures will be taken to re-divide the operation variable increment; Step S33: Taking the operation values re-adjusted in Step S32 as standards, continue to optimize and calculate the operation time of each intermediate transition point.

5. An operation method for ensuring process safety and quality control in petrochemical enterprises according to Claim 4, Characterized in that, The specific content of Step S32 includes: Step S321: If there are multiple intermediate transition points within a certain reference node, it means that the operation within this section of nodes is too frequent, then it is necessary to merge the increment of the operation variable; Step S322: If there is a situation where there is no intermediate transition point in a certain reference node, it indicates that the increment of the operating variable is too large, and then this increment needs to be re-divided.

6. An operating method for ensuring process safety and quality control in petrochemical enterprises according to claim 1, wherein, the specific steps of step S4 include: Step S41: The optimization termination condition is that there is exactly one intermediate transition point in each segment of nodes. If the termination condition is not met, then step S3 is continued to be repeated; Step 42: If the termination condition is met, the optimization is stopped, and this set of intermediate transition points is the optimal intermediate transition point.

7. An operating system for ensuring process safety and quality control in petrochemical enterprises, wherein, the system includes: An intermediate transition point division module, configured to evenly divide K intermediate transition points according to the change range of the operating variable from the current working condition to the target working condition and the overall adjustment time, and use them as reference nodes for subsequent optimization problems; An optimal operating time acquisition module, configured to use the divided intermediate transition points as initial values and the operating values of the intermediate transition points as standards, and optimize the dynamic model of the production process by using a dynamic optimization method to obtain the optimal operating time of each intermediate transition point; An optimal operating time optimization module, configured to determine whether the intermediate transition points obtained in the previous step are evenly distributed within each reference node according to the reference nodes divided by the intermediate transition point division module. If there are multiple intermediate transition points in one reference node or no intermediate transition point in a certain reference node, then the optimal operating time of each intermediate transition point needs to be further optimized; An optimal intermediate transition point judgment module, configured to stop the optimization if there is one intermediate transition point evenly distributed in each reference node, and this set of intermediate transition points is the optimal intermediate transition point, otherwise the reference node judgment module is continued to be repeated.

8. An electronic device, wherein, it includes: One or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the operating method for ensuring process safety and quality control in petrochemical enterprises according to any one of claims 1-6.

9. A storage medium containing computer-executable instructions, wherein, the computer-executable instructions are used to execute the operating method for ensuring process safety and quality control in petrochemical enterprises according to any one of claims 1-6 when executed by a computer processor.

Citation Information

Patent Citations

  • Track optimization method for switching cannular polypropylene production marks

    CN103116274A

  • Transition condition fault detection method for multi-condition industrial process

    CN110543153A

  • Intelligent safety guarantee real-time optimization method and system for petrochemical device

    CN111949700A

  • Comprehensive energy system optimal scheduling method and system based on dynamic modeling

    CN117117845A

  • Method and device for process controlling

    JP2001242905A