Method and device for measuring cracking generation composition of coal naphtha and computer equipment

By establishing a mechanism model and using this model to predict the composition of cracked gas, the problem of high cost and limitations of obtaining cracked gas in the prior art is solved, efficient and accurate measurement is achieved, and measurement costs are reduced.

CN119446321APending Publication Date: 2025-02-14CHINA ENERGY GRP NINGXIA COAL IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411544601.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the prior art, the method of obtaining the composition of cracked gas is expensive and has limitations, especially the deployment cost of the online analyzer is high, the maintenance is complicated, and the sampling tube is easily blocked when dealing with impurities such as coke.

Method used

By obtaining the process data of the cracking device, a mechanism model is established, and the model is used to predict the cracking gas composition based on the cracking gas composition prediction equation, iterates until the model converges to obtain the predicted value.

Benefits of technology

It realizes the avoidance of deploying equipment to obtain cracked raw material data, reduces measurement costs, solves the problems of high cost and complex maintenance of online analyzers, and improves the real-time and accuracy of measurements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119446321A_ABST
    Figure CN119446321A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for measuring coal naphtha cracking generation composition and computer equipment. The method comprises the steps that process data of a cracking device are obtained, the process data at least comprise the process flow, equipment information, historical operation data and an instrument control scheme, and the cracking device is used for cracking coal to prepare naphtha; a mechanism model is established according to the process data, the mechanism model is adopted to predict the pyrolysis gas composition according to the pyrolysis gas composition prediction equation, an initial prediction value of the pyrolysis gas composition is obtained, and the mechanism model input into the mechanism model is used for simulating the pyrolysis process of the coal naphtha; and iterating the initial predicted value by adopting a mechanism model until the model converges to obtain a predicted value of the cracking gas composition. The technical problem that the measurement cost is too high due to dependence on cracking raw material data in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of petrochemical technology, and in particular to a method, device and computer equipment for measuring the composition of coal-to-naphtha cracking products. Background Art

[0002] In the field of petrochemicals, especially in ethylene cracking units, raw material processing is a key link in the production process. Such units usually use naphtha, liquefied petroleum gas (LPG), coal-to-naphtha and LPG as raw materials, and generate cracking gas including ethylene and propylene through cracking reactions. The cracking gas is then sent to downstream units for further reaction, separation and purification, and finally produces ethylene and propylene as the main products, as well as by-products such as cracking gasoline, mixed C4, and mixed C5. The diversity of raw materials, especially naphtha and LPG from crude oil atmospheric and vacuum distillation, petroleum hydrocracking, natural gas light hydrocarbon recovery, and coal-to-liquid units, leads to large fluctuations in the composition of raw materials, which in turn affects the overall optimal operating conditions of the cracking unit. At present, there are two common methods for obtaining the composition of cracking gas: laboratory chromatographic analysis and online analyzer analysis. Laboratory chromatographic analysis requires manual sampling and sending it to the laboratory, which is not only time-consuming and labor-intensive, but also requires pre-cooling of the sample due to the temperature limit of the sampling point, which may cause condensation of heavy components such as C5 and C6, affecting the accuracy of the analysis results. Although the online analyzer has good real-time performance, its deployment cost is high and maintenance is complex. When dealing with impurities such as coke produced by the cracking reaction, the sampling tube is prone to clogging. In addition, the analyzer has limited analytical capabilities for components above C4, which makes this method limited in practical application. Summary of the invention

[0003] The embodiments of the present application provide a method, device and computer equipment for measuring the composition of coal-to-naphtha cracking products, so as to at least solve the technical problem in the related art that the measurement cost is too high due to reliance on cracking raw material data.

[0004] According to one aspect of an embodiment of the present application, a method for measuring the composition of coal-to-naphtha cracking is provided, comprising: obtaining process data of a cracking device, the process data comprising at least a process flow, equipment information, historical operation data and an instrument control scheme, the cracking device being used to crack the coal-to-naphtha; establishing a mechanism model according to the process data, and using the mechanism model to predict the composition of the cracking gas according to a cracking gas composition prediction equation to obtain an initial prediction value of the cracking gas composition, and inputting the mechanism model into the mechanism model to simulate the cracking process of the coal-to-naphtha; and using the mechanism model to iterate the initial prediction value until the model converges to obtain a prediction value of the cracking gas composition.

