
Interpolate all year-indexed numeric/bounds parameters of a scenario
Source:R/interp.R
interpolate_parameters.RdInterpolate all year-indexed numeric/bounds parameters of a scenario
Arguments
- scen
scenario object whose
modInp@parametersalready hold the raw (sparse) values collected byob2mi.- drop_default
logical; when
TRUErows whose interpolated value equals the parameter default are dropped (the solver substitutes the declareddefault), yielding a smaller data slot. WhenFALSE(the default, and the legacy behaviour) default-valued rows are kept and written explicitly. Dropping defaults requires the solver/writer to honour declared parameter defaults (GLPK / JuMP / Pyomo do; GAMS support is unverified).