jxx123 / simglucose

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

Query: How is the upper bound of the action space determined? #21

Closed sumanabasu closed 3 years ago

sumanabasu commented 3 years ago

The environment action space is bounded between (0, 30). While 0 makes sense as it can be interpreted as 'no insulin has been administered', I'm wondering how the upper limit 30 is determined? Also, what is the unit?

jxx123 commented 3 years ago

It is the upper limit of the insulin pump for basal. See here https://github.com/jxx123/simglucose/blob/master/simglucose/params/pump_params.csv, the gym environment uses Insulet pump by default.

The unit is U/min (1 U = 1/6000 pmol/L).