R/calcDem_material_total.R

Defines functions calcDem_material_total

calcDem_material_total<-function(){
  warning("This function is depreciated.")
  out<-calcOutput(type = "Demand",aggregate = F)
  x<-collapseNames(out[,,"mat"],collapsedim = 1)
  weight<-NULL
  return(x=list(x=x,weight=weight,
                unit="Mt DM",
                description="total material demand"
  ))
}
pik-piam/moinput documentation built on June 9, 2020, 12:23 p.m.