# NOT RUN {
## Definition of input variables
parms_fix <- c(temp_ref = 57.5)
parms <- c(delta_ref = 3.9,
z = 4.2,
p = 1,
N0 = 1e6
)
temp_profile <- data.frame(time = c(0, 60), temperature = c(30, 60))
n_points <- 5
## OED with local optimization
set.seed(191210)
# }
# NOT RUN {
local_OED <- inactivation_OED("Mafart", parms, temp_profile, parms_fix,
n_points, criteria = "E-mod", sensvar = "logN",
optim_algorithm = "local")
print(local_OED$optim_times)
plot(local_OED)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab