Skip to content

effective-transit-alliance/platform-crowd-model

Repository files navigation

Platform Crowd Model

This repo is for modeling platform crowding and alighting and boarding of trains, specifically at NY Penn Station. vce_two_trains_alight_and_board.py models a single island platform with two tracks.

Running

To run, we use the Python package manager uv, which can be installed easily with

curl -LsSf https://astral.sh/uv/install.sh | sh

With uv installed, you can then just run the script directly:

./vce_two_trains_alight_and_board.py

In doing so, uv will also install dependencies and set up a virtual environment.

Checking

We also use ruff for formatting and linting and mypy for type checking. To run these, which are also checked in CI, you can run

uv run ruff format # format
uv run ruff check # lint
uv run mypy . # type check

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages