[Refactor]: Dynamic spawner-recruitment logic in benchmarks and projections
@Rick-Methot-NOAA ci sta già lavorando.
Dal 5/11/2020.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Imported from redmine, Issue #56287
Opened by @RickMethot on 2018-10-15
Status when imported: On Hold
The following code seems incomplete in its logic.
Currently, if R0 is time-varying, SS will recalculate SSB_use and in doing so will use the current year's biology-at-age. However, if R0 is not time-varying, but growth or M is time-varying, then SSB_use will remain same as SSB_virgin. It seems useful to consider whether SSB_use should be updated when there is dynamic growth to be more like a complete dynamic B0. Your thoughts appreciated.
if(SR_parm_timevary(1)==0) // R0 is not time-varying
{R0_use=Recr_virgin; SSB_use=SSB_virgin;}
else
{
R0_use=mfexp(SR_parm_work(1));
equ_Recr=R0_use;
Fishon=0;
eq_yr=y;
bio_yr=y;
Do_Equil_Calc(R0_use); // call function to do equilibrium calculation and get SSB_equil
if(fishery_on_off==1) {Fishon=1;} else {Fishon=0;}
SSB_use=SSB_equil;
}
Recruits=Spawn_Recr(SSB_use,R0_use,SSB_current); // calls to function Spawn_Recr
- Lingua principale
- C++
- Stelle
- 46
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nmfs-ost/ss3-source-code
-
composition in progress
nmfs-ost/ss3-source-code#751 · 1 commento · 1 assegnatario ·
-
area & movement
nmfs-ost/ss3-source-code#731 · 3 commenti · 1 assegnatario ·
-
misc. output
nmfs-ost/ss3-source-code#723 · 1 assegnatario ·
-
biology misc. output ongoing
nmfs-ost/ss3-source-code#702 · 1 assegnatario ·
-
recruitment
nmfs-ost/ss3-source-code#696 · 1 assegnatario ·
Tutte le issue di nmfs-ost/ss3-source-code
Issue simili
-
ai_reviewed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ydb-platform/ydb#53869 · 3 commenti ·
-
bug cert blocker needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
project-chip/connectedhomeip#74373 ·
-
[request] tracy/0.14.1 Apertaupstream update
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
vllm-project/vllm-ascend#17329 ·