Skip to contents

Run SicExport and read the exported file

Usage

sic_run_export(scenario, variant = 0, params, cfg = loadConfig())

Arguments

scenario

numeric, the scenario to use

variant

numeric, the variant to use (0 by default means no variant)

params

list location parameters of the result, see details.

cfg

a config object. Configuration to use. See loadConfig for details

Value

matrix with the read result

Details

params parameter is a list representing parameters available in https://sic.g-eau.fr/sicexport-utilitaire-d-exportation to set the model network location of exported results. The string parameter /x=n /yy=ii in the command line is here represented by list(xxx = nnn, yy = ii).

Examples

if (FALSE) {
params <- list(SCE=1)
sic_run_steady(cfg, scenario = 1)
# For exporting result in sections at time 0
sic_run_export(scenario = 1, params = list(t = 0))
}