# ====================================================================
#
# Copyright 2025, PBL Netherlands Environmental Assessment Agency
# See the copyright notice at the end of this file.
#
# ====================================================================


## =============================================================================
## model settings for PostProcessingSDMs.R
taxo_group <- "terrestrial"
BS_module <- "PostProcessingSDMs"
Name <- "Name of user"
ProjectScenarios <- c("current","ssp585")
ClipToRealisedRange <- TRUE
LUMask <- FALSE  #Set to TRUE if you want to mask unsuitable land uses from the range map
SetValuesUnderThresholdToZero <- TRUE
SetValuesAboveThresholdToOne <- TRUE
DispersalAssumption <- "no dispersal" # options: "no dispersal", "unlimited dispersal" or "realistic dispersal"
EvaluationMetric <- "TSS" # either "TSS" or "ROC"
MinimalMetricValue <- 0.3 
BinarizationMetric <- "TSS" #  either "TSS", "DSS", "MCC or  "F" 
CPU <- detectCores() - 1

## Extra model settings for the realistic dispersal model
if(DispersalAssumption == "realistic dispersal"){
  time_periods <- c(2004,2085)
}





# ====================================================================
#
# Copyright 2025, PBL Netherlands Environmental Assessment Agency
# 
# This source code of the BioScore model is owned by PBL Netherlands Environmental Assessment Agency. 
# It is not permitted to copy, redistribute, remix, transform, and build upon the material without written approval of PBL. 
# Permission for commercial purposes will not be granted. 
# This code is published to improve the transparency of the models used by PBL, 
# but without any warranty for fitness for any other purpose. 
# After approval of PBL to use the code, PBL will not provide any support.
#
# 
# ====================================================================

