MIKE+Py is a python interface for MIKE+. Its main features include:
- Modifying the MIKE+ database in a way that is consistent with the GUI.
- Run different kinds of simulations (e.g. MIKE 1D, EPANET, SWMM)
- Access certain GUI tools pythonically (e.g. import/export tool).
Caution
MIKE+Py is experimental and under development.
- Be aware that there may be bugs or unexpected behavior - use with caution.
- Always make copies of your MIKE+ databases and verify the outcome of scripts.
- If you encounter any issues or have any feedback, please report them on GitHub Issues.
- MIKE+ 2024 (or greater) with valid license
- Python x64 3.9 to 3.13
- Windows
The version of MIKE+Py you install must match the version of MIKE+ installed on your desktop.
MIKE+ Version | Install command |
---|---|
MIKE+ 2025 | pip install mikeplus |
MIKE+ 2024 Update 1 | pip install mikeplus==2024.1.* |
MIKE+ 2024 | pip install mikeplus==2024.0.* |
Please check out our [collection of jupyter notebooks] (https://github.com/DHI/mikepluspy/tree/main/notebooks) to get started with MIKE+Py.
There's currently a known issue of using MIKE+Py together with MIKE IO and MIKE IO 1D. We are working on fixing this and appreciate your patience.
Workarounds:
- Importing MIKE IO 1D after MIKE+Py will work.
- Using Python's multiprocessing library to split imports (and workflows) into separate processes.
- Split MIKE IO and MIKE+Py / MIKE IO 1D workflows into separate scripts.
- Bugs - GitHub Issues
- Feature requests - GitHub Issues
- Other - GitHub Discussions