Skip to content
Snippets Groups Projects
  • xo30xoqa's avatar
    a20d431f
    Implemented parameter scanning · a20d431f
    xo30xoqa authored
    This is a major commit with quite deep-reaching changes in the code
    base. It enables the user to specify multiple values for a model
    parameter, which will then be combined into a full-factorial
    simulation experiment. Everything seems to work as intended, although
    some refactoring would be good, and we still need to add parallelisation
    for issue #42.
    
    And yes, I coded all of this between 23:30 and 03:00 on a Saturday
    night :sweat_smile: :see_no_evil:
    a20d431f
    History
    Implemented parameter scanning
    xo30xoqa authored
    This is a major commit with quite deep-reaching changes in the code
    base. It enables the user to specify multiple values for a model
    parameter, which will then be combined into a full-factorial
    simulation experiment. Everything seems to work as intended, although
    some refactoring would be good, and we still need to add parallelisation
    for issue #42.
    
    And yes, I coded all of this between 23:30 and 03:00 on a Saturday
    night :sweat_smile: :see_no_evil:
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
paramscan.toml 1.21 KiB
### Persephone - a socio-economic-ecological model of European agricultural landscapes.
###
### This configuration file is intended to test the parameter scanning feature.
###

[core]
configfile = "test/paramscan.toml" # location of the configuration file
landcovermap = "landcover_jena.tif" # location of the landcover map
farmfieldsmap = "fields_jena.tif" # location of the field geometry map
outdir = "results_test_paramscan" # location and name of the output folder
overwrite = ["ask",true] # overwrite the output directory? (true/false/"ask")
loglevel = ["debug", "info"] # verbosity level: "debug", "info", "quiet"
seed = [1,2,3] # seed value for the RNG (0 -> random value)
# dates to start and end the simulation
startdate = 2022-01-01
enddate = 2022-01-02

[farm]
farmmodel = "FieldManager" # which version of the farm model to use (not yet implemented)

[nature]
targetspecies = ["Wolpertinger", "Wyvern"] # list of target species to simulate
popoutfreq = "daily" # output frequency population-level data, daily/monthly/yearly/end/never
indoutfreq = "end" # output frequency individual-level data, daily/monthly/yearly/end/never
	
[crop]
cropmodel = "linear" # crop growth model to use, "linear" or "aquacrop" (not yet implemented)