Function optimizes catchability (q, where F=qE) required to get to user-specified stock depletion across stocks and fleets if there are relationships among stocks
getq_multi_MICE(
x,
StockPars,
FleetPars,
np,
nf,
nareas,
maxage,
nyears,
N,
VF,
FretA,
maxF = 0.9,
MPA,
CatchFrac,
bounds = c(1e-05, 15),
tol = 1e-06,
Rel,
SexPars,
plusgroup,
optVB = FALSE
)
Integer, the simulation number
A list of sampled stock parameters, one list element per stock
A hierarchical list of sampled fleet parameters, first list level is stock, second is fleet
The number of stocks
The number of fleets
The number of areas
The maximum number of modeled ages
The number of historical 'spool-up' years (from unfished to now)
An array of stock numbers [nsim,np,maxage,nyears,nareas]
-
only the values from the first year are used
An array of vulnerability [nsim,np,nf,maxage,nyears+proyears]
An array of retention [nsim,np,nf,maxage,nyears+proyears]
A numeric value specifying the maximum fishing mortality for any single age class
An of spatial closures by year [np,nf,nyears+proyears,nareas]
A list of stock-specific fleet fractions of current catch
list[[stock]][nsim, nf]
Bounds for total q estimation
A numeric value that is the fraction of machine tolerance (once reduction in objective function steps below this, optimization ends)
A list of inter-stock relationships see slot Rel of MOM object class
A list of sex-specific dynamics SSBfrom stock_age