|
|
## Initialization
|
|
|
|
|
|
At the beginning of each simulation (a 1st of April) a virtual population was created with individuals from each life stages to represent a standard population from the Scorff river (Caudal and Prévost, 2008): 1.2 emerging juvenile/m2 of riffle and rapid equivalent area (RA), 1.32 parr of 1 year/100 m2 RA, 3.61 smolt running to sea/100 m2 RA, 3.61 grilse/1000 m2 RA (1 sea-winter anadromous adult) and 0.6 multiple sea winter individuals/1000 m2 RA. Each individual’s state variable was initialized by drawing from probability distributions describing their variability (see Appendix A). The first simulation step was then a summer.
|
|
|
|
|
|
By default, Ibasam use the [default parameters](https://github.com/Ibasam/IBASAM/blob/master/IBASAM/src/defaultParameters.h).
|
|
|
Ibasam load the default parameters using the function [defaultParameters()](
|
|
|
https://github.com/Ibasam/IBASAM/blob/master/IBASAM/R/defaultParameters.R). One can change parameters by modifying values in [defaultParameters.h](https://github.com/Ibasam/IBASAM/blob/master/IBASAM/src/defaultParameters.h) and then compile a new package (see [installation](installation) section), or by modifying [demoIbasam](https://github.com/Ibasam/IBASAM/blob/master/IBASAM/R/demoIbasam.R) function as :
|
... | ... | |