[0005] Optionally, the mechanism model is used to predict the composition of the cracked gas according to the cracked gas composition prediction equation, including: obtaining the types of components contained in the cracked gas generated by cracking the coal-to-naphtha; constructing the cracked gas composition prediction equation according to the types of components contained in the cracked gas and the principle of material conservation; and using the mechanism model to predict the composition of the cracked gas according to the cracked gas composition prediction equation to obtain an initial predicted value of the cracked gas composition.

[0006] Optionally, the method further includes: obtaining variables to be adjusted of the cracking device, the variables to be adjusted including: at least one of the following: outlet pressure of the cracking gas compressor, sensitive plate temperature of the high-pressure depropanizer, inlet temperature of the C2 hydrogenation reactor, sensitive plate temperature of the ethylene tower, sensitive plate temperature of the propylene tower, inlet temperature of the C3 hydrogenation reactor, sensitive plate temperature of the demethanizer and sensitive plate temperature of the deethanizer; obtaining an objective function, and adjusting the variables to be adjusted according to the objective function until the diene yield in the cracking gas is the highest.

[0007] Optionally, obtaining the objective function includes: obtaining processing parameters of the cracking device, the processing parameters including at least: propylene output, liquid phase propylene output, gas phase propylene output, liquid phase propylene input, unqualified propylene input, unqualified ethylene input, unqualified propylene output, unqualified ethylene output, ethylene-rich content and the total amount of coal-to-naphtha processed by the cracking device; constructing the objective function according to the processing parameters.

[0008] Optionally, adjusting the variable to be adjusted according to the objective function includes: obtaining constraints of the variable to be adjusted, the constraints being used to characterize an upper adjustment limit and a lower adjustment limit of the variable to be adjusted; performing a steady-state detection on the cracking device, and adjusting the cracking device when the cracking device is in a steady state and satisfies the constraints.

[0009] Optionally, a steady-state detection is performed on the cracking device, including: obtaining an instrument position number used to characterize the state of the cracking device, and obtaining a label variable corresponding to the instrument position number; respectively obtaining a high filter value and a low filter value of the label variable within a preset time period; and determining that the cracking device is in a steady state when the sum of the mean square deviation of the high filter value and the low filter value is less than a first preset threshold value.

[0010] Optionally, adjusting the cracking device includes: obtaining an adjustment target value for adjusting a controller of the cracking device, and determining a current value of the controller as an adjustment initial value; and gradually adjusting the adjustment initial value of the controller to the adjustment target value according to a preset step size.

[0011] According to another aspect of an embodiment of the present application, a device for measuring the composition produced by cracking coal-to-naphtha is also provided, including: an acquisition module, used to acquire process data of a cracking device, the process data including at least process flow, equipment information, historical operation data and instrument control scheme, the cracking device being used to crack the coal-to-naphtha; an establishment module, used to establish a mechanism model according to the process data, and use the mechanism model to predict the composition of the cracking gas according to a cracking gas composition prediction equation to obtain an initial prediction value of the cracking gas composition, and the mechanism model input into the mechanism model is used to simulate the cracking process of the coal-to-naphtha; an iteration module, used to use the mechanism model to iterate the initial prediction value until the model converges to obtain a prediction value of the cracking gas composition.

[0012] According to another aspect of the embodiment of the present application, a computer device is also provided, including: a memory and a processor, wherein the memory is used to store program instructions; the processor is connected to the memory and is used to execute the above-mentioned method for measuring the composition produced by cracking of coal-to-naphtha.

[0013] According to another aspect of the embodiment of the present application, a non-volatile storage medium is also provided, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned method for measuring the composition produced by cracking of coal-to-naphtha by running the computer program.

[0014] According to another aspect of the embodiments of the present application, a computer program product is also provided, including computer instructions, which, when executed by a processor, implement the above-mentioned method for measuring the composition produced by cracking of coal-to-naphtha.

