Skip to main content

Regarding a Covid-19 related project that I worked on a few months ago

A little over a year ago, I had written a blog post in this blog titled "COVID-19 Disease Spreading Simulation". That was something that I worked on in a very short time frame. A few months after that, during a conversation with an old professor of mine, Dr. Jimson Mathew, we discussed modifying it further to create something really interesting. We started working on creating "A Framework for COVID-19 Cure or Vaccine Distribution Modeling, Analysis and Decision Making" in October 2020 and finished creating it and drafting a research paper about it in the first week of November 2020. We had submitted this to the Journal of Simulation, but the reviewers rejected the paper citing more information recently. Of course, we will be editing the paper and re-submitting it; however, I thought it would be better if I uploaded the project in the public domain so that anyone who would like to use it can do the same without having to wait.

I have made this available on GitHub. The following are respectively the links to the source code and the hosted version.

https://github.com/zenineasa/frameworkForVaccineAndCureDistribution 

https://zenineasa.github.io/frameworkForVaccineAndCureDistribution/ (You may have to zoom out a bit to see the entire grid structure)

What we have created here is a framework where you can define region boundaries and their permeability, and have people as actors being generated in the scene. There are hyperparameters to determine the number of people in a region, the number of people who are initially sick, the point in simulation from which vaccines and/or medicines get distributed, and its frequency and quantity as well. People can easily tweak the JSON file that is loaded in the webpage to have different layouts and different hyperparameters.



To generate the aforementioned JSON file, I used a script to do the same. I wanted to generate a hexagonal grid (honeycomb), as I was inspired by central place theory. Central place theory is an economic theory that attempts to explain the different hierarchies of human settlements across an ideal homogeneous landscape.

For the sake of simplicity in capturing the data, I have added UI buttons to take a screenshot as well as export simulation data that is captured over time. There are buttons to pause and play the simulation as well.

In the folder named 'resultsAndAnalysis', I have added in all the simulation data that we exported using the button that I stated above for various hyperparameters that we designed. The corresponding JSON files for the hyperparameters are also available in the folders.

I hope someone who is looking for something like this will find it useful.


Update from November 2023:

I just submitted a preprint to ArXiv describing this project. Check it out!
https://arxiv.org/abs/2311.09984
https://vixra.org/abs/2311.0085

Comments

Popular posts from this blog

How to Create your own Ad Blocker Chrome Extension

Not very long ago, I read an article stating that Google banned advertisement blockers from its stores. There are several websites which does not let you in if you have an Ad blocker extension installed on your browser. I have not investigated on how these websites detect that, nor do I know whether our own version of advertisement blocker would be immune to that. But, isn't it fun to build something like this on our own? As the first step, I found a random website that has a Google Ad. I right clicked on the Google Ad and clicked on Inspect button. As I moved up the Elements inspector, I found that the id of the advertisement starts with "google_ads_". Therefore, I opened the console and typed in the following command: div = document.querySelector('[id^="google_ads_"]') This selected the div  that contained the advertisement. I went ahead and typed in the following command that would remove the div from the page. div.parentElement.remove...

Turning your phone into a virtual-joystick

Update: I kept working on this and I have released it as a package for Windows, Linux and macOS. Check it out: https://github.com/zenineasa/joystick/releases/tag/v1.0.0 -- During the days when I was pursying my master's programme, my friends and I used to occasionally go to a classroom in the university, turn on a projector, connect devices like Nintento Switch or Gaming computers and loads of joysticks, and play different simple multiplayer games; MarioKart was my favourite. From time-to-time, when I get together with people, I ponder that it would be a good idea if I bought such devices. Indeed, I do have a laptop, which could easily run such games; SuperTuxKart is similar enough to MarioKart and it can run on Linux, Windows and Mac. However, I do not have joysticks with me at the moment. Therefore, I think it would be a good idea if I simply worked on a project that would enable using our phones as joysticks. From a high-level, the plan is to host APIs on a NodeJS server that wo...

How to remove Blogger (or any free blogging platform) credits from the footer

I am not sure if removing the footer credits is legal or not, but I just wanted to try doing it. As I searched the internet, I found several pages describing how it could be done by making some adjustments in CSS. However, I could not find an article which uses simple JavaScript commands to do the same. So, I decided the write this. As you can see now, my footer does have Powered By Blogger credit signature. I am intending on keeping it that way until I am sure that removing it would not get me into any legal issues. I am just writing this article for the educational purposes. Right click on the Powered By Blogger  button and click on Inspect to have Chrome Developer tools loaded with the div that holds the credit content. You can see that the element should have a content similar to the following. Notice that the div is having a class value blogger . We can use this to our advantage. <div class="blogger"> <a href="https://www.blogger.com...