swr_subwq Subroutine

subroutine swr_subwq()

Uses

  • proc~~swr_subwq~~UsesGraph proc~swr_subwq swr_subwq module~basin_module basin_module proc~swr_subwq->module~basin_module module~carbon_module carbon_module proc~swr_subwq->module~carbon_module module~climate_module climate_module proc~swr_subwq->module~climate_module module~hru_module hru_module proc~swr_subwq->module~hru_module module~organic_mineral_mass_module organic_mineral_mass_module proc~swr_subwq->module~organic_mineral_mass_module module~soil_module soil_module proc~swr_subwq->module~soil_module module~organic_mineral_mass_module->module~carbon_module module~soil_module->module~carbon_module
~ ~ ~ PURPOSE ~ ~ ~
this subroutine computes HRU loadings of chlorophyll-a, CBOD, 
and dissolved oxygen to the main channel

~ ~ ~ INCOMING VARIABLES ~ ~ ~
name        |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
enratio     |none          |enrichment ratio calculated for day in HRU
hru_km(:)   |km^2          |area of HRU in square kilometers
sedorgn(:)  |kg N/ha       |amount of organic nitrogen in surface runoff
                           |in HRU for the day
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ OUTGOING VARIABLES ~ ~ ~
name        |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
cbodu(:)    |mg/L          |carbonaceous biological oxygen demand of 
                           |surface runoff on current day in HRU
chl_a(:)    |microgram/L   |chlorophyll-a concentration in water yield
                           |on current day in HRU
doxq(:)     |mg/L          |dissolved oxygen concentration in the surface
                           |runoff on current day in HRU
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ LOCAL DEFINITIONS ~ ~ ~
name        |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~
Intrinsic: Exp

~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~

calculcate water temperature Stefan and Preudhomme. 1993. Stream temperature estimation from air temperature. Water Res. Bull. p. 27-45 SWAT manual 2.3.13 deg C to deg K

calculate organic carbon loading to main channel add by zhang ======================== add by zhang ========================

calculate carbonaceous biological oxygen demand (ppm or mg/L) calculate dissolved oxygen saturation concentration QUAL2E equation III-29 calculate actual dissolved oxygen concentration

Arguments

None