View source: R/12-simulation-engine.R
| calculate_daily_weight_change | R Documentation |
Calculates final weight after growth, using existing predator energy density functions. Ensures biologically realistic weight changes.
calculate_daily_weight_change(
current_weight,
net_energy,
spawn_energy,
day,
processed_predator_params
)
current_weight |
Initial weight of the day (g) |
net_energy |
Net energy available (J/g fish/day) |
spawn_energy |
Energy lost to reproduction (J) |
day |
Current simulation day |
processed_predator_params |
Processed predator parameters |
List with final weight and weight change
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.