SWAT+ Issue Report Template
1. Primary Issue Location
2. Software Versions
3. Project Characteristics
4. Description of Issue
5. Supporting Data (Optional)
Both lines are commented out. hd(2) is the generic "recharge" (rhg) output slot that every object type uses to pass water downstream as recharge (you can see the same slot actively populated for HRUs in hru_hyds.f90: ob(icmd)%hd(2)%flo = sepbtm(j) * cnv_m3). For channels, the line that should feed trans_loss into that slot is dead code — it was apparently stubbed in and never finished.
Downstream, in command.f90, the aquifer's inflow is built generically as:
and in aqu_1d_control.f90:
So the aquifer's rchrg (what ends up in your aquifer output files) is exactly the sum of whatever is sitting in the hd(2) slots of everything connected to it. Since the channel's hd(2) is never written by sd_channel_control3.f90, it just stays at its initialized value of zero for the entire run — no matter what chan.con says (rhg, fraction = 1), no matter what channel K is set to. The connectivity file lets you declare the link, but the routine that would actually push a number through it was never implemented.
Net effect: the seeped water is subtracted from streamflow, but it isn't added anywhere — it effectively vanishes from the reported water balance rather than reappearing as aquifer recharge."