A function that runs a Management Strategy Evaluation (closed-loop simulation) for a specified operating model
runMSE(OM = DLMtool::testOM, MPs = c("AvC", "DCAC", "FMSYref", "curE",
"matlenlim", "MRreal"), nsim = 48, proyears = 50, interval = 4,
pstar = 0.5, maxF = 0.8, reps = 1, CheckMPs = FALSE, timelimit = 1,
Hist = FALSE, ntrials = 50, fracD = 0.05, CalcBlow = FALSE, HZN = 2,
Bfrac = 0.5)
An operating model object (class 'OM')
A vector of methods (character string) of class Output or Input.
Number of simulations. Note that in DLMtool V4.1+ 'nsim is ignored if OM object contains the slot 'nsim'.
Number of projected years. Note that in DLMtool V4.1+ 'proyears is ignored if OM object contains the slot 'proyears'.
The assessment interval - how often would you like to update the management system? NOTE: since DLMtool V4.5 this slot is included in the OM object which will override the value used here. This slot to be deprecated in the future.
The percentile of the sample of the management recommendation for each method. NOTE: since DLMtool V4.5 this slot is included in the OM object which will override the value used here. This slot to be deprecated in the future.
Maximum instantaneous fishing mortality rate that may be simulated for any given age class. NOTE: since DLMtool V4.5 this slot is included in the OM object which will override the value used here. This slot to be deprecated in the future.
Number of samples of the management recommendation for each method. Note that when this is set to 1, the mean value of the data inputs is used. NOTE: since DLMtool V4.5 this slot is included in the OM object which will override the value used here. This slot to be deprecated in the future.
Logical to indicate if Can function should be used to check if MPs can be run.
Maximum time taken for a method to carry out 10 reps (methods are ignored that take longer)
Should model stop after historical simulations? Returns a list containing all historical data
Maximum of times depletion and recruitment deviations are resampled to optimize for depletion. After this the model stops if more than percent of simulations are not close to the required depletion
maximum allowed proportion of simulations where depletion is not close to sampled depletion from OM before model stops with error
Should low biomass be calculated where this is the spawning biomass at which it takes HZN mean generation times of zero fishing to reach Bfrac fraction of SSBMSY
The number of mean generation times required to reach Bfrac SSBMSY in the Blow calculation
The target fraction of SSBMSY for calculating Blow
An object of class MSE