Class parameter is used to represent the model set or parameter.
All parameters and sets used in the model are populated with data
from the model repository on the interpolation stage
and stored as a named list in model@modInp@data slot.
The class and related methods and functions are not
intended for direct use by the user.
Slots
namecharacter. Name of the parameter as it appears in GAMS, Julia/JuMP, Python/Pyomo, etc.
desccharacter. Description of the parameter for reference.
typefactor. Type of the parameter, e.g., "set", "map", "numpar", or "bounds". "set" is a set of elements, "map" is a mapping between sets, "numpar" is a numeric parameter, "bounds" is a parameter with lower and upper bounds.
dimSetscharacter. A vector of sets used to define the dimension of the parameter.
defValnumeric. Default value of numeric parameters. The default value is used to fill the missing values in the model objects. The values are used in the interpolation step and/or passed to the solver software.
datadata.frame. Data frame with the parameter values.
interpolationcharacter. Interpolation rule for a numeric parameter across years: any combination of the three directions
back(extrapolate backward from the earliest anchor),inter(interpolate between anchors) andforth(extrapolate forward from the latest), joined by dots –back.inter.forth,inter.forth,inter. That spelling is canonical and is what gets stored. The short symmetric spellings are accepted wherever a rule is given and normalised to it:bwdforback,intormidforinter,fwd(alsoforw,frw) forforth, sobwd.mid.fwdandback.inter.forthare the same rule. An unknown token is an error. An empty rule interpolates between anchors and extrapolates past neither.inClasscharacter. The class of the parameter, e.g., "technology", "storage", "trade", "supply", "demand", "export", etc.
misclist. Any additional information or data to store in the object.
