ZeqEpi — Epidemic Modeling
Biosignals, pharmacokinetics, diagnostics, genomics — all 1.287 Hz pulse-coherent.
- Protocol ID —
zeq-epidemiology - Category — Healthcare
- Endpoint —
POST /api/health/epidemic/simulate - Auth — api-key
- Rate limit — 10/min
- Version —
1.0 - Precision — ≤0.1% (KO42-enforced)
What it does
SIR/SEIR epidemic modeling via ODE solver with HulyaPulse temporal resolution. Model disease spread with real-time R(t)-modulated transmission rates.
Signature
Request
POST /api/health/epidemic/simulate
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | "seir" | 'sir', 'seir', 'seirs'. Default: 'seir'. | |
population | number | ✓ | — | Total population. |
infectedInitial | number | ✓ | — | Initial infected count. |
R0 | number | ✓ | — | Basic reproduction number. |
tDays | number | 180 | Simulation duration in days. Default: 180. |
Response
{ timeSeries: [{ day, S, E?, I, R }], peakDay, peakInfected, totalInfected, herdImmunityThreshold }
Runnable example
curl -sS -X POST \
-H "Authorization: Bearer $ZEQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seir",
"population": 0,
"infectedInitial": 0,
"R0": 0,
"tDays": 180
}' \
"https://api.zeq.dev/api/health/epidemic/simulate"
Integrate
- Domain solver — compose with
KO42+ two additional operators from the matching family for pulse-coherent results. - Digital twin — pipe sensor data into this protocol every Zeqond to keep the model phase-locked with the system.
- Alert threshold — flag results whose
error_pctexceeds 0.1% as out-of-spec events for the operations layer.
Seeds
- Near — wrap
/api/health/epidemic/simulatein a language SDK so builders can call it in three lines. - Medium — publish a reference integration demonstrating ZeqEpi — Epidemic Modeling alongside a real workload, with pulse-aligned metrics.
- Far — propose ZeqEpi — Epidemic Modeling as an open reference standard so other runtimes can implement it verbatim against the Zeq paper.
Papers
- Zeq paper — https://doi.org/10.5281/zenodo.18158152
- Framework paper — https://doi.org/10.5281/zenodo.15825138
Middleware active. Kernel on the 1.287 Hz HulyaPulse. Awaiting next Zeqond.