Keep on movin’…. Factoring variation in activity into open source AID systems

With the past 18 months or working on Boost and using it, various patterns have shown their heads. In the past I’ve written about the “hangover” effects of weight training and insulin sensitivity, and this past summer of participating in the 1mn steps challenge has provided an alternative view of how insulin sensitivity works in a relatively sedentary working environment.

Follow the link if you want to donate to Diabetes UK 1 million Step Challenge

I passed the 1 million steps in roughly 75 days, which means an average of 13,333 steps per day. To achieve this, during the week, that meant walking to and from stations in the morning and evening, and generally fitting it in around being at work. At the weekends, it was more a case of continuous low level movement around the locale, house and garden. Again, in general, my weekly steps were split up with weekdays being 11,000 to 12,000 steps and my weekends 15,000 to 16,000 steps.

What I wasn’t expecting was the difference in insulin sensitivity pattern that this generated, which in hindsight was perhaps a bit naive of me.

What follows is an analysis of the data I’ve been observing, with some thoughts on what that might do for AID systems. But if that’s TLDR, then here’s the key point. Maybe the way we tend to look at step data is incorrect. It shouldn’t be about identifying exercise. It should be about identifying inactivity and adjusting systems for that.

If you want to see where this comes from, carry on reading through.

Weekdays

Over the summer, my weekly working period typically resulted in a TIR that looked similar to the two examples below:

Where typically, using the Boost post prandial dosing model, more than 15% of my time was spent higher than 10 mmol/l (180 mg/dl), with the average at a level of around 12-12.5.

On top of this, my average TDD during these periods is around 50iu of u200 Lyumjev insulin, or 100iu of u100.

For many people, the TIR around 80% is still pretty damn impressive, especially where the mealtime dosing is post prandial, and not calculated by carb counting, but the key thing here is the difference it shows to weekends.

Weekends

The weekends show a noticeably different set of data, with a greater time in range, much lower insulin usage and much lower time above 10mmol/l (180mg/dl):

Insulin usage in these two examples is between 25iu and 30iu per day, again of u200 insulin, post prandially applied, ie 50-60iu of u100.

What we can also see from the data is that the weekend readings have around a 35% lower standard deviation than during the week.

But what do we attribute this to?

Factors affecting glucose levels

We all know of the list of at least 42 things that affect glucose levels from Adam at Diatribe:

In the context of my weeks, Food, Medication, Environment, Behaviour and Biological are mostly the same. The one factor that varies in the Biological list is that at the weekends, the stress levels are definitely lower. On the Activity front, the number of daily steps isn’t vastly different, however, the style of them is.

As the two images below from Oura, showing a typical weekend and weekday, show, that the dispersion (and amount ) of activity is quite different. During the daytime on weekdays, my activity levels are essentially background, with the peaks around start and end of day.

Weekday Step Tracking

During weekends, the activity tends to be consistent throughout the day with a reasonable level of movement, before settling down for the evening

Weekend Step Tracking

Given the differences, the more constant movement over the course of the weekend, associated with the lower stress seems to make a significant difference to sensitivity and ability to keep glucose levels in range.

Perhaps more importantly, doing a high level of steps in bunches at the start and end of day doesn’t have the same effects on sensitivity as something like weight training, which depletes glycogen storage in both the muscles and liver, and requires the body to replenish it, leading to greater sensitivity, even with an ongoing increase in stress during work periods.

So what’s your point?

My point is fairly simple. For long term increased insulin sensitivity for most of us, exercise definitely helps, but we need to consider what that exercise looks like. Just walking to and from work is unlikely to be enough to maintain that level throughout the day. Being active for longer periods, or deliberately doing targeted exercise that has a longer term impact is likely to help.

It also comes back to the design of automated systems. One of the discussions that has been an ongoing one in relation to open source systems is whether it’s worth integrating step data into the algorithms, and if so, what you do with it?

The view above suggests that there is a clear reason to do so, but it’s not the received wisdom of identifying exercise and presenting higher targets.

We already know that by the time that happens, with insulin on board it’s probably already too late.

If, on the other hand, we use step data to identify lack of activity, and then allow that to adjust some sort of modification factor that allows sensitivity to be decreased as a result, it might provide better outcomes.

Essentially, something along the lines of:

If Steps per 15 mins is less than x;

Increase sensitivity factor by 1/(x/xmean)

It’s certainly something to think about in algorithm design for both commercial and open source AID systems, and maybe it’s time for a further collection of crowdsourced data to create some models that might address this.

8 Comments

  1. Thanks for this. Very interesting analysis. Clarifies a the process higher activity lows..
    Wondering from your stats what age you are / fitness level.
    I’m older and normally sedentary in week at home desk .. then weekend thrash round with gardening etc.. ( 73 yrs and still working mostly at computer screens. Do you think being older greatly affects the shift in insulin sensitively to greater or lesser extent..
    P.s great post

  2. Yes. As you know, I’ve been advocating for incorporating exercise as an input signal for about 5 years now. Both steroids and heart rate should be easily usable and trackable, allowing you great analyzers to build models that address even the edge cases safely. I would love to work with others to incorporate heart rate and steps from our watches into aaps/boost, so we can start solving the challenges.
    -Mark

    • Sorry, I meant to say STEPS not steroids. Also, heart rate may be a fair predictor of hormone activity in adolescents.

      • I think the key thing with all of this stuff is to identify something that could be modelled, model it and then see how it works in model form.

        If it works, great, but if not, then the model needs refining.

        I still think that identifying exercise, with the exogenous insulins we have now, is a hiding to nothing, as insulin on board doesn’t react to changes now (which I’ve experienced enough times in my life).

        I think, if you’re looking at automating anything in relation to exercise it should be post exercise targets, but even then, identifying the nuances between HIiT (which may have high steps and heart rate) and other types of exercise with high steps and heart rate, needs a far more complex model than just counts and levels, and needs to look at rates of change.

        For hormone activity in adolescents, I can believe it might show something, but I’ve not seen any data to back that up, so that would be a starting point.

  3. I am interested in the effects on Mondays … I ecycle and if I do a decent ride the next day I am still a little sensitive cheers Jean

  4. Really glad to see that the effect of exercise is being talked about,includng the carry over effect. For years I was shouted down when I said I was getting unexplained rises in BG just if I sat down in the evening instead of doing house work with a comparable insulin:carb dose. Also derided for suggesting that regular exercise reduced insulin requirements for hours-> a day afterwards. Also being unable to exercise for a few days for whatever reason really seems to increase the amount if back ground insulin required. I think the idea of factoring in lack of steps to increase the back ground rate makes complete sense from my own lived experience.

  5. Very interesting and definitely feels something modelable that has scope to improve aps outcomes further. Feels like we need a ‘next steps’… do we need to think about a framework for what kinds of data / exercise sensor records etc would adequately feed a model?…

    • I think there’s adequate interest in use of step and heart rate data to come up with some straw men.

      Just needs someone tondo the work!

Leave a Reply to Mark Cancel reply

Your email address will not be published.


*