Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding KWh consumption in /trip endpoints (for both Agency and Provider API) #643

Closed
tonial opened this issue May 7, 2021 · 4 comments
Closed
Labels
Agency Specific to the Agency API Provider Specific to the Provider API
Milestone

Comments

@tonial
Copy link
Contributor

tonial commented May 7, 2021

Is your feature request related to a problem? Please describe.

Some cities that uses MDS data to drive their public policies want to have environmental KPIs based on the use of shared mobility.
A typical KPI would be the CO2 equivalent based on the electric device consumption and the city grid KWh to CO2 ratio.
The issue is that the electric consumption will differ :

  • with every device (different battery and motors models will give a different consumption per distance traveled, and providers may have different kind of devices in a same city)
  • with every trip (depending on the streets slope)

Describe the solution you'd like

I think that adding an Required if Applicable consumption field in the /trip endpoints from Provider and Agency API would solve this issue. It would be required for electric or electric_assist devices.

The field could be optional instead, but since most of the cities I work with want this kind of KPIs, it will soon be mandatory for every providers to give the consumption.

Is this a breaking change

No, not breaking

Impacted Spec

  • agency
  • provider

Describe alternatives you've considered

A said in the issue description, this CO2 equivalent consumption can be roughly estimated if a provider provides a average consumption per distance traveled for his devices, but it would not allow to handle providers with multiple kinds of devices.

Additional context

@schnuerle schnuerle added Agency Specific to the Agency API Provider Specific to the Provider API labels May 10, 2021
@schnuerle
Copy link
Member

Could you give an example of how a consumption field may work in a specific city with a certain provider and device? I'm wondering what the effort would be here for providers, how they could calculate this, what factors would be involved, and how they would know the KWh and energy generation systems for how the device is charged (eg by employee/contractor at a warehouse location, or a charger taking it to their home in or out of the jurisdiction).

Is there maybe some other more concrete data points that could be sent in MDS, like battery charge used on the trip and battery capacity, so that agencies then could do the KWh calculations on their own using their local knowledge and fluctuating fees/power grid info?

@tonial
Copy link
Contributor Author

tonial commented May 11, 2021

Hi @schnuerle.

Thank you for your answer.

It's quite easy to compute the energy consumption : a provider only needs the battery capacity in Wh, and the battery charge used in percentage points.
When going from 60% to 40% on a 500 Wh battery, you use 20% of the battery capacity : 100 Wh

This does not take into account the city energy generation systems, and it may indeed depend on how and where the batteries are charge but I don't think the place where the batteries are charged will be far enough from the jurisdiction to change the Wh to CO2 ratio of the power grid, so the jurisdiction will be able to give a value to use to compute CO2 KPI from the trips Wh consumption.

About the more concrete data points ;

  • battery charge used during the trip: it could allow the Agencies to create a KPI on how many trips a scooter can make before requiring a battery swap.
  • battery capacity: I'm less certain about this one battery capacity... The only use I see for it is to compute the Wh consumption. Since computing the energy consumption is easy (battery_charge_used x battery_capacity) I think it's better to give a data point that serves it's own purpose.

I think we could add both battery charge used during the trip and energy consumption.
We could use energy_consumption instead of consumption to make clear what is stored in the field.
As for the other one, maybe battery_use or battery_use_pct ?

@schnuerle
Copy link
Member

We'll be talking about this at today's Working Group meeting.

@schnuerle schnuerle added this to the Future milestone Jun 17, 2021
@jfh01
Copy link
Contributor

jfh01 commented Jul 16, 2021

As promised in the WG call, I've done some outreach to a couple of independent experts I know who work on transportation GHG emissions reduction. A few points to share from those conversations:

  • The electricity consumption for light electric vehicles is a small fraction of the total emissions, and is likely dwarfed by embodied carbon (GHGs emitted in the manufacture and eventual disposal of the vehicle) and operational emissions (rebalancing, charging pickups, maintenance, etc.).
  • A useful apples-to-apples comparison between modes requires an understanding of the full vehicle lifecycle, longevity, operational model, and other factors across the modes you're trying to compare
  • Trip-by-trip analysis is challenging, given the variables of terrain, rider weight, etc. A vehicle with a significantly larger battery might be less efficient in KWh/km, but more carbon efficient overall if it only needs to be charged every three days instead of daily.

The suggestions were, rather than to focus on individual trip-level consumption, to look at:

  • Data / metrics to understand vehicle lifespan. Note that vehicles and batteries are often replaced independently and may need to be tracked separately. Especially true in a swappable system.
  • Model disclosures for overall GHG footprint that could be done voluntarily or under regulatory mandate
  • Cities could require disclosure of operational miles travelled (likely in a truck or van). The 3rd party fleet management tools used by operators could be a source of this data
  • Proxy metrics could be helpful in comparing operational emissions. For example "operator moves per vehicle per day": the number of times on average a vehicle is moved by the operator, whether for charging, rebalancing, or maintenance
  • Calculation methodologies for trips that were likely to have connected with transit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agency Specific to the Agency API Provider Specific to the Provider API
Projects
None yet
Development

No branches or pull requests

3 participants