Introduction
The dimr-software is used to run a SOBEK 3 model in Delft-FEWS. In the General Adapter of Delft-FEWS we refer to the different components of the dimr-tool. This wiki will describe what you need to do to convert a SOBEK3 model to a dimr-model and how to set-up the different components of your Delft-FEWS configuration. Read the steps in this guide to implement your SOBEK 3 model in Delft-FEWS using the dimr-software.
Table of Contents:
1: modules folder structure of dimr
The dimr-tool expects a fixed folder structure for its binaries, model files, input timeseries and logging. We start the implementation of the dimr-tool by recreating this folder structure.
Open your Delft-FEWS configuration and create a new folder in FEWS_YourSystem / Modules / NewFolder. In the example on this wiki page we use the folder name ovd_dv as this was the name of the SOBEK 3 model we used to implement in Delft-FEWS. This folder has to contain a total of five sub-folders:
- dimr_bin: binaries for the dimr-tool.
- dimr_model: dimr files that describe the SOBEK3 model.
- fews-dimr-adapter-bin: binaries for the fews adapter that communicates with the dimr.
- Input: folder for input files.
- Logs: folder for logging files.
Create all these folders in your newly created dimr folder.
1-A: download the dimr_bin
The dimr-tool is part of DeltaShell. The binaries for the dimr can be downloaded from build.deltares.nl:
- http://build.deltares.nl/viewType.html?buildTypeId=DeltaShell_Products_Nghs126_BuildMsiSobek
- The dimr-tool binaries can be found in the /plugins/DeltaShell.Dimr/
- It is necessary to modify the run_dimr to point to the libraries in cli.
- Put all these unzipped files in the folder dimr_bin.
It is necessary that the build number of the dimr-tool corresponds with your SOBEK 3 model. It is recommended to write down the build number of the dimr-tool for comparison in step 1B.
1-B: create the dimr_model files
1-C: download the fews-dimr-adapter-bin
The dimr and Delft-FEWS are communicating through the fews adapter. This adapter is part of Delft-FEWS and must be downloaded from the build.deltares.nl:
- http://build.deltares.nl/project.html?projectId=FewsDevelopment&tab=projectOverview
- Select the latest stable version (or the Delft-FEWS development version): FEWS – Development > install adapters > artifacts > fews-dimr-adapter-bin.XXXXX.zip.
- Put all these unzipped files in the folder fews-dimr-adapter-bin
2: generate cold state files