Install¶
Requirements¶
Python ≥ 3.10
A fresh virtual environment is strongly recommended.
Install monee¶
pip install monee
Installs the core package with all required dependencies: GEKKO, Pyomo, NumPy, SciPy, pandas, NetworkX, Plotly, and geopy.
git clone https://github.com/Digitalized-Energy-Systems/monee.git
cd monee
pip install -e .
Editable install — changes to the source are reflected immediately without reinstalling.
Optional extras¶
Extra |
Install command |
What it adds |
|---|---|---|
|
|
Import networks from SimBench and convert pandapower networks |
Solver back-ends¶
monee ships two solver interfaces. Both are installed automatically; you only need to add a solver binary for the Pyomo back-end.
Wraps the GEKKO optimisation suite, which bundles its own IPOPT binaries. No extra installation needed.
Best for: nonlinear energy-flow simulation and NLP optimisation.
# already included — nothing to do
pip install monee
Translates the network model to a Pyomo
ConcreteModel. You must separately install at least one solver binary.
Best for: MILP / MIQCP problems (e.g. MISOCP optimal power flow).
# SCIP — recommended non-commerical solver for MIQCP
conda install -y pyscipopt
See Use the Pyomo solver for a full walk-through.