{"id":25019684,"url":"https://github.com/djeada/simulation-covid","last_synced_at":"2026-04-27T23:34:51.379Z","repository":{"id":114372265,"uuid":"255552264","full_name":"djeada/Simulation-Covid","owner":"djeada","description":"This is my attempt at modeling and simulating Covid-19's spread.","archived":false,"fork":false,"pushed_at":"2021-04-29T08:22:06.000Z","size":671,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T10:11:43.871Z","etag":null,"topics":["qt5","simulation"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/djeada.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":"2020-04-14T08:26:27.000Z","updated_at":"2021-09-22T19:51:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e4f3cdd-1a0b-4228-a05b-4490860495ed","html_url":"https://github.com/djeada/Simulation-Covid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/djeada/Simulation-Covid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FSimulation-Covid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FSimulation-Covid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FSimulation-Covid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FSimulation-Covid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djeada","download_url":"https://codeload.github.com/djeada/Simulation-Covid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FSimulation-Covid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32360111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["qt5","simulation"],"created_at":"2025-02-05T11:51:24.809Z","updated_at":"2026-04-27T23:34:51.363Z","avatar_url":"https://github.com/djeada.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimulationCovid\nThis is my attempt to model and simulate the spread of Covid-19.\n\n![alt text](https://github.com/djeada/SimulationCovid/blob/master/CovidSimulation/img/Capture.PNG)\n\n\u003ch1\u003eWhat does the simulation represent?\u003c/h1\u003e\nIndividual people are represented by squares in the simulation.\nTheir health is represented by their colors.\n\u003cli\u003eGreen for healthy.\u003c/li\u003e\n\u003cli\u003eRed for infected.\u003c/li\u003e\n\u003cli\u003eBlack for dead.\u003c/li\u003e\n\n\u003c/br\u003e\nSince it's impossible to display millions of squares, the numbers are scaled.\nHowever, their initial ratios are the same as in the nation of your choosing.\nThe country can be selected in the \u003ci\u003emain\u003c/i\u003e file.\n\n\u003ch1\u003eInitial Conditions\u003c/h1\u003e\n\u003cli\u003eNumber of cases in your country.\u003c/li\u003e\n\u003cli\u003eNumber of people that passed away because of Covid-19 in your country.\u003c/li\u003e\n\u003cli\u003eTotal population of your country\u003c/li\u003e\n\n\u003c/br\u003e\nInitial conditions are taken from two files:\n\n\u003ci\u003e4.14.2020.2020\u003c/i\u003e\nSource: https://data.europa.eu/euodp/pl/data/dataset/covid-19-coronavirus-data\n\n\u003ci\u003epopulation\u003c/i\u003e\nSource:https://data.worldbank.org/indicator/sp.pop.totl\n\nMaking them update themselves automatically  is on our TODO list.\n\n\u003ch1\u003eProgress of the disease\u003c/h1\u003e\nEach individual has a disease stage assigned to them.\n\u003cli\u003ehealthy\u003c/li\u003e\n\u003cli\u003einfected\u003c/li\u003e\n\u003cli\u003edead\u003c/li\u003e\n\n\u003c/br\u003e\nA life counter is assigned to each person.\nWe take it for granted that healthy people will never die.\nWe presume that everyone will go through the same number of iterations as the disease progresses.\nIf the infected person's life counter approaches zero, there are two options:\n1. They have recovered from the illness and are now in a stable state.\n2. They died as a result of the illness, and their status has been changed to that of a deceased person.\n\n\u003ch3\u003eHow is this decided?\u003c/h3\u003e\nThere is 80% of chance that they will survive. \nSource: https://www.worldometers.info/coronavirus/\n\nWe also keep track of how many cases there are in total.\nThere is a chance that a country's health-care system could fail.\nIt occurs when the total number of cases exceeds the health system's full capability.\nIf the health-care system fails, the chances of survival are reduced.\nIn the \u003ci\u003esimulation\u003c/i\u003e file, you can set the capability of your country's health system.\n\n\u003ch1\u003eHow are people getting infected?\u003c/h1\u003e\nSince there are conflicting hypotheses on how the virus spreads, we concluded that there is always a risk of being infected when you encounter an infected person, but risk is not 100%.\nIn the \u003ci\u003esimulation\u003c/i\u003e file, you can set the capability of your country's health system.\n\n\u003ch1\u003eCooperation among people\u003c/h1\u003e\nQuarantine does not apply to all.\nEvery individual is associated with a boolean field called cooperativeness.\n\nPeople who are cooperative seldom leave their homes and don't travel far.\n\n\u003ch1\u003eStatistics\u003c/h1\u003e\nThe following statistics are kept track of by us:\n\u003cli\u003eTotal number of cases.\u003c/li\u003e\n\u003cli\u003eTotal number of deaths.\u003c/li\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjeada%2Fsimulation-covid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjeada%2Fsimulation-covid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjeada%2Fsimulation-covid/lists"}