evaluate_smooth_res_curve: evaluate_smooth_res_curve

evaluate_smooth_res_curveR Documentation

evaluate_smooth_res_curve

Description

Helper function to calculate the smooth renewable resource supply available at a particular price point from the relevant smooth renewable resource curve parameters (curve exponent, mid-price, maximum sub-resource). supply = ((p - base.price) ^ curve.exponent) / (mid.price ^ curve.exponent + ((p - base.price) ^ curve.exponent)) * maxSubResource Note that all of these can be vectors The functional form of GCAM's smooth renewable resource curve is documented at: http://jgcri.github.io/gcam-doc/energy.html#renewable-resources

Usage

evaluate_smooth_res_curve(
  curve.exponent,
  mid.price,
  base.price,
  maxSubResource,
  p
)

Arguments

curve.exponent

smooth renewable resource curve shape parameter, numeric

mid.price

the price at which 50 percent of the maximum available resource is produced, numeric

base.price

the minimum cost of producing (generating electricity from) the resource

maxSubResource

the maximum quantity of energy that could be produced at any price, numeric

p

price, numeric

Value

quantity of the resource supplied (i.e. quantity of electricity produced from said resource)


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.