osmose.engine.processes.maturity¶
Which schools are mature: fixed thresholds, or OSMOSE 4.4.0’s stochastic maturity ogive.
By default a school is mature when its length and age reach the species’ thresholds
(species.maturity.size and species.maturity.age). With
species.maturity.mode.sp# = stochastic (OSMOSE 4.4.0; Java’s Species.isSexuallyMature)
maturity is drawn instead. Length at maturity follows a normal distribution with mean
species.maturity.l50 and a standard deviation such that 75% of fish are mature at
species.maturity.l75. A school that grew from L0 to L this step and is not yet mature
becomes mature with probability
(F(L) - F(L0)) / (1 - F(L0)), F = the normal CDF,
the chance of maturing in this step given that it had not matured at L0. Once mature, a
school stays mature. Java ignores the mode under bioenergetics, and so does this engine.
The draw happens in reproduction (mature_stochastically), as in Java, and only for species
that reproduce at all (sex ratio and fecundity above 0). Reproduction, the life-stage output and
the SSB output all ask mature_mask, so they agree on which schools are mature.
Module Attributes
|
sd = (l75 - l50) / Z75 (Java's Species constructor). |
Functions
|
P(maturing this step | not mature at the start of it). |
|
Mature schools: the drawn flag for a stochastic species, the thresholds otherwise. |
|
Draw maturity for the schools of stochastic species that are not mature yet. |