Skip to main content

MObility Simulation System

Project description

MOSS: MObility Simulation System

A GPU-accelerated Large-scale Open Microscopic Traffic Simulation System

Website: https://moss.fiblab.net

Features

  • Efficient: MOSS adopts GPU as the computational engine, which accelerates 100 times compared to existing microscopic traffic simulators, allowing rapid simulation of large-scale urban road networks.
  • Realistic: MOSS provides the cutting-edge AIGC method to generate globally available realistic OD matrices for travel demand generation and allows the user to quickly calibrate the simulation parameters to obtain realistic simulation results.
  • Open: The simulator, toolchain, and sample programs will be open-sourced on Github for community access, and we hope that more people will join in the development and application of MOSS.

Related Repositories

  • mosstool: The toolchain for MOSS, URL.
  • sample programs: The sample programs for MOSS, URL.

Installation

Prerequisites

  • Linux
  • CUDA 11.8
  • Python >= 3.8

Install

pip install python-moss

FAQ

Q1: How to resolve the error ImportError: /.../libstdc++.so.6: version 'GLIBCXX_3.4.30' not found?

A1: Run conda install -c conda-forge libstdcxx-ng=12 in the current conda environment.

Development

Build

  1. Install Boost
wget -O boost_1_86_0.tar.gz https://archives.boost.io/release/1.86.0/source/boost_1_86_0.tar.gz
tar -zxvf boost_1_86_0.tar.gz
cd boost_1_86_0
./bootstrap.sh --with-libraries=filesystem,iostreams,program_options,regex,system --prefix=/usr/local  # avro dependency
./b2 install
cd ..
rm -r boost_1_86_0
rm boost_1_86_0.tar.gz

From v0.4 to v1.0

That is what we change and why we change it.

  • Focus on the microscopic traffic simulation only (vehicle and pedestrian), no crowd in AOI, no bus for more clear code to support community contribution.
  • No overlap in junction to avoid deadlock following CBLab's design.
  • Can output files with widely-used data format for visualization (visualization is the first for the user to understand the simulation). We choose AVRO as the output format.
  • AOI is just as a marker of the starting/ending point of vehicles/pedestrians, no other functions for more clear code.
  • clear code structure and documentation written in English.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

python_moss-1.0.0a6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

python_moss-1.0.0a6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

python_moss-1.0.0a6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

python_moss-1.0.0a6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

python_moss-1.0.0a6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

File details

Details for the file python_moss-1.0.0a6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_moss-1.0.0a6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e041d012786e90e0485bc4eaa6412a1190b77ea61324a1e0fb64c408f27a412f
MD5 a527d482b7b097b658654c441a105d32
BLAKE2b-256 983f65b7ab7312f709789e72ca5c00732fd2a3be1f1584d1e05dd2b90fa8186b

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_moss-1.0.0a6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: python-publish.yml on tsinghua-fib-lab/moss

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_moss-1.0.0a6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_moss-1.0.0a6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3f8c94285f76667015a5c46d8e0ba784b9b9a6bd3488463b5fb22feed135e928
MD5 9f3a2b11e3a02a252efcf6aedc4c7c72
BLAKE2b-256 1f2dc790dbbb9b4e0d728f663c9cd0796c4780c6065e379febd123c26f8735d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_moss-1.0.0a6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: python-publish.yml on tsinghua-fib-lab/moss

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_moss-1.0.0a6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_moss-1.0.0a6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 74fad54a618fe887180c4fd80a64cc3009e10febc16f376367cd148c806f1982
MD5 83c88f0a56e36deb4456642e0acf49e6
BLAKE2b-256 c199871b73b5e203dd946ae2c3042adb025f627338476aa6c536b39a389934a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_moss-1.0.0a6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: python-publish.yml on tsinghua-fib-lab/moss

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_moss-1.0.0a6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_moss-1.0.0a6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 02514b85ee575847ad5bbf9392ccdb47e91a4b60936ee6803b06d81bb5f8fedc
MD5 7394e4914c5c1fad9bc4a5261230d068
BLAKE2b-256 8032f1cbd14a61a5e53354d135e7a4e1b9e2c4518e9fde576ec96f5f4aeb0849

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_moss-1.0.0a6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: python-publish.yml on tsinghua-fib-lab/moss

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_moss-1.0.0a6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_moss-1.0.0a6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b52cfd799c4dfc880a1430e17c68bbfafe153a88a262accb6911e3a3465d662c
MD5 7f0fcb401682d1c0ffba8937ff975a0d
BLAKE2b-256 87bef5179130bebfc4f5618a08c7bfd8ba5a46278892c29a5450fc84d7ae228a

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_moss-1.0.0a6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: python-publish.yml on tsinghua-fib-lab/moss

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page