Examples#
Each page here shows one whole model as the file and as the math it prints.
Every model is a file under examples/ in the repository.
- Least-cost dispatch is the smallest whole model. It has a balance, a bound and a cost to minimise.
- Unit commitment adds a start-up ramp. One quantity is defined by region, so a single inequality covers both regimes.
- One construct per model declares each operator in the smallest file that can, and prints the equation beside it.
- A component library is several files that compose into
one model. Each file reads the coupling surface and prints on its own, and the
composed page shows what
mergereturns.
The PyPSA parity pages, from PyPSA in one file on, are a proof of concept. They sit in the Development section.
Typeset the math prints your own.