{"id":30909837,"url":"https://github.com/activitysim/activitysim-prototype-mtc","last_synced_at":"2025-09-09T16:06:30.593Z","repository":{"id":88761920,"uuid":"604306054","full_name":"ActivitySim/activitysim-prototype-mtc","owner":"ActivitySim","description":"The canonical prototype MTC model.","archived":false,"fork":false,"pushed_at":"2025-08-18T23:57:15.000Z","size":15773,"stargazers_count":1,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"extended","last_synced_at":"2025-08-19T01:22:45.607Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ActivitySim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-20T19:24:11.000Z","updated_at":"2025-08-18T23:57:19.000Z","dependencies_parsed_at":"2024-03-28T00:23:50.979Z","dependency_job_id":"590d0ee4-6696-41f9-9645-6f3cc88a4931","html_url":"https://github.com/ActivitySim/activitysim-prototype-mtc","commit_stats":null,"previous_names":["activitysim/activitysim-prototype-mtc"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ActivitySim/activitysim-prototype-mtc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivitySim%2Factivitysim-prototype-mtc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivitySim%2Factivitysim-prototype-mtc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivitySim%2Factivitysim-prototype-mtc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivitySim%2Factivitysim-prototype-mtc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActivitySim","download_url":"https://codeload.github.com/ActivitySim/activitysim-prototype-mtc/tar.gz/refs/heads/extended","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivitySim%2Factivitysim-prototype-mtc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274323190,"owners_count":25264068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-09T16:06:28.165Z","updated_at":"2025-09-09T16:06:30.557Z","avatar_url":"https://github.com/ActivitySim.png","language":"Python","readme":"# activitysim-prototype-mtc\n\nThe primary ActivitySim example model.\n\nThe `prototype_mtc` example is based on (but has evolved away from) the\n[Bay Area Metro Travel Model One](https://github.com/BayAreaMetro/travel-model-one), \nalso known as \"TM1\". TM1 has its roots in a wide array of analytical approaches, \nincluding discrete choice forms (multinomial and nested logit models), activity \nduration models, time-use models, models of individual micro-simulation with \nconstraints, entropy-maximization models, etc. These tools are combined in the \nmodel design to realistically represent travel behavior, adequately replicate \nobserved activity-travel patterns, and ensure model sensitivity to infrastructure\nand policies. The model is implemented in a micro-simulation framework. Microsimulation\nmethods capture aggregate outcomes through the representation of the behavior of\nindividual decision-makers.\n\nThere are two model structures in the `prototype_mtc` example: a simpler model that is\nrelatively close to the TM1 model, and a more complex model that is incorporates\nnew model components that have been added by the ActivitySim consortium over the\npast few years.\n\nSee https://activitysim.github.io for more information.\n\n# Installation\n\nThe following short Python script will download and prepare the example data \nfor the `prototype_mtc_extended` example model.\n\n```python\nfrom pathlib import Path\nfrom activitysim.examples.external import download_external_example\n\nexample_dir = download_external_example(\n  name=\"prototype_mtc_extended\", \n  working_dir=Path.cwd(),\n  url=\"https://github.com/ActivitySim/activitysim-prototype-mtc/archive/refs/heads/extended.tar.gz\",\n  assets={\n    \"data_full.tar.zst\": {\n      \"url\": \"https://github.com/ActivitySim/activitysim-prototype-mtc/releases/download/v1.3.4/data_full.tar.zst\",\n      \"sha256\": \"b402506a61055e2d38621416dd9a5c7e3cf7517c0a9ae5869f6d760c03284ef3\",\n      \"unpack\": \"data_full\",\n    },\n    \"test/prototype_mtc_reference_pipeline.zip\": {\n      \"url\": \"https://github.com/ActivitySim/activitysim-prototype-mtc/releases/download/v1.3.2/prototype_mtc_extended_reference_pipeline.zip\",\n      \"sha256\": \"4d94b6a8a83225dda17e9ca19c9110bc1df2df5b4b362effa153d1c8d31524f5\",\n    }\n  }\n)\n```\n\n# Benchmarking\n\nThe `prototype_mtc` example model is run using the `activitysim` command line tool.\nA quick and easy way to run the model for benchmarking is to use the following command:\n\n```shell\ncd activitysim-prototype-mtc-extended\nactivitysim workflow performance-benchmarking\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivitysim%2Factivitysim-prototype-mtc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factivitysim%2Factivitysim-prototype-mtc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivitysim%2Factivitysim-prototype-mtc/lists"}