Returns a data.frame describing each parameter in the object along with its
inferred unit. Units are derived from the unit slots stored on the object
(@unit for commodity, @units for technology) and the dimensional
semantics of each parameter (e.g. investment cost is {costs}/{capacity}).
Unresolved base units are shown as placeholder tokens ({capacity},
{activity}, {costs}) when the corresponding @units slot is not set.
Usage
# S4 method for class 'commodity'
getUnits(object, slots = NULL, ...)
# S4 method for class 'technology'
getUnits(object, slots = NULL, ...)
get_units(object, ...)Examples
if (FALSE) { # \dontrun{
coal <- newCommodity("COAL", unit = "PJ")
getUnits(coal)
getUnits(PTL_RWGS_FT_SYN2030)
getUnits(PTL_RWGS_FT_SYN2030, slots = "ceff")
} # }
