Implements a Proportional-Integral-Derivative (PID) based harvest control rule for adjusting Total Allowable Catch (TAC) based on divergence from a reference point using PID control signals.

pid.hcr(
  stk,
  ind,
  ref,
  metric = ssb,
  initial,
  kp = 0,
  ki = 0,
  kd = 0,
  nyears = 5,
  dlow = NA,
  dupp = NA,
  args,
  tracking,
  ...
)

Arguments

stk

FLStock. The stock object to which the HCR applies.

ind

FLQuant. The abundance index used to compute the control signal.

ref

Numeric. The reference value for the metric to determine divergence.