Recent Releases of UXsim

UXsim - v1.9.0

Highlights

  • Add an improved solver for DSO problem, SolverDSO_ALNS
    • This is based on Adaptive Large Neighborhood Search (ALNS), with customized operators considering the domain knowledge
    • It can be 10 times faster than the previous SolverDSO_GA based on Genetic Algorithm

What's Changed

  • relax test for OSMImporter2 by @toruseo in https://github.com/toruseo/UXsim/pull/218
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/toruseo/UXsim/pull/219
  • Implement a prototype of ALNS-based solver for DSO by @toruseo in https://github.com/toruseo/UXsim/pull/221
  • Fix pytest-xdist serialization issue with workflow-embedded version pinning by @Copilot in https://github.com/toruseo/UXsim/pull/223
  • Add comprehensive GitHub Copilot instructions for UXsim repository by @Copilot in https://github.com/toruseo/UXsim/pull/225
  • Refined DSO-ALNS solver; updated DTA demo and example by @toruseo in https://github.com/toruseo/UXsim/pull/227
  • Update init.py by @toruseo in https://github.com/toruseo/UXsim/pull/228

New Contributors

  • @Copilot made their first contribution in https://github.com/toruseo/UXsim/pull/223

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.8.2...v1.9.0

Scientific Software - Peer-reviewed - Python
Published by toruseo 4 months ago

UXsim - v1.8.2

Highlights

  • Fixed the wrong definition of signal offset (signal_offset arg of Node)
    • This is a breaking fix. The previous offset definition was wrong and thus corrected by this update. Sorry for inconvenience. If you want to use the previous definition for compatibility, please use signal_offset_old arg instead
    • This addresses https://github.com/toruseo/UXsim/issues/211
  • Improved error handling for DUE solver when vehicles could not started or finished their trips
    • This addresses https://github.com/toruseo/UXsim/issues/213
  • Due to a mistake, v1.8.1 did not include the intended updates. This v1.8.2 fixes these issues.

What's Changed

  • fix notebook test by @toruseo in https://github.com/toruseo/UXsim/pull/210
  • Add example with streamlit by @toruseo in https://github.com/toruseo/UXsim/pull/212
  • fix empty route initialization bug by @toruseo in https://github.com/toruseo/UXsim/pull/214
  • fix wrong signal offset initialization by @toruseo in https://github.com/toruseo/UXsim/pull/215
  • add warning for DUE solver by @toruseo in https://github.com/toruseo/UXsim/pull/216

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.8.0...v1.8.1 Full Changelog: https://github.com/toruseo/UXsim/compare/v1.8.1...v1.8.2

Scientific Software - Peer-reviewed - Python
Published by toruseo 6 months ago

UXsim - v1.8.1

Highlights

  • Fixed the wrong definition of signal offset (signal_offset arg of Node)
    • This is a breaking fix. The previous offset definition was wrong and thus corrected by this update. Sorry for inconvenience. If you want to use the previous definition for compatibility, please use signal_offset_old arg instead
    • This addresses https://github.com/toruseo/UXsim/issues/211
  • Improved error handling for DUE solver when vehicles could not started or finished their trips
    • This addresses https://github.com/toruseo/UXsim/issues/213

What's Changed

  • fix notebook test by @toruseo in https://github.com/toruseo/UXsim/pull/210
  • Add example with streamlit by @toruseo in https://github.com/toruseo/UXsim/pull/212
  • fix empty route initialization bug by @toruseo in https://github.com/toruseo/UXsim/pull/214
  • fix wrong signal offset initialization by @toruseo in https://github.com/toruseo/UXsim/pull/215
  • add warning for DUE solver by @toruseo in https://github.com/toruseo/UXsim/pull/216

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.8.0...v1.8.1

Scientific Software - Peer-reviewed - Python
Published by toruseo 6 months ago

UXsim - v1.8.0 - DTA

Highlights

  • Implemented DTA (Dynamic Traffic Assignment) solvers
    • DTA is a rather theoretical concepts in transportation research, involving travelers' decision making principles. There are three famous principles:
      • Dynamic User Optimal (DUO): Travelers choose the shortest path based on the instantaneous travel time (the current average speed).
      • Dynamic User Equilibrium (DUE): Travelers choose the shortest path based on the actual travel time.
      • Dynamic System Optimal (DSO): Travelers choose the path so that the total travel time is minimized.
    • The default routing principle of UXsim is based on DUO, because it is reasonable and very easy to compute.
    • Now approximate solutions for DUE and DSO can be computed by DTAsolvers submodule of UXsim.
    • For the details, see Jupyter Notebook example.

What's Changed

  • Update DTAsolvers; implement OSMImporter2 (beta) by @toruseo in https://github.com/toruseo/UXsim/pull/208
  • add docstrings by @toruseo in https://github.com/toruseo/UXsim/pull/209

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.7.6...v1.8.0

Scientific Software - Peer-reviewed - Python
Published by toruseo 7 months ago

UXsim - v1.7.6

Highlight

  • Fixed the issue where vehicle speed is calculated as a negative value if the link length is too short, reported by https://github.com/toruseo/UXsim/issues/203

What's Changed

  • Fix negative speed issue by @toruseo in https://github.com/toruseo/UXsim/pull/204
  • minor update by @toruseo in https://github.com/toruseo/UXsim/pull/206

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.7.5...v1.7.6

Scientific Software - Peer-reviewed - Python
Published by toruseo 8 months ago

UXsim - v1.7.5

Highlights

  • Added proper legends for network visualizations (network, network_average, network_anim)
    • This addresses https://github.com/toruseo/UXsim/issues/172
  • Added new visualization mode "flowdelay" in addition to the previous "densityspeed"
    • In "density_speed" mode, the width represents density and the color represents speed. Although this is intuitive, they are almost linearly correlated and not very informative.
      • anim_network0_density
    • In "flow_delay" mode, the width represents flow and the color represents delay (inversely proportional to speed). They are not linearly correlated and can be informative.
      • anim_network0_flow
    • Reference trajectory plot (network_fancy)
      • anim_fancy_comparison
    • Which style is best likely depends on the user's preference.

What's Changed

  • add legends for network, network_average, network_anim by @toruseo in https://github.com/toruseo/UXsim/pull/198
  • Add "flow_speed" visualization mode for network plot by @toruseo in https://github.com/toruseo/UXsim/pull/199
  • Change color scheme for "flow_speed" plot; Update automated tests for jupyter notebook demos by @toruseo in https://github.com/toruseo/UXsim/pull/200
  • minor update for network visualization by @toruseo in https://github.com/toruseo/UXsim/pull/201
  • Update pyproject.toml by @toruseo in https://github.com/toruseo/UXsim/pull/202

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.7.4...v1.7.5

Scientific Software - Peer-reviewed - Python
Published by toruseo 9 months ago

UXsim - v1.7.4

Highlights

  • Fixed a critical bug in uxsim.ResultGUIViewer

What's Changed

  • Bump codecov/codecov-action from 5.1.2 to 5.4.0 by @dependabot in https://github.com/toruseo/UXsim/pull/194
  • Fix: Correct bbox coordinate order to prevent UTM CRS error in a Jupyter notebook example by @TheBruh141 in https://github.com/toruseo/UXsim/pull/195
  • fix GUI bug by @toruseo in https://github.com/toruseo/UXsim/pull/196
  • Update init.py by @toruseo in https://github.com/toruseo/UXsim/pull/197

New Contributors

  • @TheBruh141 made their first contribution in https://github.com/toruseo/UXsim/pull/195

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.7.3...v1.7.4

Scientific Software - Peer-reviewed - Python
Published by toruseo 9 months ago

UXsim - v1.7.3

Highlights

  • Fixed a bug that incorrectly recorded vehicle speed when transferring at nodes
    • This addresses https://github.com/toruseo/UXsim/issues/176
  • Preparing for solvers for DTA problems (DTAsolvers submodule). The current implementations are still work in progress and may be changed in the future.

What's Changed

  • Implement DTA solvers and demo by @toruseo in https://github.com/toruseo/UXsim/pull/169
  • fix coverage and others by @toruseo in https://github.com/toruseo/UXsim/pull/170
  • Bump codecov/codecov-action from 5.0.2 to 5.1.2 by @dependabot in https://github.com/toruseo/UXsim/pull/167
  • Update DTA demo and others by @toruseo in https://github.com/toruseo/UXsim/pull/171
  • Fix World.show_network() file path bug by @toruseo in https://github.com/toruseo/UXsim/pull/174
  • Improve logit model computation in DSO solver by @toruseo in https://github.com/toruseo/UXsim/pull/177
  • Add duration_t2 arg for W.exec_simulation() for better scheduling by @toruseo in https://github.com/toruseo/UXsim/pull/178
  • Add tutorial notebook for traffic signal control by @toruseo in https://github.com/toruseo/UXsim/pull/179
  • minor update by @toruseo in https://github.com/toruseo/UXsim/pull/181
  • update tests and docs by @toruseo in https://github.com/toruseo/UXsim/pull/182
  • Add python version badge by @toruseo in https://github.com/toruseo/UXsim/pull/185
  • Update README.md by @toruseo in https://github.com/toruseo/UXsim/pull/186
  • add python 3.13 to pyproject.toml by @toruseo in https://github.com/toruseo/UXsim/pull/187
  • temporally disabled example26 by @toruseo in https://github.com/toruseo/UXsim/pull/188
  • JOSS documentation update by @toruseo in https://github.com/toruseo/UXsim/pull/190
  • JOSS citation update by @toruseo in https://github.com/toruseo/UXsim/pull/191
  • Fix vehicle speed error at node by @toruseo in https://github.com/toruseo/UXsim/pull/192
  • Update init.py by @toruseo in https://github.com/toruseo/UXsim/pull/193

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.7.2...v1.7.3

Scientific Software - Peer-reviewed - Python
Published by toruseo 11 months ago

UXsim - JOSS paper version

This release is for archival purpose for paper publication in Journal of Open Source Software (JOSS).

Published paper: https://doi.org/10.21105/joss.07617

The UXsim in this release is based on v1.6.0. /paper directory includes the reviewed manuscript for JOSS. The open review process can be found in https://github.com/openjournals/joss-reviews/issues/7617

This release is also archived in Zenodo https://doi.org/10.5281/zenodo.14799163

Scientific Software - Peer-reviewed - Python
Published by toruseo 11 months ago

UXsim - v1.7.2

Highlight

  • Fixed a file IO bug (not critical, just a warning) in World.show_network(), reported by https://github.com/toruseo/UXsim/issues/173

What's Changed

  • Fix World.show_network() file path bug by @toruseo in https://github.com/toruseo/UXsim/pull/174

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

Scientific Software - Peer-reviewed - Python
Published by toruseo 12 months ago

UXsim - v1.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

Scientific Software - Peer-reviewed - Python
Published by toruseo about 1 year ago

UXsim - v1.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 'getshortestpath_*()' 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

Scientific Software - Peer-reviewed - Python
Published by toruseo about 1 year ago

UXsim - v1.6.0

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/demosandexamples/example24enuserdefinedfunctions.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 averagespeed and vehicledensity with areatopandas 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

Scientific Software - Peer-reviewed - Python
Published by toruseo over 1 year ago

UXsim - v1.5.0

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 enumeratekshortest_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

Scientific Software - Peer-reviewed - Python
Published by toruseo over 1 year ago

UXsim - v1.4.0 - Speed up

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 demonotebook08en_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

Scientific Software - Peer-reviewed - Python
Published by toruseo over 1 year ago

UXsim - v1.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

Scientific Software - Peer-reviewed - Python
Published by toruseo over 1 year ago

UXsim - v1.3.1

Highlights

  • Improve performance of route_search_all function. This addresses Issue https://github.com/toruseo/UXsim/issues/53

What's Changed

  • Make demonotebook01en.ipynb more friendly for new users by @toruseo in https://github.com/toruseo/UXsim/pull/72
  • Update docs (including conda instruction) and examples by @toruseo in https://github.com/toruseo/UXsim/pull/74
  • correct typo; replace some Japanese comments by @toruseo in https://github.com/toruseo/UXsim/pull/75
  • minor update by @toruseo in https://github.com/toruseo/UXsim/pull/76
  • Improve route_search_all function by @toruseo in https://github.com/toruseo/UXsim/pull/79

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

Scientific Software - Peer-reviewed - Python
Published by toruseo over 1 year ago

UXsim - v1.3.0

Main Changes

  • Add GUI functions
    • Vehicle tracking: You can now track a specific vehicle to see their route
    • Dataframe viewer: Stats can be confirmed
  • Improve vehicle routing functions
  • Change documentation's theme for better indexing

https://github.com/toruseo/UXsim/assets/34780089/171a5222-c7a7-44dd-9a5c-5f10d58c2d48

What's Changed

  • Update tests and docs; Replace deprecated functions in OSMnx by @toruseo in https://github.com/toruseo/UXsim/pull/67
  • Improve routing functions and add examples of routing optimization; Update visualization for multi-lane traffic by @toruseo in https://github.com/toruseo/UXsim/pull/68
  • Minor update by @toruseo in https://github.com/toruseo/UXsim/pull/69
  • Add vehicle tracker and dataframe viewer in GUI by @toruseo in https://github.com/toruseo/UXsim/pull/70
  • Update init.py by @toruseo in https://github.com/toruseo/UXsim/pull/71

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.2.0...v1.3.0

Scientific Software - Peer-reviewed - Python
Published by toruseo over 1 year ago

UXsim - v1.2.0 - Taxi (shared mobility) update

Main changes

  • Add taxi (aka. shared mobility) functions
    • A standard vehicle in UXsim just travel from A to B and disappear. This is like a private owned vehicle.
    • From this update, a Vehicle with mode="taxi" behave like a taxi. Specifically, they travel through a network by passing through specific nodes that are dynamically updated, simulating passenger pickup and drop-off.
    • New sub-module uxsim.TaxiHandler handles these matters.
    • Built-in vehicle-to-passneger matching methods are also available.
    • This addresses Issue https://github.com/toruseo/UXsim/issues/41
  • From now on, we follow the Semantic Versioning rigorously.

What's Changed

  • [Major update] Add taxi (shared mobility) by @toruseo in https://github.com/toruseo/UXsim/pull/64

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.1.1...v1.2.0

Scientific Software - Peer-reviewed - Python
Published by toruseo over 1 year ago

UXsim - v1.1.1

Main Changes

  • Add setting to adjust vehicle logging time interval via World.vehicle_logging_timestep_interval
    • By lowering the interval (e.g., World.vehicle_logging_timestep_interval=2), the simulation time can be reduced (~20% speed up), and we can obtain vehicle trajectory data with slightly less accuracy.
    • The logging setting does not affect the internal simulation accuracy. Only the outputted trajectories are affected.
    • By setting World.vehicleloggingtimestepinterval=-1, the recordlog is turned off, and the simulation time can be significantly reduced (~40% speed up).
    • This addresses Issue https://github.com/toruseo/UXsim/issues/58
  • Correct route choice behavior
    • Vehicle.links_prefer and Vehicle.links_avoid work correctly now.

What's Changed

  • Update README.md by @toruseo in https://github.com/toruseo/UXsim/pull/57
  • Update documents by @toruseo in https://github.com/toruseo/UXsim/pull/59
  • Correct font specification for matplotlib by @toruseo in https://github.com/toruseo/UXsim/pull/60
  • Add logging interval settings, correct route choice behavior by @toruseo in https://github.com/toruseo/UXsim/pull/63

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.1.0...v1.1.1

Scientific Software - Peer-reviewed - Python
Published by toruseo over 1 year ago

UXsim - v1.1.0 - Multilane

Main Changes

  • Add support for multilane links. More technically, it is a multilane, single-pipe model where vehicles cannot overtake others. This allows us to set traffic capacity significantly larger while keeping consistency to KW theory.
  • Separate Analyzer class from uxsim.py. This means that uxsim.py now contains only the essential codes for the simulation. It makes it easier for users to understand the simulation logic.

What's Changed

  • minor updates by @toruseo in https://github.com/toruseo/UXsim/pull/51
  • Update README.jp.md by @toruseo in https://github.com/toruseo/UXsim/pull/52
  • [Major update] Add multilane link; Separate Analyzer class from uxsim.py by @toruseo in https://github.com/toruseo/UXsim/pull/56

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.0.9...v1.1.0

Scientific Software - Peer-reviewed - Python
Published by toruseo over 1 year ago

UXsim - v1.0.9

Main Changes

  • Added GUI viewer for a simulation result. This will be very useful for interactive exploration of simulation results.
  • Separated OSMImpoter as a submodule
  • Introduced modern packaging by pyproject.toml (thanks for the suggestion by @EwoutH )

What's Changed

  • minor update by @toruseo in https://github.com/toruseo/UXsim/pull/47
  • Added GUI viewer for a simulation result. Separated OSMImpoter as a submodule. by @toruseo in https://github.com/toruseo/UXsim/pull/48
  • Modern packaging by pyproject.toml by @toruseo in https://github.com/toruseo/UXsim/pull/49

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.0.8...v1.0.9

Scientific Software - Peer-reviewed - Python
Published by toruseo almost 2 years ago

UXsim - v1.0.8

Main Changes

  • Add restriction that node/link/vehicle must have unique name
  • Other changes are mostly minor. Add various tests in preparation for future major updates.

What's Changed

  • contributing style etc. by @toruseo in https://github.com/toruseo/UXsim/pull/34
  • Delete demosandexamples/test_examples.py by @toruseo in https://github.com/toruseo/UXsim/pull/36
  • Add verification tests by @toruseo in https://github.com/toruseo/UXsim/pull/35
  • Add verification tests etc. by @toruseo in https://github.com/toruseo/UXsim/pull/37
  • Update colab notebook by @toruseo in https://github.com/toruseo/UXsim/pull/38
  • Add verifications for nodes and SF network by @toruseo in https://github.com/toruseo/UXsim/pull/39
  • Add verification tests by @toruseo in https://github.com/toruseo/UXsim/pull/40
  • Add restriction that node/link/vehicle must have unique name, Add new tests (verification of theoretical soundness of UXsim) by @toruseo in https://github.com/toruseo/UXsim/pull/44
  • minor updates by @toruseo in https://github.com/toruseo/UXsim/pull/46

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.0.7...v1.0.8

Scientific Software - Peer-reviewed - Python
Published by toruseo almost 2 years ago

UXsim - v1.0.7

Main Changes

  • [Experimental] Add network data import function from OpenStreetMap
  • Add node capacity to simulate traffic signal in a macroscopic manner
  • Demand can be specified by coordinates

What's Changed

  • fix issues in examples by @toruseo in https://github.com/toruseo/UXsim/pull/30
  • Test examples in CI by @EwoutH in https://github.com/toruseo/UXsim/pull/29
  • Readme: Add instructions to install from git by @EwoutH in https://github.com/toruseo/UXsim/pull/27
  • Update signal model by @toruseo in https://github.com/toruseo/UXsim/pull/31
  • Add import from OSM [experimental], new demand setup functions by @toruseo in https://github.com/toruseo/UXsim/pull/32

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.0.6...v1.0.7

Scientific Software - Peer-reviewed - Python
Published by toruseo almost 2 years ago

UXsim - v1.0.6

Main Changes

  • Add more flexibility on traffic signal modeling
  • Fix setup.py

What's Changed

  • Add World.show_network(). Add flexibility regarding traffic signal setting by @toruseo in https://github.com/toruseo/UXsim/pull/20
  • README.md: Add PyPI badge to show most recent version by @EwoutH in https://github.com/toruseo/UXsim/pull/15
  • gitignore: Add .idea/ by @EwoutH in https://github.com/toruseo/UXsim/pull/17
  • Add pre-commit configuration, upgrade to Python 3.9+ syntax, remove trailing whitespaces by @EwoutH in https://github.com/toruseo/UXsim/pull/18
  • Update README.md by @toruseo in https://github.com/toruseo/UXsim/pull/23
  • setup fix by @toruseo in https://github.com/toruseo/UXsim/pull/24
  • version by @toruseo in https://github.com/toruseo/UXsim/pull/25
  • fix setup.py by @toruseo in https://github.com/toruseo/UXsim/pull/26

New Contributors

  • @EwoutH made their first contribution in https://github.com/toruseo/UXsim/pull/15

Full Changelog: https://github.com/toruseo/UXsim/compare/v1.0.5...v1.0.6

Scientific Software - Peer-reviewed - Python
Published by toruseo almost 2 years ago

UXsim - v1.0.5

hot fix

Scientific Software - Peer-reviewed - Python
Published by toruseo about 2 years ago

UXsim - v1.0.4

Change the definition of actual travel time from departure time-based to arrival time-based, which is more appropriate. Add Route class for convenience.

Scientific Software - Peer-reviewed - Python
Published by toruseo about 2 years ago

UXsim - v1.0.3

Scientific Software - Peer-reviewed - Python
Published by toruseo about 2 years ago

UXsim - Package deployment

Scientific Software - Peer-reviewed - Python
Published by toruseo about 2 years ago

UXsim - Version 1 release

UXsimの正式リリース

Scientific Software - Peer-reviewed - Python
Published by toruseo about 2 years ago

UXsim - 書籍バージョンのリリース

書籍『マクロ交通流シミュレーション:数学的基礎理論とPythonによる実装』(著者:瀬尾亨,出版社:コロナ社)に含まれる交通流シミュレータのコードです.

  • code01_ctm.py: 単一リンクでのCell Transmission Model
  • code02_vt.py: 単一リンクでのVariational Theory
  • code03_uroborosx.py: ネットワークでの交通流シミュレータUroborosX(Newellの単純追従モデル(Xモデル)+Lagrange型Incremental Node Model+慣性Dynamic User Optimum)
  • demo.ipynb: 上記コードを実行した結果をJupyter Notebookにまとめたもの
  • ディレクトリout: code03_uroborosx.pyの出力を格納するためのもの

This is the codes of traffic flow simulators included in the book "Macroscopic Traffic Simulation: Fundamental Mathematical Theory and Python Implementation" (Author: Toru Seo, Publisher: Corona Publishing Co., Ltd.).

  • code01_ctm.py: Cell Transmission Model for a single link
  • code02_vt.py: Variational Theory for a single link
  • code03_uroborosx.py: Network traffic flow simulator UroborosX (Newell's simplified car-following model (X model) + Lagrange Incremental Node Model + Dynamic User Optimum with Inertia)
  • demo.ipynb: A Jupyter Notebook compiling the results of running the above codes
  • Directory out: For storing the output of code03_uroborosx.py

Scientific Software - Peer-reviewed - Python
Published by toruseo over 2 years ago