Stochastic optimization
Stochastic optimization
Better decisions under uncertainty
Energy markets are shaped by uncertainty: prices, wind and solar generation, loads, inflows and balancing activations can never be predicted exactly. Classic approaches reach their limits here. Linear optimization models represent markets and assets in detail, but only calculate with a single future. Simulations show the uncertainty, but do not provide a clear recommendation for action.
Stochastic optimization combines the strengths of both worlds. It models markets and assets precisely, considers many possible developments at the same time and recommends the decision that delivers the greatest value across all scenarios – while respecting all technical and contractual constraints.
Hydropower and pumped storage
How much is the water in the reservoir worth today if prices in three months are unknown? DT.Energy models complex hydropower systems in detail, including the dependencies between output, head and flow for each turbine. Stochastic optimization determines water values and dispatch prices, taking into account uncertain day-ahead prices, inflows, balancing prices and activations. DT.Energy is in use at major hydropower operators in Switzerland, Austria, Lithuania and Germany.
Gas storage and gas contracts
Together with ExxonMobil, we have further developed scenario-tree-based optimization for gas storage and gas contracts. DT.Energy generates scenarios for spot and futures prices on European gas markets, values storage, contract and LNG portfolios intrinsically and extrinsically, and supports daily operations in asset-backed trading. Ex-post analyses show the added value compared with the rolling intrinsic approach.
Your benefits
- Fewer plan revisions and more stable schedules
- Higher revenue or lower procurement costs by valuing flexibility
- Risk control, e.g. via CVaR targets in forward marketing
- Transparent decisions instead of gut feeling
In practice
Alpine hydropower utilities such as Salzburg AG, TIWAG and ewz use DT.Energy's stochastic optimization every day. In an FFG-funded research project with the Austrian Federal Railways (ÖBB), stochastic optimization reduced costs by around EUR 2.4 million over two years compared with deterministic planning.
Stochastic optimization is our focus at E-world 2027 – visit us in Hall 3, Booth 3F134.
How the method works
Multidimensional scenario trees
Grundlage sind Szenariobäume: Alle Szenarien haben einen gemeinsamen Ursprung und verzweigen sich erst nach und nach. Das ist der entscheidende Unterschied zur Monte-Carlo-Simulation mit vielen unabhängigen Einzelpfaden. Jeder Knoten im Baum enthält einen möglichen künftigen Zustand aller wichtigen Einflussgrößen – etwa Spot- und Terminpreise, Last, Wind- und Solarerzeugung oder Zuflüsse.
Die Werte werden mit speziellen stochastischen Prozessen berechnet, deren Parameter wir aus historischen Daten schätzen: erwartete Entwicklung, Volatilität, Mean Reversion, Sprungdynamik und Korrelationen. Je nach Planungshorizont liegen zwischen den Verzweigungen Monate, Wochen, Tage oder Stunden.

From scenario tree to decision tree
The optimal decision is determined in every node of the tree – based on the development so far and on all possible scenarios afterwards. This creates a decision tree. The most important decision is the one at the root: it shows what to do today, taking into account all future developments and the best response to each of them.

The mathematical model
Together with the objective function – such as profit maximization or cost minimization – and all constraints, the scenario tree forms the mathematical model. Each scenario enters the objective function with its probability, and all constraints such as resource and portfolio balances or capacity limits must be met in every scenario. This means that decisions that have to be made early, for example in futures trading, can be optimally hedged against all possible price developments.

Solution and rolling optimization
The model is solved with powerful solvers such as IBM ILOG CPLEX or Gurobi. Thanks to our many years of experience in configuring solvers, we keep computation times short. Only the first-stage decisions are implemented. As soon as new information is available, the model is recalculated – known as rolling optimization.

From theory to practice
The foundations of stochastic optimization go back to George Dantzig, who showed in 1955 that most planning problems are stochastic in nature. For a long time, practical use failed due to a lack of computing power. Today, modern hardware, cloud computing and powerful solvers make the method usable for daily operations in the energy industry – exactly where uncertainty has been particularly high since liberalization and with the expansion of renewables.
Contact us – we will be happy to show you what stochastic optimization can do for your portfolio.
OFFICE
MUNICH
Konrad-Zuse-Platz 8
D-81829 München
Tel.: +49 89 207042 284
office@dtrees.com
OFFICE
ST. GALLEN
Zürcherstrasse 240
CH-9014 St. Gallen
Tel.: +41 71 313 05 55
office@dtrees.com
