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 VC traffic (Python) and Hughes' model solvers #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GitKalo
Copy link

@GitKalo GitKalo commented Jan 29, 2024

Recently I worked on a project to implement Hughes' pedestrian model in 1D via Clawpack. In the process, I also created a solver for VC traffic written in Python (since currently as far as I can tell only a Fortran version is available.

@ketch
Copy link
Member

ketch commented Jan 30, 2024

Thanks, this looks very interesting! We like to make sure that all Riemann solvers have examples that can be used to test them -- do you have a script to set up and run an example with each of these solvers? Those could be contributed to pyclaw/examples or the apps module.

There are in fact two existing Riemann solvers for variable-coefficient traffic flow, so it might be interesting to compare with them:

https://github.com/clawpack/riemann/blob/master/src/rp1_traffic_vc.f90
https://github.com/clawpack/riemann/blob/master/src/rp1_traffic_vc_fwave.f90

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