AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
MIKE+Py: Streamline your MIKE+ workflows
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
MIKE+Py is an open-source Python package for interacting with MIKE+ model databases (.sqlite files). It enables automation of modelling tasks, programmatic data manipulation, scenario management, and simulation execution, enhancing the reproducibility and efficiency of MIKE+ workflows.
MIKE+Py can be installed from PyPI using uv (or pip):
Note
Use of MIKE+Py requires a valid MIKE+ license.
To install a version compatible with a specific MIKE+ release year (e.g., MIKE+ 2025):
Here are a couple of quick examples to get you started:README 전문 보기 ↗Streamline your MIKE+ workflows
MIKE+Py is an open-source Python package for interacting with MIKE+ model databases (.sqlite files). It enables automation of modelling tasks, programmatic data manipulation, scenario management, and simulation execution, enhancing the reproducibility and efficiency of MIKE+ workflows.
MIKE+Py can be installed from PyPI using uv (or pip):
uv pip install mikeplus
Note
Use of MIKE+Py requires a valid MIKE+ license.
To install a version compatible with a specific MIKE+ release year (e.g., MIKE+ 2025):
uv pip install mikeplus==2025.*
Here are a couple of quick examples to get you started:
Open a database and read table data into a Pandas DataFrame:
import mikeplus as mp
with mp.open("your_model.sqlite") as db:
db.tables.msm_Node.to_dataframe()
Open a database and run the active simulation setup:
import mikeplus as mp
with mp.open("your_model.sqlite") as db:
db.run()
.sqlite databases.Comprehensive documentation is available at: https://dhi.github.io/mikepluspy/
MIKE+Py directly modifies the .sqlite database file. There is no undo functionality within MIKE+Py for changes made to the database.
It is strongly recommended to always work on a copy of your MIKE+ database, not the original, to prevent accidental data loss or corruption.
There are known compatibility issues when using MIKE+Py alongside other DHI libraries (e.g. MIKE IO, MIKE IO 1D, ModelSkill).
The following is the suggest import order which works for most use cases, but could still run into issues:
import mikecore
import mikeio
import modelskill as ms
import mikeplus as mp
import mikeio1d