SSM

Semi Structured Model: runs a semi stage-structured population model in a generalized reactor

Contents

Syntax

txNL23W = SSM (species, tT, tJX, x_0, V_X, h, t_max)

Description

Semi Structured Model: Plots population trajectories in a generalised reactor for a selected species that reproduce as a continuous flux. Opens 2 html-pages in system browser to report species traits and ebt parameter settings, and plots 4 figures. The parameters of species are obtained either from allStat.mat, or from a cell-string {par, metaPar, metaData}. The 3 cells are obtained by loading a copy of results_my_pet.mat. Structure metadata is required to get species-name, T_typical and ecoCode, metaPar to get model. If dioecy applies, the sex-ratio is assumed to be 1:1 and fertilisation is assumed to be sure. The energy cost for male-production is taken into account by halving kap_R, but male parameters are assumed to be the same as female parameters. The initial population is a single fertilized (female) egg. Like all parameters, default settings can be changed by changing structure par in cell-string input. If specified background hazards in 6th input are too high, the population goes extinct.

Input:

Output:

Remarks

If species is specified by string (rather than by data), its parameters are obtained from allStat.mat. Empty inputs are allowed, default values are then used. The (first) html-page has traits at individual level using the possibly modified parameter values. All embryo's start with f=1. Background hazards do not depend on temperature, ageing hazards do. Despite its simplicity, the function is not fast since knots for splines for a_b, a_p, L_b and L_p for a range of values of f are created first, and interpolated are each evaluation time.

Example of use

plotting

report_my_pet

cpm_my_pet