CO₂ Emissions calculation
- Digitransit Team
Graph build import of CO₂ Emissions from GTFS data sets (through custom emissions.txt extension) and the ability to attach them to itineraries by Digitransit team. The emissions are represented in grams per kilometer (g/Km) unit.
Emissions data is located in an emissions.txt file within a gtfs package and has the following columns:
route_id: route id
avg_co2_per_vehicle_per_km: Average carbon dioxide equivalent value for the vehicles used on the route at grams/Km units.
avg_passenger_count: Average passenger count for the vehicles on the route.
Emissions data is loaded from the gtfs package and embedded into the graph during the build process.
To enable this functionality, you need to enable the "Co2Emissions" feature in the
emissionsobject in the
emissionsobject should contain parameters called
carAvgCo2PerKmprovides the average emissions value for a car in g/km and the
carAvgOccupancyprovides the average number of passengers in a car.
|Config Parameter||Type||Summary||Req./Opt.||Default Value||Since|
||The average CO₂ emissions of a car in grams per kilometer.||Optional||
||The average number of passengers in a car.||Optional||
- Initial implementation of the emissions calculation.