How Stockholm Transport Emissions Calculator works

Stockholm Transport Emissions Calculator uses two SL's APIs (Storstockholms Lokaltrafik, Transport of Stockholm) available in Trafiklab and some further calculations to obtain the information that the user is given.

  1. We use SL Stop lookup v1.0 (Platsuppslag) for getting the stops suggestions on the origin and destination search fields.

  2. We use SL Route-planner v3.1 (Reseplanerare 3.1) to obtain the possible routes between the origin and destination.

  3. We calculate the distance in kilometers between all the stops in each route by using the Haversine formula

  4. We calculate the emissions by multiplying the whole route's distance in kilometers by some emission factors extracted from multiple sources. These are the factors used, where gCO2e/pkm stands for grams of CO2 per kilometer per person:

    • Train, 5 gCO2e/pkm

    • Tram, 6 gCO2e/pkm

    • Metro, 6 gCO2e/pkm

    • Bus, 7 gCO2e/pkm

    • Boat, 226 gCO2e/pkm

These factors are just approximations. The data showed in the app is just to show the prototype of application and is not claimed that they reflect the reality.