osmose.engine.processes.energy_budget

Energy budget process for the bioenergetic module.

Ports Java fr.ird.osmose.process.bioen.EnergyBudget (4.3.3). Java runs the whole budget in tonnes per school and divides by the school’s instantaneous abundance only at the per-fish weight increments (getDw / getDg):

Java method

Formula (units)

getEgross

ingestion * assimilation * phi_T * f_O2 (t/school)

getMaintenance

c_m * (w*1e6)^beta * arrhenius / nStepYear then * N * 1e-6 (t/school)

setENet

E_gross - E_maint (t/school)

computeEnetFaced

per-fish, per-g^beta, annualised running mean

getRho

r / (eta * enet_faced) * (w*1e6)^(1-beta), [0, 1]

getDw

(1-rho) * max(E_net, 0) / N (t/fish)

getDg

rho * max(E_net, 0) / N (t/fish)

run() order is E_gross, E_maint, E_net, computeEnetFaced, getRho, getDw, getDg — so the enet_faced used by rho is the value already updated with the current step’s E_net.

Functions

compute_energy_budget(ingestion, weight, ...)

Compute the bioen energy budget and weight increments for one timestep.

energy_terms(ingestion, weight, abundance, ...)

Java EnergyBudget.getEgross / getMaintenance: all three in TONNES PER SCHOOL.

update_enet_faced(enet_faced_prev, e_net, ...)

Java EnergyBudget.computeEnetFaced: per-fish, per-g^beta, annualised mean.