sd_channel_control3 Subroutine

subroutine sd_channel_control3()

Uses

! nbs added 7-20-23 BUG FIX: needed for per-pesticide kd

set ht1 to incoming daily hydrograph set constituents to incoming loads (rtb salt; rtb cs) zero outgoing flow and sediment - ht2 set outgoing flow and sediment - ht2 zero daily in/out morphology and sediment budget output *wallo return here* -- add water transfer add organic mineral add constituents to incoming loads (rtb salt; rtb cs) 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 compute flood plain deposition and channel erosion
call Muskingum and variable storage coefficient flood routing method salt and constituent concentrations (g/m3) for inflow water 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 Variable Storage Coefficient method - sc=2dt/(2ttime+dt) - ttime=(in2+out1)/2 travel time > timestep -- then all incoming is stored and frac of stored is routed travel time < timestep -- route all stored and frac of incoming if channel is a POD, allocate water for users and adjust flow in channel accordingly set outflow hyd to ht2 after diverting water calculate stream temperature (component mixing model) 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 BUG FIX: recompute frsol/frsrb per pesticide (see sd_channel_control.f90)

set values for recharge hydrograph - should be trans losses

Arguments

None

Calls

proc~~sd_channel_control3~~CallsGraph proc~sd_channel_control3 sd_channel_control3 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_temp ch_temp proc~sd_channel_control3->ch_temp ch_watqual4 ch_watqual4 proc~sd_channel_control3->ch_watqual4 cli_lapse cli_lapse proc~sd_channel_control3->cli_lapse gwflow_canal gwflow_canal proc~sd_channel_control3->gwflow_canal gwflow_channel_exch gwflow_channel_exch proc~sd_channel_control3->gwflow_channel_exch gwflow_satexcess gwflow_satexcess proc~sd_channel_control3->gwflow_satexcess 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