Monte Carlo Simulation


QR Analytics Server has the most advanced Monte Carlo simulation engine ever designed.

The Stochastic Differential Equations (SDEs) that models the price processes are solved numerically by simulating many sample paths and forming a probability distribution. This is called Monte Carlo simulation. We implement a 1st order Euler method with a dynamic mesh for the time step to prevent divergence. Indeed electricity spot prices are highly volatile and sometimes require a finer mesh.

The Monte Carlo engine automatically builds or simulates the spot and forward curves together in a coherent term structure. The differential equations linking the spot and forwards have been solved for every SDE Model provided. A Market Price of Risk is estimated for every forward position.


You can set the following parameters of a simulation run:
  • Stochastic model to be used,
  • Curve fitting to be used for expected values,
  • Number of sample paths, and
  • Time horizon in days, months or years.
For every sample path of the spot, the system simulates all corresponding forwards with different maturities. This is how we jointly and coherently build the Term Structure of forward markets, where nearby forwards are as volatile as the spot and far out forwards have decaying volatility.

Suppose we simulate 5,000 sample paths 1 year into the future. Then what we mean is that 12 monthly forward rates will also be simulated, each with 5,000 sample paths. We do this by solving the partial differential equations generating the term structure of the forward markets by relating the spot and the various forwards, so the only data that is stimulated are the spot prices.

We usually simulate daily values. However, we can and do simulate hourly, ½ hourly and ¼ hourly for electricity loads and prices.

You can set the following parameters of a Monte Carlo simulation run: Comprehensive display of Monte Carlo sample paths, distribution and statistics.


For every Monte Carlo simulated set of sample paths, the full probability distribution is generated along with following statistics:

Monte Carlo Simulation of Daily Prices
Click image for a larger view.



Monte Carlo Simulation of 1/2 Hourly Prices
Click image for a larger view.
  • 90% Confidence Interval composed of 2 red lines that are 5% and 95% percentiles. This means that 5% (1 time out of 20) we will fall below lower red line, and 5% (1 time out of 20) we will be above upper red line.

  • Mean or Expected Value is the average value of all sample paths. This corresponds to the forward curve fitted by the curve fitter module.

  • The simulated blue sample path is one of the many sample paths created via Monte Carlo Simulation.

  • The 2-factor model has a mean or average that is a "hidden" or is the unobservable factor. This is represented by the (purple line). Note that the Monte Carlo simulated blue sample path reverts to the purple line.

Full statistics are computed on the probability distribution of the simulated paths, predicting the future:

  • Standard Deviation (Std Dev) is 2nd moment of the mean. This corresponds roughly with the volatility coefficient in the stochastic differential equation (SDE).

  • Skew is 3rd moment of the mean. Models with proportional noise like Pilipovic 1 and 2 factor equations have skewed distributions.

  • Kurtosis is 4th moment of the mean. High kurtosis indicates distributions with “fat tails”.

  • Market price of risk (Mrkt Risk) is derived from the relationship between spots and forwards. If only expected spots (or only forwards curve) is provided we set Mrkt Risk = 0 and derive missing curve in terms of the other.
The Monte Carlo engine simulates jointly the spot and the monthly forwards into a coherent term-structure.

The equations linking the forwards to the spot are preloaded for all the models we provide.


Monte Carlo Simulation of
Forward Curves Term Structure

Click image for a larger view.




3 Months
out of the box Implementation $80 K per Month
Video Demo
Sample Videos
Monte Carlo Simulation
Configuration Parameters of the Monte Carlo Engine

Click image for a larger view.