  We present a numerical implementation for a multilayer network used to model
the transmission of Covid-19 or other diseases with a similar transmission
mechanism. The model incorporates different contact types between individuals
(household, social contacts, and strangers), which allows flexibility compared
to standard SIR type models. The algorithm described in this paper is a
simplification of the model used to give public health authorities an
additional tool for the decision-making process in Costa Rica, by simulating
extensive possible scenarios and projections.
