Monte Carlo revenue-risk engine for a power producer

Deloitte, Advanced Analytics, 2025–2026. The client is confidential, so this page describes the method and not the client’s data.

The problem

The revenue of an independent power producer is price times volume, and neither is known in advance. So there are two questions to answer: how wide is the range of outcomes, and where does that width come from?

The engine

The engine answers the first question by Monte Carlo simulation. Each scenario draws one possible future for commodity prices, demand and weather, and computes the hourly prices, the volumes and the revenue that result. Many scenarios give a distribution of annual revenue. The engine covers hundreds of assets and horizons of up to 30 years. I took it over and extended it.

The price in each hour is the marginal cost of the most expensive technology needed to cover the demand. The cost of some technologies depends on commodity prices, so each scenario draws its own commodity prices around a central case. Production is drawn by bootstrapping from historical production: it follows the weather of a historical year chosen at random. All the assets of a scenario follow the same year, so the dependence between their productions is kept. Part of the production is sold in advance through PPAs and other hedges, so the revenue has a contracted part and a merchant part.

Measuring the risk

The risk is how far the revenue of a year can fall below that of a typical year. I redesigned how it is measured and how the simulated prices are calibrated.

First, the risk is measured from the median of the scenarios. The revenue-at-risk is the median annual revenue minus its 5th percentile. So in one scenario out of twenty the revenue falls below the median by more than this amount. The engine also computes the expected shortfall, which averages the worst scenarios.

Secondly, I calibrated the simulated power prices to the price scenarios of a vendor. The median of the simulated prices is matched to the central scenario, and a percentile in each tail to the low and the high scenarios.

Indeed, a central case describes a middle scenario and not an expected value, so it is the median that should match it, and not the mean.

Two panels with the same skewed distribution of simulated prices. Calibrated to the mean, the median sits 12% below the central scenario. Calibrated to the median, the median sits at the central scenario and the mean 13% above it.

A toy example with made-up numbers, not the client’s. The same skewed distribution is scaled so that its mean, or its median, sits at the central scenario.

Now, the solar hours suffer from cannibalisation and typically have much lower prices. So the calibration of the median has two factors, one for the solar hours and one for the other hours. They are solved together by iteration, so that the median baseload price and the median price captured by solar both match their targets.

The percentile of the tails is a parameter of the calibration, for example the 5th and the 95th. Note that it sets the width of the price distribution, so it is an assumption of the model and not a result. But the calibration fixes the prices and not the revenues. The revenue of an asset also depends on its volumes, on the hours in which it produces and on its hedges. So the revenue-at-risk is still a result of the simulation.

Where the risk comes from

The engine gives the width of the revenue distribution, but not how much of it is due to each input. So I ran the simulation a second time with the commodity prices held at their central case. Both runs use common random numbers, so everything else is identical between them. Thus the difference between the two values of the revenue-at-risk is the reduction obtained by freezing the commodity prices. Note that this is one measure of their contribution and not a full decomposition. Indeed, the revenue-at-risk is not additive, so the result depends on which input is frozen, and the contributions of several inputs need not sum to the total.