UXsim
UXsim copied to clipboard
Vehicular traffic flow simulator in road network, written in pure Python
- [ ] Flow-based visualization. The current network visualization is based on density and speed. Although it is intuitive, they are strongly correlated, so it is not very informative. -...
After some benchmarks, I discovered the `route_search_all` takes up a majority (~80% of runtime) in my simulation. This feature request proposes optimizing the route search algorithm, specifically by replacing the...
It would be a very useful feature for me to be able to estimate and record travel times of trips in UXsim. - [ ] Estimate the expected travel time...
I would find it very useful to be able to add a basemap in to the animations created by [`network_anim()`](https://github.com/toruseo/UXsim/blob/832fbefab35f5f01b557a79c1cf33cb6c04be25e/uxsim/uxsim.py#L1715C9-L1715C21). The basemap could be generated by [contextily](https://github.com/geopandas/contextily), and then added...
Still a work in progress, but this is my current draft for #16. Example usage: ```Python world.analyzer.network_pillow(basemap=ctx.providers.CartoDB.Positron) world.analyzer.network_anim(basemap=ctx.providers.CartoDB.Positron) ```
Currently there is initial support for Areas in UXsim, with two methods: - [adddemand_area2area](https://github.com/toruseo/UXsim/blob/9d98584d4927fb2ea6a6ee95b27e61f5368755b4/uxsim/uxsim.py#L1729C9-L1729C28) - [get_nodes_in_area](https://github.com/toruseo/UXsim/blob/9d98584d4927fb2ea6a6ee95b27e61f5368755b4/uxsim/uxsim.py#L2052) However, I think the concept of Areas (with some nodes in each) is a...
I think the performance numbers in the Readme could be updated on a few places, since https://github.com/toruseo/UXsim/pull/79 and https://github.com/toruseo/UXsim/pull/89 were merged: https://github.com/toruseo/UXsim/blob/54bf92d39c0a4d17c1915d4b6dd54e84581180e2/README.md?plain=1#L23 https://github.com/toruseo/UXsim/blob/54bf92d39c0a4d17c1915d4b6dd54e84581180e2/README.md?plain=1#L36 https://github.com/toruseo/UXsim/blob/54bf92d39c0a4d17c1915d4b6dd54e84581180e2/README.md?plain=1#L175-L178
Amazing speedups already have been achieved in `route_search_all` (https://github.com/toruseo/UXsim/issues/53 / https://github.com/toruseo/UXsim/pull/79) and `homogeneous_DUO_update` (https://github.com/toruseo/UXsim/issues/84 / https://github.com/toruseo/UXsim/pull/89), which both are now included in UXsim [1.4.0](https://github.com/toruseo/UXsim/releases/tag/v1.4.0). For large scale networks, this results...
While UXsim is pretty wel rooted in theory in [its paper](https://arxiv.org/abs/2309.17114), I think the next step is to show it simulations are valid and consistent with the real-world. There are...