sd_channel_control3 Subroutine

subroutine sd_channel_control3()

Uses

! nbs added 7-20-23 set ht1 to incoming daily hydrograph zero outgoing flow and sediment - ht2 zero daily in/out morphology and sediment budget output 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 set constituents (rtb salt) to incoming loads zero outgoing flow and sediment - ht2 compute flood plain deposition and channel erosion
call Muskingum and variable storage coefficient flood routing method route pesticides route pathogens 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 total outgoing to output to SWIFT 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 allocate water for transfers that don't include a channel as a source 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 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