With the aim to facilitate researchers in the epidemiology area to build model equations for linear or quadratic epidemiological models, we present epiModel, a code developed in Mathematica capable to generate automatically the system of differential equations and its parameters from a short and easy description of the model contained in a text file.

epiModel consists of three files:

  • ModelDefinition. This file is where the user describes the characteristics of the model using a simple syntax.
  • epiModel. This file contains the code that enable the transformation of the data model in ModelDefinition into a system of differential equations.
  • ModelBuilder.nb. This is a Mathematica file that loads the files ModelDefinition and epiModel and execute them in order to generate two new files:
    • Model.data with the system of differential equations and
    • parameters.data with a list of all the model parameters.

epiModel has been described in:

Juan-C. Cortés, Almudena Sánchez-Sánchez, Francisco-J. Santonja, Rafael-J. Villanueva, epiModel: A system to build automatically systems of differential equations of compartmental type-epidemiological models, published in Computers in Biology and Medicine, DOI: 10.1016/j.compbiomed.2011.06.018

Sugestion, comments, etc.,
September 2011