Mt Feathertop seen from Mount Hotham

trippler contingencies

Planning a dawn-to-dusk adventure from snow to surf in an electric vehicle meant not just planning for resilience, to allow for changes, but also planning for contingencies, to know in advance what changes to make.

Carnival of carving

We lay our scene on the descent from Mount Hotham to Cape Conran, in eastern Victoria. We dubbed this adventure The Cross to The Cape Carnival of the Carve to complement 2004’s Bitchin Barrels to Baw Baw Board Bonanza.

The route of The Cross to The Cape Charge Carnival
Carnival route

Charge cascade

While the trip in an EV was “only” 250km, we couldn’t starting full or finish empty. Even with 1800m descent, we needed to charge about 40%. Also, from the moment we started, we were racing the sunset. So we planned the whole day in 30-minute blocks. We could easily spend two precious blocks waiting for an occupied charger, so how should we decide where to charge on the day?

This charge cascade gave us all the options up front.

Charge Cascade decision tree for where and how much to charge an EV
The charge cascade

It also showed when we would have run out of charging options to get to the surf before sunset. After all this preparation, however, plan A worked out!

Sunset at East Cape Conran
Sunset constraint at Cape Conran

Manual calculation and diagramming was fine for one adventure, but for future road trips I wanted a similar contingency capability in trippler (which previously guaranteed resilience but didn’t provide specific contingencies).

Coding contingency

Thinking about the adventure experience, and various approaches to contingency planning in trippler, I arrived at two new features:

  1. Most contingency (optional) trip objective in addition to existing shortest time (default) objective, and
  2. Contingencies explorer to see the results of multiple iterations of re-planning the trip when charging preferences are not available.

Together, these give us contingencies for chargers on a planned route. Now we can see how we’d build the charge cascade for The Cross to The Cape in trippler…

Configure the cascade

With further UI tweaks, we can configure the day’s planned driving in trippler:

Image of EV planning app trippler
trippler Carnival of Carve configuration

This shows 250km of driving from Mount Hotham to Cape Conran, with three 50kW chargers en-route at Omeo, Bruthen and Orbost. We plan to depart with 70% and arrive with 50% SOC, with a range of 400km.

Most contingency

If we naively stuck with shortest time objective, as we see below, there’s a risk we’d skip past an available charger (eg Omeo) only to find the faster charge unavailable (eg Bruthen, deemed faster as marginally closer to the highway). Instead, most contingency objective picks chargers earlier on the route so we have, well, most contingency for unavailable chargers.

Trip plans with different objectives compared
Shortest time and most contingency plans compared

While the contingency objective penalises chargers later on the route, we continue to ensure enough charging to reach our destination, as the result remains subject to all of the other resilience constraints trippler plans can be configured to satisfy, a neat result requiring minimal changes!

Contingency explorer

With extra contingency, I’d now like know exactly what action to take should circumstances require a change of plan. The trippler contingency explorer provides plans B, C, and more, just like the charge cascade.

Contingency explorer MVP version

The contingency explorer reuses the existing planning solver for each contingency but excludes the unavailable chargers in each scenario. Also a pretty neat solution requiring minimal changes, and each contingency is in fact an entirely new plan!

Crushing constraints

The exclusion constraints require that unavailable chargers had previously been visited in the baseline plan order, but without any charging, while contingency plans may disregard previous no-backtracking constraints in order to provide more options.

trippler charging plan including backtracking
Plan with backtracking

Backtracking on the Cross to the Cape route could be all the way from Orbost to Omeo after finding first (shortest time) preference Bruthen offline, and then first contingency Orbost offline too. This covers most of the route three times and doubles the trip time, but still satisfies other constraints!

Corralling complexity

I’m still evolving the UX for backtracking, as for the contingency explorer overall. While contingencies in general are a cascading or branching set of options for each charging stop, we don’t necessarily want to expose all this complexity, as on the left below. A simpler version may be to show some number of alternatives per charging stop, as on the right.

Comparing contingency UIs
Contingency UI options

But after all this we can now explore up-front the specific contingencies that provide the resilience for this trip and many others in trippler!

Beach and surf at Cape Conran
Arriving at Cape Conran

The carnival is over

For now at least, as may be the snow season, but I look forward to carving out more time for outdoor adventure soon.

As an aside, I learned an interesting thing about driving an EV in snow this season. If an ICE vehicle were snowed in and immobile, you would hear the engine rev as you pushed the accelerator to build torque to drive out. In an EV, however, if all your instruments are power-based, you get no feedback from the vehicle while pressing the accelerator deeper and deeper until the wheels start moving. This is because power is zero without motion (P = Tw), and in an EV it isn’t often the case that the wheels don’t start moving straight away! In this rare situation we’d need an electric potential or torque display for feedback. This may be a future OBD instrumentation project…

It was really satisfying to close out the carnival by coding the contingencies in the charge cascade in tripper. In addition to the improvements identified above, there are many more features waiting from here. Wherever it takes me, I am enjoying having my own resilient EV adventure trip planner but no firm roadmap!

The Cross to The Cape Carnival of the Carve

Posted

in

, , , , , ,

by