For this calculation we assume that a person is infective for roughly seven days, and
Another assumption is that each member of the population has the same base chance
to be infected, based upon the incidence. This is rarely so, but hard to simulate otherwise.
If you are not happy with this, adjust the incidence or make your own script :-)