Skip to main content

Library with routines for data-driven process monitoring.

Project description

Binder Apache 2.0 CC BY 4.0

BibMon

BibMon (from the Portuguese Biblioteca de Monitoramento de Processos, or Process Monitoring Library) is a Python package that provides deviation-based predictive models for fault detection, soft sensing, and process condition monitoring.

For further information, please refer to the documentation or to the scientific publication detailing BibMon.

Installation

BibMon can be installed using pip:

pip install bibmon

Or conda:

conda install conda-forge::bibmon

Available Models

  • PCA (Principal Component Analysis);
  • ESN (Echo State Network);
  • SBM (Similarity-Based Method);
  • Autoencoders;
  • any regressor that uses the scikit-learn interface.

Usage

Essentially, the library is used in two steps:

  1. In the training step, a model is generated that captures the relationships between variables in the normal process condition;
  2. In the prediction step, process data is compared to the model's predictions, resulting in deviations; if these deviations exceed a predefined limit, alarms are triggered.

Specifically, the implemented control charts are based on squared prediction error (SPE).

For more details, please refer to the tutorials available in the documentation to learn about the main functionalities of BibMon. You can find the corresponding Jupyter Notebooks for these tutorials in the docs/source/ directory.

Features

The resources offered by BibMon are:

  • Application in online systems: a trained BibMon model can be used for online analysis with both individual samples and data windows. For each sample or window, a prediction is made, the model state is updated, and alarms are calculated.
  • Compatibility, within the same architecture, of regression models (i.e., virtual sensors, containing separate X and Y data, such as RandomForest) and reconstruction models (containing only X data, such as PCA).
  • Preprocessing pipelines that take into account the differences between X and Y data and between training and testing stages.
  • Possibility of programming different alarm logics.
  • Easy extensibility through inheritance (there is a class called GenericModel that implements all the common functionality for various models and can be used as a base for implementing new models). For details, consult the CONTRIBUTING.md file.
  • Convenience functions for performing automatic offline analysis and plotting control charts.
  • Real and simulated process datasets available for importing.
  • Comparative tables to automate the performance analysis of different models.
  • Automatic hyperparameter tuning.

Contributing

BibMon is an open-source project driven by the community. If you would like to contribute to the project, please refer to the CONTRIBUTING.md file.

The package originated from research projects conducted in collaboration between the Chemical Engineering Program at COPPE/UFRJ and the Leopoldo Américo Miguez de Mello Research Center (CENPES/Petrobras).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bibmon-1.1.5.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

bibmon-1.1.5-py3-none-any.whl (5.3 MB view details)

Uploaded Python 3

File details

Details for the file bibmon-1.1.5.tar.gz.

File metadata

  • Download URL: bibmon-1.1.5.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for bibmon-1.1.5.tar.gz
Algorithm Hash digest
SHA256 2d4768cb935e8bb65bfe616969470b32d0aecfaf6e89d9bd59138578eb8f2279
MD5 2df82b4d57a6e89fb35733d7652fd0bf
BLAKE2b-256 7d97369a7adb24e58bed5ab56d2adc23e9f7663ab2c853ec03aa46cd049ac41c

See more details on using hashes here.

File details

Details for the file bibmon-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: bibmon-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for bibmon-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aa7f3b2c629b8754b3d33b923d14ddbe6b80d28827daf15ad63f781bec717805
MD5 912b15dda4a0cd51fa3bd2aeb8c7af74
BLAKE2b-256 dbe8f7e1ef2333ed229bc55ccf59dfa5e4974f60b9415798571427def6c00855

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page