Freeway Applications Based on the Macroscopic Model of Traffic Flow