Mizer calls a balance_<resource_dynamics>() function whenever it restores a
resource, to adjust the resource rate or the resource capacity so that the
stored resource abundance is a steady state of the resource dynamics. It
warns when no such function exists, because a custom resource would then
silently come back off its own fixed point.
Details
detritus_dynamics() reads neither the resource rate rr_pp nor the
resource capacity cc_pp: the detritus is held at a fixed power law whose
total biomass follows a production-minus-consumption balance. There is
therefore nothing for mizer to balance, and this function returns both
unchanged. What does make the stored detritus abundance a steady state is
the external detritus inflow other_params(params)$detritus$external, which
is set by tune_carrion_detritus().