An S4 class to declare a demand in the model
Slots
name
short name (character) used in sets.
desc
optional desc, comment (character).
commodity
character. Name of the commodity for which the demand will be specified.
unit
character. (optional) unit of the commodity.
dem
specification of the demand, a data.frame with columns:
- region
character. Name of the region for which the demand will be specified. NA for every regions
'
- year
integer. Year of the demand. NA for every year.
- slice
character. Name of the slice for which the demand will be specified. NA for every slice.
- dem
numeric. Value of the demand.
region
character. Optional name of region to narrow the specification of the demand in the case of used NAs. Error will be returned if specified regions in `@dem` are not mensioned in the `@region` slot (if the slot is not empty).
misc
list. Optional list of additional information.