-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi @pdolder ,
I wanted to start a dialogue about the timing and function of recruitment and spawning in the model. I have done a number of tests related to these functions in the model and notice that when the spawning weeks and recruitment weeks do not overlap, the population dies out.
I believe what is happening is as follows...
In lines 137-140 of run_sim, Recruit is determined TRUE/FALSE based on the spawning weeks.
As a result, the Recruitment matrix is only created in lines 188-211, during spawning weeks. As a side note, my understanding is that these lines paired with the function Recr_mat produce recruitment on the entire domain rather than only in the spawning grounds as suggested in lines 175-181.
Later on in the Population Dynamics section lines 336-380, a1 and a1m1 are only nonzero during recruitment weeks.
All together this means that when recruitment is added into the population in delay_diff, the product a1R and a1m1R have a nonzero value only during weeks in which recruitment and spawning overlap.
I think this means that if a species has 4 weeks of recruitment but only 1 of those weeks overlaps with spawning, then 1/4 of the yearly recruitment will take place on the entire domain in just 1 week (rather than 4).
I have done some tests to try to understand this, but it is certainly possible I am mistaken. Let me know if you would like to discuss this in more detail.
best,
Ben Levy