Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Cobre

Cobre solves long-term hydrothermal dispatch – the problem of scheduling water and fuel across power grids with large hydroelectric capacity. It provides an open-source, reproducible implementation built on Rust, Parquet for data interchange, and Python for analysis workflows.

Coming from other energy optimization software? If you already work with hydrothermal dispatch tools and want to convert existing case data, see the cobre-bridge conversion guide.

New to SDDP? If you want to understand the algorithm before diving into code, read What Cobre Solves.

Python user? If you want to run studies from Jupyter or a Python script, see the Python Quickstart.

Starting from scratch? See Installation and then Quickstart.

What Cobre Does

  • Solve long-term hydrothermal dispatch via Stochastic Dual Dynamic Programming (SDDP), with training, simulation, and policy export.
  • Model complex power systems – hydro cascades with variable-head production, thermal units, transmission networks, non-controllable sources, and user-defined generic constraints.
  • Generate stochastic scenarios using periodic autoregressive (PAR) inflow models with correlated multi-site noise.
  • Run across clusters with hybrid MPI + thread parallelism, producing bit-for-bit identical results regardless of rank or thread count.
  • Analyze results from Python using Arrow zero-copy bindings, or directly from Parquet output files.
GitHubgithub.com/cobre-rs/cobre
Software BookYou are here
API Docsdocs.rs/cobre
PyPIpypi.org/project/cobre-python
Methodology Referencecobre-rs.github.io/cobre-docs
LicenseApache-2.0