{"id":37633319,"url":"https://github.com/parantapa/matrix-sim2apl-sumo","last_synced_at":"2026-01-16T11:00:36.511Z","repository":{"id":39944875,"uuid":"238771778","full_name":"parantapa/matrix-sim2apl-sumo","owner":"parantapa","description":"A SUMO Simulation Driven by Sim2APL Agents and the Matrix","archived":false,"fork":false,"pushed_at":"2022-05-20T21:25:10.000Z","size":38234,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-15T08:45:28.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parantapa.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-06T19:53:27.000Z","updated_at":"2020-02-07T09:26:15.000Z","dependencies_parsed_at":"2022-08-25T09:11:40.117Z","dependency_job_id":null,"html_url":"https://github.com/parantapa/matrix-sim2apl-sumo","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/parantapa/matrix-sim2apl-sumo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parantapa%2Fmatrix-sim2apl-sumo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parantapa%2Fmatrix-sim2apl-sumo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parantapa%2Fmatrix-sim2apl-sumo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parantapa%2Fmatrix-sim2apl-sumo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parantapa","download_url":"https://codeload.github.com/parantapa/matrix-sim2apl-sumo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parantapa%2Fmatrix-sim2apl-sumo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-16T11:00:21.705Z","updated_at":"2026-01-16T11:00:36.492Z","avatar_url":"https://github.com/parantapa.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"A SUMO Simulation Driven by Sim2APL Agents and the Matrix\n=========================================================\n\nDependencies\n------------\n\nExecuting the simulation requires Java, Maven, Zstd, and SUMO.\nUse your Linux distribution's package manager to install them.\nThe current version of the simulation was tested with\nOpenJDK (ver 13.0.1), Maven (ver 3.6.3), and SUMO (ver 1.4.0)\n\nIt is recommended that you install Matrix\nwithin a virtual environment created with conda.\nTo create a new virtual environment with conda,\nhave Anaconda/Miniconda setup on your system.\nInstallation instructions for Miniconda can be found at:\n``https://docs.conda.io/en/latest/miniconda.html``\n\nDownload and build\n------------------\n\nClone the simulation package repository.\n\n.. code:: bash\n\n    $ cd $HOME\n    $ git clone https://github.com/parantapa/matrix-sim2apl-sumo.git\n\nCreate a conda environment for Matrix,\nand install Matrix inside it.\n\n.. code:: bash\n\n    $ conda create -n matrix -c conda-forge python=3 rabbitmq-server\n    $ conda activate matrix\n    $ pip install -e ~/matrix-sim2apl-sumo/matrix\n\nInstall ``traas``:\n\n.. code:: bash\n\n    $ cd ~/matrix-sim2apl-sumo/traas\n    $ mvn install\n\nInstall ``sim2apl``:\n\n.. code:: bash\n\n    $ cd ~/matrix-sim2apl-sumo/sim2apl\n    $ mvn install\n\nCompile ``sim2apl-sumo``:\n\n.. code:: bash\n\n    $ cd ~/matrix-sim2apl-sumo/sim2apl-sumo\n    $ mvn compile assembly:single\n\nDecompress the Utrecht maps and routes:\n\n.. code:: bash\n\n    $ cd ~/matrix-sim2apl-sumo\n    $ unzstd utrecht.passenger.net.xml.zst\n    $ unzstd utrecht-unique-routes.xml.zst\n\nRunning the simulation\n----------------------\n\nThe following code runs 10 iterations of the simulation\non a single compute node (the current one)\nwith 100 cars on the city of Utrecht's map\nfor 10 iterations.\n\nIn a new terminal window execute the following commands to start RabbitMQ:\n\n.. code:: bash\n\n    $ conda activate matrix\n    $ cd ~/matrix-sim2apl-sumo\n    $ matrix rabbitmq start -c rabbitmq.conf -r . -h localhost\n\nIn another new terminal execute the following commands to start the Matrix\ncontroller:\n\n.. code:: bash\n\n    $ conda activate matrix\n    $ cd ~/matrix-sim2apl-sumo\n    $ matrix controller -c config.yaml -n node0\n\nIn a third new terminal execute the following commands to run the simulation\nagents:\n\n.. code:: bash\n\n    $ cd ~/matrix-sim2apl-sumo\n    $ ./run-sim2apl-sumo.sh\n\nNote that loading the Utrecht map and routes can take a while.\nConsequently the simulation might take some time before it makes progress on the\nfirst iteration.\n\nRunning the simulation on multiple nodes\n----------------------------------------\n\nTo run the simulation using multiple compute nodes,\n``Matrix`` needs to be setup on all the compute nodes.\nThe RabbitMQ server can run on one node,\nwhile the Matrix controller and sim2apl agents\nneed to be started on every compute node.\nPlease refer to the documentation of the Matrix at\n``https://github.com/nssac/socioneticus-matrix``\nfor details on setting up Matrix on multiple compute nodes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparantapa%2Fmatrix-sim2apl-sumo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparantapa%2Fmatrix-sim2apl-sumo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparantapa%2Fmatrix-sim2apl-sumo/lists"}