Skip to content
Skip to Content

[phases]

Phases run at every step, in order (AD-10).

The [phases] table is optional. It has 2 keys; a key it does not know stops the run with E1005, or E1022 when an accepted key is close.

Keys

KeyTypeDefaultMeaning
orderarray of strings["ageing", "death", "migration", "union", "contraception", "conception_birth", "households"]Ordered list of the phases run at every step; every phase of an active plugin must be listed.
wave_depthinteger8Deepest event wave a phase barrier delivers, from 1 to 1000; a deeper cascade stops the run with its event chain.

Generated from crates/cohortix-kernel/src/scenario/config.rs. Do not edit. This page (table [phases]) 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.