-
Notifications
You must be signed in to change notification settings - Fork 114
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
Scenario Simulations #34
Comments
Hi, Sorry for the late reply. For now, you can only specify carbohydrate in the CustomScenario. To have a scenario where the patient takes carb but no insulin, you need to implement a dummy controller yourself, like this (this is also in Rreadme doc). This dummy controller does not inject any insulin.
Or you might want to keep the basal, but not injecting bolus. You can set bolus to be always 0 here
For the other way around, it is a bit tricky. Still in the basal_bolus_controller, you can get the meal info here
|
Hi @jxx123, Many thanks for your reply. I have a few things to clarify in your reply:
And I assume it's not possible to write a custom controller for this scenario right ? Regards, |
Hi Kasun,
Thanks, |
Hi,
First of all, thank you very much for your framework, it's quite comprehensive and useful !
Is there any possibility to generate scenarios/simulations where we can enforce not changing the insulin input, while inputting the carbohydrate intake. In other words, scenarios where patient eat, but not taking the required insulin. Also the vice-versa, where the patient's carbohydrate intake is 0 (not eating anything), while the insulin intake is as normal.
If there's possibility to simulate such scenarios, can you kindly give some pointers or guidance ?
Regards,
Kasun
The text was updated successfully, but these errors were encountered: