Simulation Workflow#
Load configuration
Initialize patches and initial conditions
Load network adjacency matrix
Flatten patch-compartment states into a single vector
Construct the ODE right-hand side
Solve using scipy.integrate.odeint
Reshape results per patch
Generate plots and outputs
All simulation logic is deterministic and continuous-time.