While checking the model (3.b) the probability of colonization within the ward is given by;
$$C^{s}_i = C^{s}_i + (1 - C_i^d) \frac{1}{k_i^d} \frac{\beta_e}{N_w} \cdot F_w^d$$
However on line 36 where the $(1 - C_i^d)$ gets multiplied by the $\frac{\beta_e}{N_w} \cdot F_w^d$ the $\frac{1}{k_i^d}$ seems to is missing as active_P.weight is not mentioned again.
While checking the model (3.b) the probability of colonization within the ward is given by;
However on line 36 where the$(1 - C_i^d)$ gets multiplied by the $\frac{\beta_e}{N_w} \cdot F_w^d$ the $\frac{1}{k_i^d}$ seems to is missing as
active_P.weightis not mentioned again.