"name".dtl

These files contain the Decision Tables.

The structure of the decision table files is different than that of most other SWAT+ input files. As usual, the first line is reserved for a title. The second line in the file specifies the total number of decision tables included in the file.

Each decision table has three parts, which all have their own headers. First, the name of the decision table and the number of conditions, alternatives, and actions are specified.

Field DescriptionType

name

Name of the decision table

string

conds

Number of conditions

integer

alts

Number of alternatives

integer

acts

Number of actions

integer

Next, the conditions and alternatives are defined. The number of lines used for this part of the decision table depends on the number of conditions.

FieldDescriptionType

Condition variable

string

Object type

string

Object ID

integer

Limit variable

string

Limit operator

string

Limit constant

real

Alternative

string

Finally, the outcomes and actions are defined. The number of lines used for this part of the decision table depends on the number of actions.

FieldDescriptionType

Type of action

string

Object type

string

Object ID

integer

Name of the action

string

Action option

string

Action constant

real

Action constant

real

File pointer for action option

string

Outcome

string

Last updated