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

Documentation: Relative Trip Scheduling #823

Closed
dhensle opened this issue Feb 29, 2024 · 1 comment
Closed

Documentation: Relative Trip Scheduling #823

dhensle opened this issue Feb 29, 2024 · 1 comment
Labels
Docs updates to documentation content or build

Comments

@dhensle
Copy link
Contributor

dhensle commented Feb 29, 2024

The following addition to models.rst explaining the relative trip scheduling logic seems to have gotten lost as I do not see it anywhere in the new documentation...?

https://github.com/ActivitySim/activitysim/pull/657/files#diff-d606c1bcd72689c8bb949dcdafe4bcd0420da5cbaa7daf9614f0757734cffaf7

@dhensle dhensle added Feature New feature or request Docs updates to documentation content or build and removed Feature New feature or request labels Feb 29, 2024
@jpn--
Copy link
Member

jpn-- commented Mar 5, 2024

That documentation now lives in the trip scheduling component documentation here:

In order to avoid trip failing, a new probabilistic trip scheduling mode was developed named "relative".
When setting the _scheduling_mode_ option to relative, trips are scheduled relative to the previously scheduled trips.
The first trip still departs when the tour starts and for every subsequent trip, the choices are selected with respect to
the previous trip depart time. Inbound trips are no longer handled in reverse order. The key to this relative mode is to
index the probabilities based on how much time is remaining on the tour. For tours that include subtours, the time remaining will
be based on the subtour start time for outbound trips and will resume again for inbound trips after the subtour ends.
By indexing the probabilities based on time remaining and scheduling relative to the previous trip, scheduling trips in relative
mode will not fail. Note also that relative scheduling mode requires the use of logic
version 2 (see warning about logic versions, below).

@jpn-- jpn-- closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs updates to documentation content or build
Projects
None yet
Development

No branches or pull requests

2 participants