Open infrastructure for
power system computation

Stochastic optimization for hydrothermal dispatch. Built in Rust, open source, production-ready.

$ pip install cobre-python Copied!

Already in the energy sector?

Familiar with hydrothermal dispatch tools? Cobre works with your existing workflows. Convert cases and compare results side-by-side.

Migration guide →

New to SDDP?

Learn how stochastic optimization solves the hydrothermal dispatch problem. Interactive examples included.

Python user?

pip install, run, get results back as polars DataFrames. Zero-copy via Apache Arrow.

Python quickstart →
0
Lines of Rust
0
Tests
0
Proprietary dependencies

Get started in three commands

# Initialize a new study
$ cobre init my-study

# Run training + simulation
$ cobre run my-study/
import cobre

# Load and run a study
study = cobre.Study("my-study/")
result = study.run()

# Results as polars DataFrames
costs = result.simulation_costs()
print(costs.head())
# Convert an existing NEWAVE deck
$ cobre-bridge convert newave ./deck/ -o ./study/

# Run the converted case
$ cobre run ./study/