-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Projections: Catch data #171
Comments
For "forecasts ahead 2 years", we could just run ourselves, but |
@bthe I've been looking at Reducing down biomass < sum(stock__num * stock__wgt * stock__suit)
# NB: The hcr/catchability split is mostly to make the comparison below work
hcr <- hr * pmin(sum(biomass)/btrigger, 1) * stock_ss(stock__predby_predstock)
catchability <- hcr * E * cur_step_size
Do you remember the history here? What differences in the above are critical? EDIT: I'm not sure how much either of these have been used. It could well be |
The idea behind The main idea behind the HCR function was to:
This is different from the hockeyfleet as there you are apply a constant effort to the catch period, not total catch. |
Okay, the main thing confusing me at this point is hockeyfleet is I think what this really wants to be is EDIT: This is silly, we changed |
This got changed as part of gadget-framework/gadget3@19e5d41 and g3a_predate_catchability_hockeyfleet was never updated to match. References: gadget-framework/gadget3#171
I think the way forward here is to something very similar to g3_param_project, and define a timeseries vector in the model that we populate with the quota. Then multi-year lags between assessment and implementation are a non-issue. It would also make it a lot easier to apply a single quota across several fleets, with something like: quota <- g3_quota(g3_quota_hockeyfleet(
list(lln1, lln2),
output_ratios = c(lln1 = 0.25, lln2 = 0.75)),
lag_steps = 6, # Implement in 1.5 years' time
run_step = 2 )
actions <- list(
g3a_predate(
lln,
list(ling_imm, ling_mat),
catchability_f = g3a_predate_quota(quota),
suitabilities = g3_suitability_exponentiall50(by_stock = 'species') )
g3a_predate(
lln2,
list(ling_imm, ling_mat),
catchability_f = g3a_predate_quota(quota),
suitabilities = g3_suitability_exponentiall50(by_stock = 'species') )
NULL) Presumably we have a similar problem with the multivariate case for EDIT: Having a multi-fleet quota is fine actually, we already have stock dimensions from dealing with multi-stock likelihood components. We just use those. The Linf/K is problematic because we have no way of automatically knowing which you're intending to use. |
g3_if_projecting(catchability_a, catchability_b)
wrapper around an if-statement, living in a projection_utils.R?g3a_predate_catchability_hockeyfleet()
out of g3experiments, use this as the example option in vignettes.The text was updated successfully, but these errors were encountered: