Skip to contents

Displays a concise one-page overview of a Bioenergetic object, including species identity, initial weight, simulation duration, and the status of each required component (parameters, temperature, diet). Readiness for fitting is reported in the final status line.

Usage

# S3 method for class 'Bioenergetic'
print(x, ...)

Arguments

x

Bioenergetic object

...

Additional arguments (not used)

Value

Invisibly returns the input object

Examples

# \donttest{
data(fish4_parameters)
sp   <- fish4_parameters[["Oncorhynchus tshawytscha"]]$life_stages$adult
info <- fish4_parameters[["Oncorhynchus tshawytscha"]]$species_info
bio  <- Bioenergetic(
  species_params     = sp,
  species_info       = info,
  environmental_data = list(
    temperature = data.frame(Day = 1:30, Temperature = rep(12, 30))
  ),
  diet_data = list(
    proportions = data.frame(Day = 1:30, Prey1 = 1.0),
    energies    = data.frame(Day = 1:30, Prey1 = 5000),
    prey_names  = "Prey1"
  ),
  simulation_settings = list(initial_weight = 100, duration = 30)
)
#> Bioenergetic object created for: Oncorhynchus tshawytscha
print(bio)
#> FB4 Bioenergetic Model
#> =========================
#> Species: Oncorhynchus tshawytscha (Chinook salmon (adult))
#> Setup: 100 g -> 30 days
#> 
#> Components:
#>   [OK] Parameters: 41 params (consumption, respiration, activity, sda, egestion, excretion, predator, source, notes)
#>   [OK] Temperature: 30 days (12-12°C)
#>   [OK] Diet: 1 prey species, 30 days
#> 
#> Status: Ready for fitting
# }