
Smooth preventive harvest-wall contribution
Source:R/dynamics-validation.R
get_harvest_wall_penalty.RdComputes the normalized squared-softplus objective contribution for raw combined seasonal harvest at age. The normalization makes each cell's contribution exactly the contract strength at the biological ceiling.
Usage
get_harvest_wall_penalty(hrate_raw, contract = harvest_wall_contract())Arguments
- hrate_raw
Raw combined harvest rates, usually the reported year-season-age array from
do_dynamics().- contract
A list returned by
harvest_wall_contract().