Skip to content

Compass custom extension#75

Merged
dan-mccabe merged 7 commits intomainfrom
ndr/compass-custom-extension
Mar 5, 2026
Merged

Compass custom extension#75
dan-mccabe merged 7 commits intomainfrom
ndr/compass-custom-extension

Conversation

@nreinicke
Copy link
Copy Markdown
Collaborator

This PR starts to build out custom traversal models for RouteE Compass to be used exclusively in RouteE Transit. To do that, we build a rust extension that has a new traversal model called TransitEnergyModel that performs energy estimation for transit busses specifically. This is based on the energy models in base compass but go a step further by adding a stopping penalty which is just computed as the kinetic energy required to go from a stop back up to the link average speed. This additional stop energy is mostly meant to be demonstrative and we should scrutinize that exact approach a bit more but hopefully this elucidates how one might go about building even more compass extensions that are specific to transit busses.

I know this might be a lot to take in and so feel free to schedule some time to chat if you want to.

@nreinicke nreinicke requested a review from dan-mccabe February 14, 2026 00:20
@dan-mccabe dan-mccabe merged commit 6e01b5b into main Mar 5, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants