# Tile Drainage

&#x20;          To simulate tile drainage in an HRU, the user must specify the depth from the soil surface to the drains, the amount of time required to drain the soil to field capacity, and the amount of lag between the time water enters the tile till it exits the tile and enters the main channel.&#x20;

&#x20;              Tile drainage occurs when the perched water table rises above the depth at which the tile drains are installed. The amount of water entering the drain on a given day is calculated:

$$tile\_{wtr}=\frac{h\_{wtbl}-h\_{drain}}{h\_{wtbl}}*(SW-FC)*(1-exp\[\frac{-24}{t\_{drain}}])$$  if   $$h\_{wtbl}>h\_{drain}$$            6:2.2.1

where $$tile\_{wtr}$$ is the amount of water removed from the layer on a given day by tile drainage (mm H$$*2$$O), $$h*{wtbl}$$ is the height of the water table above the impervious zone (mm), $$h\_{drain}$$ is the height of the tile drain above the impervious zone (mm), $$SW$$ is the water content of the profile on a given day (mm H$$\_2$$O), $$FC$$ is the field capacity water content of the profile (mm H$$*2$$O), and $$t*{drain}$$ is the time required to drain the soil to field capacity (hrs).&#x20;

&#x20;        Water entering tiles is treated like lateral flow. The flow is lagged using equations reviewed in Chapter 2:3.

Table 6:2-2: SWAT+ input variables that pertain to tile drainage.

| Variable Name | Definition                                                 | Input File |
| ------------- | ---------------------------------------------------------- | ---------- |
| DDRAIN        | Depth to subsurface drain (mm).                            | .mgt       |
| TDRAIN        | $$t\_{drain}$$: Time to drain soil to field capacity (hrs) | .mgt       |
| GDRAIN        | $$tile\_{lag}$$: Drain tile lag time (hrs)                 | .mgt       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://swatplus.gitbook.io/io-docs/theoretical-documentation/section-6-management-practices/water-management/tile-drainage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
