total_cost: Compute direct total cost to raise hatchery fish
Description
This function computes the total cost to raise fish in a hatchery until
time. This function differs from total_daily_cost by
directly computing the total cost rather than integrating a daily cost
estimate.
A vector of values representing cost for the given time, recruit
number, and associated variables
Arguments
time
The amount of time that fish are raised in hatchery
time_slope
Controls how quickly the slope increases over time
time_exp
Controls the non-linearity of the curve over time
init_cost
The initial cost (i.e. intercept of the curve)
recruits
The number of recruits
rec_exp
Controls the non-linearity of the curve across recruit number
Details
The total_cost function computes a cost curve according to the
following equation:
C = sTtα
* s2Rβ + b
where α corresponds to the
time_slope argument,
γ is the time_exp parameter,
β is the intercept (or
init_cost),
R is the number of recruits, and
τ is the recruitment exponent
corresponding to rec_exp