Closed gowachin closed 2 years ago
This issue is maybe caused by the recruitment function depending on species BA and not total BA.
However setting BA as argument for recruit_fun
don't fix the issue...
Getting recruitment function from old IPM does not work since equation is written for single species case and only BATOTSP
.
I should also understand how these functions works with variable not defined in their scope or .GlobalEnv
.
As a test for multiple species simulations I use twice a species.
I expect the system with 2 species to reach the same equilibrium as a system a single species. The initial conditions are different since each species initiate with a BA around 1. So with the 2 species system, I have a BA of 2.
Equilibrium is reached with the double BA as when I use a single species.
ReprEx is the vignette.
What is wrong here ??