Two exposed and infectious classes are chosen such that the duration of time in the exposed or infectious period has an Erlang distribution.