levcost
is a method for class technology
to calculate
levelized costs of production of commodity
# S4 method for repository
levcost(obj, ...)
object of class technology
numeric, the year of investments
numeric, the discount rate
data frame with input commodity prices, has three mandatory fields:
comm
character, names of commodities
price
numeric, prices of the commodity
year
numeric, years
character, name of solver software "GAMS" or "GLPK"
a dirrectory for temporary files to run the model, by default '/solwork' in the project directory.
a logical scalar indicating if solver temporary files should be deleted.