do_OneSite: The main simulation function which does all the heavy lifting

Description Usage Details

View source: R/Simulation_Run.R

Description

The main simulation function which does all the heavy lifting

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
do_OneSite(
  i_sim,
  i_SWRunInformation,
  i_sw_input_soillayers,
  i_sw_input_treatments,
  i_sw_input_cloud,
  i_sw_input_prod,
  i_sw_input_site,
  i_sw_input_soils,
  i_sw_input_weather,
  i_sw_input_climscen,
  i_sw_input_climscen_values,
  SimParams
)

Details

For contributors only: This function cannot return prematurely because (i.e., don't use return); otherwise the management of simulation runs will fail. If a condition is met that prevents proper continuation/execution of a simulation, then the appropriate element in the variable tasks should be set to 0. The variable tasks contains the elements create, execute, and aggregate with the values:


Burke-Lauenroth-Lab/rSFSW2 documentation built on Aug. 14, 2020, 5:20 p.m.