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

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

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

File details

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

File metadata

File hashes

Hashes for python_moss-1.0.0a1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb30ceb342c46a83479588458bd9367f5f9631f41060b085456ac98a2af852fb
MD5 bda10cb81998078d952d731d3e1b3ae8
BLAKE2b-256 f3b90cf3ca02ed78d9dbfb4b5b27cd29f8fd430204bcf5a6ea865d4e7b8cef79

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for python_moss-1.0.0a1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9be1268cd952b9f9cf81b6e600fdf7791439f2d668346475bf1db94321ab0371
MD5 9030d86cdc134649ded2fdfd17bc68e8
BLAKE2b-256 bd3a69ae9a91d407b18ede1dc558f79c3b5c3be9d4536fa6e09fa909e9bfa9d7

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for python_moss-1.0.0a1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6240064e50167bc78b98ffa1afc3e5b2752daa1d061e48815b5497c468672def
MD5 a2ca86e44f8d5b55f265d2d715aad3b0
BLAKE2b-256 60f0170f02affce72c613aa9e9d580506517ead8c5fb72dc1a99294ad5db928c

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for python_moss-1.0.0a1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c2268334db7e3faf3a46c62433538f75e1beae847b17da2b492b41bee84b628
MD5 79a1a53abca79f666c9b2c313a9f7518
BLAKE2b-256 7a626dea06281c7c1ce3be59aafdab66e5aeb70051c9b410e7c7913473b0b49b

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for python_moss-1.0.0a1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 25108d9b488debc2d22eb3a04b7ed9ef6aa3079a5517ac662ab2409820aa5ae6
MD5 bbcf4c33aac9c53d8b0e980f8db07fba
BLAKE2b-256 85d018785081f6868c429ba93010f5a08358a99257aa4441c8d464bd31e25ce9

See more details on using hashes here.

Provenance

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

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

Attestations:

Supported by

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