Porting notes

Source model

Porting approach

Configuration in Python

The Python model supports:

  1. Legacy parameter CSVs (same style as NetLogo parameter files / output metadata block),
  2. YAML config files for modern workflows,
  3. Environment variable overrides with the COCONET_ prefix.

You can drive these from the CLI (files and flags) or from the library (load_coconet_config, CoconetConfig.from_file); see Getting started.

Known implementation choices

Validation strategy

Recommended parity checks:

  1. Run legacy NetLogo and Python with the same parameter CSV.
  2. Compare output distributions and time series for:
    • C_*, C_reef, R_reef,
    • S_*, S_manta,
    • E_*, G_*, catches,
    • bleaching / cyclone mortality summaries.
  3. Validate intervention scenarios independently (control, seeding, shading, pH, fishing changes).

See also