using Agent-based Model and Compartmental Model