Beruflich Dokumente
Kultur Dokumente
), where
represents the beginning and
) (
)
(3.2)
Payment () for a short position in power futures contract is expressed as:
(
) (
) ()
(3.3)
From (3.2) and (3.3) it is clear that the underlying asset of a power futures contract is not
the spot price in a given time in the future, but the arithmetic average of hourly spot prices
during the delivery period. The above fact makes it difficult to model prices of power futures
contracts.
51
On the EEX derivatives market transactions are executed between anonymous offers
received by the Exchange. Buyers and sellers submit their bids to buy/sell with given prices
and quantities of a particular futures contract. The principle of trade is similar to the intraday
spot market, because it is a continuous trading market. Trade takes place mostly on weekdays,
from 8 am to 6 pm.
On EEX Derivatives Market it is possible to trade with:
Phelix base, peak and off-peak futures (financial, possible physical delivery)
French base and peak futures (financial, possible physical delivery)
Italian base and peak futures (financial)
Dutch base and peak futures (physical)
Belgium base and peak futures (physical)
Physical futures contracts are realized through physical delivery of electricity at expiry.
Financial futures contracts are realized through financial compensation between the price at
expiration and the price at which the contract was concluded, and they can be implemented as
a physical futures contract through the spot market. On the EEX derivatives market it is
possible to register base financial futures contracts with delivery in Romania, Switzerland,
Spain and the "Nordic" delivery area (Scandinavian and Baltic countries). The highest trade
volume on the EEX derivatives market is on financial futures market, specifically the market
for Phelix futures contracts. In addition to futures contracts, options which have futures
contracts as the underlying are traded as well. For now there are only options for Phelix Base
futures contract. Because of this, from now on in the thesis, only Phelix futures contracts are
discussed.
Underlying asset of the Phelix Base futures contract is the Phelix base index for all days of
delivery during the delivery period. Phelix Base Index represents the base load and it is
calculated as the arithmetic average of all hourly prices (0-24) for delivery on the spot
auction. Underlying asset of the Phelix Peak futures contract is the Phelix peak index for all
days of delivery during the delivery period. Phelix peak index represents the peak load and it
is calculated as the arithmetic average of peak hourly price for delivery (from 08:00 to 20:00)
on the spot auction. Underlying asset of the Phelix off-peak futures contract is the Phelix off-
peak index for all days of delivery during the delivery period. Phelix off-peak index
represents the off-peak load and it is calculated as the arithmetic average of off-peak hourly
prices for delivery (from 12:00 a.m. to 8:00 and from 20:00 to 24:00) on the spot auction.
52
Delivery periods are: day, weekend, week, month, quarter and year for base and peak
Phelix index, while for off-peak index there are only delivery periods for one month, quarter
and year. Trade of delivery periods for certain futures contracts is possible for:
Day futures contracts next 34 days
Weekend futures contracts next 5 weekend
Week futures contracts next 4 weeks
Month futures contracts next 9 months
Quarter futures contracts next 11 quarters
Year futures contracts next 6 years
Characteristic of quarterly and annual futures contract is that they are cascading or
separating on futures contracts with shorter delivery periods on the third day of trading prior
to the start of delivery. Quarterly futures contract is broken down into three monthly futures
contracts, and the annual futures contract is broken down into three monthly contracts
(January-March) and three quarterly contracts (from April to the end of the year). Quarter and
annual futures contracts are traded until separation, and futures contracts with shorter delivery
period are traded up to the start of delivery or up to few days before the end of the delivery
period, depending on the contract. Monthly, weekly, weekend and daily futures contracts are
not cascading. Through them delivery of electricity is conducted (with physical futures
contracts) or cash compensation is made (in financial futures contracts).
When trading futures, possibility of arbitration emerges between futures contracts with
different periods of delivery for the same delivery period. At the end of each day trading day,
if there was not enough liquidity, exchange determines the price for each futures contract
while taking into consideration that prices must meet the requirement of inability of
arbitration. For example, the following relationships must be valid when determining annual
and quarterly price contracts:
For the annual futures contract:
(3.4)
Where
(3.5)
Where
), payment of a
European call option () upon expiration , written on a futures contract with delivery period
from
to
is defined as:
((
) )
(3.6)
Where
to
is defined as:
( (
) )
(3.7)
On the EEX exchange, it is possible to trade with European call and put options with
Phelix base futures as the underlying asset. There are options written on futures contracts with
delivery period of one month, quarter and year. EEX exchange offers additional options with
different expiration times written on annual futures contracts. Option expirations are before
the start of delivery period of the futures contract (an additional 4 different expiry times). The
option will be of value during expiration if the strike price is lower/higher (call/put option)
then current market price of the futures contract , according to (3.6) or (3.7), and the owner of
the option will exercise it, because it is in the money. If the strike price is lower/higher than
the current price of a futures contract on which the options are written (if the option is out of
the money) owner of the option will allow the option to expiry without exercising it. If the
option has a positive value, the owner of the option will execute the option and now hold the
futures contract at strike price that is more favourable than the current price on the exchange.
When buying options, the buyer pays the premium. The option buyer has a theoretical
possibility to achieve infinite profits at the risk of losing the premium. The seller receives the
option premium when selling options, but there is a theoretical risk of an infinite loss. Actual
payment to the option holder is obtained when we take into account premiums paid during
purchase (3.6) and (3.7). If you define the call option premium as
, the actual payments to the option holder at expiry are defined according to (3.8) and
(3.9).
59
Actual payment to the owner of the call option:
(((
) )
)
(3.8)
Actual payment to the owner of the put option:
( ( (
) )
)
(3.9)
The option premium depends on several parameters such as exercise price, time to
expiration, the volatility of the underlying asset, interest rate of the currency in which the
underlying asset is traded, and the anticipation of future price movements of the underlying
asset. Figure 3-39. shows dependence of the premium price to the strike price, on one trading
day June 25 2014, for call options written on annual futures contracts with expiration in 2015
and 2016 (both futures and options). Figure 3-40. shows the equivalent dependence for the put
option. Figures 3-41. and 3-42. show movements in premiums for call and put options in
2014, until the end of June, with two different exercise prices (35 and 40 / MWh) and two
delivery period (2015 and 2016). For ease of comparison with the premiums, Figure 3-43.
shows price movements of annual futures contracts for delivery in 2015 and 2016.
Figure 3-39. Dependence of call option premium on strike price
60
Figure 3-40. Dependence of put option premium on strike price
Figure 3-41. Movement of call option premiums from the beginning of 2014 until July
61
Figure 3-42. Movement of put option premiums from the beginning of 2014 until July
Figure 3-43. Price movement of annual futures contracts
62
4. MARKET SIMULATION MODELS
Previous two chapters present a general overview of the liberalized electricity market, as
well as insight into spot and derivatives market on EEX exchange. In line with the
liberalization process, power exchanges have become a place where manufacturers,
distributors, speculators, retailers, traders and large consumers trade different products of
electricity. Due to increasing trade volume it has become necessary that market participants
develop simulation models for price movements for contracts which they trade in order to
apply better risk management strategies and to evaluate there positions on the exchange. This
chapter presents a mathematical approach required for understanding, application and
development of simulation models for electricity.
Modelling electricity price movements can be achieved through three different approaches:
Fundamental approach
Stochastic approach
Hybrid approach
Fundamental approach is realized through use of fundamental variables for implementation
of simulation models that match historical data as closely as possible. It requires high
understanding and insight into the variables that influence changes in market prices. The
variables that affect the change in electricity prices are: power plant production costs,
expected consumption for the delivery period, fuel prices (gas, coal, oil), weather conditions,
transmission and installed network capacity, etc. Advantages of fundamental approach are the
ability to monitor variables that affect fluctuations in market prices and relatively simple
economic explanations for price changes. However, a large amount of data required for model
implementation and fitting with historical data, with constantly changing variables (one of
which is of great importance - temperature), makes this method very difficult to implement.
Therefore, the models for predicting future price movements based on a fundamental
approach are not used for periods longer than one week ahead.
Stochastic approach is realized through modelling of stochastic processes that represent
electricity prices. Historical data is used to estimate stochastic processes parameters with aim
of better matching of simulation model with historical data. Prices of electricity derivatives,
such as European options, can be obtained from stochastically modelled price movements of
the underlying asset on which the derivative is written. After analysing electricity markets it
63
can be concluded, with great confidence, that price movements in spot and futures markets are
random processes that can be modelled by stochastic processes. Problems of the stochastic
approach are lack of historical for accurate estimation of process parameters and on going
structural and regulatory changes in the ESI. Yet with all said, stochastic modelling of
electricity prices is a very active research and scientific topic.
The hybrid approach is implemented through the combination of fundamental and
stochastic approach. Many authors of the hybrid approach and results had shown that hybrid
model of electricity prices describes price movements well, even in extreme conditions of
sudden changes in fundamental variables (such as weather conditions, extreme load changes,
lack of production, and combination of the above).
Fundamental and hybrid approach require large amounts of data and assume an economic
connection (correlation) between tradable products on exchanges, which makes simulation
models very sensitive to parameter changes. This indicates a high risk of simulation models
when fundamental or hybrid approach is applied. In this paper focus is on the stochastic
modelling approach of electricity prices using historical data from EEX exchange.
4.1. Stochastic spot price modelling
Stochastic process is a mathematical formulation of a random motion formed by successive
random numbers. In this paper only processes that have Markov property were used. A
stochastic process has the Markov property if the conditional probability distribution of future
states of the process (conditional on both past and present values) depends only upon the
present state, not on the sequence of events that preceded it. A process with this property is
called a Markov process.
The model we describe in this paper will capture the following characteristics observed in
all known electricity markets:
Seasonal patterns and periodicities All markets show seasonal patterns of
electricity demand over the course of the day, week and year. Seasonal price
movement in the spot market is related to temperature, weather conditions, and
other fundamental variables, and it is therefore considered a deterministic
characteristics.
64
Price spikes Relatively frequent occurrence of extreme jumps in price on very
high or negative values. The jumps occur for fundamental reasons, but they are
often impossible to predict, and are therefore considered a stochastic characteristic.
Mean reversion Prices have the tendency to quickly return from high or negative
levels to a mean level. Since jumps are defined as stochastic processes, mean
reversion can also be classified as a stochastic process, or a stochastic
characteristic.
Price dependent volatilities It turns out that in all markets there is a strong
correlation between price levels and levels of volatility.
Long-term non stationarity Due to increasing uncertainty about factors such as
supply and demand or fuel costs in the long-term future, a non stationarity model
seems more appropriate. Non stationarity is also needed for a model to be
consistent with the observed dynamics of futures prices.
Modelling electricity prices can be done using various stochastic processes, some of which
do meet the characteristics above and some do not. Most famous, and one of the first
stochastic process, is the Brownian motion which describes the movement of random numbers
with given mean value and volatility which can have negative and positive values. Geometric
Brownian motion (GBM) is considered a more advanced version, but may only take positive
values and is therefore widely used in modelling assets and securities on financial markets.
Since the introduction of negative values on the exchange, GBM can not be used as a separate
process for modelling electricity prices. Even before the introduction of negative prices, these
processes had not represented spot prices well, due to lack of mean reversion.
Mean reverting stochastic processes are characterized by a typical mean price to which the
process strives, strength or speed of return to the mean price and volatility of the process. The
mean price does not necessarily have to be fixed, but may also be a separate function or a
process, which represents spot price movements well. The problem with modelling prices
with a mean reverting process continues to be sudden jumps in price to extreme levels.
Adding stochastic jumps to mean reverting processes achieves satisfactory results.
In addition, the use of models with stochastic volatility instead of fixed volatility can be
used in all of these processes. A major problem in stochastic modelling is the determination of
process parameters in order to fit simulation model with historical data. Many methods are
used to determine the parameters depending on the process being modelled, most of which are
extremely complex and difficult to implement, and are out of the scope of this paper. In this
65
paper, the least squares method and maximum likelihood estimation is used to determine
process parameters.
Modelling spot prices can be conducted by first determining the seasonal/periodic
component of historical data, so that stochastic process models the rest. By using mean
reverting process and modelling mean level as a separate process or floating variable, spot
prices can be simulated without prior separation of the seasonal component.
The focus of this paper is to describe the most popular stochastic processes used to model
the movement of prices on power exchanges and less on determining the process parameters
in order to better fit the model with historical data. Exact matching of models with historical
data does not guarantee that process parameters, or the model itself, will be valid in the future.
Simulation models are used primarily for risk management and business development, and not
to predict future price movements.
The following section explains the most important processes for modelling electricity
prices. For comparison with the simulation models historical prices for German /Austrian
delivery area were selected (Phelix daily base index), in period from 2008 to June 2014
(Figure 4-1.). Prior to this period there were no negative prices in the market, and because of
the fundamental mismatch with the current functioning of the exchange, prices prior to 2008
will not be considered. Price trends on the spot market before 2008 are shown on figures in
third chapter.
Figure 4-1. Phelix Base daily index in period from 2008 to June 2014
66
4.1.1. Basic statistical analysis
The basis of any data analysis is descriptive statistics which gives insight into data
distributions. The most important values are arithmetic mean, standard deviation, coefficient
of skewness and kurtosis coefficient.
Mean (average) for N prices S on spot market is defined as:
()
(4.1)
Standard deviation for N prices S on spot market is defined as:
(() )
(4.2)
Asymmetry coefficient (CA) indicates asymmetry around the mean of observed data [12].
Classical normal distribution is symmetric around the mean and has a value of CA equal to
zero. If distribution is tilted to the right, or if it has a thicker right end, CA will be positive,
and if it is a left end of distribution CA will be negative. CA value of data on the spot market
is defined as:
()
(4.3)
Kurtosis coefficient (KC) completes the picture of the layout of distribution, because it
numerically describes the curvature in the vicinity of distributions peak [12]. Curvature of the
normal distribution is equal to 3. In the event that the KC is greater than 3, distribution is
more acute, it is narrower and has a higher peak than the normal distribution, and if it is less
than 3, distribution is flatter, lower and wider than the normal distribution. KC of prices on
the spot market is defined as:
67
()
(4.4)
By linking these coefficients, "Jarque-Bera" test (JB) is used to measure the normality of
the observed data [12]. Critical value at which the observed data could be considered normal
is 5.99 while JB value of spot price distribution is 1260.9 (Table 4.1) which concludes that
observed prices on the spot market are not normally distributed. JB test is defined as:
( )
)
(4.5)
Figure 4-2. shows the distribution of observed prices (blue) and normal distribution (red)
with an average value and standard deviation of the observed data (Table 4.1.). Ordinate
represents occurrence frequency of a certain price expressed as a percentage, while abscissa
represents prices on the spot market in EUR/MWh. Distribution of observed data has a thicker
right end which is indicated by a positive CA and narrower and higher peak than the normal
distribution as indicated by KC.
Figure 4-2. Distribution of Phelix base index prices during the period from 2008 to June 2014
68
Table 4.1. Parameter values for spot market prices for a given period
Mean -
Standard
deviation -
Asymmetry
coefficient - CA
Kurtosis
coefficient - KC
Jarque-Bera test
45.7 /MWh 15.6 /MWh 0.54 6.4 1260.9
If we formulate daily returns/moves (DM) of spot prices as:
() ( )
()
(4.6)
Table 4.2. Parameter values for spot market daily returns
Mean -
Standard
deviation -
Asymmetry
coefficient - CA
Kurtosis
coefficient - KC
Jarque-Bera test
-1.94 % 43.97 % 7.8 219.03 4.6328e+06
Figure 4-3. shows the distribution of observed daily returns on the spot market (blue) and
normal distribution (red) with an average value and standard deviation of the observed data
(Table 4.2.). For modelling price movements distribution of returns is used more often than
price distribution. Extreme spikes substantially increase standard deviation of returns and it is
obvious that observed returns do not fit the normal distribution.
Figure 4-3. Distribution of spot price daily returns
69
Continuous monitoring of the mean price for a particular period provides insight into
movement characteristics of average levels used in mean reverting stochastic processes where
mean levels are not fixed. Figure 4-3. shows moving averages for periods of 30, 60 and 90
days. Shortest moving averages of 30 days follows sudden price changes, while moving
averages of 90 days rarely responds to sudden changes in price. If we compare Figures 4-1.
and 4-4., we observe that moving averages eliminate the "noise" and clearly show the level at
which the price is at a given time. Moving averages of 90 days is the best average price to
represent price trends over a period of several days and to point at the huge range of historical
prices, and thus representing unpredictability of future price movements.
Continuous monitoring of standard deviation for a certain period, provides insight into
movements of volatility of stochastic process that is used in all processes. Figure 4-5. shows
trends in standard deviation for a period of 30, 60 and 90 days.
Figure 4-4. Price moving averages (MA) of Phelix Base daily index
70
Figure 4-5. Standard deviation moving averages (MA) of Phelix Base daily index
4.1.2. Brownian motion
Process of Brownian motion (with drift) S(t) is obtained as a solution of the stochastic
differential equation (SDE) with a constant drift and constant intensity of the random
component (volatility) . SDE of Brownian motion is defined as [13]:
() ()
(4.7)
Where () represents the Wiener process of normally distributed random variable with
mean zero, variance dt and standard deviation , defined as:
()
(4.8)
Variable represents a random variable which is, for simulation purposes (in this paper),
defined as a sum of twelve random numbers with values ranging from zero to one reduced by
six (standard normal distribution). It is defined as:
()
(4.9)
71
By direct integration of (4.7) solution of the SDE, with intial value S(0):
() () ()
(4.10)
Hence S(t) is normally distributed, with mean () and variance
(())
(4.11)
A Geometric Brownian Motion S(t) is the solution of an SDE with linear drift and
diusion coecients. The GBM is specified as follows:
() () () ()
(4.12)
In order to solve for S(t) we will apply Itos lemma to ln(S(t)) as follows:
() () [ ()]
(4.13)
(())
(())
()
()
(())
(())
()
(()) (
) ()
(())
()
()
()
(
) ()
() ()
(
)()
(4.14)
Hence the first two moments, mean and variance, of S(T) are:
[()] ()
[()]
()
)
72
To simulate this process, the continuous equation between discrete instants of time needs
to be solved as follows:
(
) (
)
(
)(
()
(4.15)
The following charts plot a number of simulated sample paths using the above equation for
different values of drift. The mean of the asset price grows exponentially with time.
Figure 4-6. GBM sample paths
Figure 4-7. GBM sample expectations (means)
73
4.1.3. Parameter estimation
This section describes how the GBM can be used as an attempt to model the random
behaviour of spot prices. In order for us to be able to model spot prices with GBM, negative
prices from historical data have to be removed (GBM can not be negative if set as positive).
There are only 8 days with negative prices and there prices are set to 1 /MWh. Spot price log
returns are shown in Figure 4-8.
The second chart (Figure 4-9.) plots the quintiles of the log return distribution against the
quintiles of the standard normal distribution. This QQ-plot allows one to compare
distributions and to check the assumption of normality. The quintiles of the historical
distribution are plotted on the Y-axis and the quintiles of the chosen modelling distribution on
the X-axis. If the comparison distribution provides a good fit to the historical returns, then the
QQ-plot approximates a straight line. In the case of the spot price log returns, the QQ-plot
show that the historical quintiles in the tail of the distribution are significantly larger
compared to the normal distribution. This is in line with the general observation about the
presence of fat tails in the return distribution of electricity prices. Therefore the GBM at best
provides only a rough approximation for the spot price. The next sections will outline some
extensions of the GBM that provide a better fit to the historical distribution.
Figure 4-8. Spot price log returns without 8 price negative days
74
Figure 4-9. QQ plot of spot price log returns
Having tested normality for the underlying historical data one can now proceed to calibrate
the parameters ( ) based on historical returns. To find that yields the best fit to the
historical dataset the method of maximum likelihood estimation is used (MLE). Let the log
return be given as:
MLE can be used for both continuous and discrete random variables. The basic concept of
MLE, as suggested by the name, is to find the parameter estimates for the assumed
probability density function
) (
) (
)
(4.16)
The likelihood function is defined in general as:
()
(4.17)
75
The MLE estimate is found by maximising the likelihood function. Since the product of
density values could become very small, which would cause numerical problems with
handling such numbers, the likelihood function is usually converted to the log likelihood
() [
)]
(4.18)
Probability density function is defined as (for GBM):
((
))
((
(
)
(
)
)(
))
The likelihood function needs to be maximised to obtain the optimal estimators
( ).
The natural logarithm of the likelihood function must be differentiated in terms of and
then equated to zero which will yield two equations and must be solved simultaneously to
obtain:
[
]
(4.19)
Where:
) (
(4.20)
(
(4.21)
First one needs to determine and then the MLE of GBM fitted to spot prices are:
As previously said, GBM does not fit well with historical spot prices, but same procedure
of parameter estimation can be used in other models. After determining the probability
density function and using MLE, parameters can be estimated by differentiating the likelihood
function in terms of process parameters. GBM can be used to independently model futures
76
prices, because futures price does not exhibit mean reverting behaviour and price spikes as do
spot prices.
4.1.4. Mean reverting processes
Process is considered to be mean reverting if with growing distance from the mean level,
increases the likelihood of returning to the mean level in the future. A simple example of a
mean reverting stochastic process S(t) is obtained as a solution of SDE defined as:
) ()
(4.22)
Where , ,
() which yields:
(
(4.23)
Rearranging it:
(4.24)
Multiplying both sides of equation (4.22) with
to get:
()
(4.25)
By using equation (4.24) and substitute it into equation (4.25):
(
()
(4.26)
If an integral is taken from time t=0 to t it gives:
()
(4.27)
)
()
()
(4.28)
77
The solution of the stochastic differential equation (4.22) between s and t, if is:
()
(
()
)
()
(4.29)
Integral on the right hand side of equation (4.28) follows a normal distribution with a mean of
zero and a variance such that:
[(
()
()
] (
()
)
)
(4.30)
The conditional mean and variance of
given
is:
] (
(4.31)
)
(4.32)
If time increases the mean tends to the long-term value and the variance remains bounded,
implying mean reversion. The long-term distribution of the Ornstein-Uhlenbeck process is
stationary and is Gaussian with mean and variance
.
The discrete time version (which can be deduced by the Ito isometry) of this equation with
(assume constant for simplicity) time step t:
(4.33)
Where
(4.34)
(
)
(4.35)
(4.36)
(4.37)
78
The coefficients c, b and are calibrated using the equation (4.34). The calibration process is
simply an OLS (ordinary least squares) regression of the time series
. The OLS regression provides the maximum likelihood estimator for the parameters c, b
and . By resolving the three equations system one gets the following a, and parameters:
()
(4.38)
( )
(4.39)
(
) ()
(4.40)
Applying equations above to fit historical spot prices following parameters of mean reverting
process are obtained (with ): (Figure 4-10.).
Figure 4-10. Mean reverting process fitted to historical spot prices
Distribution of simulated mean reverting prices, for 1000 simulations, fitted to historical data
is displayed in Figure 4-11. Distribution of daily returns has the same shape (varying from -
20% to 20%).
79
Figure 4-11. Distribution of 1000 simulated and fitted mean reverting prices
Figures above clearly illustrate that mean reverting process with a fixed mean (one-factor
mean reverting model) does not describe well the movement of prices on the spot market. If
we define the mean price as a separate stochastic process model (two-factor model) it will fit
historical data well, but we are left with many model parameters that need to be determined. If
we model mean price as a GBM we are using the Pilipovic model [15]:
() (4.41)
()
(4.42)
(4.43)
Deriving the conditional mean, variance and probability density function for two factor
mean reverting models is a complex task which goes beyond the scope of this paper. For more
information on the matter, please see [15].
For simulation purposes, two factor mean reverting model is used with a stochastic mean
modelled as a GBM. Figures from 4-12. to 4-14.
80
Figure 4-12. Mean reverting process with mean as GBM (red)
Figure 4-13. Distribution of 100 simulated mean reverting prices with mean as GBM
Figure 4-14. Distribution of 100 simulated mean reverting returns with mean as GBM
81
For simulation purposes we can also present a two factor mean reverting (MR) model with
a stochastic mean modelled as a separate mean reverting process with a fixed mean. Figure 4-
15. presents a MR model with a stochastic mean modelled as a separate MR process (Figure -
16.).
Figure 4-15. Mean reverting process with mean as a separate MR process
Figure 4-16. Separate mean reverting process corresponding to Figure 4-15.
82
4.1.5. Jump diffusion processes
Stochastic processes described so far include most of spot price characteristics other than
sudden jumps in price. By adding a jump process we obtain jump diffusion processes that are
very complex, have dozens of parameters and are hard to fit to the historical data.
The basic concept of random price movements used so far is normally distributed Wiener
process according to (4-8). To incorporate stochastic processes with jumps, an additional
concept of random price movements is required. Poisson process (PP) is used to model
jumps. Differential of PP is defined as:
{
(4.44)
Where is jump probability in time interval dt. Parameter represents the intensity of PP.
If we add jumps to two-factor mean reverting (MR) model with a stochastic mean modelled as
a separate mean reverting process with a fixed mean we acquire the following relations [13]:
()
(4.45)
() (4.46)
Where J represents a percentage amount of price change if a jump occurs ( ), which
can be modelled as a separate random variable. For simulation purposes and for simplicity
fixed values of J were taken. Simulation of MR process (blue) with jumps and mean as a
separate MR process (red) is displayed in Figure -17.
Figure 4-17. Simulation of two factor MR process with jumps
83
Deriving the conditional mean, variance and probability density function for two factor
mean reverting models with jumps is a very complex task which goes beyond the scope of
this paper. To compare with QQ plot of spot price log returns (Figure 4-9.) and distribution of
spot price daily returns (Figure 4-3.), following figures are displayed:
Figure 4-18. QQ plot of simulated spot price log returns (one simulation of 2370 days)
Figure 4-19. Distribution of simulated spot price returns (one simulation of 2370 days)
Both distribution and qq plot of simulated data show a good model fit with the historical
data. Fat tails, created by jumps, are well modelled and returns have a similar distribution
with heavy fat tails.
84
4.2. Derivatives modelling
Modelling electricity prices is a relatively young research area, but also the most
demanding one for analysis and implementation. Previously mentioned models of price
movements were originally used as simulation models for stocks, indices, interest rates, oil,
gas and other commodities on financial exchanges around the world. Electricity as a
commodity has a unique characteristic which no other traded commodity has, and that is the
impossibility of storage and delivery over a certain period instead of instantaneous delivery.
Modelling of spot prices shown in previous chapter, represents prices that are determined by
on day ahead auctions, a day before delivery. Determined daily price for the next day of
delivery says nothing about the price next week, month or year. Prices determined on day-
ahead auctions represent the price for distinct and separate goods that are delivered and
consumed the next day.
Future contract represents the average price of electricity to be delivered over a certain
period of time in future. For example, in the case of base futures contract, delivery will be
continuous during all hours of the day during the delivery period and the price of futures
contract will represent the same price for the entire delivery period. Since the underlying asset
of a futures contract is the daily price on spot market, the question emerges on how to connect
spot market prices with futures prices. A futures contract is traded for delivery in distant or
near future, while on spot market only delivery for one day in advance is traded. Absence of
spot market trading for delivery in the same delivery period of the futures contract makes
electricity exchange market incomplete, because it is very difficult to accurately link futures
price with the current spot price.
In practice, there are two approaches to stochastic modelling futures prices. The first
approach is that futures price is linked to the stochastic model of the spot market price
(section 4.1.). Another approach is to model futures prices separately as a separate stochastic
process. Separate modelling of futures prices is based on expectations of future movements in
electricity prices on the spot market. It can be modelled by a Brownian motion with a given
volatility and drift or with a stochastic volatility.
Options are written on futures contracts, and their premium depends on characteristics and
prices of futures contracts. On EEX exchange, final price at the end of each trading day is
determined by the Black 1976 formula (Fischer Black). Black 1976 is the formula for
85
calculating value of an option from price movements of a futures contract, while the Black-
Scholes formula uses prices from spot market as the underlying asset.
4.2.1. Modelling futures contracts
For modelling futures prices one should consider future/expected prices on the spot market
using the current price on the spot market. Futures contract price ( ) for delivery during
one day in the future can be expressed as [14]:
( ) ()
()
(4.47)
Where:
() electricity spot price at time t
risk-free rate (represents money that would be obtained if the money is put in
a bank instead of buying a futures contract)
T beginning of delivery period
Previous relation is based on no-arbitrage principle and is applicable only in financial
markets, while in commodity markets cost of storage - c needs to be added (Cost of carry), as
well as the privilege of holding goods - y(t). Electricity can not be stored, so only the privilege
of holding a futures contract is taken into account to obtain a relation:
( ) ()
(())()
(4.48)
Figure 4-20. presents spot prices (blue) and annual base futures contracts (red) with delivery
in 2015, during period from 2009 to 2014.
Figure 4-20. Spot price and price of an annual base futures contract with delivery in 2015
86
The price of a futures contract does not feature mean reversion as the spot price. For a
more accurate analysis of futures contract price it is better to use moving averages of the spot
price (Figure 4-4.). Relation (4.48) can be written as:
()
(
( )
()
)
( )
(4.49)
Figure 4-21. Ratio of spot price and futures price according to (4-49.) in case of spot price
Figure 4-22. Ratio of spot price and futures price according to (4-49.) with average spot price
87
In the case of S(t) being a real spot price, factor r-y(t) corresponding to Figure 4-19. is
shown in Figure 4-20. and on Figure 4-21., factor r-y(t) is shown where S(t) is a 30 day
moving average of spot prices.
From these figures it is clear that the privilege of holding a futures contract y(t), at a
constant rate, is a very volatile and unpredictable variable. The privilege of holding a contract
(or premium of a futures contract) is dependent on market situation and other fundamental
factors. Which is unfavourable, because futures contract premium is a variable on which price
dependence between spot and futures prices is based.
Relation (4-47.) is obtained by setting up a risk-free portfolio of spot prices and futures
prices with a condition that spot prices are modelled with GBM. With the same assumption of
a risk-free portfolio with spot prices modelled as a mean reverting process, which is modelled
as a GBM (Pilipovic model), a completely different dependence of spot and futures prices
emerges. As already mentioned before, spot price can not be modelled as a GBM, but it can
be modelled as a two-factor mean reverting process. Pilipovic model of spot price is defined
as [15]:
() (4.50)
()
(4.51)
After solving the SDE for S(t), applying a method of risk-free portfolio and several
approximations for futures price, the following expression is obtained [15]:
( ) (
()
()
(4.52)
Where:
(4.53)
(4.54)
speed of reversion to the mean level
drift coefficient
risk factor dependent on the volatility of the mean level
Figures 4-23. and 4-24. show the simulation of spot prices according to above mentioned
relations and prices of futures contracts with different values of risk factor . The price of a
futures contract will be higher or lower than spot price (average) depending on market
88
situation and expectations of market participant. The risk factor represents previously
mentioned premium of a futures contract, and it is clear that risk factor is a changing variable.
Pilipovic model with a constant represents futures price movements well.
All simulation processes, mentioned in previous section (4.1.), have an analytical solution
for the spot price S (t) and the price of a futures contract. The focus of this paper is to describe
simulation processes and characteristics of futures contracts, and less on mathematical
solutions of SDE to find a correlation between spot and futures prices.
Figure 4-23. Simulation of spot prices, average prices and futures prices with
Figure 4-24. Simulation of spot prices, average prices and futures prices with
89
So far, only relations for futures contracts with immediate delivery were discussed
(delivery period of one day ( )). Future contract price (
), where
is the
beginning and
( )
(4.55)
Separate modelling of futures prices can be modelled by a Geometric Brownian motion
with a given volatility and drift. To simulate this process, the continuous equation between
discrete instants of time needs to be solved as follows:
(
) (
)
(
)(
()
(4.56)
We will use historical prices of an annual base futures contract with scheduled delivery in
2015, which is displayed in Figure 4-20. in red colour. Figure 4-25. shows the distribution of
observed daily log returns on the futures market (blue) and normal distribution (red) with an
average value and standard deviation of the observed data.
Figure 4-25. Distribution of futures price daily log returns
After applying MLE for GBM to futures price historical data, the following parameters are
acquired (from section 4.1.3.):
With parameters above, fitted GBM curve was determined using a Monte Carlo simulation
with 10,000 iterations. Fitted futures prices are displayed in Figure 4-26.
90
Figure 4-26. Fitted simulation of futures prices using GBM
4.2.2. Modelling options
The best known solution for option premium valuation is definitely the Black-Scholes (BS)
model, largely due to its ease of use. BS model assumes that options underlying asset is the
spot price, which can be modelled by GBM (section 4.1.2.). Assuming that we can use
options to hedge and create a risk-free position in the spot market (risk-free portfolio) and
with other assumptions above, the BS differential equation for European option premium is
defined as [13]:
(4.57)
Where:
V option premium
t time
S spot price
volatility (annualized, standard deviation in %)
risk-free interest rate of the currency
A variation of the BS model is the so-called Black 76 model with futures prices as the
underlying asset, instead of spot price. EEX Exchange uses this model to evaluate premiums
[16], for example, to evaluate a Phelix option only movement of the underlying Phelix futures
91
contract is observed. Assuming that we can create a risk-free position on the futures market
by using options and assuming that futures/forward contracts do not require a large margin to
open and hold a position, the BS model becomes a Black 76 model defined as [13]:
(4.58)
Where F is the futures contract price. Solution of Black's model differential equation produces
known relations for premiums of call and put options written on futures contract.
Relation for European call option premium:
()
(
)
()
(
)
(4.59)
Relation for European put option premium:
()
(
)
()
(
)
(4.60)
Where:
( )
(4.61)
( )
(4.62)
(4.63)
()
(4.64)
From these relations it is clear that according to the Black model option premium is
analytical linked to the futures price. For example, the call option premium is: lower the
exercise price - K is higher, increasing if time to expiration (T-t) is higher, rising if futures
price is rising as well, increasing with higher volatility of the futures contract (not necessary if
the option is in the money). The same applies to the put option premium, except that its value
increases when the price of futures contract falls and when the exercise price is higher.
Relation (4.64) represents probability that a normally distributed variable will be less than x
(cumulative distribution function).
92
For simulation purposes interest rate r of 10% was taken, in order to better demonstrate the
impact of risk free interest rate on option premium. Current real value for risk-free interest
rate in the euro currency is from 0.5% to 1.5%. Value for volatility (annual) is assumed to be
constant and equals 20%.
With strike price K of 50 EUR/MWh, Figure 4-27. displays a simulation of call option
premium dependence on the price of futures contract, one year before the expiration of the
option (blue) and at option expiration (red). Figure 4-28. displays a simulation of put option
premium dependence on the price of futures contract also with K = 50 EUR/MWh. For
interest rate of 10%, option premium that has another year until expiration is less than the
option premium at expiration if option is about 10 euros or more in the money, or 10 euros
higher than the strike price for a call option or lower for a put option (60 euros for a call
option, around 40 euros for a put option). If interest rate is set to 0%, option premium that still
has time to expiration would always be higher or equal to option premium at expiry for all
futures contract prices. On all figures, premiums are denoted in euro currency.
Figure 4-27. Call option premium dependence on the price of futures contract
93
Figure 4-28. Put option premium dependence on the price of futures contract
With strike price K of 40 EUR/MWh and fixed futures contract price at 50 EUR/MWh (10
euros in the money), Figure 4-29. displays a simulation of call option premium dependence on
time until expiration, while Figure 4-30. displays call option dependence of an option that is
not in the money (K=60 EUR/MWh, F=50 EUR/MWh). With strike price K of 60 EUR/MWh
and fixed futures contract price at 50 EUR/MWh (10 euros in the money), Figure 4-31.
displays a simulation of put option premium dependence on time until expiration, while
Figure 4-32. displays put option dependence of an option that is not in the money (K=40
EUR/MWh, F=50 EUR/MWh). If interest rate were 0%, dependence curves would all have a
downward curve shape as an option that is not in the money (Figures 4-30. and 4-32.)
Figure 4-29. Simulation of call option premium that is in the money
94
Figure 4-30. Simulation of call option premium that is not in the money
Figure 4-31. Simulation of put option premium that is in the money
95
Figure 4-32. Simulation of put option premium that is not in the money
Combining together option premium dependence on futures price and time until expiration,
Figures 4-33. and 4-34. display call and put option dependence in 3D (with strike price K=50
EUR/MWh).
Figure 4-33. Call option premium dependence on futures price and time until expiration
96
Figure 4-34. Put option premium dependence on futures price and time until expiration
Using Pilipovic model for spot and futures prices from previous chapter, Figure 4-35.
shows an example of one spot and futures price simulation. With a targeted strike price K of
50 EUR/MWh, Figure 4-36. displays call and put option premiums written on simulated
futures contract from Figure 4-35. Figures from 4-34. to 4-36. show 10 simulations of
spot/futures prices and premiums of call and put options written on those futures contracts.
Figure 4-35. Pilipovic model spot and futures price simulation
97
Figure 4-36. Simulation of call and put option premium with strike price K=50
Figure 4-37. Ten simulations of Pilipovic model spot and futures price
Figure 4-38. Ten simulations of call option premium with strike price K=50
98
Figure 4-39. Ten simulations of put option premium with strike price K=50
4.2.3. Economic application of simulation models
Economic application of simulation models may have different goals in terms of structure
of electricity trading. Spot price simulation models are mainly used to hedge against price risk
by modelling future price movements based on historical data or expectations, or both.
Simulation of derivatives future price movements may also have other goals, such as arbitrage
and speculative trading, which in reality usually does not result in actual delivery of
electricity, due to possibility of exiting out of the position before the start of delivery period.
It is the reason why we saw an increased presence of financial institutions on power
exchanges in last few years. Of all three previously mentioned markets, largest recorder
trading volume is on futures market, because it combines all structures of trading, from
speculation to hedging.
For hedging purposes, modelling spot prices may determine business plans for market
participants in the near and/or distant future and its exposure to risk. From perspective of
electricity utility companies, who have agreed bilaterally to deliver electricity to large and
small consumers, it is important to determine the median price which they will receive from
their customers and from where and at what price will they acquire electricity. Assuming that
the utility company does not have bilateral agreements with electricity producers, electricity
should be acquired on the market. The spot market price can vary extremely from day to day,
and the utility provider must protect its self from extreme prices.
99
For utility company risk analysis, spot price simulation is performed with a two-factor MR
model with jumps (section 4.1.5.) and with 365 simulation steps where each step represents
one day. Assuming that utility provider bilaterally contracted median sales price of 70 /MWh
and that all electricity is purchased on the day-ahead spot market, Figure 4-40. shows the
distribution of daily earnings per MWh for 1000 simulations of price movements.
Figure 4-40. Simulated distribution of utility company daily earnings on the spot market
In risk management, widely used risk measure of the risk of loss on a specific portfolio or
financial assets is value at risk (VaR). Definition of VaR is: Value at Risk is an estimate, with
a given degree of confidence, of how much one can lose from ones portfolio over a given
time horizon. Common parameters for VaR are 1% and 5% (degree of confidence of 99% and
95%) probabilities and one day or two week horizons, although other combinations are in use.
Figure 4-41. QQ plot of utility company simulated daily earnings on the spot market
100
In addition to price risk, utility company has exposure to load or demand of its customers.
By using stochastic processes in Chapter 4.1., load/demand can be modelled with ease and to
this end one-factor mean reverting process is the best choice. The assumption is that the
dealer has mostly large industrial customers whose plants are working all day at a relative
constant demand and the rest of customers are small consumers whose consumption varies
from day to day. We analysed only average daily demand, and within day demand is
considered to be balanced at no extra costs. Assuming average contracted load/demand of 100
MW, Figure 4-42. shows one simulation of load/demand.
Exposure to price risk of a utility company is relatively similar to price risk of a large
consumer, while producer price risk exposure is vice versa, because it has to be hedged from
low electricity prices. For utility company and producer, exposure to uncertain load is the
same. According to one-factor mean reverting simulation model it is clear that the main range
of demand movement is from 80 to 120 MW.
Figure 4-42. One simulation of load/demand with mean value of 100 MW
By purchasing an annual futures contract before the start of delivery period, utility
company fixes price for a certain delivery amount. Using spot price simulation example given
above and load simulation at the initial price on the spot market of 50 /MWh, the utility
company has bought 80 base annual futures contracts that will delivery constant power of 80
MW in each hour of the year. For example, it is assumed that futures contracts are purchased
at a price of 55 /MWh and that utility company bilaterally contracted median sales price of
70 /MWh, and that there is no correlation between spot market price and load/demand. In the
101
event customer demand exceeds 80 MW, utility company will purchase additional electricity
that is needed, and if it is lower than 80 MW, utility company will sell excess electricity on
the spot market. In the event that utility company is not hedged with futures contracts,
profit/loss in one day can be expressed as:
(4.65)
In the event that utility company is hedged with futures contracts, profit/loss in one day is:
( ) (
) (
)] (4.66)
( ) (
) (
)] (4.67)
Where:
Simulated load/demand.