{"id":18015625,"url":"https://github.com/physycom/DynamicalSystemFramework","last_synced_at":"2025-03-26T18:31:27.187Z","repository":{"id":200194859,"uuid":"690450001","full_name":"physycom/DynamicalSystemFramework","owner":"physycom","description":"Framework for modelling dynamical complex systems","archived":false,"fork":false,"pushed_at":"2024-11-14T08:50:24.000Z","size":3117,"stargazers_count":3,"open_issues_count":18,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-14T09:26:34.655Z","etag":null,"topics":["complex-systems","cpp20","dynamics","modelling-framework"],"latest_commit_sha":null,"homepage":"https://sbaldu.github.io/DynamicalSystemFramework/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/physycom.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}},"created_at":"2023-09-12T08:10:46.000Z","updated_at":"2024-11-14T08:20:51.000Z","dependencies_parsed_at":"2024-01-17T17:33:14.432Z","dependency_job_id":"c3ed3b52-19ec-4e6a-a9ff-a936c7f38a29","html_url":"https://github.com/physycom/DynamicalSystemFramework","commit_stats":null,"previous_names":["sbaldu/dynamicalsystemframework","physycom/dynamicalsystemframework"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/physycom%2FDynamicalSystemFramework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/physycom%2FDynamicalSystemFramework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/physycom%2FDynamicalSystemFramework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/physycom%2FDynamicalSystemFramework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/physycom","download_url":"https://codeload.github.com/physycom/DynamicalSystemFramework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245712692,"owners_count":20660281,"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","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":["complex-systems","cpp20","dynamics","modelling-framework"],"created_at":"2024-10-30T04:14:35.201Z","updated_at":"2025-03-26T18:31:27.180Z","avatar_url":"https://github.com/physycom.png","language":"C++","readme":"# DynamicalSystemFramework\n[![Latest Release](https://img.shields.io/github/v/release/physycom/DynamicalSystemFramework)](https://github.com/physycom/DynamicalSystemFramework/releases/latest)\n[![Standard](https://img.shields.io/badge/C%2B%2B-20/23-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization)\n[![TBB](https://img.shields.io/badge/TBB-C%2B%2B20%2F23-blue.svg)](https://github.com/oneapi-src/oneTBB)\n[![codecov](https://codecov.io/gh/physycom/DynamicalSystemFramework/graph/badge.svg?token=JV53J6IUJ3)](https://codecov.io/gh/physycom/DynamicalSystemFramework)\n\nThe aim of this project is to rework the original [Traffic Flow Dynamics Model](https://github.com/Grufoony/TrafficFlowDynamicsModel).\nThis rework consists of a full code rewriting, in order to implement more features (like *intersections*) and get advantage from the latest C++ updates.\n\n## Table of Contents\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Testing](#testing)\n- [Benchmarking](#benchmarking)\n- [Citing](#citing)\n- [Bibliography](#bibliography)\n\n## Requirements\n\nThe project requires `C++20` or greater, `cmake` and `tbb`.\nTo install requirements on Ubuntu:\n```shell\nsudo apt install libtbb-dev cmake\n```\nTo install requirements on macOS:\n```shell\nbrew install tbb cmake\n```\n\nUtilities are written in python. To install their dependencies:\n```shell\npip install -r ./requirements.txt\n```\n\n## Installation\nThe library can be installed using CMake. To build and install the project in the default folder run:\n```shell\ncmake -B build -DCMAKE_BUILD_TYPE=Release \u0026\u0026 cmake --build build\nsudo cmake --install build\n```\nOtherwise, it is possible to customize the installation path:\n```shell\ncmake -B build -DCMAKE_INSTALL_PREFIX=/path/to/install\n```\nthen building and installing it (eventually in sudo mode) with:\n```shell\ncmake --build build\ncmake --install build\n```\n\n## Testing\nThis project uses [Doctest](https://github.com/doctest/doctest) for testing.\n\nTo compile tests run:\n```shell\ncd test\ncmake -B build \u0026\u0026 make -C build\n```\nTo run all the tests together use the command:\n```shell\n./dsm_tests.out\n```\n\n## Benchmarking\nSome functionalities of the library have been benchmarked in order to assess their efficiency.  \nThe benchmarks are performed using a small toolkit developed by @sbaldu, in order to keep them simple and\nwithout needing to rely on large external libraries.  \nTo compile the benchmarks use the commands:\n```shell\ncd benchmark\ncmake -B build \u0026\u0026 make -C build\n```\nTo run all the benchmarks together use the command:\n```shell\nfor f in ./*.out ; do ./$f ; done\n```\n\n## Citing\n\n```BibTex\n@misc{DSM,\n  author = {Berselli, Gregorio and Balducci, Simone},\n  title = {Framework for modelling dynamical complex systems.},\n  year = {2023},\n  url = {https://github.com/physycom/DynamicalSystemFramework},\n  publisher = {GitHub},\n  howpublished = {\\url{https://github.com/physycom/DynamicalSystemFramework}}\n}\n```\n\n## Bibliography\n- **Berselli, Gregorio** (2022) *Modelli di traffico per la formazione della congestione su una rete stradale*. University of Bologna, Bachelor's Degree in Physics [L-DM270]. [Link to Thesis](https://amslaurea.unibo.it/id/eprint/26332/).\n- **Berselli, Gregorio** (2024) *Advanced queuing traffic model for accurate congestion forecasting and management*. University of Bologna, Master's Degree in Physics [LM-DM270]. [Link to Thesis](https://amslaurea.unibo.it/id/eprint/32191/).\n- **Mungai, Veronica** (2024) *Studio dell'ottimizzazione di una rete semaforica*. University of Bologna, Bachelor's Degree in Physics [L-DM270]. [Link to Thesis](https://amslaurea.unibo.it/id/eprint/32525/).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphysycom%2FDynamicalSystemFramework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphysycom%2FDynamicalSystemFramework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphysycom%2FDynamicalSystemFramework/lists"}