In the realm of pandemic dynamics, understanding the intricate interplay between disease transmission, interventions, and immunity is pivotal for effective control strategies. Through a rigorous agent-based simulation, we embarked on a comprehensive exploration, traversing unmitigated spread, lockdown scenarios, and the transformative potential of vaccination. we unveil a paradoxical trend: while quarantine unquestionably delays the pandemic peak, it does not act as an impenetrable barrier to halt the progression of infectious diseases. Vaccination factor revealed a potent weapon against outbreaks -higher vaccination percentage not only delayed infection peaks but also substantially curtailed their impact. Our investigation into bond dilution below the percolation threshold presents an additional dimension to pandemic control. We observed that localized isolation through bond dilution offers a targeted control strategy that can be more resource-efficient compared to blanket lockdowns or large-scale vaccination campaigns.
II. AGENT-BASED MODELLet us consider N agents moving on a 2D square lattice with linear dimension L subject to periodic bound-