-
Notifications
You must be signed in to change notification settings - Fork 11
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
Simulation graph doesn't match simulation time parameter #4
Comments
I noticed that the default settings didn't get overwritten by the time and dt parameters when posting to
That changed the results to something more reasonable, but the axis stays the same. |
Each post you do to GlucoSym equals to an advance in 5 minutes for the simulation. Counting the posts you did, minus the initial one ( 6 - 1 = 5 ), you generated 25 minutes of simulation time as shown on your graph. The parameter 'time', as described on the repo readme, is: This means that the simulator will only run for 60 minutes from start to end so each post you do to the sim gets you a bit further to that total simulation run-time. After going over those 60 minutes, if you continue to post to the sim, it will stop advancing. From the graph you show, the sim is running as it should. You must remember that the simulation running out-of-the-box will not behave as yourself or as any other "real" person with T1D. The simulation is based on pre-generated patients with different body setups as used in some clinical studies simulations. So in conclusion, you are using the simulator correctly and the graphs seem to represent what you are giving it as an input. |
Ok, it seems to make sense now. But I have two questions:
|
I would expect the following JSON
to result in a graph with 60 minutes on the x axis. Have I misunderstood something?
The text was updated successfully, but these errors were encountered: