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?
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.
S-curve (cumulative probability) of No hedge, Starting plan, Optimizer’s plan, Budget revenue from the saved simulation.
| Decision | Unit | Starting plan | Optimizer’s plan | Change |
|---|---|---|---|---|
| Share of planned volume swapped | of plan | 60% | 20% | −40% |
| Share protected by bought puts | of plan | 0% | 50% | 50% |
| Put strike | US$/bbl | 62 | 72 | 10 |
| Measure | Unit | Starting plan | Optimizer’s plan | Change | |
|---|---|---|---|---|---|
| Revenue over 24 months, mean | US$m | 244.0 | 244.5 | 0.5 | ✔ better |
| Revenue, 5th percentile | US$m | 209.8 | 204.9 | −4.9 | |
| Revenue, 95th percentile | US$m | 287.8 | 321.5 | 33.6 | ✔ better |
| Chance of revenue below budget | chance | 4.8% | 9.3% | 4.5% | |
| Expected cost of the hedges | US$m | 2.31 | 1.83 | −0.48 | ✔ better |
| Share of planned volume hedged | of plan | 60% | 70% | 10.0% | |
| Premium paid for the puts | US$m | – | 15.84 | 15.84 | |
| Largest chance of missing the budget | chance | 10.0% | 10.0% | ||
| Hedging cap | of plan | 70% | 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.
| Decision | Unit | Starting plan | Optimizer’s plan | Lowest | Highest |
|---|---|---|---|---|---|
| Share of planned volume swapped | of plan | 60% | 20% | 0% | 70% |
| Share protected by bought puts | of plan | 0% | 50% | 0% | 70% |
| Put strike | US$/bbl | 62 | 72 | 57 | 72 |
- 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.
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.
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).
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.
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
Find similar models
- Product
- Type
- Application
- Uses
The results in detail
With no hedge
Every barrel sold at the market price, on the same simulated prices and volumes.
Histogram of Hedge payoff, Optimizer’s plan from the saved simulation.
| Measure | Unit | Value |
|---|---|---|
| Revenue over 24 months, mean | US$m | 246.3 |
| Revenue, 5th percentile | US$m | 159.2 |
| Revenue, 95th percentile | US$m | 361.7 |
| Chance of revenue below budget | chance | 30.6% |
| Budget revenue (Inputs sheet) | US$m | 209.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.
| Assumption | Unit | Uncertainty | Low | Most likely | High |
|---|---|---|---|---|---|
| Planned productionAbout 4,900 barrels a day. | kbbl per month | Fixed | 150 | ||
| 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 plan | PERT · drawn elsewhere | 85% | 97% | 100% |
| Chance of a major outage in the two yearsCompressor failure or pipeline damage: one such event in the last 20 field-years. | probability | Fixed | 5% | ||
| Length of an outageNo production at all while it lasts. | months | Fixed | 3 | ||
Oil price 2 inputs
A geometric Brownian motion whose expected value in every month equals today's forward price.
| Assumption | Unit | Value |
|---|---|---|
| Forward price (flat curve)Today's quote for the next 24 months. | US$/bbl | 72.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.
| Assumption | Unit | Value |
|---|---|---|
| First year hedgedThe 24 months hedged start in January of this year. | year | 2027 |
| Swap priceThe company receives this and pays the market price. US$1 below the forward: the bank's margin. | US$/bbl | 71.00 |
| Put premium, strike US$57About 40 cents above its fair value. | US$/bbl | 2.85 |
| Put premium, strike US$62OG-09's quote: about 40 cents above its fair value. | US$/bbl | 4.25 |
| Put premium, strike US$67About 40 cents above its fair value. | US$/bbl | 6.20 |
| Put premium, strike US$72At the money: about 50 cents above its fair value. | US$/bbl | 8.80 |
Budget and policy 4 inputs
The limits the Optimizer must respect.
| Assumption | Unit | Value | Uncertainty |
|---|---|---|---|
| Hedging capBoard policy: at most 70% of planned volume hedged, because production itself is uncertain. | of planned volume | 70% | Fixed |
| Budget oil priceConservative price agreed with the lenders. | US$/bbl | 60.00 | Fixed |
| Budget uptimeThe most likely uptime above. | of plan | 97% | Calculated |
| Largest chance of missing the budgetBoard policy: revenue below the budget in at most 1 two-year period in 10. | probability | 10% | 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
- 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.
- 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.
- 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.
- 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.
Download the workbook and run it yourself. It opens in Excel with ModelRisk. The free trial runs every example model.
Related example models
- ModelRisk★★★★★Hedging Production with Swaps and CollarsSwap, collar or puts?Monthly price paths and production with outages, and four hedging strategies compared on the same paths.
- ModelRisk★★★★★Exploration Portfolio with Shared Play RiskWhich wells should we drill next year?Compares drilling programmes built from eight prospects whose success depends on shared play risk.
- ModelRisk★★★★★Field Development Concept SelectionTieback, FPSO, or start small and expand?Three 25-year development cash-flow models on common random numbers, with a decision rule inside the simulation.
An illustrative example: the figures are invented for teaching and do not describe a real company, project or asset. Last updated 9 October 2026.