Skip to content

Mathematical model simulating the spread of Typhoid Fever in Sub-Saharan Africa using Differential Equations.

License

Notifications You must be signed in to change notification settings

sergyDwhiz/T-Fever-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulates the spread of typhoid fever in Sub-Saharan Africa over a one year period

Dependencies

  • numpy
  • scipy
  • matplotlib

You can install these using pip:

pip install numpy scipy matplotlib

Usage

  • Run the simulate_diff.py script to perform the simulation and plot the results:
  1. Create the data by running python3 src/data.py, this creates a data.txt file which you can then read from.
  2. Run python3 src/simulate_diff.py This will display a plot showing the number of susceptible, infected, and recovered individuals over time.

Result

T-fever-report

Contributing

This is just a simple project I dared to work on after several days of Tyhpoid fever lol. Submit a PR if you're inspired enough.

Learn

To learn more about the SIR model and disease modeling in general, you might find the following resources helpful:

About

Mathematical model simulating the spread of Typhoid Fever in Sub-Saharan Africa using Differential Equations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages