Select to view content in your preferred language

???Python script tool??? for ???gravity model??? for the distribution of trips generated by..

2788
0
05-19-2013 09:48 AM
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

�??Python script tool�?� for �??gravity model�?� for the distribution of trips generated by zones and attracted by bus stations,

I�??m looking for a Python script tool that can generate a table (matrix) that represents the number of trips generated by zones and attracted by bus stations


[ATTACH=CONFIG]24483[/ATTACH]

For example, I wanted to acquire the distribution of trips generated by zones and attracted by bus stations based on the equation below:

[ATTACH=CONFIG]24482[/ATTACH]

Where:

Tij: the number of trips generated by zone i and attracted by station j
Ai: balancing factor
Oi: number of trips generated by Zone i
Dj: the attractiveness value of station j to attracts trips
B: factor
Cij: the distance between zone i (its centroid) and station j

The aimed result is to have a table that looks like the table below (which represents the number of trips generated by zones and attracted by bus stations and their sum)

[ATTACH=CONFIG]24484[/ATTACH]

Sample data for zones and stations are attached



Thank you

Best

Jamal
0 Kudos
0 Replies