Skip to contents

Creates a matrix for forcing functions related to fishing: (ForcedEffort, ForcedFRate, and ForcedCatch). Default values are set to 1 for ForcedEffort, and to 0 ForcedFRate, and ForcedCatch for all timesteps and groups.

Usage

rsim.fishing(params, years)

Arguments

params

Rsim parameter object generated by rsim.params.

years

A vector of each year of the simulation.

Value

S3 object class Rsim.fishing, a list of 3 objects:

  • ForcedEffort, numeric matrix of monthly (rows) effort multiplier by fleet (columns)

  • ForcedFRate, numeric matrix of annual (rows) fishing mortality rate by biomass group (columns)

  • ForcedEffort, numeric matrix of annual (rows) total catch removal by biomass group (columns)

Examples

# Read in Rpath parameter file and generate model object
Rpath <- rpath(AB.params)
# Create dynamic parameters from Rpath model
Rsim.params <- rsim.params(Rpath)
# Create fishing matrix with default values
Rsim.fishing <- rsim.fishing(Rsim.params, years = 1:50)