Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very lengthy loop calculations while "Setting minimum Insulin Peak Time" #108

Open
mountrcg opened this issue Nov 2, 2021 · 3 comments
Open

Comments

@mountrcg
Copy link
Contributor

mountrcg commented Nov 2, 2021

I mistakenly had the following configuration:
curve=rapid-acting
usecustompeaktime=true
insulinPeakTime=45
The later is below the minimum insulinPeakTime of Orefs rapid-acting curve.
FAX raises the following:
2021-11-02 19:44:15.900073+0100 FreeAPS[826:128377] [OpenAPS] JavaScriptWorker.swift - createContext() - 23 DEV: JavaScript log: Setting minimum Insulin Peak Time of 50m for,rapid-acting,insulin every 5 ms from
2021-11-02 19:44:03.263990+0100 until 2021-11-02 19:44:15.979159+0100 delaying every loop calculation considerably

mountrcg pushed a commit to mountrcg/freeaps that referenced this issue Nov 16, 2021
 Chinese Simplified and German.
@mountrcg
Copy link
Contributor Author

mountrcg commented Nov 17, 2021

issue also raised in Telegram group and analysed by Marion: https://t.me/freeapsx_eng/9783

@zubernuker
Copy link
Collaborator

Try ultra-rapid insulin curve, it has minimum of 35 min peak time.

https://github.com/openaps/oref0/blob/master/lib/iob/calculate.js#L90

@mountrcg
Copy link
Contributor Author

mountrcg commented Jan 8, 2022

Yes I did this. However if someone sets a minumum peak time of 30min with ultra-rapid, that person will run in the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants