Uxsim

Latest version: v1.7.1

Safety actively analyzes 700950 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.7.1

Highlight
- Added support for the major update of OSMnx v2 (https://github.com/toruseo/UXsim/issues/147)

What's Changed
* Improve Python version tests by toruseo in https://github.com/toruseo/UXsim/pull/155
* Add example of DUE and related tests for Route class by toruseo in https://github.com/toruseo/UXsim/pull/158
* Vehicle route information is now recoverable even when detailed logging is turned off by toruseo in https://github.com/toruseo/UXsim/pull/160
* Bump codecov/codecov-action from 4.6.0 to 5.0.2 by dependabot in https://github.com/toruseo/UXsim/pull/161
* Temporally disabled OSMnx tests due to the breaking change 2.0.0 by toruseo in https://github.com/toruseo/UXsim/pull/162
* Fix OSMnx version issue by toruseo in https://github.com/toruseo/UXsim/pull/164
* Update __init__.py by toruseo in https://github.com/toruseo/UXsim/pull/165


**Full Changelog**: https://github.com/toruseo/UXsim/compare/v1.7.0...v1.7.1

1.7.0

Highlights
- Optimized memory usage and others
- In large scale scenarios, memory usage is reduced by about 50%
- More efficient and accurate demand definition functions: `adddemand_nodes2nodes2` and `adddemand_area2area2`
- This is mostly based on investigation and contribution by EwoutH. Thanks!
- Add several utility functions for shortest path analysis

What's Changed
* add `get_shortest_path_distance_between_all_nodes` by toruseo in https://github.com/toruseo/UXsim/pull/132
* Complete `get_shortest_path_distance_between_all_nodes` by toruseo in https://github.com/toruseo/UXsim/pull/134
* update shortest path cost funcs and add test by toruseo in https://github.com/toruseo/UXsim/pull/136
* relocate 'get_shortest_path_*()' to `Utilities` submodule by toruseo in https://github.com/toruseo/UXsim/pull/137
* add shortest path cost on t by toruseo in https://github.com/toruseo/UXsim/pull/138
* RouteChoice: optimize memory usage by in-place updates to `route_pref` by EwoutH in https://github.com/toruseo/UXsim/pull/146
* Add `reduce_memory_delele_vehicle_route_pref` to World arg by toruseo in https://github.com/toruseo/UXsim/pull/149
* fix spell to `reduce_memory_delete_vehicle_route_pref` by toruseo in https://github.com/toruseo/UXsim/pull/150
* Bump codecov/codecov-action from 4.5.0 to 4.6.0 by dependabot in https://github.com/toruseo/UXsim/pull/151
* minor update for examples by toruseo in https://github.com/toruseo/UXsim/pull/152
* add `adddemand_nodes2nodes2` and `adddemand_area2area2` by toruseo in https://github.com/toruseo/UXsim/pull/153


**Full Changelog**: https://github.com/toruseo/UXsim/compare/v1.6.0...v1.7.0

1.6.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

Highlights

- Important bug fix on iterative execution of simulation by `World.exec_simulation(duration_t)` and `World.check_simulation_ongoing()`
- In the previous versions, there is a bug that they fail to terminate the simulation properly under certain conditions. This bug is now fixed by updating the simulation termination procedure. Please note that this fix may slightly change the simulation result from the previous versions around the final timestep
- This resolves https://github.com/toruseo/UXsim/issues/117
- Added customizable function that is automatically executed during a simulation run: `user_function` to `World`, `Node`, `Link`, and `Vehicle`
- If specified, they are automatically called when timestep is incremented. This would be useful for incorporating user-defined traffic data collection or control methods.
- For a use-case, please see https://github.com/toruseo/UXsim/blob/main/demos_and_examples/example_24en_user_defined_functions.py

Other changes
* docstring by toruseo in https://github.com/toruseo/UXsim/pull/116
* Analyzer: Optimize `area_to_pandas` method by EwoutH in https://github.com/toruseo/UXsim/pull/119
* Analyzer: Return average_speed and vehicle_density with area_to_pandas by EwoutH in https://github.com/toruseo/UXsim/pull/121
* Add customizable `user_function` to `World`, `Node`, `Link`, and `Vehicle` by toruseo in https://github.com/toruseo/UXsim/pull/124
* fix typo by toruseo in https://github.com/toruseo/UXsim/pull/125
* Fix simulation termination procedure by toruseo in https://github.com/toruseo/UXsim/pull/126
* minor updates by toruseo in https://github.com/toruseo/UXsim/pull/127


**Full Changelog**: https://github.com/toruseo/UXsim/compare/v1.5.0...v1.6.0

1.5.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

Highlights
- Added "hard deterministic mode"
- In this mode, the simulation will not use any random variables. At a merging node, a link with higher merge_priority will be always prioritized, and vehicles always choose the shortest path. This may be useful for analysis that need strict predictability. Be aware that the simulation results will be significantly different from ones with the standard mode.
- This will be enabled by doing `World(..., hard_deterministic_mode=True, ...)` when initializing `World` object
- Added area-based demand setting and analysis
- Can set travel demand from an area (list of nodes) to another area
- Can compute traffic statistics between areas and ones inside of an area (e.g., vehicle distance traveled in an area)
What's Changed
* Introduce codecov by toruseo in https://github.com/toruseo/UXsim/pull/96
* add budge by toruseo in https://github.com/toruseo/UXsim/pull/97
* update enumerate_k_shortest_routes; add tests by toruseo in https://github.com/toruseo/UXsim/pull/98
* update docs by toruseo in https://github.com/toruseo/UXsim/pull/100
* Add hard deterministic mode by toruseo in https://github.com/toruseo/UXsim/pull/103
* Add area and vehicle group settings and analysis by toruseo in https://github.com/toruseo/UXsim/pull/107
* Add Dependabot configuration for GitHub Actions updates by EwoutH in https://github.com/toruseo/UXsim/pull/105
* Update measure-coverage.yml by toruseo in https://github.com/toruseo/UXsim/pull/109
* Bump codecov/codecov-action from 4.0.1 to 4.5.0 by dependabot in https://github.com/toruseo/UXsim/pull/108
* add node attributes by toruseo in https://github.com/toruseo/UXsim/pull/110
* update node attributes by toruseo in https://github.com/toruseo/UXsim/pull/111
* add area stats by toruseo in https://github.com/toruseo/UXsim/pull/112
* fix comfusing name, `adddemand_areas2areas` is renamed to `adddemand_nodes2nodes` by toruseo in https://github.com/toruseo/UXsim/pull/113
* Add release.yml file for automatic release notes generation by EwoutH in https://github.com/toruseo/UXsim/pull/114
* ready for release by toruseo in https://github.com/toruseo/UXsim/pull/115

New Contributors
* dependabot made their first contribution in https://github.com/toruseo/UXsim/pull/108

**Full Changelog**: https://github.com/toruseo/UXsim/compare/v1.4.0...v1.5.0

1.4.0

Highlights

- Significant speed up for large-scale scenario
- In combination with the previous v1.3.1 update, we have optimized the shortest path search and related functions. As a result, the calculation speed for large scenarios (e.g., those with 1000+ links) has increased by 10 to 100 times.
- Implement new scenario writing/reading functions `W.save_scenario` and `W.load_scenario`.
- As a demonstration of these updates, we have added demo in Chicago-Sketch dataset with 1 million vehicles.
- https://github.com/user-attachments/assets/8068acfb-15e2-4ff6-8df2-83456b77cddf



What's Changed
* Speed up `homogeneous_DUO_update` by toruseo in https://github.com/toruseo/UXsim/pull/89
* Add scenario writer/reader by toruseo in https://github.com/toruseo/UXsim/pull/90
* Add GPS-like log by toruseo in https://github.com/toruseo/UXsim/pull/91
* Update __init__.py by toruseo in https://github.com/toruseo/UXsim/pull/92
* Create demo_notebook_08en_chicago.ipynb by toruseo in https://github.com/toruseo/UXsim/pull/93


**Full Changelog**: https://github.com/toruseo/UXsim/compare/v1.3.2...v1.4.0

1.3.2

Highlights

- Fixed a bug that did not guarantee reproducibility with the same random seed. This solves Issue https://github.com/toruseo/UXsim/issues/86

What's Changed
* Create test-pip.yml by toruseo in https://github.com/toruseo/UXsim/pull/80
* Update test-pip.yml by toruseo in https://github.com/toruseo/UXsim/pull/81
* Update test-pip.yml by toruseo in https://github.com/toruseo/UXsim/pull/82
* Update test-pip.yml by toruseo in https://github.com/toruseo/UXsim/pull/83
* minor update by toruseo in https://github.com/toruseo/UXsim/pull/85
* fix the reproducibility bug by toruseo in https://github.com/toruseo/UXsim/pull/87
* Update __init__.py by toruseo in https://github.com/toruseo/UXsim/pull/88


**Full Changelog**: https://github.com/toruseo/UXsim/compare/v1.3.1...v1.3.2

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.