This software release contains the code descriped in Russell, R.E., Walsh, D.P., Samuel, M.D., Grunnill, M.D., and Rocke, T.E., 2021, Space matters: host spatial structure and the dynamics of plague transmission: Ecological Modelling,Volume 443, https://doi.org/10.1016/j.ecolmodel.2021.109450.