User Tools

Site Tools


tutorials:sensitivity-analysis-using-grolink-and-gror

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:sensitivity-analysis-using-grolink-and-gror [2024/06/25 17:38] thomastutorials:sensitivity-analysis-using-grolink-and-gror [2024/07/01 12:39] (current) – [Example: Morris Screening using the sensitivity package] thomas
Line 5: Line 5:
  
 ==== Downloads ==== ==== Downloads ====
-  * {{ :tutorials:example08_prepared.zip | Prepared ''Example08'' model}} +  * {{ :tutorials:example08_prepared.zip | Prepared Example08 model}} 
-  * {{ :tutorials:example08_analysis.zip | R Script of this wiki and model outputs as ''.rds''}}+  * {{ :tutorials:example08_analysis.zip | R Script of this wiki and model outputs as .rds}}
  
 ===== Prepare your model===== ===== Prepare your model=====
Line 130: Line 130:
  
 ===== Example: Morris Screening using the sensitivity package ===== ===== Example: Morris Screening using the sensitivity package =====
-The Morris Screening will be used to analyze the 5 structural plant growth parameters with regard to their importance (their main and interaction effect) on the total amount of absorbed light by leaves. This is just a random example out of the plethora of available sensitivity analysis methods. Most of the common ones are implemented in the ''sensitivity'' R-package. This is not a tutorial on ''sensitivity'', but it is very well documented (e.g. in the R help function).+The Morris Screening will be used to analyze the 5 structural plant growth parameters with regard to their importance (their main and interaction effect) on the total amount of absorbed light by leaves. This is just a random example out of the plethora of available sensitivity analysis methods. Most of the common ones are implemented in the ''sensitivity'' R-package. This is not a tutorial on ''sensitivity'', but it is very well documented (e.g. in the R help function). It is worth noting that this example uses the so-called decoupled approach of ''sensitivity'', see ''?tell''. This basically means that the generation of the parameter set, model execution and output analysis will be done as separate steps.
  
 First, I generate a set of input parameters for the model: First, I generate a set of input parameters for the model:
Line 194: Line 194:
 </code> </code>
  
-Through the use of ''future_apply'' and the way the ''multisession'' is setup, you will run one instance of GroIMP on every core of your computer. With this ''Example08'' model, this can take some time, on my 20-core machine it took around 2 minutes (and used ~5Gb RAM).+Through the use of ''future_apply'' and the way the ''multisession'' is setup, you will run one instance of GroIMP on every core of your computer. With this ''Example08'' model, this can take some time, on my 20-core machine it took around 2 minutes (and used ~5Gb RAM). This simple parallelization could likely be optimized a lot and will not scale amazingly to e.g. a remote cluster.
  
 The only thing remaining is to analyze the output and plot the results: The only thing remaining is to analyze the output and plot the results:
tutorials/sensitivity-analysis-using-grolink-and-gror.1719329929.txt.gz · Last modified: 2024/06/25 17:38 by thomas