Program 2.6: SEIR model
Program 2.6 (page 41) of “Modeling Infectious Diseases in Humans and Animals” by Keeling and Rohani is the SEIR model with equal birth and death rates. Note we do not explicitly model the recovered class.
Reference: http://www.modelinginfectiousdiseases.org/