Skip to content
Skip to Content

[time]

Simulated period and step length.

The [time] table is required: a scenario file without it stops with E1007. It has 3 keys; a key it does not know stops the run with E1005, or E1022 when an accepted key is close.

Keys

KeyTypeDefaultMeaning
startdaterequiredFirst day of the first simulated month, as a date or "YYYY-MM-DD".
enddaterequiredFirst day after the run, after start by a whole number of steps.
stepstring"month"Step length: "month" or "year".

Check across keys

end must come after start by a whole number of step steps. Otherwise the engine stops with E1012 and suggests the nearest valid end.

Generated from crates/cohortix-kernel/src/scenario/config.rs. Do not edit. This page (table [time]) is built from the engine sources at every documentation build. To change it, edit the config group in kernel_groups() and its comments in schemas/messages/en.toml and open a pull request.

On this page

You are reading the docs for 0.1. Keys can change between versions: use the version that matches cohortix --version.