The attached matlab code simulates future coupled forward curves based on the Clewlow and Strickland model detailed in . The aim of the code is to highlight how Matlab's optimisation routines can be used to improve the calibration process.
2. Running the code
can be run to show how to the model is initialised that will output several figures highlighting simulations and validation.
The main engine determining the simulated forward curves:
[1 "Multi-Factor Mult-Commodity models & Parameter Estimation Processess,” John Breslin, Les Clewlow, Chris Strickland, Daniel van der Zee, Lacima, 2008.
Thanks for the comments, I'll check the simplification! There is spot price model in the technical note by Blanco and Pierce in Energy Risk, May 2012 that described how forward curve simulations can be used in a mean reverting spot model, i.e. the prompt month is used to mean revert to a spot price.
I'll contact you with further info and probably post the model when I convert to Matlab...
A quick suggestion would be that in computing the optimum correlations Matrix, a cleaner way of doing this is [Inverse of Va]*[Covab]*[Inverse of the Transpose of Vb]. This gives the exact solution without needing the optimisation.
One quick question if I may. If the modeller wishes to extract the spot price, is this as simple as simulating the price path off the simulated prompt month with a contract expiry of now?
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.