OCTOPLEX
stochastic hydrothermal dispatch
An optimisation model based on stochastic dual dynamic programming for the long-term operation and optimal capacity expansion of hydrothermal power systems with non-conventional renewables, with country modules that turn marginal costs into the prices each regulator defines.
What it does
Hydrothermal dispatch
Optimal reservoir operation and thermal commitment over a multi-year horizon, hourly or monthly, with load blocks.
Stochastic inflows
Any number of synthetic or historical hydrological series; results per series and as percentiles.
Capacity expansion
Model different scenarios of power capacity expansion.
Country modules
Convert marginal costs into the pool, scarcity and contract prices each regulator defines. Colombia, Panama and Guyana today; any hydrothermal system on request.
Complementarity
Hydro generation is modelled in parallel with wind and solar generation.
Open outputs
Every result exported as CSV or XLSX: marginal costs, prices, generation by source, expansion, by series and block.
Methodology
- 1
Stage decomposition
Each stage is a linear dispatch problem linking storage today to the expected cost of the future.
- 2
Forward pass
Trial operating policies are simulated along sampled hydrological series.
- 3
Backward pass
Dual information builds Benders cuts: a piecewise-linear approximation of the value of stored water.
- 4
Convergence
Lower and upper bounds converge within tolerance.
Algorithm variants in OCTOPLEX
OCTOPLEX implements standard stochastic dual dynamic programming and two variants:
Standard (risk-neutral)
Approximates the expected cost-to-go functions with piecewise-linear cuts, so no state discretisation is needed. It is the baseline for hydrothermal planning studies.
- Pereira & Pinto (1991), Mathematical Programming 52, 359–375. Journal
Risk-averse (nested CVaR)
Adds a time-consistent risk measure, so the policy trades expected cost against shortage risk instead of minimising cost alone. Brazil's NEWAVE model adopted this approach.
- Shapiro, Tekaya, da Costa & Soares (2013), European Journal of Operational Research 224(2), 375–391. Journal · Free version
- Philpott & de Matos (2012), European Journal of Operational Research 218(2), 470–483. Journal · Free version
Markov-chain
Models the uncertainty (inflow or price regimes) as a Markov chain and keeps a separate cost-to-go function for each regime, so wet and dry periods get their own policies.
- Löhndorf, Wozabal & Minner (2013), Operations Research 61(4), 810–823. Journal · Free version
Combining the three variants in one model lets each result build on the one before it. The risk-neutral policy sets the cost benchmark, the nested-CVaR policy shows how much extra operating cost a given reduction in deficit risk requires, and the Markov-chain model shows how much both results change across wet and dry climate regimes. Clients get more than a single “optimal” policy: they can see step by step what drives cost, risk and reservoir operation.
Use cases
Where the model earns its keep.
- Price forecasts for PPAs, hedging and asset valuation
- Revenue cases for lenders and multilateral banks
- Capacity-expansion auction strategy
- Regulatory impact studies and dispute quantification
- Portfolio and contracting-level optimisation
Who it is for
Teams that already model and want their own engine.
- Generators and wholesalers with in-house analytics
- Private equity and infrastructure funds with in-house analytics
- Regulators, system operators and planning agencies
- Consultancies, researchers and universities working on hydrothermal systems and non-conventional renewables
Licence options
Perpetual licence
- Paid once, no end date
- 12 months of maintenance included, renewable yearly
- Keep every version released during maintenance
Subscription
- Yearly periods
- Updates and support included
- Use ends at the end of the term
Evaluation licence
- Free of charge
- 1 to 2 months
- To check that OCTOPLEX meets your needs (no productive work)
Every licence can be commercial or academic. Academic licences are for educational institutions and researchers (teaching, non-commercial research, theses and publications).
Technical requirements
- Operating system
- Windows or macOS (Apple silicon only)
- CPU / RAM
- Minimum: Intel Core i7 or Apple silicon, 16 GB RAM
- Solver
- HiGHS; Gurobi or CPLEX with the client’s licence
- Input / output
- CSV and XLSX templates
Frequently asked questions
Do you ship the source code?
No. Licences cover compiled binaries that run on the client’s own computer, where all data remains. The source code is never distributed.
Which solvers does it use?
OCTOPLEX solves its optimisation problems with HiGHS. It can also use Gurobi or CPLEX with the client’s own licence.
Can I add my own country’s market rules?
Country modules are separate from the core. New modules are developed with you under a separate development agreement.
How does the model forecast wind and solar generation per plant?
OCTOPLEX downloads decades of historical hourly weather at each plant’s location: ERA5 winds at 10 m and 100 m for wind farms, and NSRDB irradiance, temperature and wind for solar plants. It converts that weather into hourly capacity factors per plant. For wind it scales the speed to the plant’s hub height and applies a smoothed generic power curve; for solar it runs a standard PV model (panel-plane irradiance, cell temperature, DC power, inverter). From those records it fits each plant’s monthly distribution and its correlation with a system-wide index built from the historical river inflow record. It then generates monthly scenarios that move together with the hydro inflow scenarios, so dry hydrology and low wind or sun can coincide. Each monthly value is spread into hours by resampling a real historical month, adjusted so its average matches. Finally the hours are summed into energy (GWh) per plant, per load block, per stage and per scenario, and the dispatch model reads that file.