Run a model from previous run and changing inputs
This feature is useful when airGRiwrm is used as a slave model in a model coupling.
Study case: In time loop, a decision model is modifying Qinf, Qrelease, or Qmin for a given number of time steps. Then the model is run and the output is used for getting the final state used as initial state for the next run.
TODO:
Create a method RunModel.GRiwrmOutputsModel with the following parameters:
-
OutputsModel: Previous run from which final states are extracted -
InputsModel: Model inputs -
Ind_PeriodRun = which(InputsModel[[1]]$DatesR == DatesR): indices of the run period DatesR = getNextTimeSteps(OutputsModel)-
Qinf,Qrelease,Qmin: Inputs to be modified