riemann icon indicating copy to clipboard operation
riemann copied to clipboard

Add VC traffic (Python) and Hughes' model solvers

Open GitKalo opened this issue 2 years ago • 1 comments

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.

GitKalo avatar Jan 29 '24 13:01 GitKalo

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

ketch avatar Jan 30 '24 18:01 ketch