Bike share · Copenhagen, Denmark · Operations

Bikes at every dock on the hottest day

Lars runs operations for a big city bike share in Copenhagen.

Listen to the story:

The challenge

On sunny days everyone rides to the harbour baths and Amager Strand. By noon those docks are full, while Norrebro has no bikes left. His van crew starts each morning guessing which docks to fill, and by the time they know, the sun has gone in.

How the flow works

With xMap Flows, Lars built Balance. Balance is an AI employee: a flow of 7 blocks.

  1. Every morning at five,

    Every morning at 5 (Schedule)

  2. Balance reads how many bikes are in every dock,

    Bikes in each dock (My data)

  3. checks today's forecast at each one,

    Sun or rain today (Weather forecast)

  4. works out each dock's shortfall with the team's own sunny day rules,

    Bikes needed by noon (Custom code)

  5. keeps the docks that will run short,

    Docks running short (Filter)

  6. plans the van's loop from the depot,

    The van's loop (Route planner)

  7. and sends it to the crew's phones.

    To the van crew (Telegram Bot)

What it solves

The result

On a hot Saturday, Balance sees twenty six degrees coming and twenty two docks that will be empty by eleven. The vans leave at six with the loop planned and move four hundred bikes back into the city. Riders find a bike at every dock all day.

Lars's crew stopped chasing the sunshine. Now they get there before it.

22docks filled before the rush
400bikes moved by eleven
0empty docks on a hot day

An illustrative scenario: the figures are modelled to show what the flow produces, not a customer's results.

The flow, block by block

  1. 1

    Every morning at 5

    Schedule

    Starts the flow on a timetable.

  2. 2

    Bikes in each dock

    My data

    Brings in a table you uploaded or a list you saved on the My data page: your stores, customers, target accounts or sites.

  3. 3

    Sun or rain today

    Weather forecast

    The weather forecast (Open-Meteo, from national weather services) for up to 16 days: temperature, rain, wind and UV.

  4. 4

    Bikes needed by noon

    Custom code

    Your own JavaScript, for what the other blocks cannot do: change, add or drop fields, filter and reshape the items.

  5. 5

    Docks running short

    Filter

    Keeps only the items that match a rule.

  6. 6

    The van's loop

    Route planner

    Puts the places that reach it in the best order to visit them in a day, from a start you pick: one route, one for each rep (by a field such as owner), or shared out between a number of reps.

  7. 7

    To the van crew

    Telegram Bot · Telegram

    Build chatbots for Telegram

Templates to build it

Ready-made flows with the same blocks. Open one, change the city and the kind of place, and run it.

Industries

Learn how it works

More stories from Transport & mobility

All 137 stories →

Build this flow on your own city

Run a live search on the home page without an account, or let Ask xMap build the flow from one sentence.