osmose.calibration.bioen_offline

Offline Java-form bioenergetics growth model for parameter fitting (C3 spec §3.4).

Per fish, grams, one 24-step year cycle. Same equations as EnergyBudget.java / the parity-fixed engine with N = 1 and ingestion at the cap (food-unlimited). Used to (a) solve T_p so that the net-growth optimum equals a cited growth optimum, (b) fit (Imax, r) to a config’s own vBGF curve.

Functions

bioen_m0_cm(name, maturity_size)

Bioen maturation intercept m0 (cm): the species' maturity size, or, for a species that matures by age (size absent or 0), its entry in AGE_BASED_M0_CM.

bioen_param_lines(results, fx, zlayer, ...)

Full Java 4.3.3 bioen key inventory (canonical 4.4.0 spellings), one block per species.

c_m_from_share(imax, t_p, fx)

fit_species(tg, fx[, ndt, juvenile_boost, ...])

Fit (Imax, r), and optionally a juvenile cap multiplier j, to the species' vBGF.

g_net(T, imax, c_m, t_p, fx)

simulate_growth(imax, r, t_p, c_m, t24, ...)

Per-fish weight (g) at step index 0..n_steps; step index == age_dt.

solve_tp(t_opt, fx)

T_p such that argmax_T g_net(T) == t_opt (Imax cancels; depends on m, e_*, t_ref only).

vbgf_weight(age_years, linf, k, t0, cf, b)

Classes

BioenFixed([a, beta, eta, e_m, e_d, ...])

FitResult(name, imax, r, c_m, t_p, t_opt, ...)

SpeciesTargets(name, linf, k, t0, cf, b, ...)