Outputs_Sim (Subset of OutputSimulation) does not work with CreateRunOptions
AirGR allows to subset the outputs using the Outputs_Sim
argument in CreateRunOptions
.
However, using Outputs_Sim
argument for semi-distributed simulation lead to the following error:
Error RunModel_Lag(InputsModel, RunOptions, Param[1], OutputsModel)
Time series WarmUpQsim in 'QcontribDown' should have the same length as 'RunOptions$IndPeriod_WarmUp'
The error is reproducible with the vignette V02_Calibration_SD_model (https://cloud.r-project.org/web/packages/airGRiwrm/vignettes/V02_Calibration_SD_model.html) with the add of Outputs_Sim
argument as follows:
RunOptions <- CreateRunOptions(
InputsModel,
IndPeriod_WarmUp = IndPeriod_WarmUp,
IndPeriod_Run = IndPeriod_Run,
Outputs_Sim = c("Qsim")
)