sd_channel_control3 Subroutine

subroutine sd_channel_control3()

Uses

! nbs added 7-20-23 set ht1 to incoming hydrograph set ht1 to incoming daily hydrograph set outgoing flow and sediment - ht2 add water transfer adjust precip and temperature for elevation using lapse rates if connected to aquifer - add flow add aquifer flow to inflow set inflow hyds for printing zero outgoing flow and sediment - ht2 route constituents call mike winchell's new routine for pesticide routing

don't route constituents if flow is zero compute max flow depth and corresponding travel time during day compute channel water quality new nutrient channel transformations - overrides qual2e route constituents call mike winchell's new routine for pesticide routing

total outgoing to output to SWIFT route pathogens travel time > timestep -- then all incoming is stored and frac of stored is routed travel time < timestep -- route all stored and frac of incoming check decision table for flow control - water diversion check decision table for water allocation set outflow hyd to ht2 after diverting water calculate stream temperature set constituents for routing output channel organic-mineral channel sediment budget for output channel nutrient budget for output output channel morphology output flow to channel morphology set pesticide output variables set values for recharge hydrograph - should be trans losses

Arguments

None

Calls

proc~~sd_channel_control3~~CallsGraph proc~sd_channel_control3 sd_channel_control3 actions actions proc~sd_channel_control3->actions ch_rtmusk ch_rtmusk proc~sd_channel_control3->ch_rtmusk ch_rtpath ch_rtpath proc~sd_channel_control3->ch_rtpath ch_rtpest ch_rtpest proc~sd_channel_control3->ch_rtpest ch_watqual4 ch_watqual4 proc~sd_channel_control3->ch_watqual4 cli_lapse cli_lapse proc~sd_channel_control3->cli_lapse conditions conditions proc~sd_channel_control3->conditions gwflow_canl gwflow_canl proc~sd_channel_control3->gwflow_canl gwflow_gwsw gwflow_gwsw proc~sd_channel_control3->gwflow_gwsw gwflow_satx gwflow_satx proc~sd_channel_control3->gwflow_satx gwflow_tile gwflow_tile proc~sd_channel_control3->gwflow_tile rcurv_interp_flo rcurv_interp_flo proc~sd_channel_control3->rcurv_interp_flo sd_channel_sediment3 sd_channel_sediment3 proc~sd_channel_control3->sd_channel_sediment3 wallo_control wallo_control proc~sd_channel_control3->wallo_control