Tool Accumulation Functions
The tool allows one to use different "accumulation functions" to, e.g., move material over a "local drain direction" (LDD) network. The LDD net is computed for the supplied surface by MFD and D8 flow-routing algorithms. It is possible to switch from MFD to D8 as soon as a flow threshold is exceeded.
The input to each cell on the grid can be supplied from e.g. time series and the material can be moved over the net in several ways. All of these, except the "accuflux" operation, compute both the flux and the state for a given cell. For time series modelling (batch processing), the state of each cell at time t can be initialized with the previous state t - 1.
The capacity, fraction, threshold and trigger operations compute the fluxes and cell states at time t + 1 according to cell-specific parameters that control the way the flux is computed.
The capacity function limits the cell-to-cell flux by a (channel) capacity control; the fraction function transports only a given proportion of material from cell to cell, the threshold function transports material only once a given threshold has been exceeded, and the trigger function transports nothing until a trigger value has been exceeded (at which point all accumulated material in the state of the cell is discharged to its downstream neighbour(s)).
The following operations are supported:
* ACCUFLUX: The accuflux function computes the new state of the attributes for the cell as the sum of the input cell values plus the cumulative sum of all upstream elements draining through the cell.
* ACCUCAPACITYFLUX / STATE: The operation modifies the accumulation of flow over the network by a limiting transport capacity given in absolute values.
* ACCUFRACTIONFLUX / STATE: The operation limits the flow over the network by a parameter which controls the proportion (0-1) of the material that can flow through each cell.
* ACCUTHRESHOLDFLUX / STATE: The operation modifies the accummulation of flow over the network by limiting transport to values greater than a minimum threshold value per cell. No flow occurs if the threshold is not exceeded.
* ACCUTRIGGERFLUX / STATE: The operation only allows transport (flux) to occur if a trigger value is exceeded, otherwise no transport occurs and storage accumulates.
Instead of choosing a single global operation with the "Operation" choice parameter, an input grid can be provided which encodes the operation per grid cell. This makes it possible to use different operations across the LDD (e.g. for different land use classes). The cell values used to encode the operation in the grid are the index numbers of the "Operation" choice parameter:
0: accuflux
1: accucapacityflux / state
2: accufractionflux / state
3: accuthresholdflux / state
4: accutriggerflux / state
References
- Burrough, P.A. (1998): Dynamic Modelling and Geocomputation. In: Longley, P.A., Brooks, S.M., McDonnell, R. & B. MacMillan [Eds.]: Geocomputation: A Primer. John Wiley & Sons, pp. 165-191.
- Author: V. Wichmann (c) 2009-2022
- Menu: Grid|Analysis
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Surface | Grid, input | SURFACE | Surface used to derive the LDD network, e.g. a DTM. | - |
Input | Grid, input | INPUT | Grid with the input values to accumulate. | - |
State t (*) | Grid, input, optional | STATE_IN | Grid describing the state of each cell at timestep t. | - |
Operation Grid (*) | Grid, input, optional | OPERATION_GRID | Grid encoding the mode of operation per grid cell. Can be used instead of a global setting ("Operation" choice). Operations use the same identifers as the "Operation" choice parameter [0-4]. | - |
Operation Control (*) | Grid, input, optional | CONTROL | Depending on the mode of operation either transport capacity, transport fraction, threshold value or trigger value. | - |
Linear Flow Control Grid (*) | Grid, input, optional | CTRL_LINEAR | The values of this grid are checked against the linear flow threshold to decide on the flow-routing algorithm. | - |
Output | Flux | Grid, output | FLUX | Flux out of each cell, i.e. everything accumulated so far. | - |
State t + 1 (*) | Grid, output, optional | STATE_OUT | Grid describing the state of each cell at timestep t + 1. | - |
Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Operation | Choice | OPERATION | Select a mode of operation. | Available Choices: [0] accuflux [1] accucapacityflux / state [2] accufractionflux / state [3] accuthresholdflux / state [4] accutriggerflux / state Default: 0 |
Switch to Linear Flow | Boolean | LINEAR | Switch from MFD8 to D8 if the linear flow threshold is crossed. | Default: 1 |
Threshold Linear Flow | Floating point | THRES_LINEAR | Threshold for linear flow, if exceeded D8 is used. | Minimum: 0.000000 Default: 0.000000 |
(*) optional |
Command-line
Usage: saga_cmd grid_analysis 18 [-SURFACE <str>] [-INPUT <str>] [-STATE_IN <str>] [-OPERATION_GRID <str>] [-CONTROL <str>] [-CTRL_LINEAR <str>] [-FLUX <str>] [-STATE_OUT <str>] [-OPERATION <str>] [-LINEAR <str>] [-THRES_LINEAR <double>]
-SURFACE:<str> Surface
Grid, input
-INPUT:<str> Input
Grid, input
-STATE_IN:<str> State t
Grid, input, optional
-OPERATION_GRID:<str> Operation Grid
Grid, input, optional
-CONTROL:<str> Operation Control
Grid, input, optional
-CTRL_LINEAR:<str> Linear Flow Control Grid
Grid, input, optional
-FLUX:<str> Flux
Grid, output
-STATE_OUT:<str> State t + 1
Grid, output, optional
-OPERATION:<str> Operation
Choice
Available Choices:
[0] accuflux
[1] accucapacityflux / state
[2] accufractionflux / state
[3] accuthresholdflux / state
[4] accutriggerflux / state
Default: 0
-LINEAR:<str> Switch to Linear Flow
Boolean
Default: 1
-THRES_LINEAR:<double> Threshold Linear Flow
Floating point
Minimum: 0.000000
Default: 0.000000