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

Drag as request option #24

Open
wants to merge 4 commits into
base: ibi-dev
Choose a base branch
from
Open

Drag as request option #24

wants to merge 4 commits into from

Conversation

evansiroky
Copy link

This refactor enables reqeusts to have inputs of the aerodynamic drag for a calculation with Micromobility travel. Since a particular user can change their position to a more-or-less aerodynamic position and certain vehicles may be more aerodynamic than others it makes sense to allow this value to be dynamically set in each request. Notes on where to find certain verified values of Cd * A are noted in the comments.

@evansiroky evansiroky removed their assignment Nov 13, 2019
@landonreed
Copy link

Could you provide some figures for the effect of different real-world drag coefficients on the speed of scooters? The last physics class I took was probably in 2006 and having trouble gauging whether or not this has a discernible impact on routing (and also if anyone would actually use it).

@evansiroky
Copy link
Author

On vehicles with a significant amount of power available (say 800w) the aerodynamics will account for the vast majority of resistive forces that need to be overcome. You can play around with some details on a site that I mention in the comments.

The default value of 0.408 is taken from this webpage. Given this estimate of aerodynamic drag and applying 800w of power on a flat road with 0 headwind, it is estimated that a velocity of 51.36 kph would be achieved.

Screen Shot 2020-02-04 at 11 19 28 AM

Now, let's consider a different aerodynamic position that's more upright. There's a paper that has analyzed Usain Bolt's world record 100m performance in 2009. In that paper, they estimate that Usain Bolt's Cd * A is 0.96 (1.2 * 0.8). If this value of Cd * A were used with all other options being equal, the velocity gets lowered to 38.86 kph.

Screen Shot 2020-02-04 at 12 07 04 PM

As you can see, the aerodynamics of a vehicle and rider can have a significant impact - especially on vehicles that are able to output a lot of power.

@evansiroky evansiroky assigned landonreed and unassigned evansiroky Feb 4, 2020
Copy link

@landonreed landonreed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved conditionally -- needs PR review/acceptance into main OTP repo before merging here.

@landonreed landonreed assigned evansiroky and unassigned landonreed Apr 2, 2020
@evansiroky
Copy link
Author

Adding blocked label due to @landonreed's request to get approval and merging into main OTP repo.

@evansiroky evansiroky added the BLOCKED Blocked (waiting on another PR to be merged) label Jun 10, 2020
evansiroky pushed a commit that referenced this pull request Jul 7, 2020
* Add support for indirect routes and include fares for routes via Jamaica and Woodside on LIRR

* Update LIRR indirect fares and handle comparing non-zone fares
landonreed pushed a commit that referenced this pull request Jul 7, 2020
@evansiroky
Copy link
Author

Unassigning myself... for now.

@evansiroky evansiroky removed their assignment Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BLOCKED Blocked (waiting on another PR to be merged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants