trafficassignment

Course Project Repo, based on UXSim https://github.com/toruseo/UXsim

https://github.com/weijiang-xiong/trafficassignment

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 20 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org, joss.theoj.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.5%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Course Project Repo, based on UXSim https://github.com/toruseo/UXsim

Basic Info
  • Host: GitHub
  • Owner: Weijiang-Xiong
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 209 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Created 10 months ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Citation

README.jp.md

UXsim: Python

PyPi Conda Version Demo in Colab codecov PyPI - Downloads arXiv DOI Static Badge

UXsimPython

UXsim

  • Python
  • 30640100
  • OD
  • /
  • //
  • pandas.DataFrameCSV
  • MatplotlibGUI
  • PythonPyTorchPython
  • uxsim.py2300

10km x 10km26PC30

AI

PyTorch

Jupyter Notebook

GUI

https://github.com/toruseo/UXsim/assets/34780089/ec780a33-d9ba-4068-a005-0b06127196d9

Python 3.9

pip

PyPIpip

pip install uxsim

conda

conda-forgeconda

conda install uxsim

### pip GitHub`pip` ``` pip install -U -e git+https://github.com/toruseo/uxsim@main#egg=uxsim ``` ``` pip install -U -e git+https://github.com/YOUR_FORK/uxsim@YOUR_BRANCH#egg=uxsim ``` ### Github`uxsim`[](https://github.com/toruseo/UXsim/releases/latest/download/uxsim.zip) ``` your_project_directory/ uxsim/ # uxsim uxsim.py # UXsim ... # uxsim your_simulation_code.py # your_simulation_notebook.ipynb # Jupyter ... # ``` UXsim

Y ```python from uxsim import *

W = World( name="", # deltan=5, # tmax=1200, # printmode=1, savemode=1, showmode=0, # randomseed=0 # )

W.addNode(name="orig1", x=0, y=0) W.addNode("orig2", 0, 2) W.addNode("merge", 1, 1) W.addNode("dest", 2, 1)

W.addLink(name="link1", startnode="orig1", endnode="merge", length=1000, freeflowspeed=20, numberoflanes=1) W.addLink("link2", "orig2", "merge", length=1000, freeflowspeed=20, numberoflanes=1) W.addLink("link3", "merge", "dest", length=1000, freeflowspeed=20, numberoflanes=1)

OD

W.adddemand(orig="orig1", dest="dest", tstart=0, tend=1000, flow=0.45) W.adddemand("orig2", "dest", 400, 1000, 0.6)

W.exec_simulation()

W.analyzer.printsimplestats()

W.analyzer.network(100, detailed=1, networkfontsize=12) W.analyzer.network(600, detailed=1, networkfontsize=12) W.analyzer.network(800, detailed=1, networkfontsize=12) ```

simulation setting: scenario name: simulation duration: 1200 s number of vehicles: 810 veh total road length: 3000 m time discret. width: 5 s platoon size: 5 veh number of timesteps: 240 number of platoons: 162 number of links: 3 number of nodes: 4 setup time: 0.00 s simulating... time| # of vehicles| ave speed| computation time 0 s| 0 vehs| 0.0 m/s| 0.00 s 600 s| 130 vehs| 13.7 m/s| 0.03 s 1195 s| 75 vehs| 12.3 m/s| 0.06 s simulation finished results: average speed: 11.6 m/s number of completed trips: 735 / 810 average travel time of trips: 162.6 s average delay of trips: 62.6 s delay ratio: 0.385

UXsim

  • uxsim: UXsim
    • uxsim/uxsim.py: UXsim
  • demos_and_examples:
  • dat:

UXsimMIT License

UXsimGithubwiki

contribution

IssuesDiscussions

UXsim UXsim

Owner

  • Name: Great River Bear
  • Login: Weijiang-Xiong
  • Kind: user
  • Location: Espoo, Finland
  • Company: Robotics, Aalto University

Coder Breathing First Form: Stack Overflow!

GitHub Events

Total
  • Delete event: 3
  • Issue comment event: 2
  • Member event: 1
  • Push event: 5
  • Pull request event: 7
  • Create event: 5
Last Year
  • Delete event: 3
  • Issue comment event: 2
  • Member event: 1
  • Push event: 5
  • Pull request event: 7
  • Create event: 5

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 7
  • Average time to close issues: N/A
  • Average time to close pull requests: 6 days
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.29
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 7
Past Year
  • Issues: 0
  • Pull requests: 7
  • Average time to close issues: N/A
  • Average time to close pull requests: 6 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.29
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 7
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (7)
Top Labels
Issue Labels
Pull Request Labels
dependencies (7) github_actions (7)

Dependencies

.github/workflows/measure-coverage.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • codecov/codecov-action v5.4.3 composite
.github/workflows/run-examples.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/run-notebook-demos-extra.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/run-notebook-demos.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/test-functions.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/test-pip.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/verify-module.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite