Internal state models for intersections in macroscopic traffic flow models A variational formulation for higher order macroscopic traffic flow models of the GSOM family J.P.…