Beginning your Loop Journey – Which branch to choose?

When you first start Looping, you have an important decision to make, namely which version should you start with.  Traditionally, most new Loopers started with Master Branch.  As Loop has developed, an alternative approach to correcting high glucose has evolved. Traditionally, Loop used high temporary basals (“temp basals”) to deliver insulin without user intervention, but today there are also Loop options that can deliver bolus insulin without user intervention. The two main options are Automatic-Bolus branch and FreeAPS.

The main Loop developers locked down the method for supplying the boluses with a simple interface (see Automatic-Bolus branch aka AB details below). A different group of developers chose to make a fork (a complete copy of the code) called FreeAPS and provide their version of micro-boluses with significantly more options for configuring when to use micro-boluses versus temp basals or both at the same time.  Over time, the FreeAPS developers have mirrored improvements added to the main Loop versions (Master and AB). FreeAPS also allows for additional continuous glucose monitor (CGM) options and a variety of user-requested features. (see FreeAPS branch details below).  For even more details about the many features of FreeAPS, including additional CGM options, click here.

The calculations for how much extra insulin (aka “Recommended Bolus”) is necessary is the same for Loop Master, AB and FreeAPS. In all three options, the amount of insulin needed is recalculated at 5 minute intervals (Loop Interval). In all three options, the maximum allowed basal rate and bolus are respected. The difference is in how that extra insulin is delivered. The level of control available (in order) is:

  • Master = temp basal
  • AB = temp basal or automatic-bolus (40%)
  • FreeAPS = temp basal and/or micro bolus (up to 100%), both of which can be easily adjusted by the user (no coding skills required) 

 Master

Master uses a combination of automated temporary basals and manual meal-time and correction boluses to manage blood glucose.  

  1. When your blood glucose (BG) is at or above target, Loop determines the amount of Recommended Bolus based upon your settings.  Subject to your Delivery Limits, Loop will deliver the Recommended Bolus over 30 minutes by dispensing equal amounts of insulin every Loop cycle (approximately every 5 minutes) via  positive temp basals (i.e., increase in your scheduled basal rate) to increase your IOB. This decision is re-evaluated during every Loop interval. 
  2. When your blood glucose (BG) is below target, negative temp basals (i.e., reduction of your scheduled basal rate) are used to reduce your IOB. This decision is also re-evaluated during every Loop interval.
  3. When you record a Meal, Master will recommend a bolus that you can accept or modify and then press Deliver.
  4. As with all Loop versions, you can manually bolus at any time by pressing the Bolus icon in the center of Loop’s Main Screen.  

AB (Automatic Bolus branch)

AB is the simpler of the two automatic bolusing options.  What makes AB unique is that it has a Dosing Strategy checkbox in Settings.  As a default, the AB is set to Temp Basal Only and uses temp basals to manage insulin dosing – in the same manner as the Master branch. 

