evaluate_smooth_res_curve | R Documentation |
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
evaluate_smooth_res_curve(
curve.exponent,
mid.price,
base.price,
maxSubResource,
p
)
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 |
quantity of the resource supplied (i.e. quantity of electricity produced from said resource)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.