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.0a3-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.0a3-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.0a3-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.0a3-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.0a3-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.0a3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_moss-1.0.0a3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 60afee975ae7ad8e949ed0a2a6e0d1aabbb0088a8b7f58ea110fc56dee21dd23
MD5 f70cb88bbbb8f9f9610bff9c90229812
BLAKE2b-256 23b4aa15e611fd0a36f1cfb0c54eec6ed9f280a5a71c2a7b5be937604cac5d01

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_moss-1.0.0a3-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.0a3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_moss-1.0.0a3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50ce21aa2674c86770c7c2f81196d9c71ca4988c1e88148079061ae0cd93f335
MD5 c79eede46ad1e1e764f2e967b2370594
BLAKE2b-256 df577f944590eb4e2606fdcd091076042079e720fee824f909004aea28741db3

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_moss-1.0.0a3-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.0a3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_moss-1.0.0a3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 554000da06349f661c95d485370cd00b411dfede3944fff284776e4ecf714809
MD5 18c9d4766b6f3379c58e23c3730acfb7
BLAKE2b-256 12688336f1e92aeccb55baa9acc13485c0f93859fa9d3130dc0ed0c8f9f037e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_moss-1.0.0a3-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.0a3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_moss-1.0.0a3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d6acff9b1fd7a950d6aba5addb489e2e70c557391cd897a49d212d361895209b
MD5 c9d1f0680ec2a95299ffdc4f8b7343d9
BLAKE2b-256 59fde49681de112015db4b0257f81084543128553dbb626e572c14ef8d957217

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_moss-1.0.0a3-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.0a3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_moss-1.0.0a3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 51f0fd3187a6feb3cf4e362c2e67152a805389cc4b094ec6e3df19d54951c29b
MD5 5beddadce52e3886c44bacf6a3c8c643
BLAKE2b-256 adc448c408d6d8d6ddc61e4f47dda585eda7ad3d4d089b0ec9c79c5547adab38

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_moss-1.0.0a3-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