calculate_daily_weight_change: Calculate daily weight change (Low-level)

View source: R/12-simulation-engine.R

calculate_daily_weight_changeR Documentation

Calculate daily weight change (Low-level)

Description

Calculates final weight after growth, using existing predator energy density functions. Ensures biologically realistic weight changes.

Usage

calculate_daily_weight_change(
  current_weight,
  net_energy,
  spawn_energy,
  day,
  processed_predator_params
)

Arguments

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

Value

List with final weight and weight change


fb4package documentation built on May 8, 2026, 1:07 a.m.