One of the most basic procedures in the modeling of diseases is to use a
compartmental model, in which the population is divided into different groups. The SIR
Model is used in epidemiology to compute the amount of susceptible, infected, and
recovered people in a population. It is also used to explain the change in the number of
people needing medical attention during an epidemic. It is important to note that this
model does not work with all diseases. For the SIR model to be appropriate, once a
person has recovered from the disease, they would receive lifelong immunity. The SIR
model is also not appropriate if a person was infected but is not infectious [1,2].