Gravity models calculate the flows (either in terms of numbers of trips or tons of commodities) between each origin and destination pair as a function of generation and attraction of the origin and destination zones weighted by an impedance term that represents transport costs between the zones of the pair