Giter Club home page Giter Club logo

activitysim-prototype-mtc's Introduction

activitysim-prototype-mtc

The primary ActivitySim example model.

The prototype_mtc example is based on (but has evolved away from) the Bay Area Metro Travel Model One, also known as "TM1". TM1 has its roots in a wide array of analytical approaches, including discrete choice forms (multinomial and nested logit models), activity duration models, time-use models, models of individual micro-simulation with constraints, entropy-maximization models, etc. These tools are combined in the model design to realistically represent travel behavior, adequately replicate observed activity-travel patterns, and ensure model sensitivity to infrastructure and policies. The model is implemented in a micro-simulation framework. Microsimulation methods capture aggregate outcomes through the representation of the behavior of individual decision-makers.

There are two model structures in the prototype_mtc example: a simpler model that is relatively close to the TM1 model, and a more complex model that is incorporates new model components that have been added by the ActivitySim consortium over the past few years.

See https://activitysim.github.io for more information.

Installation

The following short Python script will download and prepare the example data for the prototype_mtc_extended example model.

from pathlib import Path
from activitysim.examples.external import download_external_example

example_dir = download_external_example(
  name="prototype_mtc_extended", 
  working_dir=Path.cwd(),
  url="https://github.com/ActivitySim/activitysim-prototype-mtc/archive/refs/heads/extended.tar.gz",
  assets={
    "data_full.tar.zst": {
      "url": "https://github.com/ActivitySim/activitysim-prototype-mtc/releases/download/v1.3.4/data_full.tar.zst",
      "sha256": "b402506a61055e2d38621416dd9a5c7e3cf7517c0a9ae5869f6d760c03284ef3",
      "unpack": "data_full",
    },
    "test/prototype_mtc_reference_pipeline.zip": {
      "url": "https://github.com/ActivitySim/activitysim-prototype-mtc/releases/download/v1.3.2/prototype_mtc_extended_reference_pipeline.zip",
      "sha256": "4d94b6a8a83225dda17e9ca19c9110bc1df2df5b4b362effa153d1c8d31524f5",
    }
  }
)

Benchmarking

The prototype_mtc example model is run using the activitysim command line tool. A quick and easy way to run the model for benchmarking is to use the following command:

cd activitysim-prototype-mtc-extended
activitysim workflow performance-benchmarking

activitysim-prototype-mtc's People

Contributors

dhensle avatar i-am-sijia avatar jpn-- avatar navsarmajs avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

jpn-- camsys

activitysim-prototype-mtc's Issues

Benchmarking crashes in sharrow `compile`

When I attempted to run MTC benchmarking with the latest ActivitySim and Sharrow, it crashed in the sharrow compile mode. Complaining about utility not matching. I tried again from a fresh installation, it crashed at the same point.

To replicate:

image

activitysim.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.