A multispecies traffic model based on the Lighthill-Whitham and Richards model