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 "Hybrid" to the default list of modes? #1013

Closed
Abby-Wheelis opened this issue Oct 16, 2023 · 5 comments
Closed

⛽ + ⚡ Adding "Hybrid" to the default list of modes? #1013

Abby-Wheelis opened this issue Oct 16, 2023 · 5 comments

Comments

@Abby-Wheelis
Copy link
Member

We have received a request to add "hybrid car" to the list of available modes from a program admin with a participant who would like to be able to label as such.

Should we add this to the "default" list of modes, or just to the list for that study?

Considerations:

  • will this make the default list too long? I think it would take us from 17-19 options
  • what about the idea that we'd let people input their cars? (would we want to wait for this, or just know that the list could shrink when we enable this option?)

It sounds like this particular participant is labeling their trips in the hybrid vehicle as "ecar". I also drive a hybrid, but label my trips in that vehicle as "gas car". I'd be interested to see where the estimated impact of "hybrid" falls in relation to "ecar" and "gas car". It might be hard to pick a number since the range of hybrids on the road is relatively broad (I'm thinking of plugin vs not plugin hybrids in particular).

@Abby-Wheelis
Copy link
Member Author

In our meeting today, we decided to move forward with adding "hybrid car alone" and "hybrid car shared" based on the request and the observation that there are a fair number of hybrid cars on the market now. For the kgCo2/km metric, I plan to find an estimate of the average mpg of hybrids on the road, and use that to calculate. Ideally, I would take a weighted average of hybrids on the road in the US, but I'm not sure if I'll be able to get enough information to do that accurately.

@Abby-Wheelis
Copy link
Member Author

Abby-Wheelis commented Oct 20, 2023

Based on this chart, the top hybrid vehicle sales in the US in recent years are the Toyota RAV4, Ford Fusion, and Toyota Prius.

The fuel economy of those cars (2019 model) is around 40, 40, and 50, respectively. I took all those estimates from https://www.fueleconomy.gov/. That yields an average of 43.3 mpg, which seems like it might be about right - anecdotally my 2011 Prius gets around 40mpg, depending on the type of driving (highway < city).

That would then be 0.023 gallons/mile or 0.0143 gallons/km.

When I put that into this calculator it yields 0.127 kgCo2/km - falling below our standard car of 0.1659 kgCo2/km.

Any thoughts on this number? I can always re-work it, but will begin drafting the PR for this change.


edit - updated the number for the Ford Fusion from 30 -> 40 upon revisiting, I had missed that some of the numbers I was seeing were for regular, not hybrid, cars. That brought the mpg average up to 43.3 from 40, so the emissions number dropped a bit.

@Abby-Wheelis
Copy link
Member Author

Hybrid car has been added! See phone PR and translate PR

I verified in the emulator that these options show up when no 'label-options' is specified in the config by taking that field out of the config in my branch, pointing the phone code at the downloadURL for that branch, and logging out and back in. As shown below, hybrid is now an option by default.

I checked in Spanish as well, and noticed 🌐 Moped as one of the options, signaling that we're missing the translation. I remember seeing this comment that moped is not a standard mode, but it is present in both en.json and label-options.json.sample in e-mission-phone. @shankari @sebastianbarry I could be looking at the wrong "default labels" file, so feel free to correct me, but we should remove Moped from both of those places if it's not a standard mode, right?

@Abby-Wheelis Abby-Wheelis moved this from Issues being worked on to Ready for review in OpenPATH Tasks Overview Oct 31, 2023
@shankari
Copy link
Contributor

We should remove moped from both those places. I remember flagging this in
e-mission/e-mission-translate#47 (comment)
but it looks like only the translation was fixed, not the original label mapping.
@sebastianbarry please fix this ASAP

sebastianbarry added a commit to sebastianbarry/e-mission-phone that referenced this issue Oct 31, 2023
sebastianbarry added a commit to sebastianbarry/e-mission-phone that referenced this issue Oct 31, 2023
@Abby-Wheelis Abby-Wheelis moved this from Ready for review to Issues being worked on in OpenPATH Tasks Overview Oct 31, 2023
@Abby-Wheelis
Copy link
Member Author

Checked after those changes, and the translated version is now free of 🌐 translations, so we should be good to go!

Closing this issue, as hybrid is now a default mode.

@github-project-automation github-project-automation bot moved this from Issues being worked on to Tasks completed in OpenPATH Tasks Overview Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants