tools.ConnectionRepairTool
The Connection Repair Tool from MIKE+.
Usage
tools.ConnectionRepairTool(database)Rebuilds connection tables, such as station connections (m_StationCon) and load point connections (msm_LoadPointConnection).
Examples
>>> from mikeplus import Database
>>> db = Database("path/to/model.sqlite")
>>> conn_repair = ConnectionRepairTool(db)
>>> conn_repair.run()
>>> db.close()Methods
| Name | Description |
|---|---|
| __init__() | Initialize the ConnectionRepairTool with the given Database. |
| run() | Run the connection repair tool. |
__init__()
Initialize the ConnectionRepairTool with the given Database.
Usage
__init__(database)Parameters
database: Database- A Database object for the MIKE+ model.
run()
Run the connection repair tool.
Usage
run()