alt

Alternative

The alternative is the final piece to construct the “if” statement needed to implement the associated rule. One of the alternative operators listed in the table below must be specified for each condition defined in the Decision Table. The user can define as many alternatives as needed by adding the required number of alt columns and numbering them sequentially (alt1, alt2,...).

The model checks if the condition is met by:

  1. comparing the condition variable to lim_const (if the condition variable has a limit constant but no limit variable and operator),

  2. comparing the condition variable to lim_var (if the condition variable has a limit variable but no limit operator and constant),

  3. comparing the condition variable to lim_var multiplied by/plus/minus/divided by lim_const (if the condition variable has a limit variable, operator, and constant), or

  4. checking if the conditional variable is true (plant_gro, tile_drained, and plant_com).

How the condition variable is compared to 1., 2., or 3. or checked for 4. is controlled by the alternative operator:

Alternative operatorDescription

-

Condition not relevant

=

Condition met if var equals 1., 2., or 3. or if var is true (4.)

/

Condition met if var does not equal 1., 2., or 3. or if var is false (4.)

>=

Condition met if var is larger than or equals 1., 2., or 3.

<=

Condition met if var is smaller than or equals 1., 2., or 3.

>

Condition met if var is larger than 1., 2., or 3.

<

Condition met if var is smaller than 1., 2., or 3.

Last updated