arrow-left

All pages
gitbookPowered by GitBook
1 of 17

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

elem_tot

Number of columns to read for list of elements in the Routing Unit

If each element in the Routing Unit is listed individually, the number of columns to read will equal the number of elements in the Routing Unit. However, if there are several elements with consecutive numbers in a Routing Unit, they can be listed by specifying the first one in one column and the last one with a hyphen in front of it in the next column.

define

Pointer to the routing unit definition file

The pointer to the routing unit definition file is a foreign key referencing in .

id
rout_unit.def

rout_unit.rtu

This file references other files specifying the elements that are part of a Routing Unit and its topographic and field properties.

Field
Description
Type

id

ID of the Routing Unit

integer

name

Name of the Routing Unit

string

name (rout_unit.rtu)

Name of the routing unit

The name of the routing unit is not used by the model.

Pointer to the Routing Unit definition file

string

dlr

Delivery ratio

Pointer to the topography file

string

Pointer to the field file

string

define

topo

Pointer to the topography file

The pointer to the topography file is a foreign key referencing in .

The topography variables for Routing Units are used to compute time of concentration for sub-daily routing.

topo
field
name
topography.hyd

id (rout_unit.rtu)

ID of the routing unit

The ID of the Routing Unit is a primary key referenced by in . All IDs in the rout_unit.rtu file must be unique.

rtu
rout_unit.con

name (rout_unit.def)

Name of the Routing Unit

The name of the Routing Unit is not used by the model.

rout_unit.def

This file specifies which elements a Routing Unit contains.

Field
Description
Type

ID of the Routing Unit

integer

Name of the Routing Unit

string

field

Pointer to the field file

The pointer to the field file is a foreign key referencing in .

name
field.fld

Number of columns to read for list of elements in the Routing Unit

integer

First column listing elements in the Routing Unit

integer

id
name
elem_tot
elements

id (rout_unit.def)

Unique ID of the Routing Unit

The ID of the Routing Unit is a primary key referenced by define in rout_unit.rtu. All IDs in the rout_unit.def file must be unique.

elements

First column listing elements in the Routing Unit

If elem_tot = 1, there can be only one element in the Routing Unit, whose ID (id in rout_unit.ele) is specified in this column. If elem_tot > 1, this column is followed by additional columns listing the elements included in the Routing Unit, but those columns will not have a header. If there are several elements with consecutive numbers in a Routing Unit, they can be listed by specifying the first one in one column and the last one with a hyphen in front of it in the next column.

Routing Units

Routing Units are the spatial units in SWAT+ that allow us to lump outputs and route them to any other spatial object. Routing Units don't have a lot of properties as they mostly serve the purpose of collecting hydrographs and the simulation of the processes generating those is controlled by the properties of the individual elements within a routing unit.

  • rout_unit.rtu references other files specifying the elements that are part of a Routing Unit and its topographic and field properties.

  • rout_unit.def specifies which elements a Routing Unit contains.

  • lists all elements that are part of a Routing Unit.

rout_unit.ele

id (rout_unit.ele)

ID of the element

The ID of the element is a primary key referenced by in . All IDs in the rout_unit.ele file must be unique.

elements
rout_unit.def

rout_unit.ele

This file lists all elements that are part of a Routing Unit.

Field
Description
Type

ID of the element

integer

Name of the element

string

Object type of the element

string

Object ID of the element

integer

frac

Fraction of Routing Unit area assigned to the element

real

dlr

Currently not used

real

id
name
obj_typ
obj_id

obj_typ

Object type of the element

The following object types can be elements in a Routing Unit:

  • another rtu

  • hru

  • res

  • aqu

  • sdc

  • rec

obj_id

Object ID of the element

The object ID of the element is a foreign key referencing the ID of the object in its file.

connect

name (rout_uni.ele)

Name of the element

The name of the element is not used by the model.