|
57 | 57 | "source": [ |
58 | 58 | "download_sample_data_sets() will download five sample data sets including ASU, Braess Paradox, Chicago Sketch, Lima Network, Sioux Falls, and Two Corridors. Each of them contains the following files.\n", |
59 | 59 | "\n", |
60 | | - "1. link.csv\n", |
61 | | - "2. node.csv\n", |
| 60 | + "1. node.csv\n", |
| 61 | + "2. link.csv\n", |
62 | 62 | "3. demand.csv\n", |
63 | 63 | "4. settings.yml (for multimodal analyses)\n", |
64 | 64 | "5. settings.csv (for DTALite)" |
|
293 | 293 | "\n", |
294 | 294 | "Accessiblity defines where you can go given a time budget and a transportation mode (e.g., auto). You can find the number of accessible zones from each zone (zone_accessibility.csv) along with the free flow travel time for each OD pair (od_accessibility.csv).\n", |
295 | 295 | "\n", |
296 | | - "The default mode is 'auto' and the default time budget is 240 minutes. We will come back to multimodal evaluation in a later section.\n", |
297 | | - "\n", |
298 | | - "Zone information is necessary for accessibility evaluation." |
| 296 | + "The default mode is 'auto' and the default time budget is 240 minutes. We will come back to multimodal evaluation in a later section. Zone information is necessary for accessibility evaluation." |
299 | 297 | ] |
300 | 298 | }, |
301 | 299 | { |
|
336 | 334 | "metadata": {}, |
337 | 335 | "outputs": [], |
338 | 336 | "source": [ |
| 337 | + "# no need to load demand file for equity evaluation\n", |
339 | 338 | "network = pg.read_network()\n", |
340 | 339 | "pg.read_zones(network)\n", |
341 | 340 | "\n", |
|
468 | 467 | "metadata": {}, |
469 | 468 | "outputs": [], |
470 | 469 | "source": [ |
| 470 | + "# no need to load demand file for accessibility evaluation\n", |
471 | 471 | "network = pg.read_network()\n", |
472 | 472 | "pg.read_zones(network)\n", |
473 | 473 | "\n", |
|
479 | 479 | "id": "premium-italian", |
480 | 480 | "metadata": {}, |
481 | 481 | "source": [ |
482 | | - "### 4.5 Perform Multimodal Evaluation\n", |
| 482 | + "### 4.5 Perform Multimodal Equity Evaluation\n", |
483 | 483 | "\n", |
484 | 484 | "By removing \"single_mode=True\" from the arugment list in evaluate_equity(), multimodal evaluation will be triggered for all modes defined in settings.yml" |
485 | 485 | ] |
|
491 | 491 | "metadata": {}, |
492 | 492 | "outputs": [], |
493 | 493 | "source": [ |
| 494 | + "# no need to load demand file for equity evaluation\n", |
494 | 495 | "network = pg.read_network()\n", |
495 | 496 | "pg.read_zones(network)\n", |
496 | 497 | "\n", |
|
599 | 600 | "\n", |
600 | 601 | "During the early development of Path4GMNS, demand.csv is presumed to be given and zone information is provided along node.csv. The latter is the current design of GMNS and is endorsed in [OSM2GMNS](https://github.com/jiawlu/OSM2GMNS). This assumption leads to the following legacy way (as the original design of Path4GMNS) to load demand and zone information while the new way demonstrated was in **Section 3.2**. \n", |
601 | 602 | "\n", |
| 603 | + "\n", |
602 | 604 | "```python\n", |
603 | 605 | "network = pg.read_network(load_demand=True)\n", |
604 | 606 | "```\n", |
605 | 607 | "\n", |
| 608 | + "\n", |
606 | 609 | "The demand file is specified in settings.yml as demand.csv. You can change it to any demand file in your PWD. This design actually allows us to load multiple demand files simultaneously corresponding to different period and agent_type. We will elaborate it in a future release.\n", |
607 | 610 | "\n", |
608 | 611 | "```yaml\n", |
|
749 | 752 | "outputs": [], |
750 | 753 | "source": [ |
751 | 754 | "# zone info must be present in node.csv\n", |
752 | | - "# no need to load demand file for accessibility evaluation\n", |
| 755 | + "# no need to load demand file for equity evaluation\n", |
753 | 756 | "network = pg.read_network()\n", |
754 | 757 | "\n", |
755 | 758 | "pg.evaluate_equity(network)" |
|
0 commit comments