{"id":37642535,"url":"https://github.com/simula-complex/wtspublic","last_synced_at":"2026-01-16T11:20:15.362Z","repository":{"id":181698255,"uuid":"618435988","full_name":"Simula-COMPLEX/WTSPublic","owner":"Simula-COMPLEX","description":"Automated Digital Twins for Medicine Dispensers","archived":false,"fork":false,"pushed_at":"2024-02-28T13:48:42.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-05T02:52:03.014Z","etag":null,"topics":["digital-twins","healthcare","iot-application","medicine-dispenser","metamodeling","model-driven-engineering"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Simula-COMPLEX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-24T13:15:19.000Z","updated_at":"2023-06-24T08:30:46.000Z","dependencies_parsed_at":"2025-04-13T11:35:59.455Z","dependency_job_id":"5672b5c7-b1af-4113-9598-8540a6e70cac","html_url":"https://github.com/Simula-COMPLEX/WTSPublic","commit_stats":null,"previous_names":["simula-complex/wtspublic"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Simula-COMPLEX/WTSPublic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simula-COMPLEX%2FWTSPublic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simula-COMPLEX%2FWTSPublic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simula-COMPLEX%2FWTSPublic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simula-COMPLEX%2FWTSPublic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Simula-COMPLEX","download_url":"https://codeload.github.com/Simula-COMPLEX/WTSPublic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simula-COMPLEX%2FWTSPublic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478202,"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":["digital-twins","healthcare","iot-application","medicine-dispenser","metamodeling","model-driven-engineering"],"created_at":"2026-01-16T11:20:14.792Z","updated_at":"2026-01-16T11:20:15.353Z","avatar_url":"https://github.com/Simula-COMPLEX.png","language":"Python","readme":"# APD-DT\nA tool for automated creation and operation of digital twins for automatic medicine dispensers. \nThis work is a part of the Welfare Technology Solution (WTS) project. \n\n[//]: # (The repository contains open-source implementation)\n\n## Related Publication\n* Hassan Sartaj, Shaukat Ali, Tao Yue, and Kjetil Moberg. \"Model‐based digital twins of medicine dispensers for healthcare IoT applications.\" *Software: Practice and Experience* (2024); 1-21. doi: 10.1002/spe.3311 [[Preprint]](https://arxiv.org/abs/2312.04662)\n\n## Basic Requirements\n\n* IDE: PyCharm\n* Python: 3.9 or higher \n\n## Dependencies\n\n* PyEcore: 0.13.1 \n* Flask: 2.2.3\n* Flask-RESTful: 0.3.9\n\n## Usage Guide\n\n### Step: 1 \nClone the repository using the following command.\n```\ngit clone https://github.com/Simula-COMPLEX/WTSPublic.git\n```\n### Step: 2\nInstall dependencies following instructions:\n\n* [PyEcore](https://pyecore.readthedocs.io/en/latest/user/install.html)\n* [Flask](https://flask.palletsprojects.com/en/2.2.x/installation/)\n* [Flask-RESTful](https://flask-restful.readthedocs.io/en/latest/installation.html)\n\n### Step: 3\n**Inputs settings**\n\nInput settings can be changed in different input files in `APD-DT/inputs` directory. \n\n**Running one DT**\n\nTo execute one DT, run `dt-main.py` file.  \n\n**Running multiple DTs**\n\nTo execute multiple DTs, run `dts-main.py` file. The number of DTs to run can be configured in `APD-DT/inputs/serial-numbers.txt` file.\n\n**Communicating with DT(s)**\n\nUse the APIs provided in the mapping file, add the serial number of the specific dispenser(s), and use Postman or any other client to send HTTP requests to the DT(s) and get a response from the DT(s). \nThe supported data interchange format is JSON. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimula-complex%2Fwtspublic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimula-complex%2Fwtspublic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimula-complex%2Fwtspublic/lists"}