Oil Hedging Programme: Optimizer Example | Vose Software

ModelRisk Optimizer example · Oil and gas

Hedging Programme Chosen by the Optimizer

How much to swap, how much to protect with puts, and at which strike, to meet the budget at the least cost?

  • Complexity: ★★★★★
  • Free Excel workbook (OG-12)
  • Needs ModelRisk with the Optimizer: free trial

From the model’s saved run

The Optimizer’s plan against the starting plan

The two hedging programmes, and how each performs on the same simulated prices and volumes.

Revenue over 24 months — cumulative probability
DecisionUnitStarting planOptimizer’s planChange
Share of planned volume swappedof plan60%20%−40%
Share protected by bought putsof plan0%50%50%
Put strikeUS$/bbl627210
MeasureUnitStarting planOptimizer’s planChange
Revenue over 24 months, meanUS$m244.0244.50.5✔ better
Revenue, 5th percentileUS$m209.8204.9−4.9
Revenue, 95th percentileUS$m287.8321.533.6✔ better
Chance of revenue below budgetchance4.8%9.3%4.5%
Expected cost of the hedgesUS$m2.311.83−0.48✔ better
Share of planned volume hedgedof plan60%70%10.0%
Premium paid for the putsUS$m–15.8415.84
Largest chance of missing the budgetchance10.0%10.0%
Hedging capof plan70%70%

Expected cost = minus the mean payoff of the swap and the puts, premiums included.

The business question

OG-09 compared hedges on 60% of a producer's oil sales. Hedging has a price: the bank's swap price is US$1 below the forward, and its puts cost a little more than fair value. The board wants the cheapest programme that keeps the chance of missing the budget to 1 in 10, within a 70% hedging cap.

Here the ModelRisk Optimizer chooses the swap share, put share and put strike together.

Who it is for
Treasurers, commercial and risk managers, CFOs and boards deciding on a hedging programme.
Main outputs
The Optimizer's swap share, put share and put strike against a starting plan (OG-09's swap on 60% of planned volume) · for both plans and with no hedge: the mean, 5th and 95th percentiles of two years' revenue and the chance of missing the budget · the expected cost of the hedges · the distributions of revenue and of the hedges' payoff.

What the Optimizer decides

The Optimizer changes the blue cells. The starting plan is OG-09's: a swap on 60% of planned volume, and no puts.

DecisionUnitStarting planOptimizer’s planLowestHighest
Share of planned volume swappedof plan60%20%0%70%
Share protected by bought putsof plan0%50%0%70%
Put strikeUS$/bbl62725772
Goal
Maximise the mean revenue after hedging
Limit
Chance below budget at most 10% (the chance of revenue below the budget)
Limit
Within the hedging cap: swaps + puts at most the cap, in every plan tried

The Optimizer’s run: Vertex Detector, 32 plans tried, each on 10,000 samples, in 911.9 seconds.

How the model works

Four sheets after this one, read from left to right. Each one feeds the next.

  1. Inputs sheet

    Planned volume, the monthly uptime range and the chance and length of an outage. Today's forward price and its volatility; the bank's swap price and its premiums for puts at four strikes; the hedging cap; the budget price and the largest chance of missing the budget that the board accepts.

  2. Decisions sheet

    The three cells the Optimizer changes — the share of planned volume swapped, the share protected by bought puts, and the put strike — with their bounds, the starting plan they are compared with, the goal (the most revenue after hedging, on average) and the limits (the budget, and the hedging cap).

  3. Hedges sheet

    A geometric Brownian motion with no expected drift gives 24 monthly prices. Volume is the plan times the month's uptime, or nothing during an outage. Each plan's swap pays the swap price minus the market price, and its puts pay when the price is below the strike, less the premium. Revenue and a below-budget flag for each plan are outputs.

  4. Results sheet

    Both plans, and no hedge, on the same simulated prices and volumes: the mean and the 5th and 95th percentiles of two years' revenue, the chance of missing the budget, the expected cost of the hedges, and the distributions of revenue and of the hedges' payoff.

ModelRisk techniques

  • ModelRisk Optimizer: two hedge shares and a strike from a list
  • Chance of missing the budget as a probability limit
  • Hedging cap as a formula limit
  • Monthly GBM price VoseTimeGBM
  • Both programmes on the same paths

Find similar models

The results in detail

With no hedge

Every barrel sold at the market price, on the same simulated prices and volumes.

Payoff of the Optimizer’s plan's hedges — distribution
MeasureUnitValue
Revenue over 24 months, meanUS$m246.3
Revenue, 5th percentileUS$m159.2
Revenue, 95th percentileUS$m361.7
Chance of revenue below budgetchance30.6%
Budget revenue (Inputs sheet)US$m209.5

How to read these results

  • The starting plan — OG-09's swap on 60% of planned volume — misses the budget in only about 1 two-year period in 20, half the chance the board accepts. But the bank's swap price is US$1 below the forward, so every barrel swapped costs about US$1 on average.
  • The Optimizer swaps much less, about a fifth of planned volume, and buys puts at the forward price on about half, using the whole 70% cap. The puts cost less than the swap on average and keep the upside. The swap still lifts enough bad outcomes to keep the chance of missing the budget just under 1 in 10.
  • The Optimizer’s plan costs about a fifth less on average and its 95th percentile is about US$34m higher. In return its 5th percentile is a little lower, and its median too: the premium is paid in every scenario.
  • With no hedge the mean revenue is highest, but the budget is missed in about 3 periods in 10, three times the limit.
  • Try a 5% limit on the Inputs sheet and run the Optimizer again: it needs more swaps and fewer puts, at a higher expected cost.

