Closed wagathu closed 7 months ago
@wagathu The problem is with these lines:
# The simulations
sim_base = ss.Sim(pars=pars, diseases=measles2, start = 2005, end = 2040)
sim_intv = ss.Sim(pars = pars, diseases=measles2, interventions = intv, start = 2005, end = 2040)
sim_base.run()
sim_intv.run()
It will work if you change to:
# The simulations
sim_base = ss.Sim(pars=pars, diseases=Measles2(beta = .6), start = 2005, end = 2040)
sim_intv = ss.Sim(pars = pars, diseases=Measles2(beta = .6), interventions = intv, start = 2005, end = 2040)
sim_base.run()
sim_intv.run()
Related to #103