A catalytic control method for pump-forced circulation reactor with dynamic feedback
The catalytic control method of pump forced circulation reactor through dynamic feedback, using adaptive grid clustering and catalytic reaction mapping model, combined with the sequential weight sampling method, solves the efficiency and consistency problems of traditional reactors in the face of changing conditions. , achieving more efficient catalytic reactions and automated control.
Patent Information
- Application Number
- CN202410842028.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Traditional pump forced circulation reactors are difficult to dynamically adjust operating conditions when faced with fluctuations in raw material composition, changing demand, or unexpected situations during the production process, resulting in production continuity and product consistency being affected.
A dynamic feedback pump forced circulation reactor catalytic control method is adopted, the reactor operating data is preprocessed through adaptive grid clustering, a catalytic reaction mapping model is constructed to maximize the cumulative catalytic efficiency, and a sampling method based on temporal weight is used for feedback update , real-time monitoring and optimization of reactor control parameters.
It achieves intelligent control of the reactor operating status, improves the catalytic reaction efficiency and automation, can better adapt to changes in data flow, and enhances the accuracy and efficiency of the control strategy.
Smart Images

Figure CN118398100B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of catalytic control, and in particular to a catalytic control method of a pump forced circulation reactor with dynamic feedback. Background Art
[0002] A pump-forced circulation reactor is a device widely used in the chemical industry, mainly used for continuous chemical reactions. This type of reactor relies on a pump to force the circulation of the reaction mixture to ensure the uniformity and efficiency of the chemical reaction. In the chemical production process, the operating efficiency of the reactor and the product quality are directly related to the production cost and product competitiveness. Traditional pump-forced circulation reactors mostly use fixed operating conditions, such as fixed flow rate, temperature and pressure, which is effective when dealing with single, stable production tasks. However, when faced with fluctuations in raw material composition, changing demand or unexpected situations in the production process, fixed operating conditions are often difficult to adapt, which requires a control system that can be dynamically adjusted to optimize the reaction conditions to ensure production continuity and product consistency. Summary of the invention
[0003] In view of this, to achieve the above-mentioned purpose, the present invention provides a dynamic feedback pump forced circulation reactor catalytic control method, comprising the following steps:
[0004] S1: collecting reactor operation data and preprocessing the collected reactor operation data to obtain preprocessed reactor operation data, wherein the reactor operation data includes reactor control parameters, reactant concentrations and catalytic efficiency, wherein adaptive grid clustering is an implementation method of the preprocessing;
[0005] S2: constructing a catalytic reaction mapping model, wherein the model uses the concentration of the reactant after pretreatment as the state input, the reactor control parameter as the action output, and maximizing the cumulative catalytic efficiency as the reward objective function, wherein the proximal strategy optimization is the implementation method of the catalytic reaction mapping model;
[0006] S3: instantiate the model according to the optimal model parameters obtained by solving to obtain an optimal catalytic reaction mapping model instance, monitor the reactant concentration in real time, and obtain the optimal reactor control parameters according to the optimal catalytic reaction mapping model instance to perform reactor control and realize catalytic control;
[0007] S4: Calculate the reactor catalytic efficiency controlled by the optimal reactor control parameters. If the deviation from the expected catalytic efficiency exceeds a preset threshold, feedback update is performed on the strategy network, wherein a sampling method based on timing weights is an implementation method of the feedback update.
[0008] As a further improvement method of the present invention:
[0009] Optionally, in step S1, collecting reactor operation data and preprocessing the collected reactor operation data to obtain preprocessed reactor operation data includes:
[0010] S11: Collect the reactor operation data according to the grid length Divided into grid cells, where represents the neighborhood radius;
[0011] S12: Calculate the density of the reactor operation data points in each grid cell. The density is calculated using the data points in the neighborhood radius. The density is calculated by the following formula:
[0012] ;
[0013] in:
[0014] It means that the reactor operation data point p is the center. is the set of neighbor points of the neighborhood radius;
[0015] Represents the number of data points in the neighbor point set;
[0016] Represents the neighbor node index;
[0017] S13: marking the reactor operation data points in the grid cells whose density reaches a preset threshold as core points;
[0018] S14: For a reactor operation data point in the neighbor point set of the core point, if the density of the grid unit where the data point is located exceeds a preset density threshold, the data point is marked as a boundary point and added to the cluster category where the core point is located;
[0019] S15: The reactor operation data points not included in any cluster are marked as noise points and removed.
[0020] Optionally, in step S2, a catalytic reaction mapping model is constructed, wherein the model uses the concentration of the pretreated reactants as the state input, the reactor control parameters as the action output, and maximizes the cumulative catalytic efficiency as the reward objective function, including:
[0021] The model includes a policy network and a value network, and the optimal policy network parameters are obtained by iterative optimization by combining the policy gradient and the value function error. represents the probability distribution of the reactor control parameters under a given reactant concentration, and the strategy gradient calculation formula is:
[0022] ;
[0023] in:
[0024] represents the policy network parameters;
[0025] According to the strategy Execute the expected reward objective function obtained;
[0026] It indicates the advantage of taking the reactor control parameter a relative to the average level under the reactant concentration state s;
[0027] The value network represents the value of the reactant concentration state, and the value function error calculation formula is:
[0028] ;
[0029] in:
[0030] represents the value output of the value network when the reactant concentration is s;
[0031] It represents the target value when the reactant concentration is s;
[0032] Represents the value network parameters.
[0033] The optimal policy network parameters are obtained by iterative optimization by combining policy gradient and value function error, including:
[0034] S21: Randomly initialize the policy network and value network parameters;
[0035] S22: Calculate the advantage function estimate at each reactant concentration using the formula:
[0036] ;
[0037] in,
[0038] It indicates the advantage of taking the reactor control parameter a relative to the average level under the reactant concentration state s;
[0039] represents the value output of the value network when the reactant concentration is s;
[0040] represents the cumulative reward of using reactor control parameter a when the reactant concentration is s;
[0041] S23: Update the policy network parameters using the gradient descent method. The policy network parameter update calculation formula is:
[0042] ;
[0043] in:
[0044] Represents the updated policy network parameters;
[0045] represents the update step size;
[0046] S24: Use the gradient descent method to update the parameters of the value network. The calculation formula for updating the value network parameters is:
[0047] ;
[0048] in:
[0049] represents the updated value network parameters, Represents the error gradient of the value function;
[0050] S25: Repeat steps S22 to S24 until the maximum number of iterations is reached to obtain the optimal strategy network parameters.
[0051] Optionally, in step S3, instantiating the model according to the optimal model parameters obtained by solving to obtain an optimal catalytic reaction mapping model instance, and monitoring the concentration of reactants in real time, comprises:
[0052] S31: monitor the concentration of reactants in the reactor in real time through sensors, and use the monitored reactant concentration as input to obtain optimal reactor control parameters through an optimal catalytic reaction mapping model instance to perform reactor control and realize catalytic control;
[0053] S32: Monitor the reactor catalytic reaction process data and calculate the catalytic efficiency, and add {concentration of reactants, reactor control parameters, catalytic efficiency} as sample data to the reactor operation data in chronological order.
[0054] Optionally, in step S4, the catalytic efficiency of the reactor controlled by the optimal reactor control parameter is calculated, and if the deviation from the expected catalytic efficiency exceeds a preset threshold, the strategy network is fed back and updated, including:
[0055] S41: The sampling method based on time series weights calculates sample sampling weights according to the sample time series relationship, wherein the exponential weighted moving average is a calculation method for the sample sampling weights, and the calculation formula is:
[0056] ;
[0057] in:
[0058] represents the weight of the sample at the tth time step;
[0059] Represents the attenuation rate, the value range is (0,1);
[0060] t represents the sample time step, which means the time interval between the sample and the current moment;
[0061] S42: performing a normalization operation on the calculated sample sampling weight to obtain a normalized sample sampling weight, and sampling the reactor operation data according to the normalized sample sampling weight to obtain sampling training data, wherein the reactor operation data is a {reactant concentration, reactor control parameter, catalytic efficiency} pattern data set;
[0062] S43: Use the sampled training data to perform iterative optimization to obtain feedback updates of model parameters.
[0063] In order to solve the above problem, the present invention provides an electronic device, the electronic device comprising:
[0064] A memory storing at least one instruction;
[0065] Communication interface, enabling electronic equipment to communicate; and
[0066] The processor executes the instructions stored in the memory to implement the above-mentioned dynamic feedback pump forced circulation reactor catalytic control method.
[0067] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned dynamic feedback pump forced circulation reactor catalytic control method.
[0068] Compared with the prior art, the present invention proposes a dynamic feedback pump forced circulation reactor catalytic control method, which has the following advantages:
[0069] First, this scheme proposes an adaptive network clustering data preprocessing method, which uses adaptive grid clustering to preprocess the reactor operation data, which can effectively identify abnormal data in the data, enhance data quality, and improve the accuracy and efficiency of the control strategy.
[0070] At the same time, this scheme proposes a method for constructing a catalytic reaction mapping model. This method performs strategy modeling and optimization with the goal of maximizing the cumulative catalytic efficiency, realizes intelligent regulation of the reactor operating state, and can better adapt to the pump-forced circulation reaction catalytic process.
[0071] In addition, this method proposes a sampling method based on time series weights, which can effectively balance the weights between historical data and the latest data, improve the efficiency and accuracy of feedback updates, and enable control strategies to better adapt to changes in data streams. By combining adaptive grid clustering preprocessing, building a catalytic reaction mapping model, and an innovative feedback update method based on a sampling method based on time series weights, the intelligent control and optimization of the catalytic reactor is achieved, greatly improving the efficiency and degree of automation of the catalytic reaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 A schematic flow chart of a catalytic control method of a pump forced circulation reactor with dynamic feedback provided by one embodiment of the present invention;
[0073] Figure 2 A schematic diagram of the structure of an electronic device for implementing a catalytic control method of a pump-forced circulation reactor with dynamic feedback provided by an embodiment of the present invention.
[0074] In the figure: 1 electronic device, 10 processor, 11 memory, 12 program, 13 communication interface.
[0075] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0076] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0077] The embodiment of the present application provides a catalytic control method for a pump-forced circulation reactor with dynamic feedback. The execution subject of the catalytic control method for a pump-forced circulation reactor with dynamic feedback includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided in the embodiment of the present application. In other words, the catalytic control method for a pump-forced circulation reactor with dynamic feedback can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0078] Embodiment 1:
[0079] S1: Collecting reactor operation data and preprocessing the collected reactor operation data to obtain preprocessed reactor operation data, wherein the reactor operation data includes reactor control parameters, reactant concentrations and catalytic efficiency, wherein adaptive grid clustering is an implementation method of the preprocessing.
[0080] In the step S1, collecting the reactor operation data and preprocessing the collected reactor operation data to obtain the preprocessed reactor operation data, including:
[0081] S11: Collect the reactor operation data according to the grid length Divided into grid cells, where represents the neighborhood radius;
[0082] S12: Calculate the density of the reactor operation data points in each grid cell. The density is calculated using the data points in the neighborhood radius. The density is calculated by the following formula:
[0083] ;
[0084] in:
[0085] It means that the reactor operation data point p is the center. is the set of neighbor points of the neighborhood radius;
[0086] Represents the number of data points in the neighbor point set;
[0087] Represents the neighbor node index;
[0088] S13: marking the reactor operation data points in the grid cells whose density reaches a preset threshold as core points;
[0089] S14: For a reactor operation data point in the neighbor point set of the core point, if the density of the grid unit where the data point is located exceeds a preset density threshold, the data point is marked as a boundary point and added to the cluster category where the core point is located;
[0090] S15: The reactor operation data points not included in any cluster are marked as noise points and removed.
[0091] S2: Construct a catalytic reaction mapping model, wherein the model uses the concentration of the pretreated reactants as the state input, the reactor control parameters as the action output, and maximizing the cumulative catalytic efficiency as the reward objective function, wherein proximal strategy optimization is the implementation method of the catalytic reaction mapping model.
[0092] In the step S2, a catalytic reaction mapping model is constructed. The model uses the concentration of the pretreated reactant as the state input, the reactor control parameter as the action output, and maximizes the cumulative catalytic efficiency as the reward objective function, including:
[0093] The model includes a policy network and a value network, and the optimal policy network parameters are obtained by iterative optimization by combining the policy gradient and the value function error. represents the probability distribution of the reactor control parameters under a given reactant concentration, and the strategy gradient calculation formula is:
[0094] ;
[0095] in:
[0096] represents the policy network parameters;
[0097] According to the strategy Execute the expected reward objective function obtained;
[0098] It indicates the advantage of taking the reactor control parameter a relative to the average level under the reactant concentration state s;
[0099] The value network represents the value of the reactant concentration state, and the value function error calculation formula is:
[0100] ;
[0101] in:
[0102] represents the value output of the value network when the reactant concentration is s;
[0103] It represents the target value when the reactant concentration is s;
[0104] Represents the value network parameters.
[0105] S3: Instantiate the model according to the optimal model parameters obtained by solving to obtain the optimal catalytic reaction mapping model instance, monitor the reactant concentration in real time and obtain the optimal reactor control parameters according to the optimal catalytic reaction mapping model instance to perform reactor control and realize catalytic control.
[0106] In the step S3, the model is instantiated according to the optimal model parameters obtained by solving to obtain an optimal catalytic reaction mapping model instance, and the concentration of reactants is monitored in real time, including:
[0107] S31: monitor the concentration of reactants in the reactor in real time through sensors, and use the monitored reactant concentration as input to obtain optimal reactor control parameters through an optimal catalytic reaction mapping model instance to perform reactor control and realize catalytic control;
[0108] S32: Monitor the reactor catalytic reaction process data and calculate the catalytic efficiency, and add {concentration of reactants, reactor control parameters, catalytic efficiency} as sample data to the reactor operation data in chronological order.
[0109] S4: Calculate the reactor catalytic efficiency controlled by the optimal reactor control parameters. If the deviation from the expected catalytic efficiency exceeds a preset threshold, feedback update is performed on the strategy network, wherein a sampling method based on timing weights is an implementation method of the feedback update.
[0110] In the step S4, the reactor catalytic efficiency controlled by the optimal reactor control parameter is calculated, and if the deviation from the expected catalytic efficiency exceeds a preset threshold, the strategy network is fed back and updated, including:
[0111] S41: The sampling method based on time series weights calculates sample sampling weights according to the sample time series relationship, wherein the exponential weighted moving average is a calculation method for the sample sampling weights, and the calculation formula is:
[0112] ;
[0113] in:
[0114] represents the weight of the sample at the tth time step;
[0115] Represents the attenuation rate, the value range is (0,1);
[0116] t represents the sample time step, which means the time interval between the sample and the current moment;
[0117] S42: performing a normalization operation on the calculated sample sampling weight to obtain a normalized sample sampling weight, and sampling the reactor operation data according to the normalized sample sampling weight to obtain sampling training data, wherein the reactor operation data is a {reactant concentration, reactor control parameter, catalytic efficiency} pattern data set;
[0118] S43: Use the sampled training data to perform iterative optimization to obtain feedback updates of model parameters.
[0119] Embodiment 2:
[0120] like Figure 2 , which is a schematic diagram of the structure of an electronic device for implementing a catalytic control method of a pump forced circulation reactor with dynamic feedback provided by an embodiment of the present invention.
[0121] The electronic device 1 may include a processor 10 , a memory 11 , a communication interface 13 and a bus, and may also include a computer program stored in the memory 11 and executable on the processor 10 , such as a program 12 .
[0122] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the program 12, etc., but also be used to temporarily store data that has been output or is to be output.
[0123] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (such as the program 12 for catalytic control of a pump forced circulation reactor for dynamic feedback), and calls data stored in the memory 11, so as to execute various functions of the electronic device 1 and process data.
[0124] The communication interface 13 may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices, and to achieve connection and communication between internal components of the electronic device.
[0125] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0126] Figure 2 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 2 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0127] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0128] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.
[0129] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0130] The program 12 stored in the memory 11 in the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:
[0131] Collecting reactor operation data and preprocessing the collected reactor operation data to obtain preprocessed reactor operation data, wherein the reactor operation data includes reactor control parameters, reactant concentrations, and catalytic efficiency;
[0132] A catalytic reaction mapping model is constructed, wherein the model uses the concentration of the reactant after pretreatment as a state input, uses the reactor control parameter as an action output, and uses maximizing the cumulative catalytic efficiency as a reward objective function;
[0133] According to the solved optimal model parameters, the model is instantiated to obtain the optimal catalytic reaction mapping model instance, the reactant concentration is monitored in real time, and the optimal reactor control parameters are obtained according to the optimal catalytic reaction mapping model instance to perform reactor control and realize catalytic control;
[0134] The catalytic efficiency of the reactor controlled by the optimal reactor control parameters is calculated. If the deviation from the expected catalytic efficiency exceeds a preset threshold, the strategy network is fed back and updated.
[0135] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figure 1 to Figure 2 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0136] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0137] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0138] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A dynamic feedback pump forced circulation reactor catalytic control method, characterized in that: The method comprises: S1: collecting reactor operation data and preprocessing the collected reactor operation data to obtain preprocessed reactor operation data, wherein the reactor operation data includes reactor control parameters, reactant concentrations and catalytic efficiency, wherein adaptive grid clustering is an implementation method of the preprocessing; S2: constructing a catalytic reaction mapping model, wherein the model uses the concentration of the reactant after pretreatment as the state input, the reactor control parameter as the action output, and maximizing the cumulative catalytic efficiency as the reward objective function, wherein the proximal strategy optimization is the implementation method of the catalytic reaction mapping model; S3: instantiate the model according to the optimal model parameters obtained by solving to obtain an optimal catalytic reaction mapping model instance, monitor the reactant concentration in real time, and obtain the optimal reactor control parameters according to the optimal catalytic reaction mapping model instance to perform reactor control and realize catalytic control; S4: Calculate the reactor catalytic efficiency controlled by the optimal reactor control parameters, and if the deviation from the expected catalytic efficiency exceeds a preset threshold, perform feedback update on the strategy network, wherein a sampling method based on time series weights is an implementation method of the feedback update; In the step S2, a catalytic reaction mapping model is constructed. The model uses the concentration of the pretreated reactant as the state input, the reactor control parameter as the action output, and maximizes the cumulative catalytic efficiency as the reward objective function, including: The model includes a policy network and a value network, and the optimal policy network parameters are obtained by iterative optimization by combining the policy gradient and the value function error. represents the probability distribution of the reactor control parameters under a given reactant concentration, and the strategy gradient calculation formula is: ; in: represents the policy network parameters; According to the strategy Execute the expected reward objective function obtained; It indicates the advantage of taking the reactor control parameter a relative to the average level under the reactant concentration state s; The value network represents the value of the reactant concentration state, and the value function error calculation formula is: ; in: represents the value output of the value network when the reactant concentration is s; It represents the target value when the reactant concentration is s; represents the value network parameters; The optimal policy network parameters are obtained by iterative optimization by combining policy gradient and value function error, including: S21: Randomly initialize the policy network and value network parameters; S22: Calculate the advantage function estimate at each reactant concentration using the formula: ; in, It shows the advantage of taking the reactor control parameter a relative to the average level under the reactant concentration state s; represents the value output of the value network when the reactant concentration is s; represents the cumulative reward of using reactor control parameter a when the reactant concentration is s; S23: Update the policy network parameters using the gradient descent method. The policy network parameter update calculation formula is: ; in: Represents the updated policy network parameters; represents the update step size; S24: Use the gradient descent method to update the parameters of the value network. The calculation formula for updating the value network parameters is: ; in: represents the updated value network parameters, Represents the error gradient of the value function; S25: Repeat steps S22 to S24 until the maximum number of iterations is reached to obtain the optimal strategy network parameters; In the step S3, the model is instantiated according to the optimal model parameters obtained by solving to obtain an optimal catalytic reaction mapping model instance, and the concentration of reactants is monitored in real time, including: S31: monitor the concentration of reactants in the reactor in real time through sensors, and use the monitored reactant concentration as input to obtain optimal reactor control parameters through an optimal catalytic reaction mapping model instance to perform reactor control and realize catalytic control; S32: monitor the reactor catalytic reaction process data and calculate the catalytic efficiency, and add {concentration of reactants, reactor control parameters, catalytic efficiency} as sample data to the reactor operation data in a time series order; In the step S4, the reactor catalytic efficiency controlled by the optimal reactor control parameter is calculated, and if the deviation from the expected catalytic efficiency exceeds a preset threshold, the strategy network is fed back and updated, including: S41: The sampling method based on time series weights calculates sample sampling weights according to the sample time series relationship, wherein the exponential weighted moving average is a calculation method for the sample sampling weights, and the calculation formula is: ; in: represents the weight of the sample at the tth time step; Represents the attenuation rate, the value range is (0,1); t represents the sample time step, which means the time interval between the sample and the current moment; S42: performing a normalization operation on the calculated sample sampling weight to obtain a normalized sample sampling weight, and sampling the reactor operation data according to the normalized sample sampling weight to obtain sampling training data, wherein the reactor operation data is a {reactant concentration, reactor control parameter, catalytic efficiency} pattern data set; S43: Use the sampled training data to perform iterative optimization to obtain feedback updates of model parameters.
2. A dynamic feedback pump forced circulation reactor catalytic control method as claimed in claim 1, characterized in that: In the step S1, collecting the reactor operation data and preprocessing the collected reactor operation data to obtain the preprocessed reactor operation data, including: S11: Collect the reactor operation data according to the grid length Divided into grid cells, where represents the neighborhood radius; S12: Calculate the density of the reactor operation data points in each grid cell. The density is calculated using the data points in the neighborhood radius. The density is calculated by the following formula: ; in: It means that the reactor operation data point p is the center. is the set of neighbor points of the neighborhood radius; Represents the number of data points in the neighbor point set; Represents the neighbor node index; S13: marking the reactor operation data points in the grid cells whose density reaches a preset threshold as core points; S14: For a reactor operation data point in the neighbor point set of the core point, if the density of the grid unit where the data point is located exceeds a preset density threshold, the data point is marked as a boundary point and added to the cluster category where the core point is located; S15: The reactor operation data points not included in any cluster are marked as noise points and removed.
