Merit order and price formation: why electricity prices fluctuate so much
The idea
On an auction-based wholesale market, all sell orders are sorted from cheapest to most expensive. That sorted supply stack is the merit order: whoever can deliver most cheaply stands at the front. Buy orders form a demand curve opposite it. Where those two intersect determines both the cleared volume and the clearing price, also called the marginal price, the price of the last, most expensive bid that is just still needed. Everyone on the accepted supply side receives that one marginal price, pay-as-cleared, and all accepted demand pays that same price, at least for standard order types.
What drives the stack
Wind, solar and run-of-river hydropower (small-scale hydropower without a large reservoir) have a marginal cost that is almost zero, simply because no fuel is involved. Nuclear plants have a low variable cost, but limited operational flexibility: they do not ramp up or down quickly. Efficient gas and coal plants sit higher in the stack because of the combination of fuel cost, CO₂ cost and maintenance costs. Peakers, oil-fired plants and other constrained units sit right at the top, and are only deployed in the most expensive, scarcity hours. Storage that discharges prices itself on the basis of opportunity cost, not on a simple fuel cost: the question is not "what does it cost to produce this MWh", but "what could I otherwise have earned with it", precisely the logic on which your battery is controlled.
Must-run constraints (plants that for technical reasons must always keep running at a minimum), start-up costs and block orders make the actual clearing richer than a textbook stack. But the marginal intuition stands: the last required unit sets the price for everyone.
Consequences you feel
Hours with a lot of renewables push the stack to the right and down: lower, sometimes even negative prices are the result, precisely the hours in which it can be interesting for you to charge. Windless, dark hours with high demand let the most expensive units set the price, resulting in price spikes, often your best moment to discharge. CO₂ and gas price shocks move a large part of the middle and upper stack at the same time. And interconnectors, the cables to the neighbouring countries, import a cheaper foreign merit order as soon as sufficient capacity is available.
Merit order beyond the day-ahead
The same ranking principle also appears when TSOs, the operators of the high-voltage grid, activate balancing energy: cheaper activation bids go before more expensive ones, admittedly subject to location, ramping speed (how quickly a unit can ramp up or down) and other product constraints. Capacity or reservation auctions are organised separately from the energy activation stacks themselves.
The SEG angle
Messages such as "your battery earns on the market" therefore rely entirely on the price spreads that this merit order dynamic causes, across day-ahead, intraday and imbalance or reserve signals, never on one fixed tariff. The sharper the difference between the cheapest and the most expensive hours of the day, the greater the potential your controlled battery can actually exploit.
Related articles

Basic principles of the electricity system
Electricity is not stored at scale in the grid: production and consumption must always be in balance. This is how that balance works, and why it is the foundation of every energy market.

European market integration: why our prices are not just Belgian
Belgian electricity prices are partly shaped by French nuclear plants, German wind and Dutch gas prices. This is how European market coupling works, and why it matters for your dynamic contract.

Market liberalisation and unbundling: why you choose your own supplier
Why doesn't the grid operator that owns the cables sell energy any more? Unbundling explains the division of roles behind every energy bill, and why SEG has access to markets without owning any cables.