[0015] In an embodiment of the present application, by obtaining process data of a cracking device, the process data at least includes process flow, equipment information, historical operation data and instrument control scheme, and the cracking device is used to crack the coal-to-naphtha; a mechanism model is established according to the process data, and the mechanism model is used to predict the composition of the cracking gas according to the cracking gas composition prediction equation to obtain an initial prediction value of the cracking gas composition, and the mechanism model input into the mechanism model is used to simulate the cracking process of the coal-to-naphtha; the initial prediction value is iterated using the mechanism model until the model converges to obtain a prediction value of the cracking gas composition, thereby achieving the purpose of analyzing the composition of the cracking gas using the mechanism model, thereby achieving the technical effect of avoiding the deployment of equipment to obtain cracking raw material data, and further solving the technical problem of excessively high measurement costs due to reliance on cracking raw material data in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 It is a hardware structure block diagram of a computer terminal for implementing a method for measuring the composition of coal-to-naphtha cracking according to an embodiment of the present application;

[0018] Figure 2 It is a flow chart of a method for measuring the composition produced by cracking of coal-to-naphtha according to an embodiment of the present application;

[0019] Figure 3 is a schematic diagram of a cracking device according to an embodiment of the present application;

[0020] Figure 4 This is a structural diagram of a device for measuring the composition produced by cracking coal-to-naphtha according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] In order to solve the problems existing in the related art, the present application embodiment provides a method for measuring the composition of coal-to-naphtha cracking product. The method can be operated on Figure 1 In the computer terminal shown, the computer terminal is explained below.

[0024] The embodiment of the method for measuring the composition of coal-to-naphtha cracking product provided in the embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal for realizing a method for measuring the composition of coal-to-naphtha cracking is shown. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions connected via a wired and / or wireless network. In addition, it may also include: a display, a keyboard, a cursor control device, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, and a BUS bus. Those skilled in the art can understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0025] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0026] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for measuring the composition of coal-to-naphtha cracking in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the above-mentioned method for measuring the composition of coal-to-naphtha cracking is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0027] The transmission module 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission module 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0028] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .

[0029] It should be noted that, in some optional embodiments, the above Figure 1 The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.

[0030] Under the above-mentioned operating environment, an embodiment of the present application provides an embodiment of a method for measuring the composition produced by cracking coal-to-naphtha. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0031] Figure 2 is a flow chart of a method for measuring the composition of coal-to-naphtha cracking according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:

[0032] Step S202, obtaining process data of a cracking device, wherein the process data at least includes process flow, equipment information, historical operation data and instrument control scheme, and the cracking device is used to crack the coal-to-naphtha;

[0033] Step S204, establishing a mechanism model according to the process data, and using the mechanism model to predict the composition of the cracked gas according to the cracked gas composition prediction equation to obtain an initial predicted value of the cracked gas composition, and inputting the mechanism model into the mechanism model to simulate the cracking process of the coal-to-naphtha;

[0034] In step S204, the simulation process can use streams and towers, reactors, heat exchangers, flash tanks, compressors and other modules to simulate the process flow. The C2 and C3 hydrogenation reactions in the process flow are simulated using a strict kinetic model in the model; based on equipment information, the basic conditions of each module are specified in the model, such as the number of tower plates, the size of the reactor, the heat exchange area of ​​the heat exchanger, etc.; based on historical operating data, the operating conditions of each module are specified in the model, such as the outlet temperature of the heat exchanger, the condenser pressure of the tower, the outlet pressure of the compressor, etc.; based on the instrument control scheme, a mapping relationship between the model variables and the actual device instrument bit number is established in the model, such as the cracking gas compression zone XXXXIXXXX bit number monitors the outlet temperature of the XX heat exchanger, and then a mapping relationship is established with the XX heat exchanger outlet temperature variable in the model. The calculation method of the model adopts the simultaneous equation method (EO, Equation Oriented).

[0035] It should be noted that in the fields of petrochemicals and chemical engineering, "C2" and "C3" usually refer to compounds with 2 and 3 carbon atoms in hydrocarbons, such as ethylene (Ethylene, C2H4) and propylene (Propylene, C3H6).

