| class-config | R Documentation |
Config class is used to represent the default model configuration. It is stored in the model object and is used to initialize the scenario settings.
namecharacter. Name of the configuration object for own references, also can be used in functions to distinguish between different model or scenario instances.
desccharacter. Description of the configuration object for own references.
regioncharacter. Coma separated string of all region names in the model. All regions used in the model-objects should be listed here.
calendarcalendar. Calendar object with the model time parameters.
horizonhorizon. Horizon object with the model time parameters. The horizon defines the planning period and intervals of the model.
discountdata.frame. Discount rates, can be assigned by region and year.
character. Region name to apply the parameter, NA for every region.
integer. Year to apply the parameter, NA for every year.
numeric. Discount rate. Default is 0.05. The discount rate is used to calculate the present value of future costs and benefits.
discountFirstYearlogical. If TRUE, the discounting starts from the beginning of the year. If FALSE, the discounting starts from the end of the first year, i.e., the first year is not discounted.
optimizeRetirementlogical. Incidates if the retirement of capacities of the model objects should be optimized. Also requires the same parameter in the classes with capacitu, such as technology, storage, trade to be set to TRUE to be effective for a specific object.
defValdata.frame. Default values of model parameters. The data frame with the default values for every parameter in the model, used to fill the missing values in the model objects. The values are used in the interpolation step. The data is stored in energyRt::.defVal object and can be overwritten by the user and supplied to the model as a parameter.
interpolationdata.frame. Default interpolation rules for every parameter in the model. The data frame with the default interpolation rules is stored in energyRt::.defInt object and can be overwritten by the user and supplied to the model as a parameter.
debugdata.frame. Artificial (dummy or sluck) variables to debug model infeasibility. Can be specified by commodities, regions, years, and slices.
misclist. Any additional data or information to store in the object.
Other class config settings scenario model:
class-settings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.