MalariaSentinel — C++ reference
The contract-defining headers of the ABM engine
Loading...
Searching...
No Matches
mal_abm_fast::RuntimeOverrides Struct Reference

#include <wire.hpp>

Public Attributes

float disperse_prob = static_cast<float>(load_config().dispersal.adult_prob_day)
 Daily adult dispersal probability, in 1/day (overrides dispersal.adult_prob_day).
float disperse_sigma_m = static_cast<float>(load_config().dispersal.adult_sigma_m)
 Gaussian sigma of the dispersal step, in metres (overrides dispersal.adult_sigma_m).
float disperse_max_m = static_cast<float>(load_config().dispersal.adult_max_m)
 Clipping radius of the dispersal step, in metres (overrides dispersal.adult_max_m).
float larva_bh_alpha = static_cast<float>(load_config().aquatic_stages.larva_bh_alpha)

Detailed Description


Constants — match mal_ghana_sim.abm defaults exactly (M1.5 thin slice).

K_MAX retired (plan 03-retirada-k-max): the larval capacity is the absolute per-cell K_ref × area_km2 × S computed by the coordinator (habitat_availability.hpp k_habitat); initial populations are explicit adult/immature counts (SeedingConfig), and the state COG carries raw per-cell adult counts. No global adult-capacity constant exists anymore. EIP (extrinsic incubation period) growing-degree-day model. daily_gd = max(0, T - EIP_BASE_C) infective when eip_progress >= EIP_THRESHOLD_GD Adult dispersal kernel: isotropic Gaussian in metres, clipped at dispersal.adult_max_m (probabilities and widths come from dispersal.*). Windborne long-range migration (M7.6 Phase 1). Parameters come from dispersal.wind_* in model_constants.yaml. Egg batch size is temperature-scaled at oviposition time via the EFD thermal modifier (birth_rate.hpp): the binomial draw of GonotrophicParams::egg_batch_n trials uses p = (egg_batch_mean / egg_batch_n) × birth_rate_modifier(T), with T the same per-patch temp_d that drives adult survival. Larva density-dependent mortality (Beverton-Holt): the daily survival probability of the patch's larvae is p = S0 * K / (K + alpha * N), with S0 and alpha read from model_constants.yaml (aquatic_stages.larva_bh_s0 / larva_bh_alpha) and N the summed larval instars of the patch. Runtime-configurable overrides for dispersal and larval parameters. Used by CLI to override wire.hpp defaults for invasion simulations.

Member Data Documentation

◆ larva_bh_alpha

float mal_abm_fast::RuntimeOverrides::larva_bh_alpha = static_cast<float>(load_config().aquatic_stages.larva_bh_alpha)

Beverton-Holt larval competition coefficient, dimensionless (overrides aquatic_stages.larva_bh_alpha).


The documentation for this struct was generated from the following file:
  • mal-core/src/mal_core/abm/include/mal_abm_fast/wire.hpp