Tutorials

Step-by-step walkthroughs that take you from a blank script to a fully working simulation or optimisation. Each tutorial builds on the Quickstart.

01 · Minimum-cost load curtailment

A feeder serves a factory and a warehouse. An upstream fault caps supply at 0.6 MW. Define controllables, a differentiated-cost objective, and a power constraint — the optimiser sheds the cheapest load first.

01 · Minimum-cost load curtailment
02 · Solar feeder — day-ahead

Simulate a residential bus with rooftop PV across eight three-hour slots. Track the grid import “duck curve”, query per-step voltages, and monitor under-voltage events with a step hook.

02 · Solar feeder — day-ahead