count_alarms_constant_var_faster: Count and plot alarms using a spline, assuming constant...

Description Usage Arguments Value Examples

Description

The function uses a spline to fit to vib_training against load_training. An alarm is generated when the test data fall outside a band of three sigma. The function generates a plot by default, showing the training data falling outside the 3 sigma band.

Usage

1
2
count_alarms_constant_var_faster(load_training, vib_training, knots, load_test,
  vib_test, show_figure = TRUE, load_min = 0)

Arguments

load_training

A vector containing the training data of the load variables such as power or generator speed.

vib_training

A vector containing the training data of the vibration signal.

knots

A vector containing the locations of the knots.

load_test

A vector with the test data of the load variable.

vib_test

A vector with the test data of the vibration signal.

show_figure

A logical vector indicating if a plot should be made.

load_min

The minimum load to be used.

Value

A list of the count of the number of alarms, alarm rate, and residuals. Furthermore a plot is generated by default set by show_figure.

count

A count of the number of alarms in the test set.

alarm_rate

The alarm rate in the test set.

residuals

The residuals from the test set.

Examples

1
2
count_alarms_constant_var_faster(ltrain, vtrain, knots = c(20,25,27),
                                 ltest, vtest, load_min = 17)

hannea/monitor documentation built on May 17, 2019, 2:28 p.m.