hydromod {hydroMOPSO} | R Documentation |
Definition and execution of the model to be optimised using an executable file that runs out of R (system console or external script)
Description
It runs a user-defined model to be optimised and returns the output variables of the model requested by the user according to the number of functions indicated in the list out.FUNs
.
This specific function was designed to run an executable file from the system console
Usage
hydromod(param.values,
param.files="ParamFiles.txt",
param.ranges="ParamRanges.txt",
model.drty=getwd(),
exe.fname,
exe.args = character(),
stdout=FALSE,
stderr="",
verbose= FALSE,
out.FUNs,
out.FUNs.args
)
Arguments
param.values |
( |
param.files |
character, file name (with full path) storing locations and names of the files that have to be modified for each parameter. By default |
param.ranges |
character, file name (with full path) storing the ranges (maximum and minum values) of the parameters to be used in the optimisation. By default |
model.drty |
( |
exe.fname |
( |
exe.args |
( |
stdout |
( |
stderr |
( |
verbose |
( |
out.FUNs |
( |
out.FUNs.args |
( |
Value
A list with as many output variables (usually time series in zoo class) as functions listed in out.FUNs
Author(s)
Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com, Rodrigo Marinao Rivas ra.marinao.rivas@gmail.com