💉 Vaccination effect — quick prediction
The model runs twice, once with and once without vaccination, starting from the infected pigs (I_P) and vaccination numbers in the inputs. Results cover the next — days (Simulation Days in the toolbar). At State level, use Step 2 → Run simulation to load a year's CSF attacks and vaccinations.
| Without vaccination | With vaccination | |
|---|---|---|
| Predicted pig cases (new infections) | — | — |
| Share of pigs infected | — | — |
| Peak day (most infected pigs) | — | — |
| Infected pigs at the peak | — | — |
| Risk | — | — |
How this is calculated
Both runs use the dashboard's own pig/wild-boar equations (simulateCSF) and every parameter from the last simulation (β_P, β₁, σ₁, γ₁, C_P, D₁, μ_P, μ₁, f(C), …), over the Simulation Days.
Without vaccination: the already-vaccinated pigs (V_P) and the vaccine-derived share of R_P (θ₁·V_P) are counted as susceptible, and φ₁ = 0. With vaccination keeps that θ₁·V_P share in V_P, so vaccine immunity is carried only by V_P in both runs.
With vaccination: V_P and (if ticked) the dashboard's ongoing rate φ₁ = V_P/Np per day, plus the round entered above. Of the doses given on that day, the share that reaches susceptible pigs is protected (infected or recovered pigs gain nothing).
Vaccine: a vaccinated pig's infection risk is cut by the protection %; protection wears off after the number of days entered, on average (these replace the dashboard's θ₁ and ε₁ vaccine rates in this panel only, as in the FMD page). The model treats protection as immediate, while in the field it takes several days to build.
Cases = new pig infections (E_P → I_P flow, σ₁·E_P), counted the same way as Step 3. Peak day = day with the most infected pigs (I_P). Vaccination effectiveness = cases prevented ÷ cases without vaccination.
Risk: High if 5% or more of pigs are infected over the period, or 1% or more while cases are still rising. Medium if 1% or more, or cases are still rising. Low otherwise. "Still rising" means the peak comes after day 0 and is at least 10% above today's infected count.
📊 Year-wise Hindcast Validation (CSF)
For each historical year and district: (1) Pig population from census (year-specific). (2) β_P is back-calculated from observed incidence: β_P = (obs/N)×(σ₁+μ_P)×(γ₁+C_P+D₁)×N / (S_P×σ₁×f(C)×(1−μ₁)), where S_P = N − obs. (3) ODE is seeded with I_P = observed attacks (not a fixed constant) — each district-year gets its own trajectory. (4) ODE solved 365 days using RK4 (Runge-Kutta 4th Order, h=1 day) — 4th-order accuracy, stable for stiff CSF dynamics. (5) Predicted = Avg Monthly I_P over active months. (6) Classification: Reported = observed > 0. Predicted = peak I_P > max(5, 0.01% of Np). Zero-attack years use live dashboard β_P to test if a spark self-sustains. Final YES: (Reported & Predicted) OR (Not Reported & Not Predicted).
Select a district to validate. Pig population from 2021 Census; CSF attack data 2021–2025. Monthly breakdown available.
Select a state to validate. Pig population from the State Level N_P (constant across years — no year‑wise state census). Only states with reported attacks are listed; the rest have no data.
Excel (.xlsx): Columns: Year, Month, District name, No of Attacks
CSV: Columns: Year, Observed_Attacks, Pig_Population. Optional: District.
📊 Scenario Comparison — Control Measures Summary
| SCENARIO | RATE | PEAK R₀ | PEAK INFECTED | PEAK DAY | FINAL INFECTED | ATTACK RATE | EFFICACY VS NO CONTROL |
|---|---|---|---|---|---|---|---|
| Run simulation with different vaccination rates to compare scenarios. Scenarios are tracked automatically each run. | |||||||
🔬 With vs Without Control Measures — Comparison
| Metric | Without Control | With Control | Change |
|---|---|---|---|
| Adjust control parameters above — comparison updates automatically with each simulation run. | |||
📐 View Control Measure Equations (CSF SEIR)
λ_P = [(β_P·I_P·(1−λ_MR)·(1−μ₁)/Np) + (β₁·(S+F)·I_P·(1−a_dd)·(1−μ₁)/Np) + (β_WP·I_W·(1−λ_MR)·(1−μ₁)/Nw)] × f(C) × (1−θ_FA)
dI_P/dt = σ₁·E_P − γ₁·I_P − (C_P+D₁)·I_P − [(1+δ_OM)·(1+η_sr)−1]·I_P
dS_P/dt = b_p + ε₁·V_P·(1−χ_Ve) − λ_P·S_P − φ₁·S_P − μ_P·S_P
Wild Boar: λ_W = β_PW·I_P·(1−π)·(1−λ_MR)/Np × (1−θ_FA) × f(C)
🎲 N-Scenario Monte Carlo Comparison
| Metric | Baseline | Minimal (mean±SD) | Moderate (mean±SD) | Maximum (mean±SD) |
|---|---|---|---|---|
| Run the Monte Carlo comparison to see results. | ||||
📊 Uniform Distribution Parameter Ranges
| Parameter | ODE Effect | Baseline | Minimal | Moderate | Maximum |
|---|