[0036] After building the whole process mechanism model of the downstream of the cracking furnace, the parameters of the mechanism model need to be calibrated. The specific calibration steps are as follows: In the process of building the mechanism model, the basic conditions and operating conditions of each module in the model are constrained, but some parameters such as the plate efficiency of the tower, the heat transfer coefficient of the heat exchanger, the reaction kinetic parameters of the hydrogenation reactor, the thermal efficiency of the compressor, etc. need to be calibrated using the factory data in the actual application scenario, otherwise the model will set these parameters to the default values ​​or calculate according to the literature values ​​that are considered to be input, thereby causing certain deviations. Take the heat transfer coefficient of a heat exchanger in this embodiment as an example to show how to calibrate the model parameters. Through the mapping of the variables in the mechanism model and the actual device instrument bit number, the inlet and outlet temperatures of the cold and hot sides of the XX heat exchanger are transferred into the model, and then the heat transfer coefficient attribute of the XX heat exchanger is set to the parameter value, and the inlet and outlet temperature attributes of the cold and hot sides of the XX heat exchanger are set to the monitoring value. Select the calibration mode to run, and the mechanism model will calculate the heat transfer coefficient of the XX heat exchanger, thereby achieving the purpose of calibrating the heat transfer coefficient of the XX heat exchanger.

[0037] Step S206, using the mechanism model to iterate the initial prediction value until the model converges, to obtain the prediction value of the cracking gas composition.

[0038] Through the above steps S202 to S206, by obtaining the process data of the cracking device, the process data at least includes process flow, equipment information, historical operation data and instrument control scheme, the cracking device is used to crack the coal-to-naphtha; a mechanism model is established according to the process data, and the mechanism model is used to predict the cracking gas composition according to the cracking gas composition prediction equation to obtain the initial prediction value of the cracking gas composition, and the mechanism model input is used to simulate the cracking process of the coal-to-naphtha; the mechanism model is used to iterate the initial prediction value until the model converges to obtain the prediction value of the cracking gas composition, so as to achieve the purpose of using the mechanism model to analyze the composition of the cracking gas, thereby achieving the technical effect of avoiding the deployment of equipment to obtain cracking raw material data, and then solving the technical problem of excessively high measurement costs due to reliance on cracking raw material data in related technologies. The following is a detailed description.

[0039] In step S204, the specific steps of using the mechanism model to predict the composition of the cracking gas according to the cracking gas composition prediction equation include: obtaining the types of components contained in the cracking gas generated by cracking the coal-to-naphtha; constructing the cracking gas composition prediction equation according to the types of components contained in the cracking gas and the principle of material conservation; using the mechanism model to predict the composition of the cracking gas according to the cracking gas composition prediction equation to obtain an initial predicted value of the cracking gas composition.

[0040] In actual application scenarios, cracking gas contains multiple components. For example, the cracking gas contains only ethylene and propylene, and only ethylene products and propylene products are exported. The cracking gas flow, ethylene content, and propylene content are F1, C1 (C2H4), and C1 (C3H6), respectively. The ethylene product flow, ethylene content, and propylene content are F2, C2 (C2H4), and C2 (C3H6), respectively. The propylene product flow, ethylene content, and propylene content are F3, C3 (C2H4), and C3 (C3H6), respectively. The cracking gas composition prediction equation is as follows:

[0041]

[0042] F1=F2+F3.

[0043] In the actual application scenario, the process of predicting the composition of cracked gas is as follows: the cracking device has at least three instruments, namely F2, F3 and one of the data of C2 (C2H4), C2 (C3H6), C3 (C2H4), and C3 (C3H6). Taking the three data of F2, F3 and C2 (C2H4) as an example, the three data of F2, F3, and C2 (C2H4) are passed into the model as input values ​​through mapping and attribute change, and the cracked gas composition prediction equation is integrated into the model. The model can calculate the results of the remaining data in the figure, but the cracked gas composition data is not necessarily correct, and the correct cracked gas composition data needs to be found through iteration. The above equation integration, iterative calculation and other operations all need to be integrated with the model through scripting. The actual device contains more components, discharging materials and reactions, and the cracked gas composition prediction equation becomes more complicated and needs to be adjusted accordingly. In this embodiment, the soft measurement of cracked gas composition takes into account key components such as hydrogen, methane, C2, C3, C4, C5, and C6.

