Skip to contents

Validates a Bioenergetic object before simulation, checking all required components with comprehensive error accumulation.

Usage

validate_bioenergetic_for_simulation(bio_obj)

Arguments

bio_obj

Bioenergetic object

Value

A named list with four elements: valid (logical), errors (character vector), warnings (character vector), and ready_to_run (logical, TRUE only when valid is TRUE). Errors are accumulated across all sub-checks (structure, species equations, temperature data, diet data, initial weight) rather than stopping at the first failure.

Examples

# \donttest{
# Requires a fully-configured Bioenergetic object; see ?Bioenergetic
# result <- validate_bioenergetic_for_simulation(bio)
# result$valid
# }