set the duty or compensation for the POD - if compensation, then duty is umet duty for the POU zero out the withdrawal for the POD POD number from delivery object, pou number from loop in wallo_control check minimum storage/flow limits and withdraw water from each POD unlimited source - unlimited water, no constituents, no minimum storage/flow limits outside the basin source check if withdrawal takes storage below the minimum convert concentration to mass check if withdrawal takes storage below the minimum divert flowing water from channel source cant compensate for channel flow don't divert when flow is below the minimum - cha_min canal source check if withdrawal takes storage below the minimum reservoir source check if withdrawal takes storage below the minimum aquifer source only have flow, no3, and minp(solp) for aquifer gwflow source add to total flow delivered and om withdrawal for the POD reset annual maximum withdrawals if decision table isn't used POD is finished - sum total withdrawal for the POU add to total flow delivered and om withdrawal for the POU add constituents withdrawn to total withdrawal for the POU
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | ipod | |||
| integer, | intent(in) | :: | ipou |