Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
MONITORING AND/OR CONTROLLING A PLANT VIA A MACHINE-LEARNING REGRESSOR
Document Type and Number:
WIPO Patent Application WO/2022/258395
Kind Code:
A1
Abstract:
Aspects of a computer-implemented regressor (7) for simulating, monitoring and/or control-ling a batch plant (1) are disclosed. The batch plant (1) is implemented to receive one or more educts (3, 5) having associated educt quality parameters (x1, x2), to process said educt(s) (3, 5) wherein the process has associated process parameters (yj), and to output a product (4, 5) having associated product quality parameters (Q1, Q2). The regressor (7) comprises at least two regressor units (9, 10) based on machine-learning principles, each regressor unit (9, 10) having an input for receiving input data, and an output for outputting output data. A first regressor unit (9) is implemented to receive said educt quality parame-ters (xi) and to output at least one educt impact parameter (R1). And a second regressor unit (10) is implemented to receive said educt impact parameter (R1) and said process pa-rameters (yj) and to output at least one product quality parameter (Qj).

Inventors:
RUEHL PHILLIP (DE)
BADINSKI ALEXANDER (DE)
HEIDEL GENNADIJ (DE)
Application Number:
PCT/EP2022/064391
Publication Date:
December 15, 2022
Filing Date:
May 27, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BASF SE (DE)
International Classes:
G05B19/042; G05B13/02; G05B17/02; G05B23/02; G06N3/08; G06N20/10
Domestic Patent References:
WO2020227383A12020-11-12
WO2020205339A12020-10-08
WO2020058237A22020-03-26
WO2020227383A12020-11-12
WO2020058237A22020-03-26
Foreign References:
EP3696619A12020-08-19
DE102004028002A12006-01-05
Attorney, Agent or Firm:
BASF IP ASSOCIATION (DE)
Download PDF:
Claims:
Claims:

1. A computer-implemented regressor (7) for simulating, monitoring and/or controlling a plant (1), wherein the plant (1) is implemented: to receive one or more educts (3, 5) having associated educt quality parameters {xi,

X2) , to process said educt(s) (3, 5) wherein the process has associated process parame ters (y), and to output a product (4, 5) having associated product quality parameters ( Qi , Q2 ); and the regressor (7) comprises: at least two regressor units (9, 10), each regressor unit (9, 10) comprising: an input for receiving input data, and an output for outputting output data, wherein: a first regressor unit (9) is implemented to receive said educt quality parameters (x) and to output at least one educt impact parameter (/¾; and a second regressor unit (10) is implemented to receive said educt impact parameter (Rj) and said process parameters (y, and to output at least one product quality pa rameter (Qj); and the first and the second regressor unit (9, 10) are based on machine-learning princi ples.

2. The regressor of claim 1, wherein the first and second regressor units (9, 10) are arti ficial neural networks (“ANN”) (9, 10), each including an input layer having input nodes for receiving input data, and an output layer having output nodes for outputting output data, wherein the second ANN (10) is trained based on training data sets including process parame ters and product target variables corresponding to a product quality parameter associ ated to a respective product.

3. The regressor of claim 2, wherein the first ANN (9) is trained based on training data sets including the educt quality parameters and a residual of the trained second ANN (10) as target variable for the educt impact parameter, both corresponding to the re spective product.

4. The regressor of any one of claims 1 - 3, comprising: a plurality of first ANNs, wherein each ANN of the first ANNs corresponds to an educt and is implemented to receive corresponding educt quality parameters CXT1...4) and to output at least one corresponding educt impact parameter C¾=i...4) ; and a plurality of second ANNs, wherein each ANN of the second ANNs corresponds to a process for producing a product and is implemented to receive corresponding process parameters ( Yj= 1...3) and a combination of educt impact parameters (EI=I..A) from the first ANNs, and to output a corresponding product quality parameter { Qj= 1...3) .

5. The regressor of any one of claims 2 - 4, wherein at least one of the ANNs is a feed forward ANN, a Baysian neural network and/or at least one of the ANNs further com prises hidden nodes.

6. The regressor of any one of claims 1 - 5, wherein said educt quality parameters in clude at least one of a viscosity value, a hydroxyl value, a concentration value, and a color parameter.

7. The regressor of any one of claims 1 - 6, wherein said process parameters (yj include at least one of a measured observable, a temperature value, a maximum temperature value, a time span, a reaction time, a storage time of a catalyst, a number of free iso cyanate (NCO) groups, and characteristics of a time series.

8. The regressor of any one of claims 1 - 7, wherein said product quality parameters (Qj) include at least one of a viscosity value, a hardness value, a roughness value, drug in teraction, a pH value, and a solubility.

9. A control device (13) for controlling a plant (2), wherein the plant (2) is implemented: to receive one or more educts having associated educt quality parameters (xj, to process said educt(s) wherein the process has associated process parameters (yj), and to output a product having associated product quality parameters (Qj; wherein the control device (13) comprises a regressor (1, 7, 8, 12) of any one of claims 1 - 8, wherein the control device (13) is implemented to adapt the process as a func tion of the product quality parameter (Qj output from the regressor unit (10) in re sponse to adapted process parameters.

10. The control device of claim 9, wherein the control device (13) comprises a computer processing device implemented to perform operations implementing the regressor (1, 7, 8, 12) and to carry out an optimization algorithm for adapting process parameters such that the product quality parameters (Qj output from the regressor unit (10) cor- respond to a predetermined product quality.

11. A method for training the regressor of any one of claims 1 - 10, wherein the regressor units (9, 10) are machine learning units, the method comprising: providing for a first and at least one second product {j=\...p), a plurality of np training data sets, each training data set including educt quality parameters Cx), process pa rameters (y) and a product target variable (Q) corresponding to a product quality pa rameter associated to the product ( j) training the second regressor unit (10) and/or a third regressor unit based on training data subsets including the process parameters {y) and the product target variables ( Q ), corresponding to a first product (y-7), thereby obtaining a first residual ( R ) for each training data subset; training the regressor unit (10) based on training data subsets including the process parameters (y) and the product target variables ( Q ), corresponding to at least one fur ther product (j¹f), thereby obtaining a second residual ( R ) for each training data sub set; and training the first regressor unit (9) based on training data subsets including the educt quality parameters ( x ) and the residual ( R ) as target variable for the educt impact pa rameter, both corresponding to the first product (y-7), and on further training data subsets including the educt quality parameters (x) and the residual (R) as target vari able for the educt impact parameter, both corresponding to the at least one further product (j¹l).

12. The method of claim 11, further comprising: for each product (y), training the second regressor unit (10) based on training data subsets including the process parameters (y), the educt impact parameter output from the trained first ANN (9) in response to the educt quality parameters (x) associated to the educt used for producing the respective product, and the product target variable (Q) corresponding to the product quality parameter associated to the respective prod uct.

13. The method of claim 12, wherein the step of training the first regressor unit (9) and the step of training the second regressor unit (10) of claim 12 are repeatedly carried out.

14. The method of any one of claims 11 - 13, further comprising: generating said training data sets by operating the plant (1) and measuring process parameters and product quality parameters; and/or generating said training data sets deploying a whitebox-numerical model for simulat ing a plant process based on educt quality parameters and generating process param eters, and product quality parameters.

15. A method for simulating, monitoring and/or controlling a plant (1), wherein the plant (1) is implemented: to receive one or more educts (3, 5) having associated educt quality parameters (xj), to process said educt(s) wherein the process has associated process parameters (yj), and to output a product (4, 5) having associated product quality parameters (/¾); and the method comprises: using a regressor (7, 8, 12) of any one of claims 1 - 10, wherein the regressor (7, 8, 12) is trained according to the method of any one of claims 11 - 14.

Description:
MONITORING AND/OR CONTROLLING A PLANT VIA A MACHINE-LEARNING REGRESSOR

The present disclosure relates to methods, regressors, in particular involving artificial neural network systems, and control devices for simulating, monitoring and/or controlling a plant. Further, methods for training artificial neural network systems are provided. In particular, models based on artificial neural networks (ANN) are depicted that are suitable for simulat ing batch processes where educts are transformed into products by a batch-processing unit and which are suitable to monitoring and/or controlling a batch plant.

In batch processing or batch plants, the production of multiple products occurs with the same set of equipment or processing units, for example a chemical or biological reactor. On the one hand, it is desirable to optimize a particular process involving certain educts that are processed into the desired product. On the other hand, scheduling a batch operation us ing a single processing unit can be improved if processes are accurately modeled and simu lated.

In conventional approaches, simulations of chemical reactions occurring in a batch process use so-called whitebox models that are based on rigorous models or first principles. Whitebox models generally require a large amount of computational power and resources due to the complex physiochemical systems to be modelled involving non-linear equations.

Another approach are so-called blackbox models that were developed in the past and rely on machine-learning concepts. For example, neural networks can be used to predict spe cific properties of a product or its quality based on input data including process characteris- tics and educt characteristics. Such neural networks need to be trained with a plurality of data sets that sometimes are not available. Further, a conventional blackbox model based on an artificial neural network needs to be retrained, if conditions in the batch plant to be modeled, a desired product quality and/or the educt characteristics change, thus rendering conventional approaches inflexible.

A further approach are hybrid models as combinations of whitebox models and blackbox models. Document WO 2020/227383 A1 discloses computer-based process modeling and simulation methods and systems combining first principles models and machine learning models to benefit where either model is lacking. In one example, measured input values are adjusted by first principles techniques. A machine learning model of the chemical process of interest is trained on the adjusted values. In another example, a machine learning model represents the residual between a first principles model prediction and empirical data. Re sidual machine learning models correct physical phenomena predictions in a first principles model of the chemical process. In another example, a first principles simulation model uses the process input data and predictions of the machine learning model to generate simulated results of the chemical process.

Document WO 2020/058237 A2 discloses a method and a system capable of predicting val ues for product quality attributes of a chemical compound or of a formulation thereof as an outcome of a multistep production process, wherein the whole process or process steps are characterized by process parameters. It is achieved by executing a multivariate data analy sis of the process data in a quality-prediction model, which specifies or represents mathe matical relationships between quality attributes and process parameters of the production process or of sub-processes thereof. The quality-prediction model is obtained by mathematical modelling of historical process data, most preferred using neural network models in combination with empirical process knowledge gained over time.

It is an object of the present disclosure to provide improved methods and systems for moni- toring and/or controlling plants.

Aspect of the independent claims solve this problem.

This disclosure provides a computer-implemented regressor for simulating, monitoring and/or controlling a plant. The plant can be implemented to receive one or more educts having associated educt quality parameters, to process said educt(s) wherein the process has associated process parameters, and to output a product having associated product quality parameters. The regressor comprises at least two regressor units, each regressor unit comprising an input for receiving input data, and an output for outputting output data. Within the regressor, a first regressor unit is implemented to receive said educt quality pa rameters and to output at least one educt impact parameter; and a second regressor unit is implemented to receive said educt impact parameter and said process parameters and to output at least one product quality parameter. The regressor and/or regressor units are based on machine-learning principles.

In embodiments an artificial neural network (ANN) system for simulating, monitoring and/or controlling a batch plant is disclosed. The batch plant is implemented to receive one or more educts having associated educt quality parameters, to process said educts wherein the process has associated process parameters, and to output a product having associated product quality parameters. The ANN system comprises at least two ANNs, each ANN comprising an input layer having input nodes for receiving input data and an output layer having output nodes for outputting output data. The first ANN is implemented to receive said educt quality parameters and to output at least one educt impact parameter. The sec ond ANN is implemented to receive said educt impact parameter and said process parame ters and to output at least one product quality parameter.

The applicant found that nested or concatenated ANNs are suitable regressors for solving separable problems posed by batch plants. Thus, the disclosed regressor can be imple mented as an ANN system involving ANNs.

In the proposed ANN system, data relating to the educts, i.e. educt quality parameters, and process data relating to the actual process performed in the batch plant, i.e. process param eters, are considered separately. The first ANN models/simulates the impact of educt prop erties in terms of the educt quality parameters, and the second ANN models/simulates the, e.g. chemical or biological, process, which is at least partially driven by process parameters that can be observed or set during the operation of the batch plant. The second ANN also receives input from the first ANN so that product quality parameters can be reliably pre dicted.

It is understood that a respective ANN includes an input layer having input nodes for receiv ing input data and an output layer having output nodes for outputting output data. The ANNs may also comprise hidden layers between the input layer and the output layer. Gener ally, a respective ANN is characterized by configuration data at least including bias values and weight values for each node within the ANN. This configuration data is obtained by training the respective ANN. One may also refer to a trained ANN as a model for the chemical reacting occurring in a process unit of the batch plant. Trained ANNs are also considered regressors for the under lying problem to map input data (e.g. educt and process characteristics) onto output or tar- get data (e.g. product characteristics).

The proposed approach of separating the complex problem of mapping a variety of educt quality parameters and process parameters onto a product quality parameter allows for an efficient use of sparse data sets in training the ANNs or models, respectively. Embodiments of the ANN system allow for sharing training data sets used for different products produced by the same or similar batch plant. In particular, the process model or second ANN can ben efit from trained first ANNs or educt models for similar or same educts used in different batch plant processes. For example, the ANN system allows to change the educt model by updating configuration data for the first ANN, if an educt is changed but the overall batch process modeled by the second ANN is essentially unaltered. Hence, the trained partial

ANN of the unchanged component in a batch plant process remains. Doing so, the amount of required training data is reduced with respect to a conventional artificial neural network that needs to be completely trained with sets of educt quality parameters and process pa rameters to target or model product quality parameters.

It occurs that, according to investigations of the applicant, the resulting model or neural network system for simulating a batch plant is robust against noise in training data. In em bodiments, the partial blackbox model in terms of the first ANN or educt model describes an impact of the educts being independent of the plant or chemical process set-up. Hence, the first ANNs can be used in connection with alternative batch plants or batch plant units that are modeled by alternative second ANNs. Thus, in particular, the trained first ANNs can be recycled and only sparse training data for setting up the second ANN or process model for the alternative batch plant needs to be used.

In embodiments the output product quality parameters are generated in a computer-reada ble form, displayed and/or used to control, schedule, or adapt the batch plant, in particular by a control device.

In embodiments, the second ANN is based on training data sets including process parame ters and product target variables corresponding to product quality parameters associated to a respective product. For example, process parameters can include a measured observable during the chemical reaction, a temperature value, a maximum temperature value, a time span, a reaction span, a storage time of a catalyst, a number of free isocyanate groups or other characteristics of a time series. One may contemplate of other process parameters that influence the chemical reaction in the batch reactor.

Product quality parameters may include viscosity values of the product, a hardness value, a roughness value, drug interaction effects, a pH value or a solubility. One may contemplate of other product quality parameters that characterize the obtained product or the product during the chemical process or reaction in the batch plant.

In embodiments of the ANN system, the first ANN is trained based on training data sets in cluding the educt quality parameters and a residual of the trained second ANN as target variable for the educt impact parameter, both the educt quality parameter and the residual corresponding to a respective product. The residual or prediction error of the second ANN can be due to sparse availability of training data sets and is used to train the first ANN modeling the educt quality. The educt quality parameter may include a viscosity value, a hy droxyl value, a concentration value, a color parameter and the like. One may contemplate of other educt quality parameters.

The ANN system can be seen as a concatenated system of first and second ANNs. In em bodiments of the ANN system, a system comprises: a plurality of first ANNs wherein each ANN of the first ANNs correspond to an educt and is implemented to receive corresponding educt quality parameters and implemented to output at least one corresponding educt impact parameter; and a plurality of second ANNs wherein each ANN of the second ANNs corresponds to a process for producing a product and is implemented to receive corresponding process pa rameters and a combination of educt impact parameters from the first ANNs and imple mented to output a corresponding product quality parameter.

One may contemplate associating the first ANNs to different educts and the second ANNs to batch processes having specific associated process parameters. The outputs from the first ANNs can be combined, weighted and fed into the second ANNs. For example, each second ANN may receive a linear combination of educt impact parameters from the first ANNs. As a result, the ANN system allows to predict product quality parameters for prod ucts that are produced in the batch process by combining one or more of the educts wherein the educts are characterized by the educt quality parameters.

It is understood that "an ANN corresponding to an action" is interpreted as the ANN model- ing the action. Hence, "a second ANN corresponding to a certain product" is an ANN that is trained and setup to output approximate product quality parameters in response to process parameters associated to the production process for the given product.

In embodiments of the ANN systems, at least one of the ANN is a feed-forward ANN. In em- bodiments, Bayesian neural networks can be used as ANNs. One may contemplate that at least one ANN further comprises hidden nodes between input and output nodes.

According to an aspect of this disclosure, a control device for controlling a batch plant is proposed. The batch plant is implemented to receive one or more educts having associated educt quality parameters, to process said educts wherein the process has associated pro cess parameters, and to output a product having one or more associated product quality pa rameters. The control device comprises an ANN system as disclosed above or below with respect to embodiments, wherein the control device is implemented to adapt a process as a function of the product quality parameter output from the second ANN in response to adapted process parameters. For example, based on the ANN system's simulation of the process within the batch plant, the process and thus the associated process parameters are changed by the control device to obtain a desired product quality.

In embodiments of the control device, the control device comprises a computer processing device implemented to perform operations implementing the ANN system, and to carry out an optimization algorithm for adapting process parameters such that the product quality pa- rameters output from the second ANN correspond to a predetermined product quality. Other aspects of this disclosure provide for a method for training a regressor, e.g. in terms of an ANN system as disclosed above or below with respect to certain embodiments. The training method comprises at least one of the steps of: providing for a first and at least one second product, a plurality of trainings data sets, each training data set including educt quality parameters, process parameters, and a prod uct target variable corresponding to a product quality parameter associated to the product; training the second ANN based on training data subsets including the process param eters and the product target variables corresponding to a first product thereby obtaining a first residual for each training data subset; training the second ANN based on training data subsets including the process param eters and the product target variables corresponding to at least one further product, thereby obtaining a second residual for each training data subset; and training the first ANN based on training data subsets including the educt quality pa rameters and the residual as target variable for the educt impact parameter, both corre- sponding to the first product and based on further training data subsets including the educt quality parameters and the residual as target variable for the educt impact parameter, both corresponding to the at least one further product.

The training method may include training the first ANN based on the training data set for all products containing a specific educt including the quality parameters for this educt and the residuals from the previous (training )step as the targets. This is preferably done for each educt. According to aspects of the training method above, the first ANN is trained to provide the residuals of the second ANN, thus reducing the need of a large number of training data sub sets or sets.

In embodiments of the training method, for each product, the step of training the second ANN based on trainings data subsets including the process parameters, the educt impact parameters output from the trained first ANN in response to the educt quality parameters associated to the educt use for producing the respective product and the product target var iable corresponding to the product quality parameter associated to the respective product is carried out. Hence, the second ANNs receive additional input from the trained first ANN.

In embodiments of the training method, the step of training the first ANN and the step of training the second ANN based on training data subsets including the process parameters, the educt impact parameter output from the trained first ANN in response to the educt quality parameters associated to the educt use for producing the respective product, and the product target variable corresponding to the product quality parameter associated to the respective product are repeatedly carried out.

In embodiments, the training method further comprises: generating said training data sets by operating the batch plant and measuring process parameters and product quality parameters; and/or generating said training data sets deploying a whitebox-numerical model for simulat ing batch plant process based on educt quality parameters and generating process parame ters and product quality parameters. According to an aspect of this disclosure, a method for simulating, monitoring and/or con trolling a batch plant, wherein the batch plant is implemented to receive one or more educts having associated educt quality parameters, to process said educts wherein the process has associated process parameters, and to output a product having associated product quality parameters, the method comprises the step of using an ANN system described above or be low with respect to certain embodiments, wherein the ANN system is trained according to the training method as disclosed above or below with respect to embodiments.

It is understood that regressor units are not necessarily implemented as ANNs, and that this disclosure also encompasses suitable configurations of other regressor units. Hence, throughout this disclosure the expression "ANN" may be replaced by "regressor unit" to fully appreciate the scope of the invention. A regressor unit can be implemented as a computer- implemented regression method, e.g. in terms of a software function or service. According to a further aspect, this disclosure relates to a computer program product com prising computer-readable instructions causing a computing system including one or more processing devices, in response to executing the machine-readable instructions, to perform the above-described methods and functions for simulating, monitoring and/or controlling a batch plant.

In embodiments, a computer-program product comprises a program code for executing the above-described methods and functions by a computerized control device when run on at least one control computer. A computer program product, such as a computer program means, may be embodied as a memory card, USB stick, CD-ROM, DVD or as a file which may be downloaded from a server in a network. For example, such a file may be provided by transferring the file comprising the computer program product from a wireless communica tion network.

Further possible implementations or alternative solutions of the invention also encompass combinations - that are not explicitly mentioned herein - of features described above or be low in regard to the embodiments. The person skilled in the art may also add individual or isolated aspects and features to the most basic form of the invention.

Further embodiments, features and advantages of the present invention will become appar ent from the subsequent description and dependent claims, taken in conjunction with the accompanying drawings, in which:

Fig. 1 shows a schematic diagram of an embodiment for batch plant. Fig. 2 shows a schematic diagram of a first embodiment of an ANN system.

Fig. 3 shows a schematic diagram of a second embodiment of an ANN system.

Fig. 4 shows a flow chart involving method steps for training embodiments of the ANN system.

Fig. 5 shows a schematic diagram of a third embodiment of an ANN system.

Fig. 6 shows an algorithm for training embodiments of the ANN system. Fig. 7 shows a schematic diagram of an embodiment for a control system for a batch plant.

Fig. 1 shows a schematic diagram of an embodiment for a batch plant. The batch plant 1 comprises a processing unit 2 which is, for example a continuously stirred tank reactor. The tank reactor 2 can be used to process various educts under specific process parameters to produce a product. Product can be, for example intermediate products of a pre-polymer synthesis, polyols, coatings, or other chemical, pharmaceutical or biological compositions.

In the example of Fig. 1, a single input educt 3 is indicated which undergoes processing in the reactor 2 and results in a product 4. One may attribute specific educt quality parameters to the educt 3 which is indicated by the label x . Educt quality parameters may include spe cific properties of the educt 3, for example a reactivity, a hydroxyl number or specific iso mers. In the reactor 2, a chemical reactional process takes place that may be characterized by process parameters y for example a process parameter can be a temperature profile or time series of an observable within the reactor 2. After the reactional process in reactor 2 is finished or stopped, product 4 can be retrieved having specific quality parameters indicated as Q . For example, the quality parameter Q may refer to the purity or concentration of a substance within the product 4.

The batch processing unit 2 can be used for other products. For example, in dashed lines, an alternative educt 5 having an educt quality parameter x2is depicted the batch process then leads to an alternative product 6 having product quality parameters Q2. It is desirable to predict the impact of the educts 3, 5 and applied process parameters y on the products 4, 6 and in particular their product quality parameters. This problem can be written as: (x, y j ) i® Q j (x, y j )

(equation 1) where /stands for the y-th product of all potential products {1, 2,... p} in this disclosure. A model or simulation of the batch process needs to map the combination of educt quality parameters x and process parameters y j onto the product quality parameter Q j for each product ]. The input vector x describes quality measurements of educts, for example substance concentrations, viscosity measuremens, color parameters or the like. The input vector y j refers to process parameters, that can be measured during the production of the product in the reactor 2. One may can contemplate of time series features, such as maximum, minima or mean values or physical observables like temperature or pressure values as process parameters. The output product quality parameter Q j is a scalar and describes a desired quality of the product j.

Fig. 2 shows a schematic diagram of a first embodiment of an ANN system implemented to model or simulate the batch process, for example implemented in reactor 2 of Fig. 1. The ANN system 7 comprises a first ANN 9 and a second ANN 10. The underlying ANN models or regressors are labeled ANN1 and ANN2 j . The ANNs 9, 10 are, for example, shallow ANNs having an input layer with input nodes for receiving input data and an output layer having output nodes for outputting output data. The configuration of the ANNs 9, 10 is defined by configuration data including bias values and weight values for each node in the respective ANN (not shown). The first ANN 9 receives the educt quality parameters xyfor educts involved in producing the desired product having a predetermined product quality parameter Qj. The first ANN 9 outputs an educt impact parameter Ri to an input node of the second ANN 10. The second ANN 10 further receives the process parameters y for product y in the reactor 2. The second ANN 10 outputs the predicted quality parameter Qj. Hence, the embodiment of an ANN system 7 maps the educt quality parameters xi and process parameters y onto the product quality parameter Qj. It is assumed that the problem depicted in equation 1 can be written as:

(equation 2).

Equation 2 assumes that the mappings or functions for the product quality parameters Q j are separable, wherein function / depends on the educt quality parameters xi and function g on the process parameters y j . It is an advantage if the educt quality parameters xi influ ence the reaction kinetics according to the process in the reactor in a similar way. The ANN system 7 in Fig. 2 solves a regression problem that can be written as: min C(X; w, b)) = (Q(X) — -P(X; w, b)) 2

(equation 3) wherein refers to the regressor for the true value Qj. The regressor w b) refers to the model implemented by the trained ANNs 9, 10, wherein w refers to the weights used within the neural networks 9, 10, and b to the bias values used to implement the nodes within the ANNs 9, 10. X includes the educt quality and process parameters. Generally, the ANN system 7 shown in Fig. 2 is capable of simulating the batch process or reactor 2, respectively. The configuration of the ANN system 7 in terms of a first and a second ANN 9, 10 dedicated to modeling the influence of educt quality parameters c- on the one hand (ANN1) and the influence of process parameters yj on the other hand (ANN2 j ) allows for an efficient training and set-up of the configuration data for the ANNs 9, 10.

Fig. 3 shows a schematic diagram of a second embodiment of an ANN system 8. The ANN system 8 includes a first ANN 9 and two second ANNs 10, 11 that are labeled as ANN2 j and ANN2 2 . The labels refer to the model that is implemented through the ANN configuraton data, i.e. the biases and weights and number of nodes and their topology. The first second ANN 10 receives the educt impact parameter 7¾ from the first ANN 9 and process parameters yi that describe or characterize the batch process leading to product j=l having the product quality parameter Qi. The other second ANN 11 receives alternative process parameters characterizing the process leading to alternative product =£ having the product quality parameter Q2· Models ANN1, ANN2 j and ANN2 2 are implemented as shallow neural networks, for example Baysian-typ neural networks, which dispense with the need for the validation of data sets when training.

Fig. 4 shows a flowchart involving steps for training the ANN system 7, 8 shown in Fig. 2 or 3. In a first step SI, the ANN2 j and ANN2 2 models are trained separately from one another, for example deploying a Bayesian training method. A respective training data set for ANN2 j includes process parameters yi and predetermined product quality parameters Qi as target variables. A plurality of training data sets can be used for each product j. In step SI, the same training process occurs for model ANN2 2 , wherein the process parameters are included as target variables designed or measured product quality parameters Q 2 are deployed. For example, due to a limited amount of training data and the missing educt impact input, models ANN2 j and ANN2 2 will produce residuals or errors in their quality prediction.

In a next step S2, the residuals of the target variables, i.e. Qi and /¾ are calculated.

Next, in step S3, the ANN model ANN1 is trained based on training data sets that include the educt quality parameters x,, and, as target variable for the training of the residuals obtained in step S2. The training of ANN1 in step S3 occurs for all available products j.

Hence, the influence of the educt quality parameters and the influence of various process parameters are separated within the ANN model architecture. It is an advantage that the ANN modeling or predicting the impact of the educt parameters can be trained by a larger data set stemming from the processing of the first product along yi and the second product along One may contemplate considering training data sets for the educt model ANN1 for further batch processes leading to further products.

In the next step S4, the second ANNs implementing models ANN 2 1 and ANN 2 2 are re trained. The additional training in step S3 uses additional input off the predicted residuals obtained from the first model ANN1. Hence, the accuracy of the prediction of the product quality parameters Qi and Q2 are further improved.

In embodiments, the steps S3 and S4 are performed repeatedly. Due to the architecture of the ANN system 7, 8, sparse training data sets can be handled and still allow for a robust blackbox model for controlling a batch plant. In particular, in multiple product batch plants, the ANN configuration data may be reused or recycled if shared or often used educts are deployed.

Fig. 7 shows a schematic diagram of an embodiment for a control system for a batch plant using the ANN systems 7, 8 or improvements thereof. Fig. 7 shows a control device 13 coupled to a batch plant, as for example shown in Fig. 1. Like or similar reference numerals are used and not expressly explained again. The control device 13 receives educt quality parameters and predetermined product quality parameters Q p ' , where the predetermined product quality parameters refer to a desired quality of the product that is produced by the reactor 2. The reactor 2 is operated and/or characterized by process parameters y p for the specific product p. The control device 16 is, for example, a computer-implemented device that performs operations implementing an ANN system as disclosed before or in the following. The control device 13 further carries out an optimization alogrithm such that an observed quality parameter Q p for the product matches with the predetermined product quality according to the product quality parameter Q p ' . Next, various apects of simulating/controlling a plant shown in Fig. 7 are elaborated.

Fig. 5 shows an ANN system or set-up or architecture capable of simulating a variety of products having product quality parameters Qi, Q å and Qs based on a pi urlity of educts and their associated educt quality parameters Xi,2,s,4· fi,2,s,4 refers to the ANN educt model corresponding to the first ANNs, for example in Fig. 3, ANN1, and gi , 2 , s refers to process models implemented by the second ANNs (e.g. ANN2 j and ANN2 2 in Fig. 3). hi , 2, 3 refers to linear regressors that model the chemical reaction involving a sample of educts. For example, regressor hi receives the output from educt models fi and / ? . One may generalize the architecture shown in Fig. 5 having a plurality of first ANNs instead of only four indicated by fi, f2, p and Tv, and corresponding to an educt characterized by educt quality parameters Xi, X¾ Xv and X ¾ respectively. Then a plurality of second ANNs of which three are labeled by gi, g2 and gs receive the combination of weighted educt impact parameters Ri, R2, 7¾ and R4 and specific process parameters y^ y 2 , y 3 corresponding to the batch process leading to a respective product 1, 2, 3 having associated product quality parameters

Qi, Q2, Q,3 Generally, one may consider j- 1...p products and i = I...111 educts.

A representation of a general algorithm using regression models based on ANNs is shown in Fig. 6. The algorithm 1 shown in Fig. 6, in particular, provides for a training method for a generalized ANN architecture based on the ANN systems 7, 8 and 12. It is assumed that there are ^ samples or data sets of a production process for product j. The input parameters for the model are labeled as equation 4:

(equation 4) leading to corresponding target variables:

(equation 5)

As a result of the training algorithm, regressors or ANN models

(equation 6) are obtained. stands for configuration data in terms of weights and biases for the indi vidual ANNs used for simulating a specific batch process.

In lines 1 to 6 of algorithm 1 shown in Fig. 6, ANN models are obtained. Training of is based on the process parameter trainings sets y and the product quality parameter as target variable. This leads to residuals indicated in line 4 of algorithm 1. Hence, the model residuals of ^stemming from the process parameters are combined in a single data set for training the ANN models referring to the educts. The educt training occurs in line 7 taking educt quality parameter data for training as well as the obtained residuals from line 4.

Next, for all products p in lines 8 to 10 of algorithm 1, the regression model according to equation 4 is obtained. Investigations of the applicant show that a suitable ANN architecture for the first and second ANN models are single hidden layer neural networks trained by Bayesian regulation. Hence, an efficient neural network-based simulation method and control capabalities for batch plants are obtained. Software libraries for implementing the disclosed ANN models and their training are available in a in a computer-implemented fashion. For example, one may refer to the MATLAB Deep Learning Toolbox for configuring and operating the ANNs disclosed herein.

It is an advantage of the disclosed methods and systems that a prediction of product qualities is available even if only sparse data sets are available. Investigations of the applicant show that simulation of batch plants based on the disclosed approach reaches accuracies similar or better than what is obtained from whitebox models if they are available. Hence, a flexible and efficient tool for simulating, predicting and controlling chemical processes, for example deployed in batch processing, is provided.

Allthough, simulations of batch plant operations are disclosed using ANNs in ANN systems the invention is not limited to such regressors. One may contemplate of alternative configurations of regression systems to perform regression, e.g. involving gaussian processes, linear regression, elastic net regularizaiton models or the like. E.g. any ANN in this disclosure may be replaced by a suitable regressor unit. It is understood that the regressors may be implemented as software services, hardware units or distributed computer networks.

Used reference signs

1 batch plant

2 reactor

3, 5 educt

4, 6 product

7, 8, 12 ANN system

9, 10, 11 ANN

13 control device

SI training second ANNs

S2 calculating residuals

S3 training first ANN

S4 retraining second ANNs