osmose.engine.incoming_flux

Incoming flux: external biomass injection from CSV time-series.

Simulates immigration/migration from outside the modeled domain by creating new schools each timestep based on CSV-defined biomass inputs per age or size class.

Functions

incoming_flux_enabled(config)

Whether incoming flux is switched on (simulation.incoming.flux.enabled).

incoming_flux_in_use(config)

Whether incoming flux would do anything: the switch is on AND a species has a flux file.

Classes

IncomingFluxState(config, engine_config, grid)

Manages incoming flux (external biomass injection) for the simulation.