Simulating the cost of transmission in the freeway ad-hoc network