- 19 Sep 2024
- 1 Minute to read
- Print
- DarkLight
Model Status
- Updated on 19 Sep 2024
- 1 Minute to read
- Print
- DarkLight
When should you trust a model's prediction?
Model Status
The model's status value is critical for determining if the model is in a safe reliable state. This status value can be mapped to the control system using a system tag and then used to determine if the predicted value should be used. The below chart gives the definition for each model state:
Value | State | Meaning |
---|---|---|
0 | Inactive | The model is disabled, this either means the model has not been enabled in Koios, or the Predict Engine service is not running. |
1 | Running | The model is enabled and has no errors. The prediction can be used as needed. |
2 | Failed | The model is enabled but has an error associated with it. This could be an error on a binding, a tag, or the model in general. Please check the error code for more detail. |
Using this in logic
Any time a prediction is used in the control system, you should also take into account that the model is in a Running state. This is commonly done with some form of an "Equal" block. If the model is in a failed or inactive state, it is common practice to do the following:
Trigger an alarm to the HMI
Fallback to traditional control