4.4. Main parameters

This section describes the main parameters of the Osmose configuration: number of species, multi-threading, time control, restart, etc.

simulation.time.nyear is the umber of years of the simulation.

simulation.time.ndtPerYear is the number of time steps in one year of simulation. For instance simulation.time.ndtPerYear = 24 means the year is divided in 24 time steps of identical length, 15 days each.

simulation.nsimulation is the number of replicated simulations with identical set of parameters

By default OSMOSE will try to run the replicates in multi-thread environment. If you do not want OSMOSE to use all of them, the simulation.ncpu defines the number of CPUs that OSMOSE is allowed to use. If this parameter is not defined or the value is higher than the number of CPUs on your computer, OSMOSE will run on the maximum number of CPUs available on the computer. If simulation.ncpu is smaller than 1 or null, OSMOSE will only use one CPU.

simulation.nspecies is the number of focal species

simulation.nplankton is the number of biotic resource, either read from a NetCDF file or initialized by providing a seeding biomass.

simulation.nschool controls how many new schools will be added to the population for each species at each reproduction event. simulation.nschool=15 means that, for a given species at a given time step, the spawning stock biomass will be homogeneously split among 15 new schools. If simulation.nschool is not defined, then OSMOSE assumes that simulation.nschool=10

simulation.nschool.spX has the same meaning as simulation.nschool, but at species level. This parameter has priority over simulation.nschool. If missing for one species then OSMOSE will use the parameter simulation.nschool.

simulation.restart.file defines whether OSMOSE should be run from one or several restart files. If the file exists, all the replicates (if any) will restart on this file. If the file does not exist, OSMOSE assumes that there is instead as many NetCDF restart files as replicates with the following names: filename.nc.0, filename.nc.1, filename.nc.#. If null, no restart is used.

simulation.restart.recordfrequency.ndt is the record frequency (expressed in number of time steps) for the restart file. If null then OSMOSE will write only one restart file, at the end of the simulation.

simulation.onestep defines whether only one step should be run (debugging purpose)

osmose.version is the Osmose version associated with the configuration file (format “Osmose X Update Y (YYYY/MM/DD)”). If the version is inconsistent with the version of the Osmose JAVA, parameters must be updated (TODO)