|
@@ -22,7 +22,7 @@ MATSim network files (`.xml`)
|
|
|
|
|
|
### run
|
|
### run
|
|
|
|
|
|
- plan_gen.py [ params ] > out_plans.xml
|
|
|
|
|
|
+ plan_gen_cli.py [ params ] > out_plans.xml
|
|
|
|
|
|
### params list
|
|
### params list
|
|
- `np` : number of persons to generate
|
|
- `np` : number of persons to generate
|
|
@@ -34,14 +34,14 @@ MATSim network files (`.xml`)
|
|
|
|
|
|
generate 1000 persons with totally random home and work locations:
|
|
generate 1000 persons with totally random home and work locations:
|
|
|
|
|
|
- plan_gen.py np=1000,nw=input/network.xml
|
|
|
|
|
|
+ plan_gen_cli.py np=1000,nw=input/network.xml
|
|
|
|
|
|
generate 5000 persons with home locations reparted in 2 clusters *(work locations are totally random)*:
|
|
generate 5000 persons with home locations reparted in 2 clusters *(work locations are totally random)*:
|
|
|
|
|
|
- plan_gen.py np=5000,nw=input/network.xml,hc=input/hc_01.xml:input/hc_02.xml
|
|
|
|
|
|
+ plan_gen_cli.py np=5000,nw=input/network.xml,hc=input/c01.xml:input/c02.xml
|
|
|
|
|
|
generate 1000 persons with home and work locations reparted in different clusters:
|
|
generate 1000 persons with home and work locations reparted in different clusters:
|
|
|
|
|
|
- plan_gen.py np=1000,nw=input/network.xml, \
|
|
|
|
- hc=input/hc_01.xml:input/hc_02.xml, \
|
|
|
|
- wc=input/wc_01.xml:input/wc_02.xml
|
|
|
|
|
|
+ plan_gen_cli.py np=1000,nw=input/network.xml,\
|
|
|
|
+ hc=input/c02.xml:input/c03.xml,\
|
|
|
|
+ wc=input/c01.xml:input/c04.xml
|