run_model: Run the GCAM land model

Description Usage Arguments Value Author(s) Examples

View source: R/main.R

Description

Loop through all years and run the land model.

Usage

1
run_model(aScenarioInfo, aPeriods = NULL, aVerbose = FALSE, agData = NULL)

Arguments

aScenarioInfo

A structure containing scenario-related information, created by ScenarioInfo. There is a pre-built structure for the default scenario called SCENARIO.INFO.

aPeriods

Integer vector of periods to run. Default is all periods defined for the scenario type.

aVerbose

If TRUE, output additional debugging information.

agData

Ag data read by ReadData_AgProd. The data must be for the same region and scenario type as the aScenarioInfo object.

Value

Table of model results.

Author(s)

KVC

Examples

1
2
3
4
5
## Not run: 
run_model(SCENARIO.INFO, aVerbose=TRUE)
run_model(SCENARIO.INFO, aPeriods = 1:5)

## End(Not run)

JGCRI/gcamland documentation built on Oct. 6, 2020, 5:30 p.m.