model__prediction__influenza__matsim-episim
This item represents the model model__prediction__influenza__matsim-episim.
Agent-based simulation of four influenza seasons (2022/23 to 2025/26) in Cologne or Berlin on MATSim mobility, with strains, immunity and vaccination.
Model runs created with this descriptor are linked below.
Browse all runs →
Status & Warnings
Documentation
| Field | Value |
|---|---|
| Method | MATSim Episim: agents follow the daily activity patterns of a MATSim/Senozon mobility model; infections happen in shared facilities and vehicles with an age- and progression-dependent model with seasonality and weather-driven outdoor fraction. Five strains over four seasons (A(H3N2), A(H1N1)pdm09, B/Victoria), cross-protection between seasons, imported infections shaped by the IfSG notifications and split by the FluNet sentinel, school holidays, and seasonal vaccination of the persons aged 60 and over. |
| Intended use | Scenario analysis of past influenza seasons in Cologne and Berlin (e.g. with and without vaccination, sensitivity to the transmissibility) and comparison with surveillance data. It is not an operational forecast: the period is fixed to 2022-09-26 to 2026-05-17. Besides the declared files a run writes run_info.json (config, image build, origin of every input), the covid-sim viewer package unpacked at the root (metadata.yaml, _info.txt, notes.md, summaries/, observed/) and scenario/ (the generated config, policy and data files as run). |
| Limitations | 25 % samples of the population. The import follows state-level notifications (NRW for Cologne), which are testing-driven; only their shape is used. Vaccination coverage comes from statutory-insurance claims data; the campaign timing is a placeholder. The mobility of a typical weekday, Saturday and Sunday is the same over all seasons. One simulation of all four seasons takes about an hour on 8 cores. |
| Training data | Calibrated by hand with the common factor gamma against the IfSG notifications and the ICOSARI SARI hospitalisations of the seasons 2022/23 to 2025/26; the calibration is not finished, the default gamma 0.5 is provisional. |
| References | https://github.com/matsim-org/matsim-episim https://github.com/matsim-org/matsim-episim-libs https://doi.org/10.5281/zenodo.18197755 |
Parameters (keys of config.json)
| Name | Type | Default | Range | Description |
|---|---|---|---|---|
city required |
string | – | one of "cologne", "berlin" | Scenario: Cologne (25 % sample, 588,124 agents) or Berlin (25 % sample, 1,207,780 agents). |
prediction_length |
integer (weeks) | 190 |
1 – 190 | Weeks to simulate from 2022-09-26 (Monday of ISO week 39/2022). 33 covers the first season, 190 all four seasons up to 2026-05-17. |
seeds |
integer | 2 |
1 – 10 | Number of random seeds; the forecast interval is taken over the seeds. |
gamma |
number | 0.5 |
0.05 – 1.5, multiple of 0.05 | Common calibration factor on the transmissibility of all strains. The default 0.5 is provisional, the calibration over the four seasons is not finished; 1.0 is the configuration of the generator without calibration and gives far more infections than observed. |
vaccination |
boolean | true |
– | Seasonal vaccination of the persons aged 60 and over with the local coverage of the KV-Impfsurveillance; false for the counterfactual without vaccination. |
tasks |
integer | 1 |
1 – 10 | Simulations run in parallel. Each needs about 8 GB (Cologne) to 14 GB (Berlin) of memory. |
dry_run |
boolean | false |
– | true checks a run without simulating: reads the inputs, rebuilds the scenario data, generates config, policy and progression and writes run_info.json and scenario/, but no predictions. Takes seconds, needs no network and little memory; for testing the platform and the inputs. |
resume |
boolean | false |
– | true continues each seed from a snapshot instead of simulating it from 2022-09-26, so a run does not have to redo years another run already covers. Needs the snapshot/ output of a previous run (same city, same build, the same or more seeds): resume_from with the QID of that run, or that output as this run's snapshot input; gamma and vaccination are not restored from the snapshot and keep applying from the resumed day onward, so give them the same values as the previous run unless a deliberately diverging sensitivity case is wanted. |
snapshot_at |
integer | 0 |
0 – 1329 | With resume true, the day (1 to 1329, counted from 2022-09-26) to resume each seed from; 0 (the default) takes the latest snapshot of the seed. A run only writes snapshots every 100 days, so most values find none. Needs resume true. |
keep_snapshots |
boolean | false |
– | true writes every seed's snapshot files into this run's snapshot/ output, so a later run can resume from it with resume true. Off by default because the snapshots can be large (a copy of the whole output directory at every 100 days of the run). |
fetch_external |
boolean | false |
– | true fetches the school holidays (OpenHolidays API) and the daily weather (Open-Meteo Historical Weather API, maximum temperature and precipitation) of the city at run time instead of using the files baked into the image; EPISERVE has no datasets for them yet. The raw responses are written to external/ of the output and their URL, time and sha256 to run_info.json. Needs network, also in a dry run; a failed request fails the run. |
resume_from |
string | "" |
matches ^(Q[0-9]+)?$ | Empty (the default): no previous run, the snapshots come from a snapshot input if resume is true. With resume true, the QID of a previous EPISERVE run of the same city and build with keep_snapshots true (e.g. Q1794860351655). The run downloads that run's snapshots from the public DOIP repository itself, one per seed folder (the day of snapshot_at or the latest), instead of reading a snapshot input; URL, size and sha256 of every file go into run_info.json. Fails before simulating if that run is of another city or matsim-episim build, has fewer seeds or no snapshot of the day. Needs network, also in a dry run. |
- Keys not listed here are rejected.
- The simulated period always starts on 2022-09-26; the input data do not move the start, they shape the import of infections and the vaccination.
- tasks must not exceed seeds to be useful; memory has to cover tasks times the memory of one simulation.
- With dry_run true only run_info.json and scenario/ are written; predictions.tsv and the other declared outputs are missing.
- fetch_external true replaces the baked holiday and weather files by the answers of OpenHolidays and Open-Meteo (raw responses in external/); without it they are the files of the pinned matsim-episim commit.
- resume needs the snapshots of a previous run with keep_snapshots true: resume_from with its QID (downloaded from DOIP by the run), or its snapshot/ output as the snapshot input, not both; snapshot_at and resume_from need resume true.
Input
IfSG_Influenzafaelle.parquet application/vnd.apache.parquet · optional file
EPISERVE dataset Q8399965930733 (RKI, laboratory-confirmed influenza notifications). Shapes the weekly import of infections over the four seasons. Without it the extract baked into the image is used.
| Column | Used as | Type | Description |
|---|---|---|---|
Meldewoche |
Time axis | isoWeek | Reporting week; 2022-W38 to 2026-W21 must be present for the region. |
Region_Id |
Selects the rows used | integer | 5 (Nordrhein-Westfalen) is used for Cologne, 11 (Berlin) for Berlin. (must contain 5, 11) |
Altersgruppe |
Selects the rows used | string | (must contain "00+") |
Fallzahl |
Extra predictor | integer | Weekly notifications; only the shape matters, the level of the import is a constant of the scenario. |
VIW_FNT.parquet application/vnd.apache.parquet · optional file
EPISERVE dataset Q4242040001970 (WHO FluNet, Germany). The sentinel detections split the import between the A subtype of the season and B/Victoria. Without it the extract baked into the image is used.
| Column | Used as | Type | Description |
|---|---|---|---|
ISO_WEEKSTARTDATE |
Time axis | date | |
ORIGIN_SOURCE |
Selects the rows used | string | (must contain "SENTINEL") |
AH3 |
Extra predictor | number | (gaps allowed) |
AH1N12009 |
Extra predictor | number | (gaps allowed) |
ANOTSUBTYPED |
Extra predictor | number | (gaps allowed) |
ANOTSUBTYPABLE |
Extra predictor | number | (gaps allowed) |
INF_B |
Extra predictor | number | (gaps allowed) |
SPEC_PROCESSED_NB |
Other | number | (gaps allowed) |
KVIS_Impfquoten_Erwachsene.parquet application/vnd.apache.parquet · optional file
EPISERVE dataset Q0602352424740 (RKI KV-Impfsurveillance). Influenza coverage of SK Köln (5315) or SK Berlin (11000) by age band and season; a season without data takes the last season with data. Without it the extract baked into the image is used.
| Column | Used as | Type | Description |
|---|---|---|---|
Berichtszeitpunkt |
Time axis | string | Season, e.g. 2024/25. |
Impfung |
Selects the rows used | string | (must contain "Influenza") |
Regionalschluessel_Kreis |
Selects the rows used | number | (must contain 5315, 11000) |
Zielgruppe |
Splits the data into separate series | string | (must contain "Personen ab 60 Jahren", "Personen mit Grunderkrankung") |
Altersgruppe |
Splits the data into separate series | string | |
Impfquote |
Extra predictor | number | (gaps allowed) |
Bevoelkerung_Gewicht |
Other | number | (gaps allowed) |
SARI-Hospitalisierungsinzidenz.parquet application/vnd.apache.parquet · optional file
EPISERVE dataset Q0522578154235 (RKI ICOSARI, SARI hospitalisation incidence). The weekly influenza SARI incidence of Germany (all ages) is the observed series written next to the hospitalisations of the model (observed/, viewer); it does not enter the simulation. Without it the extract baked into the image is used.
| Column | Used as | Type | Description |
|---|---|---|---|
Kalenderwoche |
Time axis | isoWeek | Week of hospital admission; 2022-W38 to 2026-W21 must be present. |
Altersgruppe |
Selects the rows used | string | (must contain "00+") |
SARI |
Selects the rows used | string | (must contain "Influenza") |
Hospitalisierungsinzidenz |
Series to forecast | number | Per 100,000. |
Output
predictions.tsv text/tab-separated-values
One row per complete ISO week of the simulated period: weekly new cases in the city, scaled to the whole population, mean and 10th/90th percentile over the seeds.
| Column | Content | Type | Description |
|---|---|---|---|
week |
Time of the forecast step | isoWeek | |
week_start |
Other | date | Monday of the week. |
infections |
Mean forecast | number | New infections (all strains). |
infections_q10 |
10th percentile | number | |
infections_q90 |
90th percentile | number | |
symptomatic |
Other | number | New symptomatic cases, mean over the seeds; symptomatic_q10 and symptomatic_q90 follow. |
hospitalisations |
Other | number | New hospitalisations (seriously sick), mean over the seeds; hospitalisations_q10 and hospitalisations_q90 follow. |
critical |
Other | number | New critical cases, mean over the seeds; critical_q10 and critical_q90 follow. |
simulation_weekly.parquet application/vnd.apache.parquet
The weekly values of every seed (long by seed).
| Column | Content | Type | Description |
|---|---|---|---|
seed |
Series the row belongs to | string | |
week |
Time of the forecast step | isoWeek | |
infections |
One simulated outcome | number |
infections_by_strain.parquet application/vnd.apache.parquet
Weekly new infections by transmission (imported infections not included) by strain and seed, for the strains of the scenario.
| Column | Content | Type | Description |
|---|---|---|---|
seed |
Series the row belongs to | string | |
week |
Time of the forecast step | isoWeek | |
strain |
Series the row belongs to | string | |
infections |
One simulated outcome | number |
incidence_by_age.parquet application/vnd.apache.parquet
Weekly incidence per 100,000 by age group and seed (weeks Tuesday to Monday, labelled by their last day).
| Column | Content | Type | Description |
|---|---|---|---|
seed |
Series the row belongs to | string | |
week_end |
Time of the forecast step | date | |
age_group |
Series the row belongs to | string | |
incidence_per_100k |
One simulated outcome | number |
Resources
| Field | Value |
|---|---|
| CPU | 8 |
| Memory | 24Gi |
| GPUs | 0 |
| Needs internet | yes |
| Typical runtime (s) | 7200 |