[0044] Taking the input values ​​of the mechanism model as F2, F3, and C2 (C2H4) as an example, the specific iteration method is as follows: input F2, F3, C2 (C2H4) + C3 (C2H4) stored in the last convergence → calculate F1, C1 (C2H4) and C2 (C3H6) → calculate C1 (C3H6) → calculate C3 (C3H6) → calculate C3 (C2H4) → calculate C1 (C2H4), take C1 (C2H4) as the convergence criterion, compare the calculated cracking gas composition data with the cracking gas composition data stored in the model, if the difference between the two is not large, the cracking gas data calculated in this round of iteration can be considered as the prediction result, if the difference is large, it is necessary to repeat the above steps and use the calculated cracking gas data as the model input for calculation until the difference between the cracking gas data calculated in the new round and the cracking gas data calculated in the previous round is within the tolerance, then the cracking gas data calculated in the new round is the prediction value.

[0045] In some embodiments of the present application, after completing the prediction of the cracking gas composition, the cracking device can also be adjusted according to the prediction of the cracking gas composition, as follows: obtaining the variables to be adjusted of the cracking device, the variables to be adjusted include: at least one of the following: cracking gas compressor outlet pressure, high-pressure depropanizer sensitive plate temperature, C2 hydrogenation reactor inlet temperature, ethylene tower sensitive plate temperature, propylene tower sensitive plate temperature, C3 hydrogenation reactor inlet temperature, demethanizer sensitive plate temperature and deethanizer sensitive plate temperature; obtaining the objective function, and adjusting the variables to be adjusted according to the objective function until the diene yield in the cracking gas is the highest.

[0046] It should be noted that the variable to be adjusted may be a variable of a downstream operating unit of a cracking device (cracking furnace).

[0047] The process of determining the objective function is as follows: obtaining the processing parameters of the cracking device, the processing parameters at least including: propylene output, liquid phase propylene output, gas phase propylene output, liquid phase propylene input, unqualified propylene input, unqualified ethylene input, unqualified propylene output, unqualified ethylene output, rich ethylene content and the total amount of coal-to-naphtha processed by the cracking device; constructing the objective function according to the processing parameters.

[0048] Taking dienes including ethylene and propylene as an example, diene yield = (propylene output + liquid or gas phase propylene output - liquid phase propylene input - unqualified propylene or ethylene input + unqualified propylene or ethylene output - ethylene-rich content) divided by the total amount of coal-to-naphtha processed by the cracking unit.

[0049] In some embodiments of the present application, the specific process of adjusting the variable to be adjusted according to the objective function is as follows: obtaining the constraint conditions of the variable to be adjusted, the constraint conditions are used to characterize the upper adjustment limit and the lower adjustment limit of the variable to be adjusted; performing a steady-state detection on the cracking device, and adjusting the cracking device when the cracking device is in a steady state and satisfies the constraint conditions.

[0050] In an optional manner, a steady-state detection is performed on the cracking device, including: obtaining an instrument position number used to characterize the state of the cracking device, and obtaining a label variable corresponding to the instrument position number; respectively obtaining a high filter value and a low filter value of the label variable within a preset time period; and determining that the cracking device is in a steady state when the sum of the mean square deviation of the high filter value and the low filter value is less than a first preset threshold.

[0051] For example, the high filter value and low filter value of the device tag variable in each process are determined according to the following formula:

[0052] (X L ) t =f L ·X t +(1-f L )·(X L ) t-1 ;

[0053] (X H ) t =f H ·X t +(1-f H )·(X H ) t-1 ;

[0054] In the formula, (X L ) t 、(X H )t They represent the low and high filtered values ​​of the label variables of the cracking device at the previous moment, respectively. L ) t-1 、(X H ) t-1 They represent the low and high filtered values ​​of the label variable of the cracking device at the previous moment, respectively, L 、f H Respectively represent the low filter coefficient and the high filter coefficient, for example: 0.2, 0.8, X t Represents the original data of the label variable, and t represents the time.

