# Water\_Rights

Water allocation tables are very specific to the watershed and new feature in SWAT+. We recommend working with the model development team if you are unsure. Because this is a new addition, the interface is still limited if you're trying to build a large table with many source and demand objects.

<table data-header-hidden><thead><tr><th>Field</th><th width="292">Description</th><th width="150">Type</th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Description</strong></td><td><strong>Type</strong></td></tr><tr><td>name</td><td>name of the water allocation object</td><td>string</td></tr><tr><td>rule_typ</td><td>rule type to allocate water</td><td>string</td></tr><tr><td>src_obs</td><td>number of source objects</td><td>integer</td></tr><tr><td>dmd_obs</td><td>number of demand objects</td><td>integer</td></tr><tr><td>cha_ob</td><td>channel object (enter y=yes there is a channel object; enter n=no channel object (only one per water allocation object)</td><td>string</td></tr></tbody></table>

### Water source objects

<table data-header-hidden><thead><tr><th>Field</th><th width="292">Description</th><th width="150">Type</th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Description</strong></td><td><strong>Type</strong></td></tr><tr><td>num</td><td>demand object number</td><td>integer</td></tr><tr><td>ob_typ</td><td>object type (channel=cha; reservoir=res; aquifer=aqu; unlimited source=unl)</td><td>string</td></tr><tr><td>ob_num</td><td>number of the object type</td><td>integer</td></tr><tr><td>limit_mon</td><td><p>minimum monthly values for object type:</p><ul><li>channel flow (m3/s)</li><li>minimum reservoir level (fraction principal); </li><li>maximum aquifer depth (m);</li></ul></td><td>real</td></tr></tbody></table>

### Demand objects

**Demand**. Demand can be irrigation demand from an hru, municipal demand, or demand to transfer to another source object (channel, reservoir, aquifer). For irrigation demand, the hru number, decision table for triggering irrigation, and irrigation depth (mm) are input. For municipal demand, a muni number is input. The user then has the option to input an average daily demand or a recall name that can be daily, monthly, or annual. For transfer demand, the trans number is input and the user can input an average daily demand or a decision table to specify demand.

**Treatment**. Treatment is designed for municipal treatment plants or industrial plants that treat or change the water chemistry. There are 2 options – 1) recall where you can specify the amount of return flow and 2) delivery where you can specify the change in flow and chemistry.

&#x20;**Receiving**. This can be used to return the treated municipal water (point sources) or to transfer (divert) water to other objects. The simple option is the input the return object and number. Or a decision table can be input to condition the diversions to multiple objects. Inputting “lost” assumes the water is diverted out of the basin.&#x20;

**Source Allocation**. The sources are listed in order of selection and the fraction from each source is input. The other input is compensation – if other sources are not available, the current source may be allowed to compensate for the demand. The model goes through all sources in the order listed and allocates based on the fractions. The model loops through the sources again, checking to see if compensation is allowed

<table data-header-hidden><thead><tr><th>Field</th><th width="292">Description</th><th width="150">Type</th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Description</strong></td><td><strong>Type</strong></td></tr><tr><td>num</td><td>demand object number</td><td>integer</td></tr><tr><td>ob_typ</td><td>hru (for irrigation) or muni (muncipal) or divert (interbasin diversion)</td><td>string</td></tr><tr><td>ob_num</td><td>number of the object type</td><td>integer</td></tr><tr><td>withdr</td><td>withdrawal type - average day or recall for muni and divert;  irrigation for HRU </td><td>string</td></tr><tr><td>amount</td><td>m3 per day for muni and mm for HRU</td><td>real</td></tr><tr><td>right</td><td>water right (sr=senior; jr=junior)</td><td>string</td></tr><tr><td>treat_typ</td><td>recall for inputting a recall object and treat for a treatment object</td><td>string</td></tr><tr><td>treatment</td><td>pointer to the recall or delivery ratio file</td><td>string</td></tr><tr><td>rcv_ob</td><td>receiving object (channel, reservoir, aquifer) - no decision table, all return to this object</td><td>string</td></tr><tr><td>rcv_num</td><td>receiving object number</td><td>integer</td></tr><tr><td>rcv_dtl</td><td>receiving object decision table - to condition water transfers and diversions</td><td>string</td></tr><tr><td>dmd_<em>src_</em>obs</td><td>number of source objects available for the demand object</td><td>integer</td></tr></tbody></table>

### SWAT+ Documentation

{% embed url="https://swatplus.gitbook.io/io-docs/introduction/water-allocation" %}
