https://github.com/bobaubouin/tiva_drug_control
New approach for anesthesia drug control
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.6%) to scientific vocabulary
Repository
New approach for anesthesia drug control
Basic Info
- Host: GitHub
- Owner: BobAubouin
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Size: 76.8 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
TIVADrugControl
Git repository to study the control loop of porpofol and remifentanil to BIS in the context of Genreal Anesthesia.
To reproduce the results of the journal paper please used the version tagged here. If you use the code for research please cite B. Aubouin–Pairault, M. Fiacchini, and T. Dang, “Online identification of pharmacodynamic parameters for closed-loop anesthesia with model predictive control,” Computers & Chemical Engineering, vol. 191, p. 108837, Dec. 2024, doi: 10.1016/j.compchemeng.2024.108837.
Use the Python Anesthesia Simulator to run the simulation and compute the performances metrics.
Abstract: In this paper, a controller is proposed to automate the injection of propofol and remifentanil during general anesthesia using bispectral index (BIS) measurement. To handle the parameter uncertainties due to inter- and intra-patient variability, an extended estimator is used coupled with a Model Predictive Controller (MPC). Two methods are considered for the estimator: the first one is a multiple extended Kalman filter (MEKF), and the second is a moving horizon estimator (MHE). The state and parameter estimations are then used in the MPC to compute the next drug rates. The methods are compared with a PID from the literature. The robustness of the controller is evaluated using Monte-Carlo simulations on a wide population, introducing uncertainties in all parts of the model. Results both on the induction and maintenance phases of anesthesia show the potential interest in using this adaptive method to handle parameter uncertainties.
Installation
Install all the required packages with the command:
pip install .
Usage
Reproduce the results
Launch each study located in the scripts/studies folder.
Caution: The simulation scripts may take time to run (approx 5h on a 32 thread server for the MPC ones).
The results can be found in the plot results notebook.
Use the package
The package can be used to simulate the anesthesia induction phase with the MPC and PID controllers. A simple example is given in the test notebook, for more in depth change the files of the package can be modified.
Authors
Bob Aubouin--Pairault, Mirko Fiacchini, Thao Dang
License
GPL-3.0
Owner
- Name: Bob Aubouin--Pairault
- Login: BobAubouin
- Kind: user
- Location: Grenoble
- Company: Gipsa-lab
- Repositories: 2
- Profile: https://github.com/BobAubouin
PhD Student at Gipsa-Lab on the subject "Data-based anesthesia process modelling for online monitoring and prediction"
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Dependencies
- bokeh ==2.4.3
- casadi *
- filterpy ==1.4.5
- matplotlib *
- numpy *
- pandas *
- pyswarm ==0.6
- scipy *
- tqdm *