> For the complete documentation index, see [llms.txt](https://swatplus.gitbook.io/io-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://swatplus.gitbook.io/io-docs/theoretical-documentation/section-2-hydrology/chapter-2-3-soil-water/2-3.4-perched-water-table.md).

# 2:3.4 Perched Water Table

For an HRU with a seasonal high water table, if the soil profile becomes saturated to the point that percolation for upper soil layers to lower soil layers is inhibited, water will pond in the soil profile and create a perched water table.

SWAT+ allows the user to define the depth to an impervious layer for the HRU. If the depth to the impervious layer is in the soil profile, no water is allowed to percolate out of the soil profile. If the impervious layer is defined below the soil profile, percolation out of the soil profile is adjusted from the value determined with equation 2:3.2.3 using:

$$w\_{perc,btm}=w\_{perc,btm,orig}*\frac{depth\_{diff}}{depth\_{diff}+exp\[8.833-2.598*depth\_{diff}]}$$                                                                       2:3.4.1

where $$w\_{perc,btm}$$ is the amount of water percolating out of the soil profile on a given day (mm H$$*2$$O), $$w*{perc,btm,orig}$$ is the amount of water percolating out of the soil profile on a given day calculated with equation 2:3.2.3 (mm H$$*2$$O), and $$depth*{diff}$$ is the distance from the bottom of the soil profile to the impervious layer (m).

Water builds up in the soil profile from the bottom of the profile. After the bottom layer of the profile reaches saturation, any water exceeding the storage capacity of the bottom layer is allowed to fill the overlying layer. This continues upward until all the excess water has been distributed.

The height of the perched water table is calculated:

$$h\_{wtbl}=\frac{SW-FC}{(POR-FC)\*(1-\phi\_{air})}\*depth\_{imp}$$                                                                                                            2:3.4.2

where $$h\_{wtbl}$$ is the height of the water table (mm), $$SW$$ is the water content of the soil profile (mm H$$*2$$O), $$FC$$ is the water content of the soil profile at field capacity (mm H$$*2$$O), $$POR$$ is the porosity of the soil profile (mm),$$\phi*{air}$$ is the air-filled porosity expressed as a fraction, and $$depth*{imp}$$ is the depth to the impervious layer (mm).

Table 2:3-5: SWAT+ input variables used in perched water table calculations.

| Definition                                       | Source Name | Input Name | Input File |
| ------------------------------------------------ | ----------- | ---------- | ---------- |
| $$depth\_{imp}$$: Depth to impervious layer (mm) | DEP\_IMP    |            | .hru       |
| $$depth\_{imp}$$: Depth to impervious layer (mm) | DEPIMP\_BSN |            | .bsn       |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://swatplus.gitbook.io/io-docs/theoretical-documentation/section-2-hydrology/chapter-2-3-soil-water/2-3.4-perched-water-table.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
