[Feature]: Equilibrium growth for equilibrium calculations

Open
#58 2 comments 0 reactions 1 assignee View on GitHub

@Rick-Methot-NOAA is already working on this.

Since Nov 5, 2020.

Assessment

This issue has not been assessed yet.

Description

benchmark - MSY Epic: Equilibrium calcs hard wishlist

Imported from redmine, Issue #70928
Opened by @RickMethot on 2019-11-05
Status when imported: Under Review

benchmark calculations should be able to recalculate growth from averaged parameters rather than calculating average length from the range of years.

per Andre Punt comment at CAPAM

Code development logic below:


To achieve density-dependence, need to put biology calcs in a loop.
First stage code development steps:
create averaged MG parms
create biology-at-age from those parameters and store in styr-1 if in time_series, or styr-3 for benchmark

Second stage
put equil calcs in a loop
do the first stage calcs
loop 1 is with F=0; store store resultant equil quantities (SSB and SmryBio, etc. ) for use in density-dependent calcs
loop 2 with specified F; store resultant equil quantities; update biology-at-age
loop 3+: adjust Density-dependent parameters, including spawner-recruitment; update resultant equil quants; update biology-at-age; repeat
The calculations without density-dependence are easier because it only involves the first stage calcs.
Also, to gain some speed, the 3*Amax extra ages in equil_calcs might be made conditional such that it only occurs in the last iteration.
For styr-1, this could be invoked using this existing option:
0/1 to use steepness in initial equ recruitment calculation

Dominant language
C++
Stars
46
Forks
19
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nmfs-ost/ss3-source-code

All issues in nmfs-ost/ss3-source-code

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.