# US 2018/0024509 A1 · System modeling, control and optimization

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0024509 A1
- Document ID: US20180024509A1
- Status: Published application
- Kind: A1
- Application number: 15/395,388
- Filed: 2016-12-30
- Published: 2018-01-25
- Earliest claimed: 2016-07-25
- Assignees: General Electric Company
- Applicants: General Electric Company
- Inventors: Stephen William Piche; Fred Francis Pickard
- Web page: https://patentgrep.com/patent/US20180024509A1

## CPC

- G06N 20/00: Machine learning
- G05B 13/0265: {the criterion being a learning criterion}
- G05B 13/027: {using neural networks only}
- G05B 13/041: {in which a variable is automatically adjusted to optimise the performance}
- G06F 17/11: for solving equations {, e.g. nonlinear equations, general mathematical optimization problems (optimization specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 30/20: Design optimisation, verification or simulation (optimisation, verification or simulation of circuit designs G06F30/30)
- G06F 30/23: using finite element methods [FEM] or finite difference methods [FDM]
- G06F 30/27: using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/091: Active learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06F 2111/10: Numerical modelling
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for modeling an operation of a system that may include a disturbance rejection model that is configured to generate a predicted value for a system output at a future time. The disturbance rejection model may include a neural network for mapping system inputs to the system output. The method may include the steps of: training the disturbance rejection model per a training dataset; and calculating a confidence metric for the disturbance rejection model. The confidence metric is configured to indicate a probability that a predicted sign of a gain in the system output at the future time made by the disturbance rejection model is correct.

## Claims

### Claim 1

A method for modeling an operation of a system that includes a disturbance rejection model that is configured to generate a predicted value for a system output at a future time, wherein the disturbance rejection model comprises a network for mapping system inputs to the system output, the method comprising the steps of:
training the disturbance rejection model per a training dataset; and
calculating a confidence metric for the disturbance rejection model;
wherein the confidence metric is configured to indicate a probability that a predicted sign of a gain in the system output at the future time made by the disturbance rejection model is correct.

### Claim 2 (depends on 1)

The method of claim 1, wherein the training dataset comprising a time series dataset of actual values for the system inputs and the system output as determined from measurements taken of the operation of the system during a historical operating period, the historical operating period occurring prior to the future time; and
wherein the training dataset comprises T samples, the T samples taken at times=[1, 2, . . . , t, . . . , T] wherein a time (t), a time (t−1), a time (t−2) denote generalized samples in the training dataset where the time (t−2) occurs just prior to the time (t−1) and the time (t−1) occurs just prior to the time (t).

### Claim 3 (depends on 2)

The method of claim 2, wherein the disturbance rejection model comprises a disturbance rejection configuration in which the predicted value made by the disturbance rejection model for the system output at the future time is based upon a predicted value made by the network for the system output at the future time and an error multiplied by a feedback coefficient; and
wherein the error comprises a difference between:
a predicted value made by the network of the controlled variable at the previous time; and
an actual value of the system output at the previous time, wherein the actual value is based upon a measurement taken by a sensor disposed in the system for measuring an operating parameter related to the system output.

### Claim 4 (depends on 3)

The method of claim 3, wherein the network comprises a neural network that includes multiple layers having nodes, the multiple layers including at least an input layer, an output layer, one or more hidden layers, and forward weight matrixes; and
wherein:
the input layer comprises a plurality of the nodes, the plurality of the nodes corresponding respectively to the system inputs, wherein each of the plurality of the nodes is configured to receive an input signal relating to a value for a particular one of the system inputs;
the output layer comprises at least one of the nodes, the at least one of the nodes corresponding to the system output;
the one or more hidden layers are disposed between the input layer and the output layer, each of the one or more hidden layers comprising a plurality of the nodes; and
the forward weight matrices comprise connectors that connect the nodes of successive layers of the multiple layers of the neural network and a weight value for each of the connectors;
wherein a weight vector defines the weight values for the connectors of the forward weight matrices.

### Claim 5 (depends on 4)

The method of claim 4, wherein the confidence metric is based on the probabilistic distribution calculated for the T samples of the training dataset;
wherein the system inputs at the time (t−1) and the time (t−2) are described by input vectors, which are denoted, respectively, as an input vector (xt−1) and an input vector (xt−2);
wherein the system output at the time (t−1) is denoted as a system output (dt−1);
wherein the step of calculating the probabilistic distribution for the predicted value of the system output at the time (t) comprises calculating a mean (μ) and a variance (σ2) that define a normal distribution ().

### Claim 6 (depends on 5)

The method of claim 5, wherein the mean (μ) for the probability distribution for the predicted value of the system output at the time (t) comprises the predicted value made by the disturbance rejection model for the system output at the time (t), as given by:
μ(xt−1,xt−2,dt−1,k*,wMAP)=y(xt−1,xt−2,dt−1,k*,wMAP)
where:
the yt comprises the predicted value made by the disturbance rejection model for the system output at the time (t);
the k* denotes a trained value for the feedback coefficient (k); and
the wMAP denotes a trained value of the weight vector;
wherein each of the trained values, the k* and the wMAP, are determined from the disturbance rejection model once trained per the training dataset.

### Claim 7 (depends on 6)

The method of claim 6, wherein the variance (σ2) for the probability distribution for the predicted value of the system output at the time (t) is defined using the Bayesian evidence framework as:
σ2(xt−1,xt−2,dt−1,k*,wMAP)=β−1+gtTA−1gt
wherein:
the β−1 comprises an inverse of a scalar hyperparameter denoted as β;
the A is a second derivative of a negative log posterior distribution as given by:
A=Diag(α)I+βH;
where:
the I comprises an identity matrix; and
the H comprises a Hessian matrix, the Hessian matrix being computed using a R-propagation algorithm; and
the gt comprises a vector gt that is calculated using at least one of the following equations:
g
t
=
∂
y

(
x
t
-
1
,
x
t
-
2
,
k
,
w
)
∂
w


k
=
k
*
,
w
=
w
MAP
;
and
g
t
=
(
∂
NN

(
x
t
-
1
,
w
)
∂
w
-
k

∂
NN

(
x
t
-
2
,
w
)
∂
w
)


k
=
k
*
,
w
=
w
MAP
.

### Claim 8 (depends on 6)

The method of claim 6, wherein an algorithm for calculating the confidence metric is configured such that the confidence metric comprises:
a high probability that the predicted sign of the gain in the system output at the time (t) is correct when the variance of the probabilistic distribution is small compared to a difference between: the predicted value of the system output made by the trained disturbance rejection model at the time (t) and the system output (dt−1) at the time (t−1); and
a low probability that the predicted sign of the gain in the system output at the time (t) is correct when the variance of the probabilistic distribution is large compared to the difference between: the predicted value of the system output made by the trained disturbance rejection model at the time (t) and the system output (dt−1) at the time (t−1).

### Claim 9 (depends on 6)

The method of claim 6, wherein the predicted sign of the gain in the system output is defined as a predicted sign of a value change for the system output between the time (t−1) and the time (t);
wherein the predicted sign comprises:
a positive value when the value change results in the predicted value for the system output at the time (t) increasing from the actual value of the system output (dt−1) at the time (t−1); and
a negative value when the value change results in the predicted value for the system output at the time (t) decreasing from the actual value of the system output (dt−1) at the time (t−1).

### Claim 10 (depends on 9)

The method of claim 9, wherein, given the probabilistic distribution of the predicted value of the system output at the time (t), the confidence metric comprises a probability calculated via a fraction in which:
the numerator of the fraction comprises a sign for:
the system output (dt−1) at the time (t−1) subtracted from
the probabilistic distribution of the system output made by the trained disturbance rejection model at the time (t); and
the denominator of the fraction comprises a sign for:
the system output (dt−1) at the time (t−1) subtracted from
the predicted value of the system output made by the trained disturbance rejection model at the time (t) and the system output (dt−1) at the time (t−1).

### Claim 11 (depends on 9)

The method of claim 9, wherein given the probabilistic distribution of the predicted value of the system output at the time (t), which is designated as τt, the confidence metric comprises a probability (p) that the sign of the predicted change for the system output is correct at the time (t);
wherein the probability (p) is given by:
p

(
sign

(
τ
t
-
d
t
-
1
)
sign

(
y

(
x
t
-
1
,
x
t
-
2
,
d
t
-
1
,
k
*
,
w
MAP
)
-
d
t
-
1
)
>
0
)

### Claim 12 (depends on 11)

The method of claim 11, wherein the mean (μ) of the probabilistic distribution (τt) is equal to:
μ=y(xt−1,xt−2,dt−1,k*,wMAP)
wherein, given the normal distribution of the probabilistic distribution (τt) a Gauss Cumulative Distribution (Φ) is utilized to compute the probability that the sign of the predicted change for the system output is correct at the time (t), which is given by:
p

(
sign

(
τ
t
-
d
t
-
1
)
sign

(
y

(
x
t
-
1
,
x
t
-
2
,
d
t
-
1
,
k
*
,
w
MAP
)
-
d
t
-
1
)
>
0
)
=
Φ

(

y

(
x
t
-
1
,
x
t
-
2
,
k
*
,
w
MAP
)
-
d
t
-
1

)
.

### Claim 13 (depends on 12)

The method of claim 12, wherein, given the Gaussian Cumulative Distribution (Φ), the probability (p) comprises:
p

(
sign

(
τ
t
-
d
t
-
1
)
sign

(
y

(
x
t
-
1
,
x
t
-
2
,
d
t
-
1
,
k
*
,
w
MAP
)
-
d
t
-
1
)
>
0
)
=
1
2
+
1
2

erf

(

y

(
x
t
-
1
,
x
t
-
2

k
*
,
w
MAP
)
-
d
t
-
1

2

σ
2

(
x
t
-
1
,
x
t
-
2
,
k
*
,
w
MAP
)
)
where the erf ( ) comprise a Gauss error function.

### Claim 14 (depends on 12)

The method of claim 12, wherein the confidence metric, designated below as η, is computed as:
η
=
100

∑
t
=
2
T

C
t
,
t

Φ


(
y


(
x
t
-
1
,
x
t
-
2

k
*
,
w
MAP
)
-
d
t
-
1

)
∑
t
=
2
T

C
t
,
t
where Ct,t is a tth element of a diagonal of a C matrix, the C matrix comprising a T by T matrix configured to represent a coupling between time series elements of the training dataset.

### Claim 15 (depends on 14)

The method of claim 14, wherein the calculation of a confidence score based on the confidence metric for the disturbance rejection model comprises:
calculating the confidence metric for selected samples chosen from the T samples of the training dataset;
calculating an average value for the confidence metric for the selected samples; and
designating the calculated average value as the confidence score for the disturbance rejection model.

### Claim 16 (depends on 15)

The method of claim 15, wherein the confidence score comprises a percentage, the percentage indicating a likelihood that the predicted sign of the gain in the system output at the future time made by the disturbance rejection model is correct based upon the performance of a whole of the disturbance rejection model over the selected samples from the training dataset;
wherein the future time comprises a time that is subsequent to the historical operating period on which the training dataset is based.

### Claim 17 (depends on 15)

The method of claim 15, wherein the confidence score comprises a spectrum within which:
a value of 100% indicates that the disturbance rejection model predicts the correct sign of the gain for 100% of the samples within the selected samples from the training dataset; and
a value of 50% indicates that the disturbance rejection model has no confidence in predicting the correct sign of the gain for the selected samples from the training dataset.

### Claim 18 (depends on 13)

The method of claim 13, wherein the calculation of a confidence score based on the confidence metric for the disturbance rejection model comprises:
calculating the confidence metric for each of the T samples of the training dataset;
calculating an average value for the confidence metric for the T samples; and
designating the average value as the confidence score for the disturbance rejection model.

### Claim 19 (depends on 15)

The method of claim 15, further comprising the step of recommending a modification to the disturbance rejection model based upon a comparison of the confidence score to a predetermined minimum threshold;
wherein the modification relates to a need for augmenting the training dataset of the disturbance rejection model with additional data when the confidence score fails to satisfy the predetermined minimum threshold.

### Claim 20 (depends on 19)

The method of claim 19, wherein the step of training comprises calculating updated values for each of the weight vector and the feedback coefficient of the network by minimizing an error function that includes a first hyperparameter, which comprises a vector for penalizing the weight vector, and a second hyperparameter, which comprises a scalar;
wherein the computing the updated values for each of the weight vector and the feedback coefficient includes a matrix version of the disturbance rejection model in which a C matrix comprises a T by T matrix configured to represent a coupling between time series elements of the training dataset;
wherein the error function, which is denoted as E below, that is minimized to calculate the updated values of the weight vector and the feedback coefficient is defined as:
E
=
1
2

w
T

(
Diag

(
α
)
)

w
+
1
2

β


ε
T

C


ε
where:
the C comprises the C matrix;
the α comprises the first hyperparameter;
the β comprises the second hyperparameter;
the wT comprises a transposition of the weight vector (w);
the Diag(α) comprises a matrix with a diagonal element equal to a value of a corresponding diagonal element of the vector of the first hyperparameter while all other values in the matrix of the Diag(α) are set to a value of 0;
the ε comprises an error vector that comprises a difference between the predicted values of the system output by the disturbance rejection model and the corresponding actual values of the system output at the times of the training dataset; and
the εT comprises a transposition of the error vector.

### Claim 21

A system comprising:
a power generating unit;
a control system operably connected to the power generating unit for controlling an operation thereof, the control system comprising:
a hardware processor; and
a machine readable storage medium on which is stored: a disturbance rejection model; and instructions that cause the hardware processor to execute a process related to control of the power generating unit;
wherein the disturbance rejection model models the operation of the power generating unit so to generate a predicted value for an output of the power generating unit at a future time, the disturbance rejection model comprising: a network for mapping inputs of the power generating unit to the output;
wherein the process comprises:
training the disturbance rejection model per a training dataset; and
calculating a confidence metric for the disturbance rejection model, wherein the confidence metric is configured to indicate a probability that a predicted sign of a gain in the output at the future time made by the disturbance rejection model is correct.

### Claim 22 (depends on 21)

The system of claim 21, wherein the training dataset comprising a time series dataset of actual values for the inputs and the output as determined from measurements taken of the operation of the power generating unit during a historical operating period, the historical operating period occurring prior to the future time; and
wherein the training dataset comprises T samples, the T samples taken at times=[1, 2, . . . , t, . . . , T] wherein a time (t), a time (t−1), a time (t−2) denote generalized samples in the training dataset where the time (t−2) occurs just prior to the time (t−1) and the time (t−1) occurs just prior to the time (t).

### Claim 23 (depends on 22)

The system of claim 22, wherein the disturbance rejection model comprises a disturbance rejection configuration in which the predicted value made by the disturbance rejection model for the output at the future time is based upon a predicted value made by the network for the output at the future time and an error multiplied by a feedback coefficient; and
wherein the error comprises a difference between:
a predicted value made by the network of the controlled variable at the previous time; and
an actual value of the output at the previous time, wherein the actual value is based upon a measurement taken by a sensor disposed in the power generating unit for measuring an operating parameter related to the output.

### Claim 24 (depends on 23)

The system of claim 23, wherein the network comprises a neural network that includes multiple layers having nodes, the multiple layers including at least an input layer, an output layer, one or more hidden layers, and forward weight matrixes; and
wherein:
the input layer comprises a plurality of the nodes, the plurality of the nodes corresponding respectively to the inputs, wherein each of the plurality of the nodes is configured to receive an input signal relating to a value for a particular one of the inputs;
the output layer comprises at least one of the nodes, the at least one of the nodes corresponding to the output;
the one or more hidden layers are disposed between the input layer and the output layer, each of the one or more hidden layers comprising a plurality of the nodes; and
the forward weight matrices comprise connectors that connect the nodes of successive layers of the multiple layers of the neural network and a weight value for each of the connectors;
wherein a weight vector defines the weight values for the connectors of the forward weight matrices.

### Claim 25 (depends on 24)

The system of claim 24, wherein the confidence metric is based on the probabilistic distribution calculated for the T samples of the training dataset;
wherein the inputs at the time (t−1) and the time (t−2) are described by input vectors, which are denoted, respectively, as an input vector (xt−1) and an input vector (xt−2);
wherein the output at the time (t−1) is denoted as a output (dt−1);
wherein the step of calculating the probabilistic distribution for the predicted value of the output at the time (t) comprises calculating a mean (μ) and a variance (σ2) that define a normal distribution ().

### Claim 26 (depends on 25)

The system of claim 25, wherein the mean (p) for the probability distribution for the predicted value of the output at the time (t) comprises the predicted value made by the disturbance rejection model for the output at the time (t), as given by:
μ(xt−1,xt−2,dt−1,k*,wMAP)=y(xt−1,xt−2,dt−1,k*,wMAP)
where:
the yt comprises the predicted value made by the disturbance rejection model for the output at the time (t);
the k* denotes a trained value for the feedback coefficient (k); and
the wMAP denotes a trained value of the weight vector;
wherein each of the trained values, the k* and the wMAP, are determined from the disturbance rejection model once trained per the training dataset.

### Claim 27 (depends on 26)

The system of claim 26, wherein the variance (σ2) for the probability distribution for the predicted value of the output at the time (t) is defined using the Bayesian evidence framework as:
σ2(xt−1,xt−2,dt−1,k*,wMAP)=β−1+gtTA−1gt
wherein:
the β−1 comprises an inverse of a scalar hyperparameter denoted as β;
the A is a second derivative of a negative log posterior distribution as given by:
A=Diag(α)I+βH;
where:
the I comprises an identity matrix; and
the H comprises a Hessian matrix, the Hessian matrix being computed using a R-propagation algorithm; and
the gt comprises a vector gt that is calculated using at least one of the following equations:
g
t
=
∂
y

(
x
t
-
1
,
x
t
-
2

k
*
,
w
)
∂
w


k
=
k
*
,
w
=
w
MAP
;
and
g
t
=
(
∂
NN

(
x
t
-
1
,
w
)
∂
w
-
k

∂
NN

(
x
t
-
2
,
w
)
∂
w
)


k
=
k
*
,
w
=
w
MAP
.

### Claim 28 (depends on 27)

The system of claim 27, wherein the calculation of a confidence score based on the confidence metric for the disturbance rejection model comprises:
calculating the confidence metric for each of the T samples of the training dataset;
calculating an average value for the confidence metric for the T samples; and
designating the average value as the confidence score for the disturbance rejection model;
wherein the process further comprises the step of recommending a modification to the disturbance rejection model based upon a comparison of the confidence score to a predetermined minimum threshold;
wherein the modification relates to a need for augmenting the training dataset of the disturbance rejection model with additional data when the confidence score fails to satisfy the predetermined minimum threshold.
