Escalator Boxcar Train - Examples of published models

The following are implementations of physiologically structured models that we have been studying over the years. The code is provided, including parameter files and initial state files. We have been as careful as possible while preparing these program files, using a programming style that is hopefully self-explanatory. The code is, however, provided as is.

Basic consumer-resource model

This is a ZIP file with a set of files that implement the consumer-resource model studied by de Roos & Persson (2001; Oikos 94: 51-71). There are problem-specific header and program files (cr.h and cr.c), which can be used to study the dynamics of the model; problem-specific header and program files (cr_bif.h and cr_bif.c) with which a bifurcation run can be carried out; and CVF and ISF files for both types of computations (perch.cvf and perch.isf for a model run studying the time dynamics, perch_bif.cvf and perch_bif.isf for a bifurcation run). The latter files implement a parameter set for perch (Perca fluvialis). These parameters correspond to the parameters used in de Roos et al. (2002; Ecol. Mon. 72(2): 271-292).

Seasonal consumer-resource model

This is a Zip file with a set of files that adds seasonal dynamics to the basic consumer-resource model discussed above, as well as the possibility to distribute hatching of offspring over a period of time (i.e. spawning is a pulsed event, but hatching is not). The model and parameters correspond to those used in van de Wolfshaar et al. (2008; Ecology 89(1): 259-268). There are problem-specific header and program files to study the dynamics of the model (cr_season.h and cr_season.c) and to carry out bifurcation runs (cr_season_bif.h and cr_season_bif.c). The CVF and ISF files season90-winter.cvf and season90-winter.isf correspond to a 90 days growing season without a winter season, while the CVF and ISF files season90+winter.cvf and season90+winter.isf add a 275 days winter season to it. Corresponding CVF and ISF files are provided for a 120 days growing season.

Basic tritrophic model

This is a ZIP file with a set of files that implement the predator-consumer-resource model studied by de Roos & Persson (2002; PNAS 99: 12907-12912). There are problem-specific header and program files (Tritrophic.h and Tritrophic.c), which can be used to study the dynamics of the model and CVF and ISF files with a default set of parameters. The model implements also a small immigration term for the predator and size-selective harvesting of consumers above a threshold value.

Cannibalistic consumer-resource model including size-dependent harvesting

This is a ZIP file with a set of files that implement the cannibalistic consumer-resource model studied by Claessen et al. (2000; American Naturalist 155(2): 219-237 and 2002; Ecology 83(12): 1660-1675 ). There are problem-specific header and program files (CanHarv.h and CanHarv.c), which can be used to study the dynamics of the model and CVF and ISF files with a default set of parameters for perch (Perca fluvialis). The model implements also size-dependent harvesting of the cannibalistic population, as studied in van Kooten et al. (2007; American Naturalist 170: 258-270).