matsim-vsp / parallel_qsim_rust

Parallel and distributed implementation of the Qsim in Rust
8 stars 0 forks source link

Max. Veloclity of vehicles #41

Closed Janekdererste closed 1 year ago

Janekdererste commented 1 year ago

To compute the earliest exit times, the simulation currently uses the freespeed of a link. Since we have vehicles we can assign max. speeds to a vehicle as well and then compute the speed like

let speed = std::cmp::min(vehicle.max_v, link.freespeed);

This would make parsing vehicle types necessary.