> 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-4-groundwater/2-4.3-deep-aquifer.md).

# 2:4.3 Deep Aquifer

The water balance for the deep aquifer is:

$$aq\_{dp,i}=aq\_{dp,i-1}+w\_{deep}-Q\_{gw}-w\_{pump,dp}$$                                                                                               2:4.3.1

where $$aq\_{dp,i}$$ is the amount of water stored in the deep aquifer on day $$i$$ (mm H$$*2$$O), $$aq*{dp,i-1}$$ is the amount of water stored in the deep aquifer on day $$i-1$$(mm H$$*2$$O), $$w*{deep}$$ is the amount of water percolating from the shallow aquifer into the deep aquifer on day $$i$$ (mm H$$*2$$O), $$Q*{gw}$$ is the groundwater flow, or base flow, into the main channel on day $$i$$ (mm H$$*2$$O) and $$w*{pump,dp}$$ is the amount of water removed from the deep aquifer by pumping on day $$i$$ (mm H$$\_2$$O). The amount of water percolating into the deep aquifer is calculated with the equations reviewed in section 2:4.2.4. If the deep aquifer is specified as the source of irrigation water or water removed for use outside the watershed, the model will allow an amount of water up to the total volume of the deep aquifer to be removed on any given day.

Water entering the deep aquifer is not considered in future water budget calculations and can be considered to be lost from the system.


---

# 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-4-groundwater/2-4.3-deep-aquifer.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.
