System modeling for connected and autonomous vehicles.