8000 GitHub - ga-zelle/APS-what-if: time travel back to any time slot and see how insulin delivery would have differed with different APS settings
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

time travel back to any time slot and see how insulin delivery would have differed with different APS settings

Notifications You must be signed in to change notification settings

ga-zelle/APS-what-if

Repository files navigation

This branch is targeted at AAPS3.3.3.0 and the previously planned release for AAPS3.3.2 version is discontinued. The emulator documentation is not yet updated. Major changes are:

  • include the AAPS 3.2.0.4 capabilities
  • support for AAPS 3.3.3.x version
  • include recent big fixes from AutoISF version 3.0.3
  • include the new autoISF3.1.0 capabilities

This branch is not yet fully tested and may contain bugs. In such cases please contact ga-zelle.

See also the change.log

APS-emulator

I translated the original java-script code of "determineSMB-basal.js" into python and can run it on a PC. This allows me to untertake a time tarvel back to any time slot and see how insulin delivery would have differed with different APS settings. This offers a safe method to play with settings and check their impact before actually adapting them in APS itself.

The historical logfiles contain enough information to rerun the APS loop, but with modified settings like

  • changed target
  • changed ISF
  • SMB on/off
  • ...

The main result in tabular and graphical output is the change in insulin required and the related SMB and TBR. Related data like SGV, target, Autosens ratio etc. are also shown.

A special output is the flowchart which helps to understand the logic flow through the loop. This is the track which statements in "determineSMB-basal" were executed and which not together with the reasoning of those decisions taken from the original code.

Limitation

There is an interim release called qpythonplus required for Android14 and above which allows running the emulator on phones. The documentation for installation and use on Android needs to be updated because folders have changed. With older Android versions the previous qpython 3L / 3S still work, even with these updated scripts.

For downloading the Android14+ version go to https://drive.google.com/drive/u/3/folders/1lFqvlmArrV35ikcdW61MdVAx2UUWMcLh

About

time travel back to any time slot and see how insulin delivery would have differed with different APS settings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0