How-to guides

Short, task-focused guides for common operations. Each guide assumes you are already familiar with the Quickstart.

Load shedding

Find the minimum demand curtailment needed to keep a network feasible under voltage, pressure, and temperature bounds — one call or fully customised.

Load shedding
Import MATPOWER files

Read standard IEEE test cases or any .mat MATPOWER file, and persist networks to/from the native OMEF JSON format.

Import MATPOWER case files
Convert from pandapower

Import an existing pandapower network into monee with a single function call. (Experimental — complex elements may not convert correctly.)

Convert from pandapower
Use the Pyomo solver

Plug in HiGHS, Gurobi, GLPK, or CBC as the solver back-end — required for MILP / MIQCP problems such as the MISOCP optimal power flow.

Use the Pyomo solver
Solve islanded networks

Enable multi-island solves with enable_islanding(), add grid-forming generators or sources, and retrieve per-island results.

Solve islanded networks
Timeseries simulation

Drive a multi-energy network through hundreds or thousands of timesteps with time-varying load profiles, ramp constraints, and rich result queries.

Timeseries simulation