Run the Optimizer yourself. Open the workbook, open the Optimizer from the ModelRisk ribbon (the saved task opens with it) and press Start; then simulate to compare the plans.

Inputs and assumptions

Every assumption in the model, with its uncertainty and where it comes from. The figures are illustrative.

Production 4 inputs

What the company expects to sell, and what can go wrong.

AssumptionUnitUncertaintyLowMost likelyHigh
Planned productionAbout 4,900 barrels a day.kbbl per monthFixed150
Uptime in a monthShort shutdowns and weather. The value shown is the mean; a new uptime is drawn for every month on the Hedges sheet.of planPERT · drawn elsewhere85%97%100%
Chance of a major outage in the two yearsCompressor failure or pipeline damage: one such event in the last 20 field-years.probabilityFixed5%
Length of an outageNo production at all while it lasts.monthsFixed3
Oil price 2 inputs

A geometric Brownian motion whose expected value in every month equals today's forward price.

AssumptionUnitValue
Forward price (flat curve)Today's quote for the next 24 months.US$/bbl72.00
Annual price volatilityImplied volatility of 12-month options.30%
The bank's quotes 6 inputs

Each hedge covers a share of the planned volume in every month. The Optimizer chooses the shares and one of the four put strikes.

AssumptionUnitValue
First year hedgedThe 24 months hedged start in January of this year.year2027
Swap priceThe company receives this and pays the market price. US$1 below the forward: the bank's margin.US$/bbl71.00
Put premium, strike US$57About 40 cents above its fair value.US$/bbl2.85
Put premium, strike US$62OG-09's quote: about 40 cents above its fair value.US$/bbl4.25
Put premium, strike US$67About 40 cents above its fair value.US$/bbl6.20
Put premium, strike US$72At the money: about 50 cents above its fair value.US$/bbl8.80
Budget and policy 4 inputs

The limits the Optimizer must respect.

AssumptionUnitValueUncertainty
Hedging capBoard policy: at most 70% of planned volume hedged, because production itself is uncertain.of planned volume70%Fixed
Budget oil priceConservative price agreed with the lenders.US$/bbl60.00Fixed
Budget uptimeThe most likely uptime above.of plan97%Calculated
Largest chance of missing the budgetBoard policy: revenue below the budget in at most 1 two-year period in 10.probability10%Fixed

Units and conventions

Money
US$ million (US$m); prices in US$ per barrel.
Volumes
kbbl = thousand barrels per month.
Shares
The swap share and the put share are shares of the planned (not the actual) volume, in every month.
Expected cost
Of the hedges: minus their mean payoff, premiums included. What the bank's margins cost on average over the two years.
Below budget
Revenue over the 24 months less than the budget revenue: budget price × planned volume × the most likely uptime.

Key assumptions and limitations

Price
Geometric Brownian motion with constant volatility and a flat forward curve: the expected price in every month equals today's forward price. No jumps or mean reversion over two years.
Hedges
Monthly settlement against the month's average price. No credit risk, margin calls or basis risk. Premiums are paid with the hedge, undiscounted. The bank's quotes hold whatever volume is hedged.
Production
Uptime varies month by month; an outage stops production for three months. Prices and volumes are independent.
Optimizer
Each plan the Optimizer tries is judged on the same 10,000 simulated price and volume paths (common random numbers, seed 1) as the simulation on the Results sheet, so plans are compared fairly and the limit the Optimizer met holds on the Results sheet too.
Data
Volumes, prices and quotes are invented for this example.

How to use it

  1. Enter your production plan, price and volatility, the bank's quotes, your budget and the chance of missing it that you accept on the Inputs sheet.
  2. On the ModelRisk ribbon, open the Optimizer: the task is saved in this workbook. Press Start. When it finishes, apply the best solution: the swap share, put share and put strike on the Decisions sheet change.
  3. Run a simulation from the ModelRisk ribbon (10,000 samples with a fixed seed are set) to compare the new plan with the starting plan on the Results sheet.
  4. To watch the search from the beginning, copy the starting plan onto the Optimizer’s plan first.

ModelRisk functions used

ModelRisk Optimizer
Chooses the swap share, the put share and the put strike: the most mean revenue after hedging, the chance of missing the budget at most the limit, the two shares within the hedging cap.
VoseTimeGBM
24 monthly prices from a geometric Brownian motion, as one array formula.
VosePERT, VoseBernoulli, VoseStepUniform
Monthly uptime, whether an outage happens, and the month it starts.
VoseSimMean, VoseSimPercentile
The mean and percentiles of revenue, and the cost of the hedges, for both plans and with no hedge.
VoseSimProbability
The chance of missing the budget, for both plans and with no hedge.

Further reading

  • Monte Carlo simulation explained (Vose guide)
  • Hull, J. C. (2022). Options, Futures, and Other Derivatives, 11th edition. Pearson — chapters on hedging strategies.
  • OG-09 Hedging production with swaps and collars: the same producer, with a swap, a costless collar and bought puts on 60% of planned volume compared side by side.