jk-brown / EPA-presentation-analysis

Analysis and figures for EPA presentation - 05/2024
1 stars 0 forks source link

create a parallelized version of the model #3

Open jk-brown opened 4 months ago

jk-brown commented 4 months ago

We can call this function run_model for now...

it will run iterate_model in parallel if parallel = T and otherwise will just run iterate_model

Need to keep the following in mind when doing this:

Maybe is should look like this:

run_model <- function(ini = list of file paths, 
                      names = names of scenarios, 
                      parameters = parameter sets, 
                      iterate_hector() arguments) 

The function will return what? -- Maybe a single large data frame (model result). For future steps can split the data frame by scenario name before computing scores.