jdlph / Path4GMNS

An open-source, cross-platform, lightweight, and fast Python path engine for networks encoded in GMNS.
https://path4gmns.readthedocs.io/en/latest/
Apache License 2.0
54 stars 25 forks source link

read user defined agent types in allowed_uses #4

Closed asu-trans-ai-lab closed 3 years ago

asu-trans-ai-lab commented 3 years ago

The current implementation seems to be limited to walk and bike in field allowed_uses in link.csv. A user can specify agent type = n in settings.cv, and define agent types flexibly for multimodal planning. Test network is attached. 4_stops_example.zip

jdlph commented 3 years ago

It has been fixed in v0.7.2 and tested using the sample network you provided. Note that any new demand_periods shall be appended under "demand_periods: in settings.yaml. Creating "demand_periods_1" and anything similar is not supported, and will lead to an exception to be thrown.

Thank you for reporting this issue!!