Learn R Programming

fb4package (version 2.0.0)

execute_daily_simulation: Execute single day simulation (Mid-level)

Description

Coordinates all daily calculations for one simulation day. Main business logic function that orchestrates low-level calculations.

Usage

execute_daily_simulation(
  day,
  current_weight,
  consumption_method,
  processed_simulation_data,
  oxycal = 13560
)

Value

List with all daily results

Arguments

day

Simulation day number

current_weight

Current fish weight (g)

consumption_method

List with method type and value

processed_simulation_data

Complete processed simulation data

oxycal

Oxycalorific coefficient (J/g O2)