Method for operating process plant, soft sensor and digital process twin system
Through the combination of non-real-time simulation models and real-time process models, the problems of quality assessment and data islands in the drug production process are solved, efficient, low-cost, constant-quality production of process facilities is achieved, and production efficiency and product quality are improved.
Patent Information
- Application Number
- CN202280092214.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2021-12-21
- Filing Date
- 2022-12-18
- Publication Date
- 2024-10-08
AI Technical Summary
The existing drug production process has problems such as difficulty in real-time assessment of product quality, long experiment times, high costs, and data silos, resulting in low production efficiency and inconsistent quality.
Non-real-time simulation models are used to generate quality attribute data, which is used to train real-time process models as soft sensors, optimize the performance of process facilities, achieve real-time quality assessment and closed-loop control, reduce experimental dependence, and improve production efficiency.
Through the combination of real-time process model and virtual facility model, efficient, low-cost, constant-quality production of process facilities is achieved, reducing the use of expensive raw materials and production waste, and improving product quality and production efficiency.
Smart Images

Figure CN118749090A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure is directed to a method for operating a process plant according to claim 1, wherein the process plant includes at least one automated component for controlling an industrial process having at least one input component and at least one output product within the process plant. In addition, the present disclosure is directed to a soft sensor according to claim 6 and a digital process twin according to claim 10. Background Art
[0002] The seamless combination of technologies for automation, simulation and digitalization enables the next step in digital transformation towards more efficient and sustainable industrial production with higher quality standards.
[0003] Particularly in the context of automation of industrial processes for production processes and manufacturing, there are many applications for computer-implemented representations of real objects or processes, so-called “digital twins.” A digital twin is a virtual construction of a physical system that reflects the behavior, performance, and dynamics of this physical system.
[0004] By merging multi-physics simulation, process modeling techniques, and even artificial intelligence, digital twins can demonstrate the impact of design changes, usage scenarios, environmental conditions, and other endless variables—eliminating the need for physical prototypes, reducing development time, and improving the quality of the final product or process.
[0005] For example, when designing a drug production process, one of the most important key parameters of the production process is product quality. It is important that product quality is protected when scaling up, transferring or automating process operations. To this end, many engineering runs and (offline) quality measurements are required, which delays time-to-market and is costly. Because quality cannot always be assessed in real time, samples must be taken out manually for offline measurement. Then, the quality results appear after the samples have been transferred and measured by the quality control laboratory. This continuous process validation is often inefficient and inconsistent. In addition, most of the ingredients in the drug production process are very expensive. The cost of experiments and production is high, so the cost of generating data is also high. Data is often distributed to different data silos, which is also a major disadvantage in implementing data-driven (machine learning) models in the pharmaceutical industry. Therefore, there is an urgent need to examine the progress of the pharmaceutical industry towards the development of digital twin solutions. An overview of digital twin technology approaches in pharmaceutical and biopharmaceutical manufacturing is provided in the literature (Y, Chen, O. Yang, C. Sampat, P. Bhalode, R. Ramachandran and M. lerapetritou: "Digital Twins in Pharmaceutical and Biopharmaceutical Manufacturing: A Literature Review": Processes 2020, Vol. 8, No. 9, p. 1088, published in September 2020).
[0006] However, there is a lack of consistent solutions for sustainable process development, i.e. reducing overall experimental time and waste, ensuring constant quality and moving towards new "quality by design" opportunities (i.e. transferring previously downstream quality control into the manufacturing process) in order to obtain accurate products within short time constraints and reduce production rejects. Summary of the invention
[0007] Therefore, the object of the present invention is to alleviate the identified problems and to provide an improved method of operating an industrial process facility, and a corresponding digital twin solution, enabling a more time- and cost-effective production process, ensuring the highest quality standards and reducing waste and the use of expensive raw materials.
[0008] The problem is solved by a method for operating a process plant according to claim 1. Furthermore, the problem is solved by a soft sensor for a process plant according to claim 6 and a digital twin (solution) according to claim 10. Advantageous aspects of the invention are the subject matter of the dependent claims.
[0009] According to the invention, a method for operating a process facility is proposed, the process facility comprising at least one automated component for controlling an industrial process having at least one input component and at least one output product within the process facility, the method comprising the following steps:
[0010] - using the non-real-time simulation model of the industrial process to generate quality attributes of the industrial process based on process variables and process parameters,
[0011] - taking the generated quality attributes and related process variables as input, the output is used in a machine learning model which is used as a real-time process model,
[0012] - using real-time process models as soft sensors to assess quality attributes of output products based on measured process variables or simulated process variables of industrial processes, and
[0013] -Optimize the performance of process facilities based on the assessed quality attributes of the output products.
[0014] An industrial process is to be understood as any process in technology in which a product is manufactured from raw materials. In those processes, the raw materials are changed in composition, type or properties using physical, chemical or biological methods. In the present disclosure, an industrial process does not include sensors, actuators or any instruments used to measure process variables, move and control process parts and analyze process materials. An automation system with all its automation functions is configured to control a process with all its components and is to be understood as part of a technology or process facility and not as part of an industrial process.
[0015] A process variable is understood to be a measurable physical characteristic of an industrial process being monitored or controlled. For example, it may be temperature, flow, level, or pressure. The measured temperature is referred to as a process variable, while the desired temperature is referred to as a set point. However, in the present disclosure, process variables may be measured or simulated by simulation software tools. Based on the simulation model, real-time simulation of an automation project may also create process variables that are digital representations of an industrial process.
[0016] Process parameters should be understood as configuration parameters within the process, like material parameters or any quantity that affects the process output or behavior. In the function F(x)=ax+b, x is a variable, and a and b are parameters. Model parameters can also be understood as process parameters in the present disclosure.
[0017] The present invention has several advantages with respect to several aspects. First, the proposed scheme provides a unique possibility to simulate a slow process by using a non-real-time simulation model and using the simulation output data of this model as input for a real-time data-driven process model for a fast process. The method of using slow physical modeling to generate data for a fast real-time data-driven machine learning model helps to overcome the limitations of computing power in real-time or any fast process. Machine learning models can be considered as faster and more accurate versions of offline models. Because there is no time to wait for many hours to get the results of a "slow" offline model during a real-time process, the simulation data for the machine learning model is mostly generated in advance. However, if the offline simulation does not require high computing power and time, parallel execution of offline models is also possible.
[0018] In addition, the simulation model of the industrial process can be designed, optimized and verified in advance by offline experiments, which is very advantageous. If the simulation of the process is slow and / or takes a lot of computing power, this is also particularly advantageous. Offline simulation can usually be performed with supercomputers or cloud computing. For very complex processes, simulation may take hours or even days. In these cases, it is impossible to integrate it into the operating time of the facility. The results of the offline simulation model are collected in a simulation file, which can be fitted and / or verified with a test experiment from the laboratory. The offline simulation model can be customized for the corresponding use case and tested using experiments. Laboratory experimental data can be used to fit the offline simulation model and to fine-tune the model parameters to have the same results as the experiment in the simulation. When there is little or no historical data for process knowledge, this approach can also be used to implement training data for subsequent data-driven models.
[0019] In addition to the time aspect, the real-time process model can be used as a soft sensor to evaluate the quality attributes of the output product of the process. Those evaluated quality attributes of the output product can be verified by offline laboratory sample measurement and analysis (like process analytical technology). This is done to perform continuous process validation. Each model used can be improved and adjusted according to the offline validation to improve the quality of the output product. However, in a very advantageous manner, the quality attribute evaluation can be based on measuring process variables and simulating process variables. This allows the operator to have greater flexibility. This means that the operator has optimized the performance of the facility before the facility is running and operating. The operator can optimize any value to be set, the set point of the process variable, and the process parameters based on the soft sensor output.
[0020] In a further advantageous embodiment of the present invention, a process facility simulation model is used to generate simulated process variables of an industrial process. In this embodiment, automated functions and so-called standard functions regarding automation are taken into account to improve data-driven process models and build better representations of facilities. Sensors can be simulated by simulation software, such as programmable logic controllers (PLCs) (so-called soft PLCs) or other automation and control functions. At the same time, the simulation of the facility can be changed and optimized in advance. By using simulation data, soft sensors develop and continuously update to reflect any changes in input variables and parameters, thereby generating a closed loop of feedback in a virtual facility environment, enabling operators to continuously optimize output products, production methods, and facility performance at minimal cost.
[0021] According to another very advantageous embodiment of the present invention, the process facility simulation model is a real-time model, and the real-time process facility simulation model and the real-time process model are combined into a real-time virtual facility model to evaluate or predict the state of the process facility, thereby optimizing the performance of the process facility. By converting the facility model into a real-time model, a complete representation of the process and facility is achieved in the form of a real-time digital process twin. In this way, the virtual facility model can be fully integrated into the actual facility environment in real time. In this facility environment, data from soft sensors is used in real time and the constant quality of the industrial process is ensured by transferring quality control to the industrial facility, thereby accelerating production. Therefore, a consistent solution for sustainable process development is provided.
[0022] In an advantageous embodiment of the invention, a real-time process model or a real-time virtual facility model is used for the online control of the process facility, which is preferably an advanced, adaptive process control. In this case, the existing model can be integrated in the advanced control concept based on the model and adaptability. In the process industry, the strongest and most successful control method for multivariable control is the model predictive controller. Because the optimization of the process facility (using different modeling techniques) is based on the extensive modeling of the process, it is particularly advantageous to use models such as the virtual facility model as the process model for the model predictive controller. Fast, real-time online control allows to minimize the fluctuations of the output product quality during constant production and to achieve the time-optimal operation of the process facility. These controls can be accurately adapted to the corresponding use case and achieve high accuracy. In this embodiment, closed-loop control of the output product quality can be achieved.
[0023] The proposed method for operating a process facility can be particularly advantageously used in pharmaceutical production processes, wherein the virtual facility model comprises a pharmaceutical production facility with a simulation model describing a chemical process. In a very advantageous embodiment, the proposed solution is used for a mixing process of two liquids, for example, the mixing of an aqueous phase of a first component and an organic phase of a second component. Especially if a process requires the use of expensive materials to be carried out, wherein a lot of effort in the laboratory (e.g., with a large number of experiments) as validation, quality attribute assessment (either before production or integration into an industrial process facility environment) can significantly accelerate the production of a pharmaceutical product.
[0024] A second aspect of the present disclosure provides a soft sensor for a process facility, the soft sensor having at least one automated component to control an industrial process having at least one input component and at least one output product within the process facility, comprising:
[0025] - an interface for receiving quality attributes and related process variables of the industrial process from a non-real-time simulation model component to simulate the behavior of the industrial process, and
[0026] - Real-time process model components,
[0027] Including machine learning models,
[0028] wherein the machine learning model is based on the received quality attributes and related process variables of the simulation model component, and
[0029] Among them, the machine learning model is configured to evaluate the quality attributes of the output product based on measured process variables or simulated process variables of the industrial process.
[0030] A soft sensor should be understood as a non-existent real sensor or virtual sensor that depicts a simulation of the dependence of a representative measured variable on a target variable. The target variable is therefore not measured directly, but calculated based on the correlated measured variables. The correlation is determined with the help of a model. Therefore, the function of the soft sensor is defined by a model that reflects the correlation between the measured variable and the target variable.
[0031] The soft sensor can be implemented without a non-real-time simulation model component that only includes an interface to the model component, or it can be implemented with a non-real-time simulation model component. In other words, in an advantageous embodiment, the soft sensor can also include a non-real-time simulation model component connected to the interface. Such an embodiment is particularly advantageous for faster processes that are on a similar time scale to the real-time process model component.
[0032] However, in most cases, the behavior of the industrial process will be modeled in a non-real-time simulation model component. The dynamic simulation of the process can be performed, the set point can be determined and the model will be fitted. Laboratory experiments can be used to fit the simulation model. There may be fine-tuning of the model parameters to have the same results during the experiment in the simulation. Multiple experiments can be run (for example on a supercomputer) to generate simulated data (quality attributes and related process variables here). These data are fed to the machine learning model representing the real-time process model, thereby creating soft sensors for the quality attributes of the output product. At this stage, when the results are successful, without using expensive raw materials as input ingredients, the monitoring of key quality attributes is achieved to increase process knowledge and optimize the process with different parameters or different model designs.
[0033] In another advantageous embodiment, the soft sensor may further include a Kalman filter configured to receive the estimated quality attributes and the measured quality attributes of the output product and to calculate an improved assessment based on the probabilities of previous and current assessments and based on the measured values of the quality attributes. This means that the soft sensor may be enhanced with process variable measurements to apply a Kalman filter to better operate or control the facility. In this case, for example, PAT sensor measurements are considered, and the probabilities of the measured quality attributes and the estimated quality attributes may be used to calculate an improved assessment based on the probabilities of previous and current assessments and based on the measured values of the quality attributes.
[0034] A third aspect of the present disclosure provides a digital process twin system for a process facility having at least one automated component to control an industrial process having at least one input component and at least one output product within the process facility. The digital process twin system includes: a virtual facility model component, the virtual facility model component including
[0035] - an interface for receiving quality attributes and related process variables of the industrial process from a non-real-time simulation model component to simulate the behavior of the industrial process,
[0036] - Real-time process model components,
[0037] Including machine learning models,
[0038] wherein the machine learning model is based on the received non-real-time simulation model component quality attributes and related process variables, and
[0039] -Process facility simulation model components,
[0040] which is configured to simulate the automated functions and operations of the process facility to generate simulated process variables,
[0041] Among them, the machine learning model is configured to evaluate the quality attributes of the output product based on measured process variables or simulated process variables of the industrial process.
[0042] Therefore, the digital process twin includes a virtual facility model component having a component with a soft sensor and a process facility simulation model component, wherein the process facility simulation model component is configured to simulate the automation functions and operations of the process facility to generate simulated process variables. The machine learning model of the virtual facility model component is configured to evaluate the quality attributes of the output product based on the measured process variables or simulated process variables of the industrial process.
[0043] Unlike known digital twins, which use measured data to create a virtual representation to predict how a product or process will perform, the digital process twin described above can also use simulation data generated by a complex physical non-real-time simulation model to evaluate the quality attributes of the output product. This can achieve all the advantages described for the claimed facility operation method. The digital process twin can be used as a stand-alone version or connected or coupled to the actual process facility.
[0044] The proposed digital process twin with all its embodiments is not only able to replicate an industrial process in order to monitor the process and predict how the process will perform by soft sensing the quality attributes of the output product, but is also able to simulate experiments for determining the quality attributes of the output product, which are usually performed physically in the laboratory and replace them virtually. This allows to significantly reduce the number of experiments.
[0045] Digital process twins can be implemented in several implementations:
[0046] If the digital twin system operates with real-time data from the process facility, the system can provide an immediate assessment of quality attributes. If the process facility simulation model is a real-time model, the performance of the digital process twin system can even be improved. The impact of engineering changes to the process facility on the quality of the process output product can then be observed immediately. In both cases, the digital twin system can be operated as a stand-alone system, for example, off-site at the facility.
[0047] In order to couple with the actual facilities, the digital process twin system can run in parallel with the process facilities and have real-time data of the process facilities. In this way, the system can provide an assessment of quality attributes in real time and can provide a very fast response to quality changes based on the interaction between the virtual facilities and the actual facilities.
[0048] In an advantageous embodiment, the real-time virtual facility model component of the digital process twin is configured to operate in conjunction with a control component (preferably a model predictive controller) to control the actual facility based on the estimated or predicted states generated by the real-time virtual facility model, thereby providing closed-loop control of the output product quality. This allows the combination with any control component to manipulate the actual facility based on the predicted states of the real-time virtual facility model. For example, the production of pharmaceutical products can be improved and accelerated in this way, and the highest quality standards can be fully met.
[0049] In a very advantageous embodiment, the virtual plant model component of the digital process twin includes an interface that provides simulated process variables and / or estimated quality attributes to the model predictive controller for tuning the model predictive controller to operate in the actual plant. This allows the operator to find the best startup parameters for controlling the process plant. The model predictive controller can be tuned in particular before the actual plant is operated, which saves a lot of time in finding the right startup parameters.
[0050] As used herein, the terms "component" and "system" are intended to cover hardware, software, or a combination of hardware and software. Thus, for example, a system or component can be a data processing device, or a processor, being executed on a processor. A processor corresponds to any electronic device configured to process data via hardware circuits, software, and / or firmware. The processor described herein may also correspond to a virtual processor of a virtual machine executed in a physical processor. In addition, a component or system may be located on a single electronic device or distributed on several electronic devices. Therefore, the digital process twin system of the present disclosure may be implemented in any computing system or environment, which may include a communication mechanism, such as a system bus for communicating information within a computer system, and one or more processors coupled to the system bus for processing information. The processor may include one or more central processing units (CPUs), graphics processing units (GPUs), or any other processor known in the art. Alternatively, such a digital twin system may also reside in the cloud. Among other aspects, digital twins can utilize powerful simulation software to verify and optimize production characteristics. In an alternative embodiment, the system may be implemented on a dedicated server. Digital twins may also include a simulation platform configured to perform simulations of physical processes or facilities using different process / facility models. The simulation platform may include appropriate physics libraries for solving physics and / or process simulations of a physical process or facility based on defined constraints.
[0051] The embodiments of the present disclosure may be implemented with any combination of hardware and software. In addition, the embodiments of the present disclosure may be included in one or more computer program products having, for example, a computer-readable, non-volatile medium. For example, the medium may contain computer-readable program code that is used to provide and facilitate the mechanisms of the embodiments of the present disclosure.
[0052] Features of examples of the present disclosure will become apparent by reference to the following description of exemplary embodiments of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Therefore, the present invention is described below using examples with reference to the accompanying drawings, in which:
[0054] Figure 1 An embodiment of an industrial process facility with a mixing process of two liquids implemented is shown.
[0055] Figure 2 A simplified block diagram of a digital process twin according to an exemplary embodiment of the present disclosure is shown.
[0056] Figure 3 A simplified block diagram of a control architecture according to an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0057] As an example of application of the present invention, exemplary process facilities are described as a possible embodiment of the present invention.In the technology or process facilities with all technical components such as pipelines, instruments and automation components, industrial processes are realized.As examples applicable to industrial processes of the present invention, it can be the production or conversion of a material of a certain raw material in the reactor, physical processes (such as mixing or heating), or any other process in which material is changed to form a new (changed) product according to type, characteristic and composition.The specific examples of these processes are pulverizing, grinding, cooling, filtering, distillation, oxidation or polymerization.
[0058] Therefore, the present invention is applicable to all chemical or pharmaceutical production facilities comprising at least one automated component or automated system to operate or control an industrial process having at least one input ingredient and at least one output product.
[0059] refer to Figure 1 , within the process facility, the mixing process of two components is demonstrated as an example and will be the basis for the design and concept of the digital process twin. The mixing process is a fundamental operation in mechanical process engineering. It is used to combine at least two starting components of different materials with different properties to form a product of a new material. The goal is to achieve the highest quality of the product as possible. This is achieved when a random sample reflects certain quality attributes, such as the ratio of the starting components with a defined accuracy, homogeneity, average particle size and variance.
[0060] exist Figure 1 In an embodiment, two liquids are mixed. Liquids from two input tanks B1 and B2 are pumped to a mixing chamber MC. Tank B1 contains, for example, an aqueous phase having a first component A at a temperature TA, which is controlled by a temperature controller TCA, which is communicatively connected to a programmable logic controller PLC. Tank B2 contains, for example, an organic phase having a second component O at a temperature TO, which is controlled by a temperature controller TCO, which in this embodiment is communicatively connected to the same programmable logic controller PLC as the aqueous phase. Connection to another PLC is also possible. The temperatures TA and TO and the pressures PA and PO in each tank are measured with sensors to represent process variables. In addition, a NIR (near infrared) spectrum NIR1 is used to measure the chemical composition of the second component O in the input tank B2 of the organic phase.
[0061] The mixing chamber MC needs to be filled with the highest precision, so the input parameters, especially the flow rate of each mixed component, must be controlled by the corresponding dosage units DUA and DUO. Each dosage unit (DUA of the aqueous phase and DUO of the organic phase) can contain a filter, a pump, and a flow meter. The pump needs to be strictly controlled to maintain the appropriate flow rates FA and FO and the flow rate ratio, so that the mixed process product is correctly formed in the mixing chamber MC. When these flows are not optimized as process parameters, the particle size of the mixed product may be too small, too large or contain insufficient active ingredients (quality attributes). Therefore, a control loop between the dosage units DUA, DUO and the programmable logic controller PLC is implemented. Alternatively, the PLC module can be replaced by the entire automation concept, defining the interaction of various individual automation components, software tools and associated services to form an integrated automation solution or control system (PLC and monitor M).
[0062] On the input side of the mixing chamber MC, sensors measure the temperatures TA, TO of the input components and the pressures PA, PO in the respective lines. On the output side of the mixing chamber MC, sensors measure not only the temperature TP of the output product and the pressure PP in the respective pipelines, but also the particle size by a DLS (dynamic light scattering) system and the composition by an additional near infrared spectrometer NIR2. The product P of the mixing process is collected in an output tank B3 and again subjected to composition measurement (NIR3) and temperature TP measurement. Thus, multiple process variables are measured and quality attributes are determined.
[0063] All process analysis data provided by the NIR spectrometers NIR1 ... NIR3 and the DLS facility are collected in a PAT module. Process Analytical Technology (PAT) software exists to monitor product quality in real time. The software stores all measurement data during the operational execution of PAT methods and performs data correlation and analysis based mainly on statistical models but also on physical models. All so-called critical quality attributes (CQA) can be captured and transmitted to, for example, a process control system to control industrial processes.
[0064] In addition to all those data (measured process variables, PAT measurements, PAT derivatives like chemical composition, particle size, dispersion index, etc.), control parameters, set points and parameters used to design the required model are derived.
[0065] Now turn to Figure 2 , a simplified block diagram is shown showing an exemplary system including a digital process twin for an exemplary selected hybrid process as described above. However, the architecture of the digital process twin system can be applied to any other industrial process as mentioned above.
[0066] In an industrial process engineering environment, an exemplary hybrid process MP will be implemented in a technical facility or process facility RP in a process industry such as a chemical or pharmaceutical facility. Sensors S or measuring sensors for detecting process variables in the process (here MP) will interact with controllers as part of the automation layer PA, which cause regulating elements or actuators A to influence the process as a function of the detected process variables. Conventional control devices in the form of open-loop or closed-loop control are used to perform these regulating operations.
[0067] In such a process facility, the process will be performed by automated components or automated systems (such as Figure 2 The process automation layer PA shown is executed. For the setting of process automation, the requirements of the process are determined by planning and system engineering. Subsequently, the process requirements are converted into a mechanical concept, which includes the hardware required to execute the process. The detailed concept may be influenced by the determined requirements and the specific properties of the automation components and / or the material (in particular the fluid being processed here). The required automation components may include software and / or hardware. Therefore, the facility RP includes at least one automation component to perform an action according to at least one control parameter of a set of control parameters for controlling the operation of the automation system. Typically, the automation layer PA can be connected to the optimization layer Opt, in which embodiment the optimization layer can be configured to interact with the digital twin of the virtual facility model.
[0068] As in Figure 1As described in the context of , process facilities can also be connected to the process analytical technology tool PAT for quality control. Based on the physical and statistical model PAT-M included in the PAT tool software, predictions of critical quality attributes can be calculated and can be used for subsequent validation of the digital process twin.
[0069] For the development of a digital process twin according to the present disclosure, the behavior of the hybrid process is simulated in a first step.
[0070] In this embodiment, the mixing process is simulated by a computational fluid dynamics (CFD) model together with a nucleation model for crystallization modeling. For CFD modeling, the geometry of the mixing chamber is taken into account, since the nucleation model requires knowledge of interactions at the molecular (biochemical) level. The inputs to the simulation model OSM are all potential combinations of laboratory condition parameters and set points, such as the temperature TA and flow rate FA of the aqueous phase of the first component A and the temperature TO and flow rate FO of the lipid phase of the second component O. The outputs of the simulation model are the main quality attributes: mean particle size PS and particle size variance PV (compare Figure 1 ). These models based on mathematical and physical equations are fitted, expanded and optimized taking into account practically unavailable actual facility data and laboratory experimental data. The simulation is considered only in steady state, because the reaction time of the mixing chamber is fast relative to the general reaction time and temperature of the flow. It can then be considered as a direct multi-input and multi-output function of the dynamic model. Since CFD simulation is much slower than the dynamics of the process (for example, one physical second of a simulated mixing process may take about 10 hours), the simulation cannot be calculated in real time and is performed offline, preferably before or in parallel with the operation of the facility RP. In short, the offline simulation model OSM of the dynamic process includes a mixing process model based on the above-mentioned modeling. However, different simulation or calculation techniques can be used for different processes.
[0071] Reference Figure 2 , the obtained offline simulation data SIM-DAT is used for a data-based model (so-called artificial intelligence AI) or a machine learning model to generate a process model (real-time process model RT-PRM) that can be executed in real time. The simulation data can be transmitted to the real-time process model RT-PRM via interface I1. The simulated data can also be used to train these models and use them for corresponding use cases. As a data-driven AI model, a linear regression model can be used. For this embodiment, the k-nearest neighbor algorithm is conducive to identifying the optimal value combination (multivariate data vector) in a lookup table for state assessment of the process. Other AI models (such as deep neural networks, decision trees, reinforcement learning, support vector machines) are alternative models that can also be used for different use cases.
[0072] The machine learning model ML (which is the core of the real-time process model RT-PRM) represents a real-time process model (here a hybrid process), and since it is faster than the process dynamics (in our scope, a few hundred milliseconds), the "state" of the production process can be calculated based on the measured sensor data (flow and temperature). This state is typically characterized by product quality or (bio)chemical properties that cannot be directly measured by classical sensors. In our case, the "state assessment, state parameters" or quality attributes QA are the mean particle size PS and the particle size variance PV. Therefore, a direct correlation is provided by the real-time process model between the specific state of the process (here characterized by the quality attributes) and the input parameters of the simulation model OSM (here FA, TA, FO, TO), which allows online operation of the entire process facility.
[0073] Additionally, these (bio)chemical properties can be assessed using spectrometers and other analytical online equipment PAT, which provides an assessment based solely on the statistical correlation between PAT equipment measurements and offline laboratory sample analysis (PAT-M). Thus, PAT data can be used to validate and correct the quality assessment of real-time process models RT-PRM.
[0074] However, it is still necessary to consider the facility design with all its automation components to obtain a complete representation of the production process as a digital twin. Therefore, the real-time process model RT-PRM is combined with the simulated facility model SPM. The model simulates standard equipment (e.g., pumps and fluid heaters) and related standard functions with known technology, such as facility simulation software, virtual controllers of so-called soft PLCs and combined with MATLAB Simulink. The latter also allows the design and engineering of control structures that even include digital parameter optimization. The process facility simulation software represents the signals, equipment and behavior of the process facility. The process facility simulation model SPM can also be implemented as a real-time simulation model RT-SPM.
[0075] The process facility simulation model SPM and the real-time process model RT-PRM (both of which have a faster calculation time than the process dynamics, here hundreds of milliseconds) together form a virtual facility model VPM. If the process facility simulation model is configured as a real-time model RT-SPM, the virtual facility model component VPM can be configured to run RT-VPM in real time. The virtual facility model RT-VPM includes all simulation software and models to simulate the actual facility in real time. The virtual facility is able to interact with the actual facility. Process variables such as pressure and flow (such as Figure 2Real-time data (RT-D) in the real facility is measured and sent to the virtual facility, which in turn sends back predictions P of key quality attributes to operate the real facility. Together with the ability to predict process quality based on offline simulated process data, the virtual facility is a real-time digital twin copy of the real facility. It can work independently or work together with the real facility as a soft sensor.
[0076] For a standalone solution, there is no coupling between the real facility RP and the virtual facility VPM. All simulations occur offline, which means that for the relevant predetermined set of input parameters (such as process and control parameters and / or measured quality attributes), the prediction P of the quality attributes as a result of the optimal strategy is stored (file, database). The optimal strategy may be subject to one or more condition settings, such as settings regarding time or energy. The prediction P is the output of the virtual facility model VPM and can be adjusted and verified by historical data. In addition, new actual experiments and production runs (using placebos and actual products) can be performed to optimize the offline process model. To this end, the PAT sensor data and offline quality analysis data of these runs can be used to fit and verify the offline simulation model.
[0077] For the online solution, at least one interface I3 between the actual facility RP and its automation components (e.g., automation controllers, such as PLCs) and the digital twin of the facility represented by the virtual facility model VPM as a simulation component exists, and control parameters are derived and exchanged. Once the hybrid process starts, the simulation starts in parallel and starts the optimization calculation using the actual control parameters (flow set points, controlled variables, manipulated variables). After a reasonable time, the control system of the process automation of the actual process facility with all its automation components receives a new set point that affects the process, for example, in the form of one or more control parameters determined by the virtual facility component RT-VPM, rewriting the current set point of the control recipe, for example, in the form of one or more control parameters determined by the RT-VPM component. The connection with the automation component allows the set point to be changed in full operation. Ideally, the simulation component and the automation component run on the same hardware and software (e.g., SIEMENS's multifunctional platform S7-1507s PLC, SIMATIC SIMIT, TIA Portal, etc.).
[0078] Historical data of the process facility and / or historical data of the non-real-time simulation model and / or historical data of the virtual facility model and / or historical data from offline experiments can be used to train the machine learning model and / or improve the virtual facility model. This advantageously shows how the virtual facility model is continuously improved due to the increase in the amount of data generated. An adaptive system is generated in this way. This embodiment can even be extended so that the simulation model of the facility is also continuously updated from the operational data from the process facility, which increases the accuracy of the model and further optimizes the operation of the facility. The digital process twin system may, for example, include or be connected to a training component that is connected to a database with historical data of the mentioned model to train the machine learning model and to improve the performance of the process facility and / or the digital process twin system.
[0079] Now turn to Figure 3 , describes an exemplary implementation of a control architecture for the disclosed use case. In this implementation, the real plant RP is in operation and interacts in real time with soft sensors, which evaluate quality attributes based on their models, which feed the evaluation to the advanced process control (here MPC) to control the process in the real plant according to previously determined set points (here flow set points). Here, online real-time control refers to control in the range of hundreds of milliseconds according to the cycle of the automation system or automation components of the plant.
[0080] Since the process to be controlled is complex with the requirements of minimization of raw material consumption and / or maximization of yield advanced process control is a preferred solution for this use case. Advanced process control offers the possibility to develop and integrate different areas of automation technology such as theoretical modeling and simulation. Therefore, in a very advantageous embodiment of the present disclosure, a model predictive controller MPC is used in combination with a virtual plant model RT-VPM, which acts as a soft sensor to predict the state of the process plant and thus determine the quality attributes of the output product. In this way, Figure 3 The control architecture shown can be viewed as an advanced closed-loop quality control.
[0081] The model predictive controller MPC is based on an iterative, finite-horizon optimization of a model of the process to be controlled. The prediction horizon of the MPC is repeatedly moved forward. At each moment (e.g., k=1, 2, ..., n), the MPC uses several components to calculate a series of optimal future control moves. The components used in the calculation include an internal dynamic model of the process, a prediction function for calculating predictions of future controlled variables without and with process control, and an optimization cost function over a sliding prediction horizon. Only the first of a series of control actions is applied, after which a new series of future control actions is calculated. The internal dynamic model of the process corresponds to the virtual plant model VPM, as shown in Figure 2As shown in . The model combines a real-time process model as a data-driven machine learning model and a standard function facility model with a Laplace function formed by the Z transform for pumps and temperatures according to MATLAB Simulink. The combined model of the soft sensor and the Z transform function is further used as a digital process twin to train and adjust the model predictive controller MPC without the need for expensive laboratory experiments specifically for steps, microsteps or sinusoidal actions to control flow. This means that the dynamic model inside the MPC can be trained on simulation data generated only by the digital process twin. In addition, actual process variables can be used, but they are not necessary for ordinary MPC. The MPC can be adjusted by optimizing the cost function of the MPC on the sliding prediction time domain based on the virtual facility model VPM. In this way, the MPC can continue to improve over time. It should be noted that the optimization of the MPC can be performed offline as an optimization of the virtual facility model VPM without coupling to the actual facility. This is possible because only simulation data is used to train the model and update the model.
[0082] During the operation of the actual facility RP, PAT information and model-based state evaluators can be used to evaluate the actual product quality. Different evaluations of the same attribute can be combined using techniques such as Kalman filters. The probability of the predicted quality parameters (as implemented by the real-time state evaluator) and the probability of the measured quality parameters (as implemented by PAT measurement) not only represent the probability distribution of possible errors around each evaluation, but also represent the correlation between the evaluation errors of different variables. Based on the probability of the previous and current evaluations and the probability of the measured values of the quality attributes, in each cycle, the previous evaluation is combined with the new measurement in the best way so that the residual error of the filter state is minimized as quickly as possible. After each new measurement, the Kalman filter improves the previous evaluation and updates the associated error evaluation and correlation. Due to the robustness of this evaluator, the MPC trained in the virtual facility can be used in the actual facility. The pump is turned to higher and lower speeds based on the measured deviation from the required quality index.
Claims
1. A method for operating a process facility having at least one automation component (PA) for controlling an industrial process (MP) having at least one input component and at least one output product within the process facility, the method comprising the following steps: - generating quality attributes of the industrial process based on process variables and process parameters using an off-line simulation model (OSM) of the industrial process, - using the generated quality attributes and related process variables as input to a machine learning model (ML) which is used as a real-time process model (RT-PRM), - using the real-time process model (RT-PRM) as a soft sensor to assess the quality attributes (QA) of the output product based on measured process variables or simulated process variables of the industrial process, and - Optimizing the performance of the process facility based on assessed quality attributes (QA) of the output products.
2. The method according to claim 1, in, A process plant simulation model (SPM) is used to generate the simulated process variables (SD) of the industrial process.
3. The method according to claim 1 or 2, in, The process facility simulation model (SPM) is a real-time model, and thus the real-time process facility simulation model (RT-SPM) and the real-time process model (RT-PRM) are combined into a real-time virtual facility model (RT-VPM) to evaluate or predict the state of the process facility in order to optimize the performance of the process facility.
4. The method according to claim 1, 2 or 3, in, The real-time process model (RT-PRM) or the real-time virtual plant model (RT-VPM) is used for online control of the process plant, and the online control is preferably an advanced, adaptive process control, such as a model predictive controller (MPC).
5. A method according to any one of the preceding claims, wherein: The industrial process is a pharmaceutical production process, in particular a mixing process of two liquids.
6. A soft sensor for a process facility having at least one automation component (PA) for controlling an industrial process (MP) having at least one input component and at least one output product in the process facility (RP), the soft sensor comprising: - an interface (I1) for receiving quality attributes and related process variables of the industrial process from a non-real-time simulation model component (OSM) in order to simulate the behavior of the industrial process, and - Real-time process model (RT-PRM) components, The real-time process model component includes a machine learning model (ML), wherein the machine learning model (ML) is based on the received quality attributes and related process variables of the simulation model component (OSM), and Wherein, the machine learning model (ML) is configured to evaluate the quality attributes (QA) of the output product based on measured process variables or simulated process variables of the industrial process.
7. The soft sensor according to claim 6, Also included is the non-real-time simulation model component (OSM) connected to the interface (I1).
8. The soft sensor according to claim 6 or 7, Also included is a Kalman filter configured to receive the estimated quality attributes and the measured quality attributes of the output product and calculate an improved estimate based on probabilities of previous and current estimates and measured values of the quality attributes.
9. Use of a soft sensor according to claims 6 to 8 as a process model for a model predictive controller (MPC).
10. A digital process twin system for operating a process facility having at least one automation component (PA) for controlling an industrial process (MP) having at least one input component and at least one output product within the process facility, the digital process twin system comprising: A virtual facility model component (VPM) having - an interface (I2) for receiving quality attributes and related process variables of the industrial process from a non-real-time simulation model component (OSM) in order to simulate the behavior of the industrial process, - Real-time process model (RT-PRM) components, The real-time process model component includes a machine learning model (ML), wherein the machine learning model (ML) is based on the received quality attributes and related process variables of the non-real-time simulation model component (OSM), and - Process plant simulation model component (SPM), The process facility simulation model component is configured to simulate automation functions and operations of the process facility to generate simulated process variables (SD). Wherein, the machine learning model is configured to evaluate the quality attributes (QA) of the output product based on measured process variables or simulated process variables of the industrial process.
11. The digital process twin system according to claim 10, wherein: The measured process variables are real-time data (RT-D) of the process plant (RP).
12. The digital process twin system according to claim 10 or 11, wherein: The process plant simulation model component (SPM) is a real-time model (RT-SPM).
13. The digital process twin system according to claims 10 to 12, wherein: The virtual plant model component (VPM) is configured to run in real-time (RT-VPM) in parallel with the process plant (RP) to evaluate or predict the status of the process plant in real-time based on the evaluated quality attributes (QA) of the output products.
14. The digital process twin system according to claim 13, wherein: The real-time virtual plant model component (RT-VPM) is configured to operate in conjunction with a control component, preferably a model predictive controller (MPC), so as to control the real plant (RP) based on the evaluation state or predicted state generated by the real-time virtual plant model (RT-VPM), thereby providing closed-loop control of the quality of the output product.
15. The digital process twin system according to claim 12, wherein: The virtual plant model component (VPM) includes an interface (I3) for providing the simulated process variables and / or assessed quality attributes to a model predictive controller (MPC) for use in adjusting the model predictive controller (MPC) so as to operate the model predictive controller in an actual plant.
16. Use of the digital process twin system according to claims 10 to 15 for optimizing the operation of a facility for a pharmaceutical production process, in particular a mixing process of two liquids.
17. A computer program product comprising program code which, when executed, causes at least one processor to perform any of the steps of the method according to claims 1 to 5.
