AnestheSIM

An open, extensible patient simulator for closed-loop anesthesia research and teaching, driven by VitalDB records (MATLAB/Simulink).

Source code on GitHub Zenodo DOI 10.5281/zenodo.23338918

What AnestheSIM does

AnestheSIM lets real intraoperative records from the VitalDB open dataset, or designed dosing schedules, drive interchangeable pharmacokinetic/pharmacodynamic (PK/PD) models, and compares the simulated BIS, MAP and HR with what was measured. It is built for developing and benchmarking automated drug-delivery and depth-of-anesthesia control algorithms, and for teaching.

Quick start

Requires MATLAB and Simulink (tested with R2025b).

setup_anesthesim      % paths; regenerates the Simulink model if needed
main                  % simulate VitalDB case 2809 end to end
run_tests             % unit tests, no internet needed

Cite AnestheSIM

Birs, I. (2026). AnestheSIM: an open, extensible patient simulator for closed-loop anesthesia driven by VitalDB records. Zenodo. https://doi.org/10.5281/zenodo.23338918