When you first install AB, we encourage you to leave automatic boluses disabled.  To enable automatic boluses, click on SettingsDosing Strategy – Automatic Bolus.  This Automatic Bolus checkbox turns-off positive temporary basal so that

  1. When your blood glucose (BG) is at or above target, you receive 40% of the Recommended Bolus at every Loop interval.
  2. When your blood glucose (BG) is below target, negative temp basals (i.e., reduction of your scheduled basal rate) are used to reduce your IOB. This decision is re-evaluated during every Loop interval (same as Master #2 above).
  3. When you record a Meal, AB will provide a bolus equal to 40% of the Recommended Bolus at every Loop interval.  Alternatively, you can manually bolus (same as Master #3 above).
  4. As with all Loop versions, you can manually bolus at any time by pressing the Bolus icon in the center of AB’s Main Screen (same as Master #4 above).  Any bolus recommendation that you see when you press the Bolus icon will be 100% of the Recommended Bolus.

AB can be built using the same process as the Master branch- either via a zip file (the way that most people build) or via a Workspace build.  Don’t be afraid to build using Workspace, you’ll find that the Build Script for Workspace builds is actually easier than the traditional zip file method.  Both Master and AB can be built on an iPhone using iOS 12 or later.

FreeAPS

What makes FreeAPS unique is that it has many user defined Settings.  You determine the combination of temp basals and bolus % that are right for you.  As a default, FreeAPS is set to use temp basals to manage blood glucose – in the same manner as the Master branch. For greater detail on using FreeAPS, please visit the FreeAPS page.

When you first install FreeAPS, please leave Microboluses disabled in FreeAPS settings AND disable Adaptive Nonlinear Carb Model in iPhone settings.  This set-up will give you a branch very similar to the Master branch plus the additional CGM options.  Important Notice for those using Omnipod: If you ignored the pre-build warnings to make sure that your Looping phone and Pod are using the same time zone, please do not take any of the steps below until you access your Loop settings and click on Change Time Zone in order to avoid the Time Zone bug.  

If you have never used AB

You should ease your way into FreeAPS microbolusing, click on Settings – Microboluses- Enable Without Carbs, and then set your Partial Bolus Application (PBA) to 20% and your Basal Rate Multiplier (BRM) to a number consistent with your Maximum Basal Rate. This will give you a chance to double-check your settings before fully deploying microboluses.

With these settings, you’ll record meals just as you ordinarily would in Master and you’ll manually bolus.  Over time, you can Enable With Carbs, increase your PBA and decrease your BRM.

If you are an experienced AB Looper

Click on Settings – Microboluses – Enable With Carbs and Enable Without Carbs and set your PBA to 40% and your BRM to 1x.  This set-up will give you a branch very similar to the current AB branch.            

Over time, you can increase your PBA and adjust your BRM.

The BRM determines the extent to which you receive extra insulin via temp basals versus microboluses.  If the BRM is 1, then only microboluses are used.  

If the BRM is set to Max basal limit (scroll down to the bottom of the BRM screen), then any Recommended Bolus will be delivered via temp basals up to the amount of your Maximum Basal Rate.  Of course, if you want to receive only temp basals, its very easy to click on Settings – Microboluses – and click Enable With Carbs and  Enable Without Carbs so that their checkboxes are no longer green.

FreeAPS must be built using Loop WorkspaceFreeAPS only works on iPhones using iOS 13 or later. 

How much more insulin is delivered?

I’m sure that by now, you’re asking yourself how much more insulin is delivered using Master vs. AB vs. FreeAPS. Well that’s a trick question.  As long as you aren’t bumping up against limits, the answer is that effectively the same amount of insulin is delivered over time.

There are times when automatic bolusing (AB or FreeAPS) really makes a big difference in blood glucose (BG) management:

  1. Corrections:  Insulin for corrections gets into your system faster. 
  2. Meals: 
    • Long absorbing meals 
    • Meals that you forgot to bolus.

Pro-Tip:  All Loop versions achieve best results when you bolus for meals, including protein and fat. The automatic bolusing versions are better at correcting for those times when you forget. 

It is very important to know how Loop operates and be careful to set safe Delivery Limits for Maximum Basal Rate and Maximum Bolus.  Here’s a quick reference guide to help you set safe Delivery Limits as you start Looping.

 

In the example below, you can see how much extra insulin is delivered using Master, AB and FreeAPS.  

With Master, you receive up to 17% of your Recommended Bolus every Loop cycle. With AB, you receive up to 40% your Recommended Bolus every Loop cycle, but with FreeAPS, the % of Recommended Bolus that you receive is based upon your Partial Bolus Application (PBA). You can set your PBA at any % that you’d like from 10% to 100%.  In the example above, FreeAPS is set at 60% and 80% for comparison purposes.

Warning:  Unless you’re a very experienced Looper with excellent settings and your current sensor readings are verified to be stable and accurate, do not use a PBA above 80%.

In this example, with scheduled basal set at 1u/hour and Maximum Basal set at 3u/hour, Master delivers the least amount of insulin because it is bumping up against the  Maximum Basal Rate. The most basal that can be delivered in 30 minutes is 1.5u (0.5u as regularly scheduled basal + 1u as temp basal). With a scheduled basal of 1u/hour and a Recommended Bolus of 2.1, you’d need to have a Maximum Basal Rate of 5.2u/hour (1u/hour as scheduled basal + 4.2u/hour for 30 minutes as temp basal) in order to receive the entire Recommended Bolus amount as temp basals over a 30-minute period.

You’ll notice that AB and FreeAPS deliver almost the same amount of insulin within a 30 minute period (6 Loop cycles).  However, the difference in how fast the insulin is delivered is significant.  With AB, you receive 40% of the remaining Recommended Bolus every Loop cycle, so after 5 minutes, you have received 40%, but after 15 minutes, you have received almost 79% ((0.85u+0.50u+0.3u)/2.1u).  Whereas after 15 minutes with FreeAPS, you have received almost 93% ((1.25u+0.50u+0.20u)/2.1u) at a 60% PBA or 100% ((1.7u+0.30u+0.10u)/2.1u) at a 80% PBA. 

Because of the speed at which automatic bolusing delivers insulin without any manual intervention on your part, it is important to have solid settings before you decide to enact either autoboluses or microboluses.  It is also worth mentioning how much more insulin you get with Master at a Maximum Bolus Rate of 5.2 in comparison to 3u/hour.  If you elect to start your Looping journey with Master, please please please, set safe Delivery Limits (see Beginning Settings chart above). 

Skip to content