jxx123 / simglucose

A Type-1 Diabetes simulator implemented in Python for Reinforcement Learning purpose
MIT License
232 stars 111 forks source link

Are there currently any differences in the simulator between basal and bolus #28

Closed eseglo closed 3 years ago

eseglo commented 3 years ago

Hi, I would like to understand if there is any difference between applying in the action basal or bolus insulin. From my understanding, basal should be long-acting and bolus rapid acting. But, here both of them are added, after conversion from the pump, and then passed to the model and solver. So they do not seem to have different effects, am I right? Can I use any of them in my controller. Thanks a lot.

jxx123 commented 3 years ago

Yes, there is no difference between basal and bolus. Feel free to use any of them.

eseglo commented 3 years ago

Thanks