[0055] The sum of the mean square error of the high filter value and the low filter value within the preset time period is determined according to the following formula:

[0056] ∑ t ((X L ) t -(X H ) t ) 2 <ε1;

[0057] Wherein, ε1 represents the first preset threshold.

[0058] It can also be determined whether the sum of the mean square error of the high filter value at the initial moment in the preset time period and the high filter value at the final moment in the preset time period is less than a second preset threshold, as shown in the following formula:

[0059] ∑ t ((X H , New ) t -(X H , Old ) t ) 2 <ε2;

[0060] X H , New Indicates the high filter value at the final moment, X H , Old represents the high filter value at the initial moment, and ε2 represents the second preset threshold.

[0061] In another embodiment, the cracking device can be determined to have reached a steady state when the sum of the mean square deviations of the high filter value and the low filter value within a preset time period is less than a first preset threshold and the sum of the mean square deviations of the high filter value at the initial moment of the preset time period and the high filter value at the final moment of the preset time period is less than a second preset threshold.

[0062] In some embodiments of the present application, adjusting the cracking device includes: obtaining an adjustment target value for adjusting a controller of the cracking device, and determining a current value of the controller as an adjustment initial value; and gradually adjusting the adjustment initial value of the controller to the adjustment target value according to a preset step size.

[0063] The specific execution process is as follows: In order to reduce the impact of the adjustment results on the cracking unit fluctuations when they are sent to the controller, after the mechanism model completes the adjustment calculation, the corresponding results need to be slowly executed to the controller, so it is necessary to use the means of ramp execution. When the mechanism model calculation is completed, write down the controller setting value once every minute starting from the start value (increase one incremental movement every minute) until the execution target value is reached (the execution target value takes into account the limit constraints). The start value is the starting point for the ramp execution, and the start value = the current value of the factory controller before optimization.

[0064] Figure 3 A schematic diagram of a cracking device is shown, such as Figure 3 As shown, the cracked gas is input into a cracking device (a downstream operation unit of the cracking furnace) to generate ethylene products and propylene products.

[0065] Figure 4 is a structural diagram of a measuring device for the composition of coal-to-naphtha cracking according to an embodiment of the present application, such as Figure 4 As shown, the device comprises:

[0066] An acquisition module 40, for acquiring process data of a cracking device, the process data including at least a process flow, equipment information, historical operation data and an instrument control scheme, the cracking device being used to crack the coal-to-naphtha;

[0067] Establishing module 42, used to establish a mechanism model according to the process data, and use the mechanism model to predict the composition of the cracked gas according to the cracked gas composition prediction equation to obtain an initial prediction value of the cracked gas composition, and the mechanism model input into the mechanism model is used to simulate the cracking process of the coal-to-naphtha;

[0068] The iteration module 44 is used to iterate the initial prediction value using the mechanism model until the model converges to obtain the prediction value of the cracking gas composition.

[0069] By using the above-mentioned coal-to-naphtha cracking composition measuring device, by obtaining the process data of the cracking device, the process data at least includes process flow, equipment information, historical operation data and instrument control scheme, the cracking device is used to crack the coal-to-naphtha; a mechanism model is established according to the process data, and the mechanism model is used to predict the cracking gas composition according to the cracking gas composition prediction equation to obtain the initial prediction value of the cracking gas composition, and the mechanism model input is used to simulate the cracking process of the coal-to-naphtha; the mechanism model is used to iterate the initial prediction value until the model converges to obtain the prediction value of the cracking gas composition, so as to achieve the purpose of using the mechanism model to analyze the composition of the cracking gas, thereby achieving the technical effect of avoiding the deployment of equipment to obtain cracking raw material data, and then solving the technical problem of excessively high measurement costs due to reliance on cracking raw material data in related technologies. The following is a detailed description.

[0070] In the establishment module 42 of the above-mentioned coal-to-naphtha cracking composition measurement device, it includes: a prediction submodule, which is used to use the mechanism model to predict the cracking gas composition according to the cracking gas composition prediction equation, including: obtaining the type of components contained in the cracking gas generated by the cracking of the coal-to-naphtha; constructing the cracking gas composition prediction equation according to the type of components contained in the cracking gas and the material conservation principle; using the mechanism model to predict the cracking gas composition according to the cracking gas composition prediction equation to obtain an initial predicted value of the cracking gas composition.

[0071] The measurement device for the composition produced by cracking of coal-to-naphtha also includes: an adjustment module, which is used to obtain the variables to be adjusted of the cracking device, and the variables to be adjusted include: at least one of the following: cracking gas compressor outlet pressure, high-pressure depropanizer sensitive plate temperature, C2 hydrogenation reactor inlet temperature, ethylene tower sensitive plate temperature, propylene tower sensitive plate temperature, C3 hydrogenation reactor inlet temperature, demethanizer sensitive plate temperature and deethanizer sensitive plate temperature; obtain an objective function, and adjust the variables to be adjusted according to the objective function until the diene yield in the cracking gas is the highest.

[0072] The adjustment module includes: an acquisition submodule and an adjustment submodule, the acquisition submodule is used to acquire the target function, including: acquiring the processing parameters of the cracking device, the processing parameters at least including: propylene output, liquid phase propylene output, gas phase propylene output, liquid phase propylene input, unqualified propylene input, unqualified ethylene input, unqualified propylene output, unqualified ethylene output, ethylene-rich content and the total amount of coal-to-naphtha processed by the cracking device; constructing the target function according to the processing parameters.

[0073] The adjustment submodule is used to adjust the variable to be adjusted according to the objective function, including: obtaining the constraint conditions of the variable to be adjusted, wherein the constraint conditions are used to characterize the upper and lower adjustment limits of the variable to be adjusted; performing steady-state detection on the cracking device, and adjusting the cracking device when the cracking device is in a steady state and satisfies the constraint conditions.

[0074] The adjustment submodule includes: a detection unit and an adjustment unit, wherein the detection unit is used to perform steady-state detection on the cracking device, including: obtaining an instrument position number used to characterize the state of the cracking device, and obtaining a label variable corresponding to the instrument position number; respectively obtaining a high filter value and a low filter value of the label variable within a preset time period; and determining that the cracking device is in a steady state when the sum of the mean square deviation of the high filter value and the low filter value is less than a first preset threshold.

[0075] The adjustment unit is used to adjust the cracking device, including: obtaining an adjustment target value for adjusting the controller of the cracking device, and determining the current value of the controller as the adjustment initial value; and gradually adjusting the adjustment initial value of the controller to the adjustment target value according to a preset step size.

[0076] It should be noted that Figure 4 The measurement device for the composition of coal-to-naphtha cracking product shown is used to perform Figure 2 The method for measuring the composition produced by cracking coal-to-naphtha is shown, so the relevant explanations in the above-mentioned method for measuring the composition produced by cracking coal-to-naphtha are also applicable to the measuring device for measuring the composition produced by cracking coal-to-naphtha, and will not be repeated here.

[0077] An embodiment of the present application also provides a computer device, including: a memory and a processor, wherein the memory is used to store program instructions; the processor is connected to the memory and is used to execute the above-mentioned method for measuring the composition produced by cracking coal-to-naphtha.

[0078] An embodiment of the present application also provides a non-volatile storage medium, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned method for measuring the composition produced by cracking coal-to-naphtha by running the computer program.

[0079] An embodiment of the present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for measuring the composition produced by cracking coal-to-naphtha in the present application are implemented.

[0080] An embodiment of the present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the method for measuring the composition produced by cracking coal-to-naphtha in the present application.

[0081] An embodiment of the present application also provides a computer program, which, when executed by a processor, implements the steps of the method for measuring the composition produced by cracking coal-to-naphtha in the present application.

