Coordinates the optim-based fitting process for weight
or consumption targets, then runs a final detailed simulation with the
optimal p_value.
fit_fb4_optim(
target_value,
fit_type,
processed_simulation_data,
method = "Brent",
oxycal = 13560,
lower = 0.01,
upper = 5,
hessian = FALSE,
verbose = FALSE
)List with fitting results and final simulation
Target value to fit
Type of fitting ("weight" or "consumption")
Complete processed simulation data
Optimization method, default "Brent"
Oxycalorific coefficient (J/g O2), default 13560
Lower bound for p_value search, default 0.01
Upper bound for p_value search, default 5.0
Whether to compute Hessian for standard errors, default FALSE
Whether to show progress messages, default FALSE