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

add block_group_id to trips.txt and deadheads.txt #32

Open
BTollison opened this issue Nov 22, 2023 · 2 comments
Open

add block_group_id to trips.txt and deadheads.txt #32

BTollison opened this issue Nov 22, 2023 · 2 comments

Comments

@BTollison
Copy link
Collaborator

BTollison commented Nov 22, 2023

This is a proposal to add block_group_id to trips.txt and deadheads.txt, and block_id to deadheads.txt. The intention to is to handle the need to group blocks together when you are using EV's. Traditionally, a block_id can cover either the entire string of trips for a specific vehicle over a day or model the peak work. It does not have to show what 1 vehicle will do for an entire day. This becomes important when trying to keep track of the amount of energy in a battery for a given vehicle.

block_id
Add to deadheads.txt to keep trip of which block is part of a deadhead.

block_group_id
A unique integer value per service_id, which helps group together all events that 1 physical vehicle does on a single service day.

@safrazier17
Copy link
Contributor

  1. Addition of block_id to deadheads.txt is unnecessary based on changes in proposal Supplementing Public GTFS data (trips, stops, stop_times, routes, etc.) within ODS #55
  2. Addition of block_group_id to trips.txt cannot be effectuated by ODS
  3. Addition of (ods_)block_group_id to proposed trips_supplement.txt could be effectuated by ODS

Would (3) be useful / could it satisfy the use case laid out here? @BTollison @skyqrose @jeffkessler-keolis

@jeffkessler-keolis
Copy link
Contributor

(3) would satisfy the use case here, and I believe could be valuable. The rail side often primarily matches trips to equipment in "cycles," which are often combinations of blocks in scheduling systems (i.e. the same as the block_group_id proposed).

I'm fine adopting ods_block_group_id as a standard ODS field for trips — the alternative being that we each use our preferred nomenclature e.g. "ods_cycle_id" on our end with the same functionality across producers.

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

3 participants