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

File metadata

File hashes

Hashes for python_moss-1.0.0a5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f46deae5468ccca29a98bce96e2a9c759abe20d0344a74c4d884e1ed910b2f6c
MD5 26b657a18ddd6d77f417ded1de11e570
BLAKE2b-256 724c3ff90561b42fd5a7b87898cd84467428e7ebcc01040608f8b048a20542b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_moss-1.0.0a5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b892bc3c148e35ef4a4d7b641a478821e0325ff6763b81dbe7082f2340d0f6c6
MD5 b57460631aa4413a8c7d78997292f7f4
BLAKE2b-256 26db42d1ccee47ce85d1a61a16bcaaf354ae1b0771e2a85b188bf079c51573a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_moss-1.0.0a5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9f8df72afaf44f6cbc1f6c0d0aa839f96929ec4bb790d8cbce60fc61610cdd50
MD5 b90353f464b64287926dd666b086615e
BLAKE2b-256 90b2d6b5301091799a464180090e7f44b29adb97bfadf8366e8fd58dffc50e74

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_moss-1.0.0a5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 46e761feda9f3a1ccc26749b8dd007583b5ab82b1ff5e8943509c411599fc875
MD5 29a58c0d7ff217c226f8ae01d4183e3c
BLAKE2b-256 8a1de187ebf018d90b602ef13728acc450568a3f859eacdd73730fd25f643c8c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_moss-1.0.0a5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14417b173a0e0c79bd4567b587a7bd2a4ce3480a4a6f92c28e76c4cd4daab41e
MD5 8a61f9e9e501bb2fb8885a401d3af13e
BLAKE2b-256 4c19ad6aa64227809cb58a4b496b74ffc9cc5143a5f9eb2368cb3c1e9f76ce7c

See more details on using hashes here.

Provenance

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