Turning A GPX Into A Sportive Fuelling And Pacing Plan

In short This article shows how to combine climb segmentation, target IF and carbohydrate rate into a single ride-ready plan, and argues fuelling failure, not pacing failure, ends most long days.

Route ahead 8 sections
  1. The worked ride
  2. Climb segmentation 1 min
  3. Target IF by section 1 min
  4. The fuelling half 2 min
  5. Joining the two into one plan 3 min
  6. What to ask the model 3 min
  7. Validate against your own files 4 min
  8. The test that matters 4 min

Most people who blow up at 140 km did not ride the climbs too hard. They ate too little, too late, and the maths caught up on the third hour. Pacing gets the blame because pacing is visible: you can see the power spike on the Strava file. The empty tank is invisible until the legs stop answering.

So this post is built around one claim. On a long sportive, fuelling failure ends more days than pacing failure does. A sensible pacing plan matters, but it is only half of a document whose other half is a carbohydrate schedule. Below is how to build both from one GPX, with real numbers, and where AI tools help and where they quietly make things up.

The worked ride

Take a hypothetical 162 km UK sportive with 2,650 m of climbing, a bit like a hilly Dales or Peak District route. Rider: 78 kg, FTP 270 W, expects about 6h 45m moving time. Strava gives a rough profile, but we want something we can ride from.

Export the GPX from Strava, RideWithGPS or Komoot. Then get segments. Do not ask a chat model to read the raw file and “find the climbs”. Models routinely miscount points, invent gradients and lose track of distance in a 6,000-line XML file. Instead:

  1. Load the GPX into RideWithGPS or intervals.icu (the route/workout builder will show gradient bands).
  2. Use the climb detection in RideWithGPS or Strava’s segment list for start km, length, average gradient.
  3. Paste only that small table into your model of choice.

That ordering matters. Use deterministic software for geometry and the language model for the reasoning and formatting.

Climb segmentation

Here is the table we feed in:

#KmLengthAvg gradientClimb
1283.1 km6.2%190 m
2555.4 km5.0%270 m
3882.2 km9.5%210 m
41216.8 km4.6%310 m
51511.4 km11%155 m

Notice the shape. Climb 5 is the steepest, and it is at km 151, when you are most depleted. That is the whole sportive in one line.

Target IF by section

Intensity Factor is normalised power divided by FTP. For a 6h 45m effort at 270 W FTP, a defensible overall target is IF 0.72 to 0.75. That is roughly 195 to 203 W normalised. Go higher and you are paying for it in the last 40 km.

Do not hold IF flat. Allocate it:

  • Flat and rolling: 0.65 to 0.70 (175 to 190 W)
  • Climbs 1 and 2: cap at 0.82 (220 W), which is a comfortable tempo
  • Climb 3, short and steep: cap at 0.95 for under 10 minutes, about 255 W
  • Climb 4: 0.80 (215 W)
  • Climb 5: whatever remains, but plan for 0.85 (230 W) for 6 minutes

Check the arithmetic. A 78 kg rider plus about 9 kg of bike and kit is 87 kg. Climb 3 at 9.5% with 255 W is roughly 11 km/h on a decent road, so 2.2 km takes about 12 minutes. That is over my “under 10 minutes” cap, so either drop to 245 W or accept it. This is the sort of check a model will skip unless you ask for it, and why I ask for it.

The fuelling half

Here is where the plan is won. Estimate energy: 200 W normalised for 6.75 hours at about 24% gross efficiency is about 200 × 3600 × 6.75 / 0.24 / 4184 ≈ 4,840 kcal. Total expenditure is high, and you cannot replace it. You can replace carbohydrate at a useful rate though.

Current sports-nutrition guidance for events over 2.5 hours is up to 90 g/h of carbohydrate with a glucose:fructose blend (2:1 or 1:0.8), if the gut is trained. Most self-coached riders I see in logs take 40 to 50 g/h by accident, a bottle and a flapjack, and call it fuelling.

For this rider the target is 80 g/h. Over 6.75 hours that is 540 g carbohydrate. Concretely:

Per hour (80 g):
  1 x 500 ml bottle, 40 g maltodextrin/fructose mix
  1 x gel, 40 g (e.g. SiS Beta Fuel or Maurten Gel 100 is 25 g, so use 1.6)
  or
  1 x bar, 40 g + the bottle above

Practical version: two 750 ml bottles at 60 g each pre-loaded on the bike, one gel every 30 minutes (25 g Maurten 100, or 40 g SiS Beta Fuel), and a rice cake or flapjack on the flat. Ride the schedule on a timer, every 20 minutes, not by feel. By feel, you are late.

Joining the two into one plan

Now the key move: fuelling is anchored to the climbs, not to the clock alone. Eat before them, not on them. Above 9% you can barely chew, and your gut hates 255 W.

KM 0-28     Easy. 60 g/h start. Eat from minute 15.
KM 25       Gel (25 g) before climb 1
KM 28-31    Climb 1 @ 220 W cap. Drink only.
KM 40       Bar + bottle swap
KM 52       Gel before climb 2
KM 55-60    Climb 2 @ 220 W cap
KM 70-80    Feed stop 1. Refill, 2 bottles, rice cake. Do not linger past 4 min.
KM 85       Gel before climb 3
KM 88-90    Climb 3 @ 245-255 W
KM 105-115  Eat hard: 90 g/h here. This is the deposit for km 150.
KM 118      Gel
KM 121-128  Climb 4 @ 215 W
KM 135      Feed stop 2. Real food, 60 g.
KM 148      Last gel, caffeine 100 mg
KM 151-152  Climb 5 @ 230 W
KM 152-162  Home

The deposit idea is the bit I would argue hardest. The km 105 to 115 section is flat and you are fresh enough to absorb, so you load carbohydrate while it is easy, ahead of the hardest climb at the worst time.

What to ask the model

Skip “make me a pacing plan”. Give it constraints and make it show working. This prompt holds up:

Rider: 78 kg, bike+kit 9 kg, FTP 270 W, target IF 0.73.
Climb table below. For each climb, give power cap, estimated time
using P = (m*g*sin + m*g*Crr + 0.5*rho*CdA*v^3) / efficiency,
CdA 0.36, Crr 0.005. Show the speed and duration calculation.
Then place carbohydrate (target 80 g/h, 90 g/h on km 105-115)
so no gel is taken within 5 min of a climb start over 8%.
Flag any step where your numbers disagree with each other.

The last line is the most useful. I have tested this kind of prompt in Claude, ChatGPT and Gemini. All three produce tidy tables. The difference is whether they notice an inconsistency, like the climb 3 duration above. Reasoning-enabled models caught it more often, but none of them caught it every time. You still have to do a sanity check yourself: total grams divided by hours should equal your target, and your average of section powers should land near your target NP.

Validate against your own files

Do the plan against a past ride. In intervals.icu, open a long ride of yours, look at the fuel/carbohydrate field if you log it, and compare the last 90 minutes of power against the first 90. If the last 90 is more than 10% lower at the same effort, you have a decoupling problem, and the cause is almost always fuelling or heat. Check Pa:Hr (aerobic decoupling) too: under 5% on a 4-hour ride is good, above 8% means something was off.

Intervals.icu also lets you set a carbohydrate target on a planned workout, so the plan travels to your head unit. Zwift’s Free Ride and Strava will not do this, so print the table or put it on a stem sticker.

If you want the wider context on route tools and race-day modelling, the pillar piece on AI route planning and race pacing covers that.

The test that matters

Run the plan once on a 4 to 5 hour training ride before the event, at 80 g/h from minute 15. If your stomach complains, drop to 70 and build up over three weeks. Gut training is real, and it is cheaper than any power meter upgrade.

On the day, the first 100 km should feel slightly too easy. If your IF through the opening climbs is above 0.85, you are not racing well, you are borrowing from a bank that fuelling is supposed to be topping up. Eat to the timer. Let the model do the sums, and make it prove them.