A novel epidemic-detection model: incorporating heterogeneities to optimize prevention and control strategies | Synapse