Warning
The documentation of this model is incomplete
A
T
It needs a number of settings in the ini file. The default name for the file is wflow_routing.ini. it is also possible to insert this section in the wflow_sbm or wflow_hbv ini file and point to that file.
See below for an example:
[inputmapstacks]
# Name of the mapstack with specific discharge (mm/timestep output from the hydrological model)
IW= inmaps/IW
A description of the implementation of the kinematic wave is given on the pcraster website
In addition to the settings in the ini file you need to give the model additional maps or lookuptables in the staticmaps or intbl directories:
Run the wflow_routing model..
usage
wflow_routing [-h][-v level][-F runinfofile][-L logfile][-C casename][-R runId]
[-c configfile][-T last_step][-S first_step][-s seconds][-l loglevel]
-F: if set wflow is expected to be run by FEWS. It will determine
the timesteps from the runinfo.xml file and save the output initial
conditions to an alternate location. Also set fewsrun=1 in the .ini file!
-X: save state at the end of the run over the initial conditions at the start
-T: Set last timestep
-S: Set the start timestep (default = 1)
-s: Set the model timesteps in seconds
-I: re-initialize the initial model conditions with default
-C: set the name of the case (directory) to run
-R: set the name runId within the current case
-L: set the logfile
-c: name of wflow the configuration file (default: Casename/wflow_routing.ini).
-h: print usage information
-l: loglevel (most be one of DEBUG, WARNING, ERROR)
$Author$ $Id$ $Rev$
Bases: pcraster.framework.dynamicPCRasterBase.DynamicModel
Changed in version 0.1: - initial version.
Returns a list of default summary-maps at the end of a run. This is model specific. You can also add them to the [summary]section of the ini file but stuff you think is crucial to the model should be listed here
Stuf that is done for each timestep
Below a list of variables that can be save to disk as maps or as timeseries (see ini file for syntax):
Dynamic variables
| Variables: |
|
|---|
Static variables
| Variables: |
|
|---|
Initial part of the model, executed only once. Reads all static data from disk
Surface water
| Variables: |
|
|---|
returns a list of state variables that are essential to the model. This list is essential for the resume and suspend functions to work.
This function is specific for each model and must be present.
| Variables: |
|
|---|
gets the current time in seconds after the start of the run
Updates the kinematic wave reservoir. Should be run after updates to Q
Perform command line execution of the model.