open
open(model_path, **kwargs)
Open an existing MIKE+ model database.
Parameters
Name | Type | Description | Default |
---|---|---|---|
model_path | str or Path | Path to the model database file (e.g. “model.sqlite” or “model.mupp”) | required |
**kwargs | dict | Additional keyword arguments to pass to the Database constructor. Common options include: - auto_open : bool If True, immediately open the database connection | {} |
Returns
Name | Type | Description |
---|---|---|
Database | A Database object connected to the specified model |
Raises
Name | Type | Description |
---|---|---|
FileNotFoundError | If the database file doesn’t exist |