Delft-FEWS will need a state file to be able to run the SOBEK model. In order to generate the first state files of the SOBEK model it is recommended to do a stand-alone run of the DIMR from the command line (see How to run the DIMR model? how to do that). - Go to FEWS_YourSystem / Modules / NewFolder / dimr_model / dflow1d and open the *.md1d file.
- Set the correct restart options:
- Older version:
- Go to option WriteRestart and make sure to set this setting on true. The model will now generate its state files.
- Newer versions:
- Under \[Restart] there are 5 options available. These reflect the restart options in SOBEK 3.
- To make a restart file, set UseRestart = 0 and WriteRestart = 1. The start and stop time should be set very wide like in the example below to ensure a restart will always be written. Intermediate restartfiles can be written using the RestartTimeStep option. Note: on the end of the simulation run, a restart will always be written if WriteRestart is set to 1 independent of the RestartTimeStep.
Image RemovedImage Added
- The SOBEK 3 model has default timeseries. We can thus do a stand-alone run of the model without providing the model with data.
- Run the DIMR model.
or in newer versions of the software - After the model has run succesfully it is possible to create a ColdState-file for Delft-FEWS.
- In the Config\ColdStateFiles\ create a zip for the cold state files. In our example this is the Walrus_Hydr_Sobek3_Update Default.zip
- The zip file for the ColdState files contains the following information
- Walrus_Hydr_Sobek3_Update Default \ dflow1d \ sobek.rda
- Walrus_Hydr_Sobek3_Update Default \ dflow1d \ sobek.rdf
- Walrus_Hydr_Sobek3_Update Default \ rtc \ state_import.xml
- When you analyse the model results you will find a sobek.nda and sobek.ndf file in the dimr_model \ dflow1d folder and a state_export.xml in the dimr_model \ rtc folder. You can use these files. Make sure to rename the extension of these files.
- Set UseRestart to 1 in the *.md1d file to ensure the model will be using the restart.
Image Added for newer versions of the software |