Cost curves for energy: Difference between revisions
m (→Answer) |
(formula half way through) |
||
Line 8: | Line 8: | ||
== Answer == | == Answer == | ||
<t2b index="Actor,Fuel,Use, | <t2b index="Actor,Fuel,Use,Reference,Observation" locations="Unit,Parameters,Description" unit="-"> | ||
Kuopion energia|Coal and peat|Demand|€,ton|0 | Kuopion energia|Coal and peat|Demand|Current|€,ton|0, -0.06| | ||
Kuopio market|Coal and peat|Supply|€,ton|0 | Kuopio market|Coal and peat|Supply|Current|€,ton|0, 0.5| | ||
</t2b> | </t2b> | ||
Line 36: | Line 36: | ||
=== Formula === | === Formula === | ||
<rcode | |||
name="formula" | |||
label="Initiate functions" | |||
include=" | |||
page:Object-oriented_programming_in_Opasnet|name:answer| | |||
page:OpasnetBaseUtils|name:generic | |||
" | |||
> | |||
formula.Op_en5478 <- function(x) { | |||
curves <- tidy(op_baseGetData("opasnet_base", x$curves[1]), direction = "wide") | |||
print(curves) | |||
curves <- as.character(curves) | |||
print(curves) | |||
out <- as.numeric(strsplit(curves$Parameters, split = ",")) | |||
return(out) | |||
} | |||
dependencies.Op_en5478 <- list( | |||
curves = c("Op_en5478", "Cost curves for energy") | |||
) | |||
formula.Op_en5478(dependencies.Op_en5478) | |||
</rcode> | |||
==See also== | ==See also== |
Revision as of 04:21, 5 May 2012
Moderator:Jouni (see all) |
This page is a stub. You may improve it into a full page. |
Upload data
|
Question
What costs curves should be used for different energy products?
Answer
Obs | Actor | Fuel | Use | Reference | Unit | Parameters | Description |
---|---|---|---|---|---|---|---|
1 | Kuopion energia | Coal and peat | Demand | Current | €,ton | 0, -0.06 | |
2 | Kuopio market | Coal and peat | Supply | Current | €,ton | 0, 0.5 |
Parameter ci are estimated from data: it is the current supply or demand given the current price (used as the point where p = 0).
Rationale
For detailed rationale, see Energy balance.
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Sigma f_i(p) = \Sigma (a_i p^2 + b_i p + c_i) = 0}
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p = \frac{-\Sigma b_i \pm \sqrt{(\Sigma b_i)^2 - 4 \Sigma a_i \Sigma c_i}} {2 \Sigma a_i}}
Cost curves are parameterised in the way that the current price p = 0 and therefore the current supply or demand is ci.
When a demand or supply changes, a new price p must be calculated based on fi, and then the supplies and demands of other actors can be calculated, resulting in a new balance.
----#: . There is an alternative way to describe the functions:
- Zero price is considered as 0 €/product unit. The true market price must be known. This function's parameters are more difficult to estimate. --Jouni 06:16, 28 January 2012 (EET) (type: truth; paradigms: science: comment)
----#: . There is also alternative possibilities for functional forms (p is the price of the product):
- Exponential: P0 + P1 * exp(P2*p - P3) --Jouni 17:04, 28 January 2012 (EET) (type: truth; paradigms: science: comment)
Dependencies
Formula
See also
Keywords
References
Related files
<mfanonymousfilelist></mfanonymousfilelist>