Transport-for-the-North / caf.distribute

https://cafdistribute.readthedocs.io/en/stable/
Other
0 stars 1 forks source link

Add factors to cost function accounting for productions and attractions #19

Open isaac-tfn opened 9 months ago

isaac-tfn commented 9 months ago

As in a real gravity model, the 'mass' of the origin and destination should be included in a function producing demand between an O-D pair. This is currently achieved purely through furnessing but parameterising explicitly would be better.

nhannguyen2212 commented 9 months ago

Cost function GC[i,j] = Time[i,j] ppm + Dist[i,j] ppk + Toll[i,j] + f(P[i], A[j]) or rewritten as GC[i,j] = Dist[i,j] + Time[i,j] * ppm/ppk + toll[i,j] / ppk + f(P[i], A[j])