Skip to content

moumita-halder/VirusTransmissionSimulation-Team4

 
 

Repository files navigation

Virus Transmission Simulation

The virus transmission simulation project is developed using Java and the simulation is implemented using Java swing graphical user interface (GUI), JFreeChart and Graphics 2D.

Virus Transmission Simulation Demo

Aim of the project

The aim of the project is to simulate a SARS-CoV-2 virus and analyze the effectiveness of various preventive measures. The following constraints/factors are taken into consideration for the simulation:

  • The R-naught and k factor of the disease
  • The usage and effectiveness of masks and social distancing
  • The prevalence of testing and contact tracing
  • The availability and efficacy of the vaccine
  • Remote work and schools
  • Quarantine
  • Group event

The transmission of SARS-CoV-2 virus is also compared with SARS-CoV.

Setup

  • first download and install jdk_8 here
  • setup the JAVA_HOME system variable
  • Clone or fork this repository.
  git clone https://github.com/AnjaliSajeevan/FinalProject_INFO6205.git

Demo

Watch the demo

Required Jar files

  • ini4j-0.5.1.jar
  • jcommon-1.0.23.jar
  • jfreechart-1.0.19.jar

Programming Language

  • Java

Development Tools

  • Java SDK
  • Netbeans IDE
  • IntelliJ

Simulation Panel

The panel will show all the constraints(factors) , population counts for different health conditions, legends and assumptions along with the simulation of SAR-CoV and SAR-CoV-2 virus.

Configuration file

We use config.ini file to configure infection parameters, vaccine parameters, 2D Graphic component size and certain other conditions like hospital capacity. (More details are given in the config.ini file)

Simulation Run

  • The simulation will begin with the click of START button in the panel. Constraints can be selected from the available checkboxes in the left pane. Population slider is available to choose the number of population. R naught value is user defined.
  • This simulation can also be timed,we need to give time in milliseconds along with the number of population and constraints.
  • The simulation has START,STOP, RESUME and PAUSE buttons.
  • A graph can be plotted during the simulation to outline the growth of infection over the time interval (in days).

Simulation Output

  • Population count of different health conditions for the simulation run can be viewed at the top pane. The panel shows real time infection rate graph right below the simulation.
  • The Plot button helps charting a graph which outlines the growth/decrease in the number of healthy, infected, hospitalized, or dead over the interval of days.
  • The log pane at the bottom will display the number of infected, healthy, recovered and dead people relative to time (in days) along with the different parameters/constraints selected.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 69.0%
  • Java 30.7%
  • CSS 0.3%