SAGA 9.6.1 | Tool Library Documentation

Accumulation Functions


Description

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


Parameters

 NameTypeIdentifierDescriptionConstraints
InputSurfacegrid, inputSURFACESurface used to derive the LDD network, e.g. a DTM.-
Inputgrid, inputINPUTGrid with the input values to accumulate.-
State tgrid, input, optionalSTATE_INGrid describing the state of each cell at timestep t.-
Operation Gridgrid, input, optionalOPERATION_GRIDGrid 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 Controlgrid, input, optionalCONTROLDepending on the mode of operation either transport capacity, transport fraction, threshold value or trigger value.-
Linear Flow Control Gridgrid, input, optionalCTRL_LINEARThe values of this grid are checked against the linear flow threshold to decide on the flow-routing algorithm.-
OutputFluxgrid, outputFLUXFlux out of each cell, i.e. everything accumulated so far.-
State t + 1grid, output, optionalSTATE_OUTGrid describing the state of each cell at timestep t + 1.-
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
OperationchoiceOPERATIONSelect 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 FlowbooleanLINEARSwitch from MFD8 to D8 if the linear flow threshold is crossed.Default: 1
Threshold Linear Flowfloating point numberTHRES_LINEARThreshold for linear flow, if exceeded D8 is used.Minimum: 0.000000 Default: 0.000000

Command Line


Usage: saga_cmd grid_analysis 18 [-SURFACE ] [-INPUT ] [-STATE_IN ] [-OPERATION_GRID ] [-CONTROL ] [-CTRL_LINEAR ] [-FLUX ] [-STATE_OUT ] [-OPERATION ] [-LINEAR ] [-THRES_LINEAR ]
  -SURFACE:        	Surface
	grid, input
  -INPUT:          	Input
	grid, input
  -STATE_IN:       	State t
	grid, input, optional
  -OPERATION_GRID: 	Operation Grid
	grid, input, optional
  -CONTROL:        	Operation Control
	grid, input, optional
  -CTRL_LINEAR:    	Linear Flow Control Grid
	grid, input, optional
  -FLUX:           	Flux
	grid, output
  -STATE_OUT:      	State t + 1
	grid, output, optional
  -OPERATION:      	Operation
	choice
	Available Choices:
	[0] accuflux
	[1] accucapacityflux / state
	[2] accufractionflux / state
	[3] accuthresholdflux / state
	[4] accutriggerflux / state
	Default: 0
  -LINEAR:         	Switch to Linear Flow
	boolean
	Default: 1
  -THRES_LINEAR:	Threshold Linear Flow
	floating point number
	Minimum: 0.000000
	Default: 0.000000