[0082] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0083] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0084] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0086] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0088] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for measuring the composition of coal-to-naphtha cracking, characterized in that: include: Acquire process data of a cracking device, the process data including at least a process flow, equipment information, historical operation data and an instrument control scheme, the cracking device being used to crack the coal-to-naphtha; A mechanism model is established according to the process data, and the composition of the cracked gas is predicted by using the mechanism model according to a cracked gas composition prediction equation to obtain an initial predicted value of the cracked gas composition, and the mechanism model is input into the mechanism model to simulate the cracking process of the coal-to-naphtha; The initial predicted value is iterated using the mechanism model until the model converges to obtain the predicted value of the cracked gas composition.

2. The method according to claim 1, characterized in that The mechanism model is used to predict the composition of the cracked gas according to the cracked gas composition prediction equation, including: Obtaining the types of components contained in the cracking gas generated by cracking the coal-to-naphtha; According to the types of components contained in the cracked gas and the material conservation principle, constructing a cracked gas composition prediction equation; The mechanism model is used to predict the composition of the cracked gas according to the cracked gas composition prediction equation to obtain an initial predicted value of the cracked gas composition.

3. The method according to claim 1, characterized in that The method further comprises: Obtaining variables to be adjusted of the cracking device, wherein the variables to be adjusted include: at least one of the following: cracking gas compressor outlet pressure, high-pressure depropanizer sensitive plate temperature, C2 hydrogenation reactor inlet temperature, ethylene tower sensitive plate temperature, propylene tower sensitive plate temperature, C3 hydrogenation reactor inlet temperature, demethanizer sensitive plate temperature and deethanizer sensitive plate temperature; Obtaining an objective function, and adjusting the variable to be adjusted according to the objective function until the diene yield in the cracking gas is the highest.

4. The method according to claim 3, characterized in that Get the target function, including: Obtaining processing parameters of the cracking device, the processing parameters at least including: propylene output, liquid phase propylene output, gas phase propylene output, liquid phase propylene input, unqualified propylene input, unqualified ethylene input, unqualified propylene output, unqualified ethylene output, rich ethylene content and the total amount of coal-to-naphtha processed by the cracking device; The objective function is constructed according to the processing parameters.

5. The method according to claim 3, characterized in that: Adjusting the variable to be adjusted according to the objective function includes: Obtaining a constraint condition of the variable to be adjusted, wherein the constraint condition is used to characterize an upper adjustment limit and a lower adjustment limit of the variable to be adjusted; A steady-state detection is performed on the cracking device, and the cracking device is adjusted when the cracking device is in a steady state and satisfies the constraint condition.

6. The method according to claim 5, characterized in that The pyrolysis device is subjected to steady-state detection, comprising: Obtaining an instrument number for characterizing the state of the cracking device, and obtaining a label variable corresponding to the instrument number; Respectively obtaining a high filter value and a low filter value of the tag variable within a preset time period; When the sum of the mean square deviation of the high filter value and the low filter value is less than a first preset threshold, it is determined that the cracking device is in a steady state.

7. The method according to claim 5, characterized in that The cracking device is adjusted, including: Acquiring an adjustment target value for adjusting a controller of the cracking device, and determining a current value of the controller as an adjustment initial value; The initial adjustment value of the controller is gradually adjusted to the adjustment target value according to a preset step size.

8. A device for measuring the composition of coal-to-naphtha cracking, characterized in that: include: An acquisition module, used to acquire process data of a cracking device, the process data including at least a process flow, equipment information, historical operation data and an instrument control scheme, wherein the cracking device is used to crack the coal-to-naphtha; An establishment module is used to establish a mechanism model according to the process data, and use the mechanism model to predict the composition of the cracked gas according to the cracked gas composition prediction equation to obtain an initial prediction value of the cracked gas composition, and the mechanism model input into the mechanism model is used to simulate the cracking process of the coal-to-naphtha; The iteration module is used to iterate the initial prediction value using the mechanism model until the model converges to obtain the prediction value of the cracking gas composition.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory is used to store program instructions; the processor, connected to the memory, is used to execute the method for measuring the composition produced by cracking coal-to-naphtha as described in any one of claims 1 to 7.

10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by the processor, the method for measuring the composition of coal-to-naphtha cracking product as described in any one of claims 1 to 7 is implemented.