Professional Documents
Culture Documents
Qual2kw5 Theory
Qual2kw5 Theory
July 2008
Any use of product or firm names in this publication is for descriptive purposes only and
does not imply endorsement by the author or the Department of Ecology.
If you have special accommodation needs or require this document in alternative format,
please contact Joan LeTourneau at 360-407-6764 (voice) or 711 or 1-800-833-6388
(TTY).
by
4
Greg Pelletier1 and Steve Chapra2
July 2008
1
Environmental Engineer, Washington State Department of Ecology, Olympia, WA.
2
Professor and Louis Berger Chair in Computing and Engineering, Tufts University, Medford, MA.
6
Hyporheic metabolism. Hyporheic exchange and sediment pore water quality are
simulated, including optional simulation of the metabolism of heterotrophic bacteria
in the hyporheic zone.
Automatic calibration. A genetic algorithm is included to determine the optimum
values for the kinetic rate parameters to maximize the goodness of fit of the model
compared with measured data.
The QUAL2K framework does not include the following elements that are included
in Q2E:
Branching. Q2K presently simulates the main stem of a river. It does not model
branches.
Step 1: Unzip the model files to any folder on the hard drive on your PC. When you
extract the zip archive to a drive or folder on your hard drive, a new subfolder in that
drive or folder will be created with the files for QUAL2Kw. For example, if you
unzipped to your C:\ drive, then a subfolder named C:\qual2kw will be created if it does
not exist, and the QUAL2Kw files will be in a subfolder of the qual2kw folder. The
qual2kw5.xls and qual2kw5.exe files may be copied to any working folder on any drive
of your computer. Both files must be present together in the same working folder for the
Fortran executable to run. Copies of .xls file may be given any name. The qual2kw5.exe
may not be re-named if you want to run the Fortran executable version from the .xls file.
Step 2: Open Excel and make sure that your macro security level is set to medium or low
(Figure 1). This can be done using the menu commands: Tools Macro Security.
Make certain that either the Medium or Low radio button is selected.
Figure 1 The Excel Macro Security Level dialogue box. In order to run Q2K, the Medium
level of security should be selected.
8
Step 3: Open qual2kw5.xls. When you do this, the Macro Security Dialogue Box will be
displayed if you selected medium security in step 3 (Figure 2).
Figure 2 The Excel Macro security dialogue box. In order to run Q2K, the Enable Macros
button must be selected.
Figure 4 The QUAL2K Status Bar is positioned at the lower left corner of the worksheet. It
allows you to follow the progress of a model run.
If the program runs properly, the Travel Time plot will be displayed. If it does not
work properly, three possibilities exist:
First, you may be using an old version of Microsoft Office. Although Excel is
downwardly compatible for some earlier versions, Q2K will not work with very old
versions.
Second, your computer may not have enough RAM to run the model. The amount of
RAM needed depends on the model application (e.g. number of reaches, calculation time
step, etc.). A minimum RAM of 256 Mb for Windows 98, or 512 Mb with Windows XP
is recommended for small applications, and more is probably needed for larger
applications.
Third, you may have made a mistake in implementing the preceding steps. A common
mistake is to make a copy the .xls file in a working folder and forget to also copy the
qual2kw5.exe file to the same working folder (the Fortran executable will not run unless
it is the same working folder as the .xls file)
Occasionally the model may crash. In some cases the crash may result in a Microsoft
Visual Basic error message as shown in Figure 5. If this occurs, click on the ‘End’ button.
This will terminate the run and bring you back to the Excel Workbook where you can
check for bad input values. If you are proficient in VBA then you may click on the
‘Debug’ button to attempt to find out where the program crashed and diagnose the
problem.
10
Figure 5 An example VBA error message that can occur in QUALK2.
Step 5: On the QUAL2K Worksheet click on the Open Old File button. Browse to get
to the working directory. You should see that a new file has been created with the name
that was specified in B9. Click on the Cancel button to return to Q2K.
Note that every time that Q2K is run, a data file will be created with the file name
specified in cell B9 on the QUAL2K Worksheet (Figure 3). The program automatically
affixes the extension .q2k to the file name. Since this will overwrite the file, make certain
to change the file name when you perform a new application. A .q2k file may be opened
by clicking on the ‘Open File’ button on the QUAL2K Worksheet. This feature allows
you the option to save the inputs for many different simulations without having to save
the .xls for every model run.
Headwater boundary
1
Point source
2
Point abstraction
Point abstraction
3
Point source 4
5 Non-point
6 abstraction
Non-point
7
source
8 Point source
Downstream boundary
Flow Balance
A steady-state flow balance is implemented for each model reach (Figure 7)
where Qi = outflow from reach i into the downstream reach i + 1 [m3/d], Qi–1 = inflow
from the upstream reach i – 1 [m3/d], Qin,i is the total inflow into the reach from point and
nonpoint sources [m3/d], and Qab,i is the total outflow from the reach due to point and
nonpoint abstractions [m3/d].
Qin,i Qab,i
Qi1 Qi
i1 i i+1
12
Figure 7 Reach flow balance.
where Qps,i,j is the jth point source inflow to reach i [m3/d], psi = the total number of point
sources to reach i, Qnps,i,j is the jth non-point source inflow to reach i [m3/d], and npsi =
the total number of non-point source inflows to reach i.
where Qpa,i,j is the jth point abstraction outflow from reach i [m3/d], pai = the total number
of point abstractions from reach i, Qnpa,i,j is the jth non-point abstraction outflow from
reach i [m3/d], and npai = the total number of non-point abstraction flows from reach i.
The non-point sources and abstractions are modeled as line sources. As in Figure 8,
the non-point source or abstraction is demarcated by its starting and ending kilometer
points. Its flow is distributed to or from each reach in a length-weighted fashion.
Qnpt
start end
Hydraulic Characteristics
Weirs
Figure 9 shows how weirs are represented in Q2K. The symbols are defined as: Hi = the
depth of the reach upstream of the weir [m], Hi+1 = the depth of the reach downstream of
the weir [m], elev2i = the elevation above sea level of the tail end of the upstream reach
[m], elev1i+1 = the elevation above sea level of the head end of the downstream reach [m],
Hw = the height of the weir above elev2i [m], Hd = the drop between the elevation above
sea level of the surface of reach i and reach i+1 [m], Hh = the head above the weir [m], Bi
= the width of reach i [m].
Bi
Hh
Hi Hd
Hi
Hw Hw
Hi+1
elev2i elev2i
elev1i+1 elev1i+1
For a sharp-crested weir where Hh/Hw < 0.4, flow is related to head by (Finnemore
and Franzini 2002)
Qi 1.83Bi H h3 / 2 (4)
where Qi is the outflow from the segment upstream of the weir in m3/s, and Bi and Hh are
in m. Equation (4) can be solved for
2/3
Qi
H h (5)
1.83Bi
14
This result can then be used to compute the depth of reach i,
Hi H w Hh (6)
Ac ,i Bi H i (8)
Qi
Ui
Ac ,i (9)
Rating Curves
Power equations can be used to relate mean velocity and depth to flow,
U aQ b (10)
H Q (11)
where a, b, and are empirical coefficients that are determined from velocity-
discharge and stage-discharge rating curves, respectively. The values of velocity and
depth can then be employed to determine the cross-sectional area and width by
Q
Ac (12)
U
Ac
B (13)
H
The exponents b and typically take on values listed in Table 1. Note that the sum of
b and must be less than or equal to 1. If their sum equals 1, the channel is rectangular.
Table 1 Typical values for the exponents of rating curves used to determine velocity and
depth from flow (Barnwell et al. 1989).
H Q 0.45 0.30.5
Manning Equation
Each reach is idealized as a trapezoidal channel (Figure 10). Under conditions of steady
flow, the Manning equation can be used to express the relationship between flow and
depth as
S 01 / 2 Ac5 / 3
Q (14)
n P2/3
where Q = flow [m3/s]3, S0 = bottom slope [m/m], n = the Manning roughness coefficient,
Ac = the cross-sectional area [m2], and P = the wetted perimeter [m].
S0
1 H 1
ss1 ss2
Q, U
B0
Ac B0 0.5( s s1 s s 2 ) H H (15)
where B0 = bottom width [m], ss1 and ss2 = the two side slopes as shown in Figure 10
[m/m], and H = reach depth [m].
After substituting Eqs. (15) and (16), Eq. (14) can be solved iteratively for depth
(Chapra and Canale 2002),
3
Notice that time is measured in seconds in this and other formulas used to characterize hydraulics. This is
how the computations are implemented within Q2K. However, once the hydraulic characteristics are
determined they are converted to day units to be compatible with other computations.
16
2/5
(Qn) 3 / 5 B0 H k 1 s s21 1 H k 1 s s22 1
(17)
Hk
S 3 / 10 B0 0.5( s s1 s s 2 ) H k 1
H k 1 H k
a 100% (18)
H k 1
The cross-sectional area can be determined with Eq. (15) and the velocity can then be
determined from the continuity equation,
Q
U (19)
Ac
Ac
B (20)
H
Table 2 The Manning roughness coefficient for various open channel surfaces (from Chow
et al. 1988).
MATERIAL n
Man-made channels
Concrete 0.012
Gravel bottom with sides:
concrete 0.020
mortared stone 0.023
riprap 0.033
Natural stream channels
Clean, straight 0.025-0.04
Clean, winding and some weeds 0.03-0.05
Weeds and pools, winding 0.05
Mountain streams with boulders 0.04-0.10
Heavy brush, timber 0.05-0.20
Manning’s n typically varies with flow and depth (Gordon et al. 1992). As the depth
decreases at low flow, the relative roughness increases. Typical published values of
Manning’s n, which range from about 0.015 for smooth channels to about 0.15 for rough
natural channels, are representative of conditions when the flow is at the bankfull
capacity (Rosgen, 1996). Critical conditions of depth for evaluating water quality are
generally much less than bankfull depth, and the relative roughness may be much higher.
In Section , the drop of water over a weir was computed. This value is needed in order to
compute the enhanced reaeration that occurs in such cases. In addition to weirs, such
drops can also occur at waterfalls (Figure 11).
Hi
Hd
elev2i
Hi+1
elev1i+1
Figure 11 Waterfall.
QUAL2K computes such drops for cases where the elevation above sea level drops
abruptly at the boundary between two reaches. For both the rating curve and the Manning
equation options, the model uses Eq. (7) for this purpose. It should be noted that the drop
is only calculated when the elevation above sea level at the downstream end of a reach is
greater than at the beginning of the next downstream reach; that is, elev2i > elev1i+1.
Travel Time
The residence time of each reach is computed as
Vk
k (21)
Qk
where k = the residence time of the kth reach [d], Vk = the volume of the kth reach [m3] =
Ac,kxk, and xk = the length of the kth reach [m]. These times are then accumulated to
determine the travel time from the headwater to the downstream end of reach i,
i
t t ,i k (22)
k 1
18
Longitudinal Dispersion
Two options are used to determine the longitudinal dispersion for a boundary between
two reaches. First, the user can simply enter estimated values on the Reach
Worksheet. If the user does not enter values, a formula is employed to internally
compute dispersion based on the channel’s hydraulics (Fischer et al. 1979),
U i2 Bi2
E p ,i 0.011 (23)
H iU i*
where Ep,i = the longitudinal dispersion between reaches i and i + 1 [m2/s], Ui = velocity
[m/s], Bi = width [m], Hi = mean depth [m], and Ui* = shear velocity [m/s], which is
related to more fundamental characteristics by
U i* gH i S i (24)
U i xi
E n ,i (25)
2
The model dispersion Ei (i.e., the value used in the model calculations) is then computed
as follows:
For the latter case, the resulting dispersion will be greater than the physical dispersion.
Thus, dispersive mixing will be higher than reality. It should be noted that for most
steady-state rivers, the impact of this overestimation on concentration gradients will be
negligible. If the discrepancy is significant, the only alternative is to make reach lengths
smaller so that the numerical dispersion becomes smaller than the physical dispersion.
W h ,i m3 J h ,i m J s ,i m
w C pwVi 10 6 cm 3 w C pw H i 100 cm w C pw H i 100 cm
(26)
where Ti = temperature in reach i [oC], t = time [d], E’i = the bulk dispersion coefficient
between reaches i and i + 1 [m3/d], Wh,i = the net heat load from point and non-point
sources into reach i [cal/d], w = the density of water [g/cm3], Cpw = the specific heat of
water [cal/(g oC)], Jh,i = the air-water heat flux [cal/(cm 2 d)], and Js,i = the sediment-water
heat flux [cal/(cm2 d)].
atmospheric
transfer
heat load heat abstraction
inflow outflow
i
dispersion dispersion
sediment-water
transfer
sediment
E i Ac,i
Ei'
xi xi 1 / 2
(27)
Note that two types of boundary condition are used at the river’s downstream terminus:
(1) a zero dispersion condition (natural boundary condition) and (2) a prescribed
20
downstream boundary condition (Dirichlet boundary condition). The choice between
these options is made on the Headwater Worksheet.
psi npsi
Wh,i C p
j 1
Q ps ,i , j T psi , j Qnps ,i , j Tnpsi , j
j 1
(28)
where Tps,i,j is the jth point source temperature for reach i [oC], and Tnps,i,j is the jth non-
point source temperature for reach i [oC].
J h I (0) J an J br J c J e
(29)
where I(0) = net solar shortwave radiation at the water surface, Jan = net atmospheric
longwave radiation, Jbr = longwave back radiation from the water, Jc = conduction, and
Je = evaporation. All fluxes are expressed as cal/cm2/d.
air-water
interface
Solar Radiation
The model computes the amount of solar radiation entering the water at a particular
latitude (Lat) and longitude (Llm) on the earth’s surface. This quantity is a function of the
I ( 0) I0 at ac (1 Rs ) (1 S f )
where I(0) = solar radiation at the water surface [cal/cm2/d], I0 = extraterrestrial radiation
(i.e., at the top of the earth’s atmosphere) [cal/cm2/d], at = atmospheric attenuation, ac =
cloud attenuation, Rs = albedo (fraction reflected), and Sf = effective shade (fraction
blocked by vegetation and topography).
W0
I0 sin
r2
(31)
where W0 = the solar constant [1367 W/m2 or 2823 cal/cm2/d], r = normalized radius of
the earth’s orbit (i.e., the ratio of actual earth-sun distance to mean earth-sun distance),
and = the sun’s altitude [radians], which can be computed as
(32)
where = solar declination [radians], Lat = local latitude [radians], and = the local hour
angle of the sun [radians].
2
r 1 0.017 cos (186 Dy )
365
(33)
2
23.45 cos (172 Dy )
180 365
(34)
22
The local hour angle in radians is given by
trueSolarTime
180
4 180
(35)
where:
(36)
where trueSolarTime is the solar time determined from the actual position of the sun in
the sky [minutes], localTime is the local time in minutes (local standard time), Llm is the
local longitude (positive decimal degrees for the western hemisphere), and timezone is
the local time zone in hours relative to Greenwich Mean Time (e.g. 8 hours for Pacific
Standard Time; the local time zone is selected on the QUAL2K Worksheet). The value
of eqtime represents the difference between true solar time and mean solar time in
minutes of time.
QUAL2K calculates the sun’s altitude and eqtime, as well as the times of sunrise and
sunset using the Meeus (1999) algorithms as implemented by NOAA’s Surface Radiation
Research Branch (www.srrb.noaa.gov/highlights/sunrise/azel.html). The NOAA method
for solar position that is used in QUAL2K also includes a correction for the effect of
atmospheric refraction.
f t ss t sr
(37)
where tss = time of sunset [hours] and tsr = time of sunrise [hours].
Atmospheric attenuation. Various methods have been published to estimate the fraction
of the atmospheric attenuation from a clear sky (at). Two alternative methods are
available in QUAL2K to estimate at:
Bras (1990)
Ryan and Stolzenbach (1972)
Note that the solar radiation model is selected on the Light and Heat Worksheet of
QUAL2K.
where nfac is an atmospheric turbidity factor that varies from approximately 2 for clear
skies to 4 or 5 for smoggy urban areas. The molecular scattering coefficient (a1) is
calculated as
1
m
sin 0.15( d 3.885) 1.253
(40)
The Ryan and Stolzenbach (1972) model computes at from ground surface elevation
and solar altitude as:
5.256
288 0.0065 elev
m
at a tc
288
(41)
Direct measurements of solar radiation are available at some locations. For example,
NOAA’s Integrated Surface Irradiance Study (ISIS) has data from various stations across
the United States (http://www.atdd.noaa.gov/isis.htm). The selection of either the Bras or
Ryan-Stolzenbach solar radiation model and the appropriate atmospheric turbidity factor
or atmospheric transmission coefficient for a particular application should ideally be
guided by a comparison of predicted solar radiation with measured values at a reference
location.
Cloud Attenuation. Attenuation of solar radiation due to cloud cover is computed with
a c 1 0.65C L2
(42)
24
B
R s A d
(43)
Shade. Shade is an input variable for the QUAL2K model. Shade is defined as the
fraction of potential solar radiation that is blocked by topography and vegetation. An
Excel/VBA program named ‘Shade.xls’ is available from the Washington Department of
Ecology to estimate shade from topography and riparian vegetation (Ecology 2003).
Input values of integrated hourly estimates of shade for each reach are put into the Shade
Worksheet of QUAL2K.
The downward flux of longwave radiation from the atmosphere is one of the largest
terms in the surface heat balance. This flux can be calculated using the Stefan-
Boltzmann law
(44)
The atmospheric longwave radiation model is selected on the Light and Heat
Worksheet of QUAL2K. Three alternative methods are available for use in QUAL2K to
represent the effective emissivity (sky):
where eair is the air vapor pressure [mm Hg], and Ta is the air temperature in °K. The
factor of 1.333224 converts the vapor pressure from mm Hg to millibars. Brutsaert
(1982) recommended a default value of 1.24 for kbrut based on typical values for various
physical constants. Several articles have since been published with various recommended
values for kbrut considering the uncertainty and calibration to observations of downwelling
longwave radiation. Crawford and Duchon (1999) suggested a range for kbrut from 1.28 in
January to 1.16 in July with sinusoidal seasonal variaton. Sridhar and Elliot (2002)
recommended an average value for kbrut of 1.31 based on calibration to observed
longwave radiation data in Oklahoma, with values ranging from 1.30 to 1.32 between
four sites. Culf and Gash (1993) also recommended a value of 1.31 instead of 1.24 during
dry seasons in Niger, and a reduced value during wet seasons. QUAL2Kw allows the user
to specify the input value of kbrut and suggests a default value of 1.24.
17.27Td
237.3 Td
e air 4.596e
(45)
Brunt (1932). Brunt’s equation is an empirical model that has been commonly used in
water-quality models (Thomann and Mueller 1987),
clear Aa Ab eair
where Aa and Ab are empirical coefficients. Values of Aa have been reported to range from
about 0.5 to 0.7 and values of Ab have been reported to range from about 0.031 to 0.076
mmHg0.5 for a wide range of atmospheric conditions. QUAL2K uses a default mid-range
value of Aa = 0.6 with Ab = 0.031 mmHg-0.5 if the Brunt method is selected on the Light
and Heat Worksheet.
Koberg (1964). Koberg (1964) reported that the Aa in Brunt’s formula depends on both
air temperature and the ratio of the incident solar radiation to the clear-sky radiation (Rsc).
As in Figure 14, he presented a series of curves indicating that Aa increases with Tair and
decreases with Rsc with Ab held constant at 0.0263 millibars0.5 (about 0.031 mmHg0.5).
2
Aa a k Tair bk Tair c k
26
where
3 2
a k 0.00076437R sc 0.00121134R sc 0.00073087R sc 0.0001106
3 2
bk 0.12796842 Rsc 0.2204455 Rsc 0.13397992 Rsc 0.02586655
3 2
c k 3.25272249R sc 5.65909609R sc 3.43402413R sc 1.43052757
The fit of this polynomial to points sampled from Koberg’s curves are depicted in Figure
14. Note that an upper limit of 0.735 is prescribed for Aa.
0.50
0.7 0.65
Koberg’s “Aa” constant for
0.75
0.80
0.85
0.6
0.90
0.95
0.5
1.00
0.4
0.3
-4 0 4 8 12 16 20 24 28 32
Figure 14 The points are sampled from Koberg’s family of curves for determining the
value of the Aa constant in Brunt’s equation for atmospheric longwave radiation
(Koberg, 1964). The lines are the functional representation used in Q2K.
Idso (1981). Two equations were proposed by Idso (1981) as summarized by Hatfield et
al. (1983):
Idso 1:
Idso 2:
Idso and Jackson (1969). The following equation was proposed by Idso and Jackson
(1969) (Ta is air temperature in degrees K):
clear 0.0000092Ta
2
All methods except for Koberg (1964) determine emissivity of a clear sky and do not
account for the effect of clouds. Therefore, the effective atmospheric emissivity for
cloudy skies (εsky) is estimated from the clear sky emissivity for all methods except for
Koberg (1964) by using a nonlinear function of the fractional cloud cover (CL) of the
form (TVA, 1972):
The selection of the longwave model for a particular application should ideally be
guided by a comparison of predicted results with measured values at a reference location.
However, direct measurements are rarely collected. The Brutsaert method is
recommended to represent a wide range of atmospheric conditions.
The back radiation from the water surface is represented by the Stefan-Boltzmann law,
J br T 273
4
SKOPi
(47)
where = emissivity of water (= 0.97) and T = the water temperature [oC]. The term
SKOPi is the sky opening fraction (Rutherford et al, 1997).
28
Conduction and Convection
Conduction is the transfer of heat from molecule to molecule when matter of different
temperatures are brought into contact. Convection is heat transfer that occurs due to mass
movement of fluids. Both can occur at the air-water interface and can be described by,
J c c1 f U w Ts Tair
(48)
where c1 = Bowen's coefficient (= 0.47 mmHg/oC). The term, f(Uw), defines the
dependence of the transfer on wind velocity over the water surface where Uw is the wind
speed measured a fixed distance above the water surface.
Many relationships exist to define the wind dependence. Bras (1990), Edinger et al.
(1974), and Shanahan (1984) provide reviews of various methods. Some researchers have
proposed that conduction/convection and evaporation are negligible in the absence of
wind (e.g. Marciano and Harbeck, 1952), which is consistent with the assumption that
only molecular processes contribute to the transfer of mass and heat without wind
(Edinger et al. 1974). Others have shown that significant conduction/convection and
evaporation can occur in the absence of wind (e.g. Brady Graves and Geyer 1969,
Harbeck 1962, Ryan and Harleman 1971, Helfrich et al. 1982, and Adams et al. 1987).
This latter opinion has gained favor (Edinger et al. 1974), especially for waterbodies that
exhibit water temperatures that are greater than the air temperature.
Brady, Graves, and Geyer (1969) pointed out that if the water surface temperature is
warmer than the air temperature, then “the air adjacent to the water surface would tend to
become both warmer and more moist than that above it, thereby (due to both of these
factors) becoming less dense. The resulting vertical convective air currents … might be
expected to achieve much higher rates of heat and mass transfer from the water surface
[even in the absence of wind] than would be possible by molecular diffusion alone”
(Edinger et al. 1974). Water temperatures in natural waterbodies are frequently greater
than the air temperature, especially at night.
Edinger et al. (1974) recommend that the relationship that was proposed by Brady,
Graves and Geyer (1969) based on data from cooling ponds, could be representative of
most environmental conditions. Shanahan (1984) recommends that the Lake Hefner
equation (Marciano and Harbeck, 1952) is appropriate for natural waters in which the
water temperature is less than the air temperature. Shanahan also recommends that the
Ryan and Harleman (1971) equation as recalibrated by Helfrich et al. (1982) is best
suited for waterbodies that experience water temperatures that are greater than the air
temperature. Adams et al. (1987) revisited the Ryan and Harleman and Helfrich et al.
models and proposed another recalibration using additional data for waterbodies that
exhibit water temperatures that are greater than the air temperature.
Three options are available on the Light and Heat Worksheet in QUAL2K to
calculate f(Uw):
2
f (U w ) 19.0 0.95U w
Adams et al. (1987) updated the work of Ryan and Harleman (1971) and Helfrich et al.
(1982) to derive an empirical model of the wind speed function for heated waters that
accounts for the enhancement of convection currents when the virtual temperature
difference between the water and air (v in degrees F) is greater than zero. Two wind
functions reported by Adams et al., also known as the East Mesa method, are
implemented in QUAL2K (wind speed in these equations is at a height of 2m).
0.05
f (U w ) 0.271 ( 22.4 v1 / 3 ) 2 ( 24.2 Aacres ,i U w, mph )
2
where Uw,mph is wind speed in mph and Aacres,i is surface area of reach i in acres.
The constant 0.271 converts the original units of BTU ft2 day1 mmHg1 to cal
cm2 day1 mmHg1.
Virtual temperature is defined as the temperature of dry air that has the same density
as air under the in situ conditions of humidity. The virtual temperature difference
between the water and air ( v in °F) accounts for the buoyancy of the moist air above a
heated water surface. The virtual temperature difference is estimated from water
temperature (Tw,f in °F), air temperature (Tair,f in °F), vapor pressure of water and air (es
and eair in mmHg), and the atmospheric pressure (patm is estimated as standard
atmospheric pressure of 760 mmHg in QUAL2K):
30
Tw, f 460 Tair , f 460
v 460 460
1 0.378e s / p atm 1 0.378eair / p atm
(49)
(50)
For example, if wind speed data were collected from a height of 2 m, then the wind
speed at 7 m for input to the Wind Speed Worksheet of QUAL2K would be estimated
by multiplying the measured wind speed by a factor of 1.2.
J e f (U w )(e s e air )
(51)
where es = the saturation vapor pressure at the water surface [mmHg], and eair = the air
vapor pressure [mmHg]. The saturation vapor pressure is computed as
17.27T
e air 4.596e .3T
237
(52)
dT2,i J s ,i J hyp ,i
dt s C ps H 2,i
where T2,i = the temperature of the bottom sediment below reach i [oC], Js,i = the
sediment-water conduction heat flux [cal/(cm2 d)], Jhyp,i is the heat flux between the water
and sediment due to hyporheic flow exchange, s = the density of the sediments [g/cm3],
Cps = the specific heat of the sediments [cal/(g oC)], and H2,i = the effective thickness of
the sediment layer [cm]. The quantity s C ps may be estimated as s /s, where s is
the thermal conductivity [cal/(s cm °C)] and s is the thermal diffusivity [cm2/s]. The
values of H2,i, s , and s are inputs to the Reach sheet of QUAL2Kw.
The conduction heat flux from the sediments to the water can be computed as
86400 s
J s ,i T2,i T1,i
H 2 ,i / 2
(54)
where the thermal conductivity s = s s C ps and the constant of 86400 converts units
of cal/cm2/s to cal/cm2/d.
The thermal properties of some natural sediments along with its components are
summarized in Table 4. Note that soft, gelatinous sediments found in the deposition
zones of lakes are very porous and approach the values for water. Some very slow,
impounded rivers may approach such a state. However, rivers tend to have coarser
sediments with significant fractions of sands, gravels and stones. Upland streams can
have bottoms that are dominated by boulders and rock substrates.
Inspection of the component properties of Table 4 suggests that the presence of solid
material in stream sediments leads to a higher coefficient of thermal diffusivity than that
for water or porous lake sediments. In Q2K, we suggest a default value of 0.0064 cm2/s
for this quantity.
32
Table 4 Thermal properties for natural sediments and the materials that comprise natural
sediments.
Miscellaneous measurements:
Lake, shoreline 0.59 0.0014 (5)
Lake soft sediments 3.25E-07 0.0033 "
Lake, with sand 4.00E-07 0.0040 "
River, sand bed 7.70E-07 0.0077 "
Component materials:
W ater 0.59 0.0014 1.40E-07 0.0014 1.000 0.999 1.000 (6)
Clay 1.30 0.0031 9.80E-07 0.0098 1.490 0.210 0.310 "
Soil, dry 1.09 0.0026 3.70E-07 0.0037 1.500 0.465 0.700 "
Sand 0.59 0.0014 4.70E-07 0.0047 1.520 0.190 0.290 "
Soil, wet 1.80 0.0043 4.50E-07 0.0045 1.810 0.525 0.950 "
Granite 2.89 0.0069 1.27E-06 0.0127 2.700 0.202 0.540 "
Average of composite materials: 1.37 0.0033 6.13E-07 0.0061 1.670 0.432 0.632
In addition, specific heat tends to decrease with density. Thus, the product of these
two quantities tends to be more constant than the multiplicands. Nevertheless, it appears
that the presence of solid material in stream sediments leads to a lower product than that
for water or gelatinous lake sediments. In Q2K, we suggest a default value of 1.6 W/(m
°C) for the thermal conductivity.
The heat flux from hyporheic exchange of water between the stream and the
hyporheic sediment zone is computed as
,i C p
'
Ehyp 100 cm
J hyp,i T
2 ,i T1,i
Asf ,i m
(55)
'
where E hyp ,i is the bulk hyporheic exchange flow in reach i [m3/day], and Asf,i is the
surface area of the hyporheic zone in reach i (m2). The hyporheic exchange flow is an
input to the Reach sheet of Q2K, and the surface area is computed from reach length and
channel width also based on inputs to the Reach sheet.
34
CONSTITUENT MODEL
For all but the bottom algae variables, a general mass balance for a constituent in the
water column of a reach is written as (Figure 15)
'
dci Qi 1 Qi Qab,i Ei'1 Ei' Wi E hyp
ci 1 ci ci ci 1 ci ci 1 ci S i ,i c2,i ci
dt Vi Vi Vi Vi Vi Vi Vi
(56)
where Wi = the external loading of the constituent to reach i [g/d or mg/d], and Si =
sources and sinks of the constituent due to reactions and mass transfer mechanisms
[g/m3/d or mg/m3/d]. Exchange of mass between the surface water and the hyporheic
'
sediment zone is represented by the bulk hyporheic exchange flow in reach i [ E hyp ,i in
m3/day] and the difference in concentration in the surface water (ci) and in the hyporheic
sediment zone (c2,i).
atmospheric
transfer
mass load mass abstraction
inflow outflow
i
dispersion dispersion
For all but the heterotrophic bacteria biofilm, the general mass balance for a
constituent concentration in the hyporheic sediment zone of a reach (c2,i) is written as
'
dc 2,i E hyp
S 2 ,i
,i
c i c 2 ,i (57)
dt V 2 ,i
where S2,i = sources and sinks of the constituent in the hyporheic zone due to
reactions, V2,i = s ,i Ast ,i H 2,i / 100 = volume of pore water in the hyporheic sediment
zone [m3], s ,i is the porosity of the hyporheic sediment zone [dimension less number
between 0 and 1], Ast,i = the surface area of the reach [m2], and H2,i = the thickness of the
36
hyporheic zone [cm]. Porosity is defined as the fraction of the total volume of sediment
that is in the liquid phase and is interconnected (Chapra, 1997).
psi npsi
Wi Q ps ,i , j c psi , j Qnps ,i , j c npsi , j (58)
j 1 j 1
where cps,i,j is the jth point source concentration for reach i [mg/L or g/L], and cnps,i,j is
the jth non-point source concentration for reach i [mg/L or g/L].
For bottom algae, the transport and loading terms are omitted,
dab, i
S b, i (59)
dt
dIN b
S bN ,i (60)
dt
dIPb
S bP ,i (61)
dt
where Sb,i = sources and sinks of bottom algae biomass due to reactions [gD/m2/d], SbN,i =
sources and sinks of bottom algae nitrogen due to reactions [mgN/m2/d], and SbP,i =
sources and sinks of bottom algae phosphorus due to reactions [mgP/m2/d].
For heterotrophic bacteria in the hyporheic sediment zone (Level 2 option), the
transport and loading terms are omitted,
dah ,i
S ah ,i (62)
dt
where Sah,i = sources and sinks of heterotrophic bacteria in the hyporheic sediment zone
due to reactions [gD/m2/d].
re
rda
ds
h cT o
mo rod cs cf
se ox cT cf sod
s ox X
o s
cT o s
mi
h n dn Alk
rna no na nn s
s se se
cT
d p o
u
IN
rpa h a
po pi u IP s
s s se
r
e e
o
cT
Figure 16 Model kinetics and mass transfer processes. The state variables are defined in
Table 5. Kinetic processes are dissolution (ds), hydrolysis (h), oxidation (ox),
nitrification (n), denitrification (dn), photosynthesis (p), respiration (r), excretion
(e), death (d), respiration/excretion (rx). Mass transfer processes are reaeration
(re), settling (s), sediment oxygen demand (SOD), sediment exchange (se), and
sediment inorganic carbon flux (cf).
Reaction Fundamentals
Biochemical Reactions
The following chemical equations are used to represent the major biochemical
reactions that take place in the model (Stumm and Morgan 1996):
Ammonium as substrate:
P
106CO 2 16 NH 2
4 HPO 4 108H 2 O C106 H 263 O110 N16 P1 107O 2 14 H (63)
R
38
Nitrate as substrate:
P
106CO 2 16 NO 3 HPO 2
4 122H 2 O + 18H + C106 H 263 O110 N 16 P1 138O 2 (64)
R
Nitrification:
NH 4 2O 2 NO 3 H 2 O 2H (65)
Denitrification:
Note that a number of additional reactions are used in the model such as those involved
with simulating pH and unionized ammonia. These will be outlined when these topics
are discussed later in this document.
The model requires that the stoichiometry of organic matter (i.e., phytoplankton and
detritus) be specified by the user. The following representation is suggested as a first
approximation (Redfield et al. 1963, Chapra 1997),
where gX = mass of element X [g] and mgY = mass of element Y [mg]. The terms D, C,
N, P, and A refer to dry weight, carbon, nitrogen, phosphorus, and chlorophyll a,
respectively. It should be noted that chlorophyll a is the most variable of these quantities
with a range of approximately 500-2000 mgA (Laws and Chalup 1990, Chapra 1997).
gX
rxy (68)
gY
For example, the amount of detritus (in dry weight) that is released due to the death of 1
mgA of phytoplankton can be computed as
100 gD gD
rda 0.1
1000 mgA mgA
The model requires that the rates of oxygen generation and consumption be prescribed. If
ammonia is the substrate, the following ratio (based on Eq. 60) can be used to determine
If nitrate is the substrate, the following ratio (based on Eq. 61) applies
Note that Eq. (60) is also used for the stoichiometry of the amount of oxygen
consumed for plant respiration.
gO 2 5 moleC 12 gC/moleC 1 gN gO 2
rondn 2.67 0.00286 (72)
gC 4 moleN 14 gN/moleN 1000 mgN mgN
The temperature effect for all first-order reactions used in the model is represented by
k (T ) k ( 20) T 20 (73)
where k(T) = the reaction rate [/d] at temperature T [oC] and = the temperature
coefficient for the reaction.
Composite Variables
In addition to the model's state variables, Q2K also displays several composite variables
that are computed as follows:
40
cs c f
TOC rca a p rcd m o (74)
roc
TN no na nn rna a p (75)
TP po pi rpa a p (76)
The model state variables can then be related to these measurements as follows:
s = COND
o = DO
na = NH4
nn = NO2 + NO3
pi = SRP
ap = CHLA
pH = PH
Alk = ALK
Carbonaceous BOD
The interpretation of BOD measurements in natural waters is complicated by three
primary factors:
Filtered versus unfiltered. If the sample is unfiltered, the BOD will reflect
oxidation of both dissolved and particulate organic carbon. Since Q2K
distinguishes between dissolved (cs and cf) and particulate (mo and ap) organics, an
unfiltered measurement alone does not provide an adequate basis for
distinguishing these individual forms. In addition, one component of the
particulate BOD, phytoplankton (ap) can further complicate the test through
photosynthetic oxygen generation.
42
Nitrogenous BOD. Along with the oxidation of organic carbon (CBOD),
nitrification also contributes to oxygen depletion (NBOD). Thus, if the sample (a)
contains reduced nitrogen and (b) nitrification is not inhibited, the measurement
includes both types of BOD.
Incubation time. The model is based on ultimate CBOD, so two approaches are
possible: (1) use a sufficiently long period so that the ultimate value is measured, or (2)
use a 5-day measurement and extrapolate the result to the ultimate. The latter method is
often computed with the formula
CBODFN5
CBODFNU (80)
1 e k1 5
It should be noted that, besides practical considerations of time and expense, there
may be other benefits from using the 5-day measurement with extrapolation, rather that
performing the longer-term CBOD. Although extrapolation does introduce some error,
the 5-day value has the advantage that it would tend to minimize possible nitrification
effects which, even when inhibited, can begin to be exerted on longer time frames.
If all the above provisions are implemented, the result should correspond to the model
variables by
cf + cs = CBODFNU
4
The nomenclature FNU stands for Filtration, Nitrification inhibition and Ultimate
Option 1: Represent all the dissolved, oxidizable organic carbon with a single pool (fast
CBOD). It will still be necessary to specify rate parameters for slow CBOD because the
process of dissolution of particulate organic carbon in detritus contributes to slow CBOD.
If no slow CBOD inputs are entered for headwater, point sources, or nonpoint sources,
then slow CBOD will most likely exert a very minor influence on dissolved oxygen and it
is effectively dropped from the model. For this case,
cf = CBODFNU
cs = 0
Option 2: Use an ultimate CBOD measurement for the fast fraction and compute slow
CBOD by difference with a DOC measurement. For this case,
cf = CBODFNU
cs = rocDOC – CBODFNU
Option 2 works very nicely for systems where two distinct types of CBOD are
present. For example, sewage effluent and autochthonous carbon from the aquatic food
chain might be considered as fast CBOD. In contrast, industrial wastewaters such as pulp
and paper mill effluent or allochthonous DOC from the watershed might be considered
more recalcitrant and hence could be lumped into the slow CBOD fraction. In such case,
the hydrolysis rate converting the slow into the fast fraction could be set to zero to make
the two forms independent, and the cs and cf could each be represented by CBODFNU
data from their respective sources (e.g. for some sources such as municipal wastewaters
the CBODFNU could contribute to cf, and for others such as pulp mill effluents with more
refractory organic carbon their CBODFNU could contribute to cs).
For options 1 and 2, the CBODFNU can either be (a) measured directly using a long
incubation time or (b) computed by extrapolation with Eq. 75. In both situations, a time
frame of several weeks to a month (i.e., a 20- to 30-day CBOD) is probably a valid period
in order to oxidize most of the readily degradable organic carbon. We base this
assumption on the fact that bottle rates for sewage-derived organic carbon are on the
order of 0.05 to 0.3/d (Chapra 1997). As in Figure 17, such rates suggest that much of the
readily oxidizable CBOD will be exerted in about 20 to 30 days.
44
CBOD
CBODu
1 CBODu
0.3/d
0.5 0.1/d
0.05/d
0
0 10 20 30 40 50
time (days)
Figure 17 Progression of CBOD test for various levels of the bottle decomposition rate.
The saprophytic bacteria that break down nonliving organic carbon in natural waters
and sewage thrive best at temperatures from 20°C to 40°C. Thus, a temperature of 30oC is
not high enough that the bacterial assemblage would shift to thermophilic organisms that
are atypical of natural waters and sewage. The benefit should be higher oxidation rates
which would result in shorter analysis times for CBOD measurements. Assuming that a
Q10 2 is a valid approximation for bacterial decomposition, a 20-day BOD at 30oC
should be equivalent to a 30-day BOD at 20oC.
In some cases where available data are very limited and only 5-day BOD (BOD5)
data are available to represent organic carbon, it may be reasonable to use a
simplification of option 1 by assuming that BOD5 is approximately equivalent to of
CBODFN5. If the BOD decay rate constant is assumed to be a typical value of about
-0.23 day-1 (Brown and Barnwell, 1985), then the fast CBOD could be approximated as
about 1.46 X BOD5. A better simple alternative could be to estimate the carbonaceous
fraction of the total BOD5 (CBOD5) from literature summaries or available data and then
estimate the fast CBOD as 1.46 X CBOD5.
Constituent Reactions
Ss = 0 (81)
Phytoplankton (ap)
Phytoplankton increase due to photosynthesis. They are lost via respiration, death, and
settling
Photosynthesis
PhytoPhoto p a p (83)
p k gp (T ) Np Lp (84)
na nn pi [H 2 CO *3 ] [HCO 3 ]
Np min , , (85)
k sNp n a n n k sPp p i k sCp [H 2 CO *3 ] [HCO 3 ]
46
dissolved carbon dioxide concentration [mole/L], and [HCO3] = bicarbonate
concentration [mole/L].
Light Limitation. It is assumed that light attenuation through the water follows the Beer-
Lambert law,
k e k eb i mi o mo p a p pn a 2p / 3 mac ab / H i (87)
where keb = the background coefficient accounting for extinction due to water and
color [/m], i, o, p, pn,, and mac are constants accounting for the impacts of
inorganic suspended solids [L/mgD/m], particulate organic matter [L/mgD/m], and
chlorophyll [L/gA/m and (L/gA)2/3/m], and macrophytes [m3/gD/m], respectively.
Suggested values for these coefficients are listed in Table 6.
5
ly/d = langley per day. A langley is equal to a calorie per square centimeter. Note that a ly/d is related to
the E/m2/d by the following approximation: 1 E/m2/s 0.45 Langley/day (LIC-OR, Lincoln, NE).
Half-saturation
0.5
0
0 100 200 300 400 500
Figure 18 The three models used for phytoplankton and bottom algae photosynthetic light
dependence. The plot shows growth attenuation versus PAR intensity [ly/d].
I ( z)
FLp (88)
K Lp I ( z )
where FLp = phytoplankton growth attenuation due to light and KLp = the
phytoplankton light parameter. In the case of the half-saturation model, the light
parameter is a half-saturation coefficient [ly/d]. This function can be combined with
the Beer-Lambert law and integrated over water depth, H [m], to yield the
phytoplankton light attenuation coefficient
1 K Lp I (0)
Lp ln (89)
k e H K Lp I (0)e ke H
I ( z)
FLp (90)
2
K Lp I ( z) 2
where KLp = the Smith parameter for phytoplankton [ly/d]; that is, the PAR at which
growth is 70.7% of the maximum. This function can be combined with the Beer-Lambert
law and integrated over water depth to yield
1
I (0) / K Lp 1 I (0) / K Lp 2
Lp ln
(91)
Lp
k e H I (0) / K e ke H 1 I (0) / K e ke H
Lp 2
48
I ( z)
1
I ( z) K Lp
(92)
FLp e
K Lp
where KLp = the PAR at which phytoplankton growth is optimal [ly/d]. This function can
be combined with the Beer-Lambert law and integrated over water depth to yield
I ( 0) e k e H
I ( 0)
2.718282 K Lp K Lp
Lp e e (93)
ke H
Losses
PhytoDeath k dp (T ) a p (95)
va
PhytoSettl ap (96)
H
Bottom algae increase due to photosynthesis. They are lost via respiration and death.
Photosynthesis
C gb (T ) C gb ( 20) T 20 (100)
q0 N q0 P [H 2 CO *3 ] [HCO 3 ]
Nb min 1 ,1 , (101)
qN q P k sCb [H 2 CO *3 ] [HCO 3 ]
where qN and qP = the cell quotas of nitrogen [mgN gD1] and phosphorus [mgP gD1],
respectively, q0N and q0P = the minimum cell quotas of nitrogen [mgN gD1] and
phosphorus [mgP gD1], respectively, and , ksCb = inorganic carbon half-saturation
constant for the bottom algae [mole/L]. The minimum cell quotas are the levels of
intracellular nutrient at which growth ceases.
The cell quotas represent the ratios of the intracellular nutrient to the bottom plant’s
dry weight,
IN b
qN (102)
ab
50
IPb
qP (103)
ab
The change in intracellular nitrogen and phosphorus in bottom algal cells is calculated
from
where BotAlgUptakeN and BotAlgUptakeP = uptake rates for nitrogen and phosphorus
in bottom algae (mgN/m2/d and mgP/m2/d), kexcb(T) = the temperature-dependent bottom
algae excretion rate [/d], and BotAlgDeath is the death term for bottom algae (gD/m2/d)
as defined in the Losses subsection below. The N and P uptake rates depend on both
external and intracellular nutrients as in (Rhee 1973),
na nn K qN
BotAlgUptakeN mN ab (106)
k sNb n a n n K qN (q N q 0 N )
pi K qP
BotAlgUptakeP mP ab (107)
k sPb p i K qP (q P q 0 P )
where mN and mP = the maximum uptake rates for nitrogen [mgN/gD/d] and phosphorus
[mgP/gD/d], respectively, ksNb and ksPb = half-saturation constants for external nitrogen
[gN/L] and phosphorus [gP/L], respectively and KqN and KqP = half-saturation
constants for intracellular nitrogen [mgN gD1] and phosphorus [mgP gD1], respectively.
I ( H ) I ( 0) e k e H (108)
As with the phytoplankton, three models (Eqs. 78, 80 and 82) are used to characterize the
impact of light on bottom algae photosynthesis. Substituting Eq. (98) into these
models yields the following formulas for the bottom algae light attenuation
coefficient,
I (0)e ke H
Lb (109)
K Lb I (0)e ke H
I ( 0) e k e H
Lp (110)
2
K Lb
I ( 0) e k e H 2
I (0 ) e ke H
I (0)e ke H 1 K Lb (111)
Lb e
K Lb
where KLb = the appropriate bottom algae light parameter for each light model.
ab
Sb 1
a b, max
Losses
where krb,1(T) = temperature-dependent bottom algae basal respiration rate [/d], krb,2 =
bottom algae photo-respiration respiration rate constant [dimensionless], and Foxb =
attenuation due to low oxygen [dimensionless]. Laws and Chalup (1990) suggest a
typical basal respiration rate (krb,1) of about 0.042 d-1 and a photo-respiration rate constant
(krb,2) of about 0.389, which corresponds to about 39% of the actual growth rate (Chapra,
1997). Oxygen attenuation is modeled by Eqs. (111) to (113) with the oxygen
dependency represented by the parameter Ksob.
52
Death. Bottom algae death is represented as a first-order rate,
BotAlgDeath k db (T ) ab (113)
Detritus (mo)
Detritus or particulate organic matter (POM) increases due to plant death. It is lost via
dissolution and settling
where
v dt
DetrSettl mo (116)
H
Slowly reacting CBOD increases due to detritus dissolution. It is lost via hydrolysis.
where
SlowCHydr k hc (T )c s (118)
where khc(T) = the temperature-dependent slow CBOD hydrolysis rate [/d], kdcs(T) = the
temperature-dependent fast CBOD oxidation rate [/d] and Foxcf = attenuation due to low
oxygen [dimensionless].
Ast ,i
S cf SlowCHydr FastCOxid rondn Denitr J CH4,d (120)
Vi
where
where kdc(T) = the temperature-dependent fast CBOD oxidation rate [/d] and Foxcf =
attenuation due to low oxygen [dimensionless]. The parameter rondn is the ratio of oxygen
equivalents lost per nitrate nitrogen that is denitrified (Eq. 69). The term Denitr is the rate
of denitrification [gN/L/d] defined in a later section. The term JCH4,d is the sediment flux
of dissolved methane in oxygen equivalents (gO2/m2/d) as described in a later section.
Half-Saturation:
o
Foxrp (122)
K socf o
where Ksocf = half-saturation constant for the effect of oxygen on fast CBOD oxidation
[mgO2/L].
Exponential:
K socf o
Foxrp (1 e ) (123)
where Ksocf = exponential coefficient for the effect of oxygen on fast CBOD oxidation
[L/mgO2].
o2
Foxrp (124)
K socf o 2
where Ksocf = half-saturation constant for second-order effect of oxygen on fast CBOD
oxidation [mgO22/L2].
Organic nitrogen increases due to plant death. It is lost via hydrolysis and settling.
54
S no rna PhytoDeath q N BotAlgDeath ONHydr ONSettl (125)
ONHydr k hn (T )n o (126)
v on
ONSettl no (127)
H
where kn(T) = the temperature-dependent nitrification rate for ammonia nitrogen [/d] and
Foxna = attenuation due to low oxygen [dimensionless]. Oxygen attenuation is modeled by
Eqs. (111) to (113) with the oxygen dependency represented by the parameter Ksona.
The coefficients Pap and Pab are the preferences for ammonium as a nitrogen source
for phytoplankton and bottom algae, respectively,
na nn n a k hnxp
Pap (130)
(k hnxp n a )(k hnxp n n ) (n a n n )(k hnxp n n )
na nn n a k hnxb
Pab (131)
(k hnxb n a )( k hnxb n n ) (n a n n )(k hnxb n n )
where khnxp = preference coefficient of phytoplankton for ammonium [mgN/m3] and khnxb =
preference coefficient of bottom algae for ammonium [mgN/m3].
The term JNH4 is the sediment flux of ammonia as described in a later section.
Unionized Ammonia
The model simulates total ammonia. In water, the total ammonia consists of two forms:
ammonium ion, NH4+, and unionized ammonia, NH3. At normal pH (6 to 8), most of the
total ammonia will be in the ionic form. However at high pH, unionized ammonia
predominates. The amount of unionized ammonia can be computed as
nau Fu na (132)
where nau = the concentration of unionized ammonia [gN/L], and Fu = the fraction of the
total ammonia that is in unionized form,
1
Fu pH (133)
1 10 Ka
where Ka = the equilibrium coefficient for the ammonia dissociation reaction, which is
related to temperature by
2729.92
pK a 0.09018 (134)
Ta
Nitrate nitrogen increases due to nitrification of ammonia. It is lost via denitrification and
plant photosynthesis:
56
where kdn(T) = the temperature-dependent denitrification rate of nitrate nitrogen [/d] and
Foxdn = effect of low oxygen on denitrification [dimensionless] as modeled by Eqs. (111)
to (113) with the oxygen dependency represented by the parameter Ksodn.
The fraction of N uptake from the water column by bottom plants is described by
NUpWCfrac. For periphyton, the value of NUpWCfrac is 1 since 100% of their nutrient
uptake occurs from the water column. For macrophytes the value of NUpWCfrac may be
less than 1.
The term JNO3 is the sediment flux of nitrate (mgN/m2/d) as described in a later section.
Organic phosphorus increases due to plant death. It is lost via hydrolysis and settling.
OPHydr k hp (T ) p o (138)
v op
OPSettl po (139)
H
where
The fraction of P uptake from the water column by bottom plants is described by
PUpWCfrac. For periphyton, the value of PUpWCfrac is 1 since 100% of their nutrient
uptake occurs from the water column. For macrophytes the value of PUpWCfrac may be
less than 1.
The term JPO4 is the sediment flux of inorganic P (mgP/m2/d) as defined in a later section.
Smi = – InorgSettl
where
vi
InorgSettl mi (142)
H
Dissolved oxygen increases due to plant photosynthesis. It is lost via fast and slow
CBOD oxidation, nitrification and plant respiration, and oxidation of non-carbonaceous
non-nitrogenous chemical oxygen demand (COD). Depending on whether the water is
undersaturated or oversaturated it is gained or lost via reaeration,
Ast ,i
S o roa (PhytoPhoto - PhytoResp) ro d (BotAlgPhoto - BotAlgResp)
Vi
Ast ,i
roc FastCOxid roc SlowCOxid ron NH4Nitr OxReaer CODoxid SOD
Vi
(143)
where
where ka(T) = the temperature-dependent oxygen reaeration coefficient [/d], os(T, elev) =
the saturation concentration of oxygen [mgO2/L] at temperature, T, and elevation above
58
sea level, elev. The term CODoxid is the COD oxidation (mgO2/L/d) as defined in the
section below on the generic constituent. SOD is the sediment oxygen demand [gO2/m2/d]
as described in a later section.
Oxygen Saturation
Reaeration Formulas
The reaeration coefficient (at 20 oC) can be prescribed on the Reach Worksheet. If
reaeration is not prescribed (that is, it is blank or zero for a particular reach), it is computed
as a function of the river’s hydraulics and (optionally) wind velocity,
K Lw (20)
k a ( 20) k ah ( 20) (147)
H
where kah(20) = the reaeration rate at 20 oC computed based on the river’s hydraulic
characteristics [d1], KL(20) = the reaeration mass-transfer coefficient based on wind
velocity [m/d], and H = mean depth [m].
Hydraulic-based Formulas:
U 0.5
k ah (20) 3.93 (148)
H 1.5
where U = mean water velocity [m/s] and H = mean water depth [m].
U
k ah ( 20) 5.026 (149)
H 1.67
U 0.67
k ah ( 20) 5.32 (150)
H 1.85
U*
k ah ( 20) 2.16(1 9 F 0.25 ) (153)
H
where U* = shear velocity [m/s], and F = the Froude number [dimensionless]. The shear
velocity and the Froude number are defined as
U* gR h S (154)
and
U
F (155)
gH d
Ac
Hd (156)
Bt
60
USGS (Pool-riffle) (Melching and Flores 1999):
Reaeration can also be internally calculated based on the following scheme patterned
after a plot developed by Covar (1976) (Figure 19):
This is referred to as option Internal on the Rates Worksheet of Q2K. Note that if no
option is specified, the Internal option is the default.
Churchill
Depth (m)
0.5
1
1 2
5
10
20
50
100 Owens
Gibbs
0.1
0.1 1
Velocity (mps)
Figure 19 Reaeration rate (/d) versus depth and velocity (Covar 1976).
Wind-based Formulas:
Three options are available to incorporate wind effects into the reaeration rate: (1) it can
be omitted, (2) the Banks-Herrera formula and (3) the Wanninkhof formula.
where Uw,10 = wind speed measured 10 meters above the water surface [m s1]
1.64
K lw 0.0986U w ,10 (162)
Note that the model uses Eq. (50) to correct the wind velocity entered on the
Meteorology Worksheet (7 meters above the surface) so that it is scaled to the 10-m
height.
62
where rd = the ratio of the deficit above and below the dam, Hd = the difference in water
elevation [m] as calculated with Eq. (7), T = water temperature (C) and ad and bd are
coefficients that correct for water-quality and dam-type.
Values of ad and bd are summarized in Table 7. At present, Q2K uses the following
values for these coefficients: ad = 1.25 and bd = 0.9.
Qi1 oi1
Hd Qi1 o’i1
i1 i
Table 7 Coefficient values used to predict the effect of dams on stream reaeration.
The oxygen mass balance for the reach below the structure is written as
where o’i1 = the oxygen concentration entering the reach [mgO2/L], where
o s ,i 1 oi 1
o' i 1 o s ,i 1 (165)
rd
Pathogen (x)
Death
Pathogen death is due to natural die-off and light (Chapra 1997). The death of pathogens
in the absence of light is modeled as a first-order temperature-dependent decay and the
death rate due to light is based on the Beer-Lambert law,
PathDeath k dx (T ) x path
I (0) / 24
ke H
1 e ke H x (167)
where kdx(T) = temperature-dependent pathogen die-off rate [/d] and αpath is a constant for
the light-induced mortality (day-1 per ly/hour). Thomann and Mueller (1987) suggest that
αpath is a approximately unity.
Settling
vx
PathSettl x (168)
H
A generic constituent is available for optional use. The user has the option of either
assuming that the generic constituent has no interaction with other state variables, or it
can be treated as a non-carbonaceous non-nitrogenous chemical oxygen demand (COD).
The generic constituent is also subject to first-order decay and settling,
64
v gen
S gen k gen (T ) gen gen (169)
H
where kgen(T) = temperature-dependent decay rate [/d] and vgen = settling velocity [m/d].
If the generic constituent is used as COD, then the COD oxidation rate (mgO2/L/d) is
determined by
pH
[HCO 3 ][H ]
K1 (171)
[ H 2 CO *3 ]
K w [ H ][OH ] (173)
where K1, K2 and Kw are acidity constants, Alk = alkalinity [eq L1], H2CO3* = the sum of
dissolved carbon dioxide and carbonic acid, HCO3 = bicarbonate ion, CO32 = carbonate
ion, H+ = hydronium ion, OH = hydroxyl ion, and cT = total inorganic carbon
concentration [mole L1]. The brackets [ ] designate molar concentrations.
Note that the alkalinity is expressed in units of eq/L for the internal calculations. For
input and output, it is expressed as mgCaCO3/L. The two units are related by
The nonlinear system of five simultaneous equations (158 through 162) can be solved
numerically for the five unknowns: [H2CO3*], [HCO3], [CO32], [OH], and {H+}. An
efficient solution method can be derived by combining Eqs. (158), (159) and (161) to
define the quantities (Stumm and Morgan 1996)
[H ] 2
0 (180)
[H ] 2 K1[H ] + K1 K 2
K1 [H ]
1 (181)
[H ] 2 K1 [H ] + K1 K 2
K1 K 2
2 (182)
[H ] 2 K1[H ] + K1 K 2
where 0, 1, and 2 = the fraction of total inorganic carbon in carbon dioxide,
bicarbonate, and carbonate, respectively. Equations (160), (162), (168) and (169) can
then be combined to yield,
Kw
Alk = ( 1 2 2 )cT
[H ] (183)
[H ]
Kw
f ([H ]) = ( 1 2 2 )cT
[H ] Alk (184)
[H ]
pH log10 [ H ] (185)
66
The root of Eq. (155) is determined with a numerical method. The user can choose
either the Newton-Raphson or the bisection method (Chapra and Canale 2002) as
specified on the QUAL2K sheet. The Newton-Raphson is faster and is the default
method. However, it can sometimes diverge. In such cases, because it is more stable, the
bisection method would be preferable.
Total inorganic carbon concentration increases due to fast carbon oxidation and plant
respiration. It is lost via plant photosynthesis. Depending on whether the water is
undersaturated or oversaturated with CO2, it is gained or lost via reaeration,
where
CO2Reaer k ac (T ) [CO 2 ] s 0 cT
(187)
where kac(T) = the temperature-dependent carbon dioxide reaeration coefficient [/d], and
[CO2]s = the saturation concentration of carbon dioxide [mole/L].
gC moleC m3
rcca rca (188)
mgA 12 gC 1000 L
gC moleC m3
rccd rcd (189)
gD 12 gC 1000 L
1 gC moleC m3
rcco (190)
roc gO 2 12 gC 1000 L
6
The conversion, m3 = 1000 L is included because all mass balances express volume in m3, whereas total
inorganic carbon is expressed as mole/L.
where KH = Henry's constant [mole (L atm)1] and pCO2 = the partial pressure of carbon
dioxide in the atmosphere [atm]. Note that the partial pressure is input on the Rates
Worksheet in units of ppm. The program internally converts ppm to atm using the
conversion: 106 atm/ppm.
2385.73
pK H = 0.0152642Ta 14.0184 (192)
Ta
The partial pressure of CO2 in the atmosphere has been increasing, largely due to the
combustion of fossil fuels (Figure 21). Values in 2003 are approximately 103.43 atm (=
372 ppm).
The CO2 reaeration coefficient can be computed from the oxygen reaeration rate by
68
0.25
32
k ac ( 20) k a ( 20) 0.923 k a (20) (193)
44
As was the case for dissolved oxygen, carbon dioxide gas transfer in streams can be
influenced by the presence of control structures. Q2K assumes that carbon dioxide
behaves similarly to dissolved oxygen (recall Sec. ). Thus, the inorganic carbon mass
balance for the reach immediately downstream of the structure is written as
where c'T,i1 = the concentration of inorganic carbon entering the reach [mgO2/L], where
CO2, s ,i 1 0 cT ,i 1
c'T ,i 1 ( 1 2 )cT ,i 1 CO2,s ,i 1 (195)
rd
Alkalinity (Alk)
The present model accounts for changes in alkalinity due to plant photosynthesis and
respiration, nitrogen and phosphorus hydrolysis, nitrification, and denitrification.
where the r’s are ratios that translate the processes into the corresponding amount of
alkalinity. The stoichiometric coefficients are derived from Eqs. (60) through (63) as in
gC 14 eqH moleC m3
ralkaa rca (197)
mgA 106 moleC 12 gC 1000 L
gC 18 eqH moleC m3
ralkan rca (198)
mgA 106 moleC 12 gC 1000 L
16 eqH moleN gN m3
ralkbn (199)
16 moleN 14 gN 1000 mgN 1000 L
2 eqH moleP gP m3
ralkbp (200)
1 moleP 31 gP 1000 mgP 1000 L
Nitrification:
2 eqH moleN 1 gN 1 m3
ralkn (201)
1 moleN 14 gN 1000 mgN 1000 L
Denitrification:
4 eqH moleN 1 gN 1 m3
ralkden (202)
1 moleN 14 gN 1000 mgN 1000 L
The mathematical relationships that describe the individual reactions and concentrations
of the model state variables (Table 5) for Level 1 simulation of water quality constituents
in the hyporheic pore water are presented in the following paragraphs.
Ss,2 = 0 (203)
Phytoplankton (ap)
70
Phytoplankton are lost via respiration and death. The net gain or loss in the hyporheic
sediment zone (Sap,2) is calculated as
Losses
where krp(T) = temperature-dependent phytoplankton respiration rate [/d] (Ti,2 is used for
temperature adjustment of all rates in the hyporheic sediment zone of a reach) and Foxrp,2
= attenuation in the hyporheic zone due to low oxygen. Three formulations are used to
represent the oxygen attenuation (o2 is used to determine oxygen attenuation in the
hyporheic pore water zone).
PhytoDeath 2 k dp (T ) a p , 2 (206)
The Level 1 option of Q2K does not include simulation of the biofilm of heterotrophic
bacteria (aerobic bacteria) as a state variable. Instead, the net growth of attached
heterotrophic bacteria is estimated from the input of either a zero-order or first-order
oxidation rate of fast-reacting CBOD that is attenuated by temperature, dissolved oxygen,
and fast-reacting CBOD concentrations. The Rates sheet of Q2K allows the user to select
either a zero-order or first-order oxidation rate model, and specify the appropriate zero-
order or first-order oxidation rates. If a zero-order oxidation rate is selected on the Rates
sheet, then the following equation represents the net growth rate of heterotrophic
bacteria:
If a first-order oxidation rate is specified on the Rates sheet, then the following equation
is used to represent the net growth rate of heterotrophic bacteria:
V2 ,i
HeteroGrow k gh (T ) Nh c f , 2 rdo (208)
Ast ,i
where kgh(T) = the maximum oxidation rate of fast-reacting CBOD at temperature T due
to the net growth of attached heterotrophic bacteria [d-1], and Nh = the attenuation factor
due to the concentration of fast-reacting CBOD and dissolved oxygen [dimensionless
number between 0 and 1], cf,2 is the concentration of fast-reacting CBOD in the hyporheic
pore water [gO2/m3], rdo is the stoichiometric ratio between dry weight and oxygen
equivalents [g dry weight/gO2], V2,i is the volume of hyporheic pore water in reach i [m3],
and Ast,i is the surface area of reach i [m2].
Temperature Effect. As for the first-order reactions described in the water column
section on Temperature Effects on Reactions, an Arrhenius model is employed to
quantify the effect of temperature if a zero-order oxidation model is selected:
Nutrient and Substrate Limitation. Michaelis-Menten equations are used to represent the
attenuation of oxidation due to fast-reacting CBOD. Three formulations are used to
represent the oxygen attenuation (o2 is used to determine oxygen attenuation in the
hyporheic zone). The minimum value is then used to compute the nutrient attenuation
coefficient,
c f ,2
Nh min , Foxrh (210)
k c
sCh f ,2
where ksNh = nitrogen half-saturation constant [gN/L] and ksPh = phosphorus half-
saturation constant [gP/L], k sCh = fast-reacting dissolved CBOD half-saturation
constant (mgO2/L), and Foxrh = the oxygen attenuation factor [dimensionless number
between 0 and 1].
Detritus (mo)
Detritus or particulate organic matter (POM) increases due to phytoplankton death. It is
lost from the hyporheic pore water via dissolution. The net gain or loss from the
hyporheic sediment zone (Smo,2) is calculated as
72
where
DetrDiss 2 k dc (T ) mo , 2 (212)
where
where khc(T) = the temperature-dependent slow CBOD hydrolysis rate [/d], kdcs(T) = the
temperature-dependent fast CBOD oxidation rate [/d] and Foxcf = attenuation due to low
oxygen [dimensionless].
Fast-reacting CBOD is gained via the hydrolysis of slowly-reacting CBOD. It is lost via
oxidation by suspended bacteria, oxidation from the net growth of the biofilm of
heterotrophic bacteria, and denitrification. The net gain or loss from the hyporheic
sediment zone (Scf,2) is calculated as
Ast ,i
S cf , 2 SlowCHydr2 FastCOxid 2 rod HeteroGrow rondn Denitr2 (216)
V2,i
where kcf(T) = the temperature-dependent fast carbon oxidation rate [/d] and Foxcf =
attenuation due to low oxygen [dimensionless]. Oxygen attenuation (Foxcf) is represented
with the oxygen dependency represented by the parameter Ksocf with o2 in the hyporheic
zone. The parameter rondn is the ratio of oxygen equivalents of carbon lost per nitrate
nitrogen that is denitrified. The term Denitr is the rate of denitrification [gN/L/d]. It
will be defined in the water column section on Nitrate Nitrogen.
where kna(T) = the temperature-dependent nitrification rate for ammonia nitrogen [/d] and
c f ,2
Denitr2 (1 Foxdn , 2 ) k dn (T ) nn , 2 (223)
0.1 c f , 2
where kdn(T) = the temperature-dependent denitrification rate of nitrate nitrogen [/d] and
Foxdn = effect of low oxygen on denitrification [dimensionless] as modeled with the
oxygen dependency represented by the parameter Ksodn.
74
Organic Phosphorus (po)
Organic phosphorus increases due to dissolution of detritus. It is lost via hydrolysis. The
net gain or loss for the hyporheic sediment zone (Spo,2) is calculated as
where
OPHydr2 k hp (T ) p o , 2 (225)
Ast ,i
S o , 2 SlowCOxid 2 FastCOxid 2 rod HeteroGrow
V2,i
ron NH4Nitr2 roa PhytoResp 2 CODoxid 2
(227)
The term CODoxid2 is the COD oxidation (mgO2/L/d) as defined in the section below on
the generic constituent.
Pathogen (x)
Pathogens are subject to death in the hyporheic sediment zone. The loss in the hyporheic
zone (Sx,2) is computed as
S x , 2 PathDeath 2 (228)
PathDeath 2 k dx (T ) x2 (229)
A generic constituent is available for optional use. The user has the option of either
assuming that the generic constituent has no interaction with other state variables, or it
can be treated as a non-carbonaceous non-nitrogenous chemical oxygen demand (COD).
The generic constituent is also subject to first-order decay and settling in the hyporheic
zone,
If the generic constituent is used as COD, then the COD oxidation rate (mgO2/L/d) is
determined by
pH
The equilibrium, mass balance, and electroneutrality equations described in the water
column section on pH are used to determine the pH in the hyporheic pore water.
The stoichiometric coefficients are derived in the water column section on Total
Inorganic Carbon.
76
Alkalinity (Alk)
Changes in alkalinity in the hyporheic zone are due to phytoplankton respiration,
nitrification, and denitrification. The net gain or loss for the hyporheic sediment zone
(Salk,2) is calculated as
where the r’s are ratios that translate the processes into the corresponding amount of
alkalinity. The stoichiometric coefficients are derived the water column section on in
Alkalinity.
The organic matter in the hyporheic zones can be attributed to three main pools: plant
tissue, biofilm, and sediment fauna (Spacil and Rulik, 1997). Biofilms of heterotrophic
bacteria typically make up most of the biomass of the hyporheic community (Leichtfried,
1988, 1991). The growth of heterotrophic biofilms involves the consumption of organic
carbon, uptake of nutrients and dissolved oxygen, and excretion of inorganic carbon.
Endogenous respiration of heterotrophic organisms involves uptake of dissolved oxygen
and excretion of nutrients. Death of heterotrophic organisms contributes to the detritus
(POM) in the ecosystem.
The Level 2 option in Q2K includes simulation of heterotrophic bacteria biofilm growth
(zero-order or first-order), respiration, and death, with attenuation of growth from
temperature, DOC, dissolved oxygen, ammonia, nitrate, and inorganic phosphorus. The
Level 2 option simulates the biofilm concentration of heterotrophic bacteria in the
hyporheic zone as a state variable.
Ss,2 = 0 (234)
Phytoplankton (ap)
Phytoplankton are lost via respiration and death. The net gain or loss in the hyporheic
sediment zone (Sap,2) is calculated as
Losses
where krp(T) = temperature-dependent phytoplankton respiration rate [/d] (Ti,2 is used for
temperature adjustment of all rates in the hyporheic sediment zone of a reach) and Foxrp,2
= attenuation in the hyporheic zone due to low oxygen. Three formulations are used to
represent the oxygen attenuation (o2 is used to determine oxygen attenuation in the
hyporheic zone).
PhytoDeath 2 k dp (T ) a p , 2 (237)
78
bacteria utilizes oxygen in their growth and respiration and represents a diverse cross-
section of microorganisms. They are lost via respiration and death.
Growth
If a first-order growth rate is specified on the Rates sheet, then the following equation is
used to represent growth:
where khb(T) = the maximum growth rate of the biofilm of heterotrophic bacteria at
temperature T [d-1], and Nh = the heterotrophic bacteria nutrient/substrate attenuation
factor [dimensionless number between 0 and 1], and Sh = biofilm space limitation
attenuation factor.
Temperature Effect. As for the first-order reactions described in the water column
section on Temperature Effects on Reactions, an Arrhenius model is employed to
quantify the effect of temperature if a zero-order growth model is selected:
where ksNh = nitrogen half-saturation constant [gN/L] and ksPh = phosphorus half-
saturation constant [gP/L], k sCh = fast-reacting CBOD half-saturation constant
(mgO2/L), and Foxrh = the oxygen attenuation factor [dimensionless number between 0 and
1].
ah
Sh 1
a h ,max
Losses
where krh(T) = temperature-dependent heterotrophic bacteria respiration rate [/d] and Foxrh
= attenuation due to low oxygen [dimensionless].
HeteroDeath k dh (T ) ah (244)
Detritus (mo)
Detritus or particulate organic matter (POM) increases due to plant or bacteria death. It is
lost from the hyporheic pore water via dissolution. The net gain or loss from the
hyporheic sediment zone (Smo,2) is calculated as
Ast ,i
S mo , 2 rda PhytoDeath 2 HeteroDeath DetrDiss 2 (245)
V2,i
where
80
DetrDiss 2 k dc (T ) mo , 2 (246)
where
where khc(T) = the temperature-dependent slow CBOD hydrolysis rate [/d], kdcs(T) = the
temperature-dependent fast CBOD oxidation rate [/d] and Foxcf = attenuation due to low
oxygen [dimensionless].
Fast-reacting carbon is gained via the hydrolysis of slowly-reacting carbon. It is lost via
oxidation by suspended bacteria, oxidation from the growth of the biofilm of
heterotrophic bacteria, and denitrification. The net gain or loss from the hyporheic
sediment zone (Scf,2) is calculated as
Ast ,i
S cf , 2 SlowCHydr2 FastCOxid 2 rod HeteroGrow rondn Denitr2 (250)
V2,i
where kcf(T) = the temperature-dependent fast carbon oxidation rate [/d] and Foxrh =
attenuation due to low oxygen [dimensionless]. The parameter rondn is the ratio of oxygen
equivalents of carbon lost per nitrate nitrogen that is denitrified. The term Denitr is the
rate of denitrification [gN/L/d]. It will be defined Nitrate Nitrogen.
Organic nitrogen increases due to detritus dissolution. It is lost via hydrolysis. The net
gain or loss from the hyporheic sediment zone (Sno,2) is calculated as
ONHydr2 k hn (T )n o , 2 (253)
where kna(T) = the temperature-dependent nitrification rate for ammonia nitrogen [/d] and
The coefficient Pah is the preferences for ammonium as a nitrogen source for
heterotrophic bacteria:
na , 2 nn , 2 na , 2 k hnxh
Pah (256)
(k hnxh na , 2 )(k hnxh nn , 2 ) (na , 2 nn , 2 )(k hnxh nn , 2 )
Ast ,i
S nn, 2 NH4Nitrif 2 Denitr2 rnd (1 Pah ) HeteroGrow (257)
V2 ,i
82
The denitrification rate is computed as
c f ,2
Denitr2 (1 Foxdn , 2 ) k dn (T ) nn , 2 (258)
0.1 c f , 2
where kdn(T) = the temperature-dependent denitrification rate of nitrate nitrogen [/d] and
Foxdn = effect of low oxygen on denitrification [dimensionless] as modeled by Eqs. (82) to
(84) with the oxygen dependency represented by the parameter Ksodn.
where
OPHydr2 k hp (T ) p o , 2 (260)
Inorganic phosphorus in the hyporheic sediment zone increases due to dissolved organic
phosphorus hydrolysis and respiration of phytoplankton and heterotrophic bacteria. It is
lost via growth of heterotrophic bacteria. The net gain or loss in the hyporheic sediment
zone (Spi,2) is calculated as
Ast ,i
S pi, 2 OPHydr2 rpa PhytoResp 2 rpd [HeteroResp HeteroGrow] (261)
V 2 ,i
Dissolved oxygen is lost via oxidation of fast and slow CBOD by suspended bacteria, and
growth and respiration of heterotrophic bacteria. It is also lost due to nitrification,
phytoplankton respiration, and oxidation of non-carbonaceous non-nitrogenous chemical
oxygen demand (COD). The loss of dissolved oxygen from the hyporheic sediment zone
(So,2) is calculated as
Ast ,i
S o , 2 SlowCOxid 2 FastCOxid 2 [ro d HeteroGrow rod HeteroResp]
V 2 ,i (262)
ron NH4Nitr2 roa PhytoResp2 CODoxid 2
Pathogen (x)
Pathogens are subject to death in the hyporheic sediment zone. The loss in the hyporheic
zone (Sx,2) is computed as
S x , 2 PathDeath 2 (263)
Pathogen death is due to natural die-off. The death of pathogens in the absence of light is
modeled as a first-order temperature-dependent decay,
PathDeath 2 k dx (T ) x2 (264)
A generic constituent is available for optional use. The user has the option of either
assuming that the generic constituent has no interaction with other state variables, or it
can be treated as a non-carbonaceous non-nitrogenous chemical oxygen demand (COD).
The generic constituent is also subject to first-order decay and settling in the hyporheic
zone,
If the generic constituent is used as COD, then the COD oxidation rate (mgO2/L/d) is
determined by
pH
The equilibrium, mass balance, and electroneutrality equations described in the water
column section on pH are used to determine the pH in the hyporheic pore water.
84
Total inorganic carbon concentration (cT) increases due to fast carbon oxidation from
suspended bacteria and the growth and respiration of heterotrophic bacteria. It is also
gained due to the respiration of phytoplankton. The net gain in the hyporheic sediment
zone (ScT,2) is calculated as
The stoichiometric coefficients are derived in the water column section on Total
Inorganic Carbon.
Alkalinity (Alk)
where the r’s are ratios that translate the processes into the corresponding amount of
alkalinity. The stoichiometric coefficients are derived from in the water column section
on Alkalinity.
Automatic calibration
Q2K uses a genetic algorithm to determine the optimum values for the kinetic rate
parameters for the model state variables in Table 5. Pelletier et al. (2006) describe the
genetic algorithm in Q2K.
Genetic algorithms are a class of search techniques that can be used to construct
numerical optimization techniques. The genetic algorithm used in Q2K is the public
domain subroutine PIKAIA (Charbonneau and Knapp, 1995). The genetic algorithm
finds the set of selected kinetic rate parameters that maximize the goodness of fit of the
model results compared with measured data. Detailed documentation of the PIKAIA
algorithm is available in Charbonneau and Knapp (1995) and the PIKAIA Web site at the
following link:
http://www.hao.ucar.edu/public/research/si/pikaia/pikaia.html
The genetic algorithm carries out its maximization task on a user-selected number of
model runs to define a population. This population size remains constant throughout the
A schematic of the model is depicted in Figure 22. As can be seen, the approach
allows oxygen and nutrient sediment-water fluxes to be computed based on the
downward flux of particulate organic matter from the overlying water. The sediments are
divided into 2 layers: a thin ( 1 mm) surface aerobic layer underlain by a thicker (10 cm)
lower anaerobic layer. Organic carbon, nitrogen and phosphorus are delivered to the
anaerobic sediments via the settling of particulate organic matter (i.e., phytoplankton and
detritus). There they are transformed by mineralization reactions into dissolved methane,
ammonium and inorganic phosphorus. These constituents are then transported to the
aerobic layer where some of the methane and ammonium are oxidized. The flux of
oxygen from the water required for these oxidations is the sediment oxygen demand. The
following sections provide details on how the model computes this SOD along with the
sediment-water fluxes of carbon, nitrogen and phosphorus that are also generated in the
process.
WATER
Jpom cf o na o nn pi
AEROBIC
CH4(gas)
POC
ANAEROBIC
86
Figure 22 Schematic of SOD-nutrient flux model of the sediments.
Diagenesis
As summarized in Figure 23, the first step in the computation involves determining
how much of the downward flux of particulate organic matter (POM) is converted into
soluble reactive forms in the anaerobic sediments. This process is referred to as
diagenesis. First the total downward flux is computed as the sum of the fluxes of
phytoplankton and detritus settling from the water column
where JPOM = the downward flux of POM [gD m2 d1], rda = the ratio of dry weight to
chlorophyll a [gD/mgA], va = phytoplankton settling velocity [m/d], ap = phytoplankton
concentration [mgA/m3], vdt = detritus settling velocity [m/d], and mo = detritus
concentration [gD/m3].
JPOC, G1 JC, G1
vaap vdtmo POC2,G1
fG1
JC
rda JPOC JPOC, G2 JC, G2
fG2 POC2,G2
fG3
JPOM roc JPOC, G3 POC2,G3
rcd JN, G1
JPON, G1 PON2,G1
fG1 JN
JN, G2
rnd JPON fG2 JPON, G2 PON2,G2
fG3
JPON, G3 PON2,G3
rpd
JP, G1
JPOP, G1 POP2,G1
fG1 JP
JP, G2
JPOP fG2 JPOP, G2 POP2,G2
fG3
JPOP, G3 POP2,G3
Stoichiometric ratios are then used to divide the POM flux into carbon, nitrogen and
phosphorus. Note that for convenience, we will express the particulate organic carbon
(POC) as oxygen equivalents using the stoichiometric coefficient roc. Each of the nutrient
These fluxes are then entered into mass balances to compute the concentration of
each fraction in the anaerobic layer. For example, for labile POC, a mass balance is
written as
dPOC2,G1 T 20
H2 J POC ,G1 k POC ,G1 POC ,G1 H 2 POC 2 ,G1 w2 POC 2 ,G1 (270)
dt
where H2 = the thickness of the anaerobic layer [m], POC2,G1 = the concentration of the
labile fraction of POC in the anaerobic layer [gO2/m3], JPOC,G1 = the flux of labile POC
delivered to the anaerobic layer [gO2/m2/d], kPOC,G1 = the mineralization rate of labile POC
[d1], POC,G1 = temperature correction factor for labile POC mineralization
[dimensionless], and w2 = the burial velocity [m/d]. At steady state, Eq. 191 can be solved
for
J POC ,G1
POC 2,G1 T 20 (271)
k POC ,G1 POC ,G1 H 2 v b
The flux of labile dissolved carbon, JC,G1 [gO2/m2/d], can then be computed as
T 20
J C ,G1 k POC ,G1 POC ,G1 H 2 POC 2 ,G1 (272)
In a similar fashion, a mass balance can be written and solved for the slowly reacting
dissolved organic carbon. This result is then added to Eq. 193 to arrive at the total flux of
dissolved carbon generated in the anaerobic sediments.
J C J C ,G1 J C ,G 2 (273)
Ammonium
Based on the mechanisms depicted in Figure 22, mass balances can be written for total
ammonium in the aerobic layer and the anaerobic layers,
88
dNH 4,1
H1
dt
12 f pa 2 NH 4, 2 f pa1 NH 4,1 K L12 f da 2 NH 4, 2 f da1 NH 4,1 w2 NH 4,1
NH 4,1 T 20
2
n K NH 4 o
s a f da1 NH 4,1 NH 4 f da1 NH 4,1
1000 s K NH 4 NH 4,1 2 K NH 4,O 2 o
(274)
dNH 4, 2
H2
dt
J N 12 f pa1 NH 4,1 f pa 2 NH 4, 2 K L12 f da1 NH 4,1 f da 2 NH 4, 2
(275)
w2 NH 4,1 NH 4, 2
where H1 = the thickness of the aerobic layer [m], NH4,1 and NH4,2 = the concentration of
total ammonium in the aerobic layer and the anaerobic layers, respectively [gN/m3], na =
the ammonium concentration in the overlying water [mgN/m3], NH4,1 = the reaction
velocity for nitrification in the aerobic sediments [m/d], NH4 = temperature correction
factor for nitrification [dimensionless], KNH4 = ammonium half-saturation constant
[gN/m3], o = the dissolved oxygen concentration in the overlying water [gO2/m3], and
KNH4,O2 = oxygen half-saturation constant [mgO2/L], and JN = the diagenesis flux of
ammonium [gN/m2/d].
The fraction of ammonium in dissolved (fdai) and particulate (fpai) form are computed
as
1
f dai (276)
1 mi ai
where mi = the solids concentration in layer i [gD/m3], and ai = the partition coefficient
for ammonium in layer i [m3/gD].
The mass transfer coefficient for particle mixing due to bioturbation between the
layers, 12 [m/d], is computed as
T 20
D p Dp POC 2 ,G1 / roc o
12 (278)
H2 POC R K M , Dp o
The mass transfer coefficient for pore water diffusion between the layers, KL12 [m/d],
is computed as,
where Dd = pore water diffusion coefficient [m2/d], and Dd = temperature coefficient
[dimensionless].
The mass transfer coefficient between the water and the aerobic sediments, s [m/d], is
computed as
SOD
s (280)
o
At steady state, Eqs. 195 and 196 are two simultaneous nonlinear algebraic equations.
The equations can be linearized by assuming that the NH4,1 term in the Monod term for
nitrification is constant. The simultaneous linear equations can then be solved for NH4,1
and NH4,2. The flux of ammonium to the overlying water can then be computed as
n
J NH 4 s f da1 NH 4,1 a (281)
1000
Nitrate
Mass balances for nitrate can be written for the aerobic and anaerobic layers as
dNO3,1 n
H1 K L12 NO3, 2 NO3,1 w2 NO3,1 s n NO3,1
dt 1000
NH 4,1 T 20
2
K NH 4 o NO
2
3,1 T 20
NH 4 f da1 NH 4,1 NO3 NO3,1
s K NH 4 NH 4,1 2 K NH 4,O 2 o s
(282)
dNO3, 2
H2 J N K L12 NO3,1 NO3, 2 w2 NO3,1 NO3,2 NO 3, 2 NO
T 20
3 NO3, 2 (283)
dt
where NO3,1 and NO3,2 = the concentration of nitrate in the aerobic layer and the anaerobic
layers, respectively [gN/m3], nn = the nitrate concentration in the overlying water
[mgN/m3], NO3,1 and NO3,2 = the reaction velocities for denitrification in the aerobic and
anaerobic sediments, respectively [m/d], and NO3 = temperature correction factor for
denitrification [dimensionless].
90
In the same fashion as for Eqs. 195 and 196, Eqs. 203 and 204 can be linearized and
solved for NO3,1 and NO3,2. The flux of nitrate to the overlying water can then be
computed as
n
J NO 3 s NO3,1 n (284)
1000
The carbon requirement (expressed in oxygen equivalents per nitrogen) can therefore be
computed as
gO 2 5 moleC 12 gC/moleC 1 gN gO 2
rondn 2.67 0.00286 (286)
gC 4 moleN 14 gN/moleN 1000 mgN mgN
Therefore, the oxygen equivalents consumed during denitrification, JO2,dn [gO2/m2/d], can
be computed as
mgN NO
2
J O 2,dn 1000 rondn 3,1 T 20
NO T 20
3 NO3,1 NO 3, 2 NO 3 NO3, 2
(287)
gN s
Methane
First, the carbon diagenesis flux is corrected for the oxygen equivalents consumed
during denitrification,
J CH 4,T J C J O 2, dn (288)
where JCH4,T = the carbon diagenesis flux corrected for denitrification [gO2/m2/d]. In other
words, this is the total anaerobic methane production flux expressed in oxygen
equivalents.
If JCH4,T is sufficiently large ( 2KL12Cs), methane gas will form. In such cases, the flux
can be corrected for the gas loss,
where JCH4,d = the flux of dissolved methane (expressed in oxygen equivalents) that is
generated in the anaerobic sediments and delivered to the aerobic sediments [gO2/m2/d],
Cs = the saturation concentration of methane expressed in oxygen equivalents [mgO2/L].
If JCH4,T < 2KL12Cs, then no gas forms and
J CH 4, d J CH 4,T (290)
H 20 T
C s 1001 1.024 (291)
10
A methane mass balance can then be written for the aerobic layer as
dCH 4,1 CH
2
H1
dt
J CH 4, d s c f CH 4,1
s
4 ,1 T 20
CH 4 CH 4,1 (292)
where CH4,1 = methane concentration in the aerobic layer [gO2/m3], cf = fast CBOD in the
overlying water [gO2/m3], CH4,1 = the reaction velocity for methane oxidation in the
aerobic sediments [m/d], and CH4 = temperature correction factor [dimensionless]. At
steady, state, this balance can be solved for
J CH 4,d sc f
CH 4,1
CH
2
4,1 T 20 (293)
s CH 4
s
The flux of methane to the overlying water, JCH4 [gO2/m2/d], can then be computed as
J CH 4 s CH 4,1 c f (294)
SOD
The SOD [gO2/m2/d] is equal to the sum of the oxygen consumed in methane oxidation
and nitrification,
92
where CSOD = the amount of oxygen demand generated by methane oxidation
[gO2/m2/d] and NSOD = the amount of oxygen demand generated by nitrification
[gO2/m2/d]. These are computed as
CH
2
4 ,1 T 20
CSOD CH 4 CH 4,1 (296)
s
NH
2
4,1 T 20 K NH 4 o
NSOD ron NH 4 f da1 NH 4,1 (297)
s K NH 4 NH 4,1 2 K NH 4,O 2 o
where ron = the ratio of oxygen to nitrogen consumed during nitrification [= 4.57
gO2/gN].
Inorganic Phosphorus
Mass balances can be written total inorganic phosphorus in the aerobic layer and the
anaerobic layers as
dPO4,1
H1
dt
12 f pp 2 PO4, 2 f pp1 PO4,1 K L12 f dp 2 PO4, 2 f dp1 PO4,1
p
w2 PO4,1 s i f da1 PO4,1
1000
(298)
dPO4, 2
H2
dt
J P 12 f pp1 PO4,1 f pp 2 PO4, 2 K L12 f dp1 PO4,1 f dp2 PO4, 2
(299)
w2 PO4,1 PO4, 2
where PO4,1 and PO4,2 = the concentration of total inorganic phosphorus in the aerobic
layer and the anaerobic layers, respectively [gP/m3], pi = the inorganic phosphorus in the
overlying water [mgP/m3], and JP = the diagenesis flux of phosphorus [gP/m2/d].
The fraction of phosphorus in dissolved (fdpi) and particulate (fppi) form are computed
as
1
f dpi (300)
1 mi pi
where pi = the partition coefficient for inorganic phosphorus in layer i [m3/gD].
p1 p 2 PO 4,1 (302)
where PO4,1 is a factor that increases the aerobic layer partition coefficient relative to
the anaerobic coefficient.
If the oxygen concentration falls below ocrit then the partition coefficient is decreased
smoothly until it reaches the anaerobic value at zero oxygen,
Equations 219 and 220 can be solved for PO4,1 and PO4,2. The flux of phosphorus to
the overlying water can then be computed as
p
J PO 4 s PO4,1 i (304)
1000
Solution Scheme
Although the foregoing sequence of equations can be solved, a single computation will
not yield a correct result because of the interdependence of the equations. For example,
the surface mass transfer coefficient s depends on SOD. The SOD in turn depends on the
ammonium and methane concentrations which themselves are computed via mass
balances that depend on s. Hence, an iterative technique must be used. The procedure
used in QUAL2K is
where ron’ = the ratio of oxygen to nitrogen consumed for total conversion of
ammonium to nitrogen gas via nitrification/denitrification [= 1.714 gO2/gN]. This
ratio accounts for the carbon utilized for denitrification.
3. Compute s using
94
SODinit
s (306)
o
4. Solve for ammonium, nitrate and methane, and compute the CSOD and NSOD.
SOD SODinit
a 100% (308)
SOD
7. If a is greater than a prespecified stopping criterion s then set SODinit = SOD and
return to step 2.
Supplementary Fluxes
Because of the presence of organic matter deposited prior to the summer steady-state
period (e.g., during spring runoff), it is possible that the downward flux of particulate
organic matter is insufficient to generate the observed SOD. In such cases, a
supplementary SOD can be prescribed,
where SODt = the total sediment oxygen demand [gO2/m2/d], and SODs = the
supplementary SOD [gO2/m2/d]. In addition, prescribed ammonia and methane fluxes can
be used to supplement the computed fluxes.
98
Gooseff, M.N., S.M. Wondzell, R. Haggerty, and J. Anderson. 2003. in press. Advances
in Water Resources, special issue on hyporheic zone modeling.
(cc.usu.edu/~gooseff/web_cv/ gooseff_etal_AWR_paper_color.PDF)
Gordon, N.D, T.A. McMahon, and B.L. Finlayson. 1992. Stream Hydrology, An
Introduction for Ecologists. Published by John Wiley and Sons.
Grigull, U. and Sandner, H. 1984. Heat Conduction. Springer-Verlag, New York, NY.
Grimm, N.B., and S.G. Fisher. 1984. Exchange between interstitial and surface water:
implications for stream metabolism and nutrient cycling. Hydrobiologia 111:219-
228.
Hamilton, D.P., and S.G. Schladow, Prediction of water quality in lakes and reservoirs. 1.
Model description. Ecol Model, 96: 91-110, 1997.
Harbeck, G. E., 1962, A practical field technique for measuring reservoir evaporation
utilizing mass-transfer theory. US Geological Survey Professional Paper 272-E, 101-
5.
Harned, H.S., and Hamer, W.J. 1933. “The Ionization Constant of Water.” J. Am., Chem.
Soc. 51:2194.
Hart, D.R. 1995. Parameter estimate and stochastic interpretation of the transient storage
model for solute transport in streams. Water Resources Research 31:323-328.
Harvey, J.W. and B.J. Wagner. 2000. Quantifying hydrologic interactions between
streams and their subsurface hyporheic zones. In: Streams and Groundwaters. Edited
by J.B. Jones and P.J. Mulholland. Academic Press.
Hatfield, J.L., R.J. Reginato, and S.B. Idso. 1983. Comparison of longwave radiation
calculation methods over the United States. Water Resources Research, 19 (1) 285-
288.
Helfrich, K.R., E.E. Adams, A.L. Godbey, and D.R.F. Harleman. 1982. Evaluation of
models for predicting evaporative water loss in cooling impoundments. Report CS-
2325, Research project 1260-17. Electric Power Research Institute, Pala Alto, CA.
March 1982.
Hellweger, F/L., K.L. Farley, U. Lall, and D.M. DiToro. 2003. Greedy algae reduce
arsenate. Limnol.Oceanogr. 48(6), 2003, 2275-2288.
Hutchinson, G.E. 1957. A Treatise on Limnology, Vol. 1, Physics and Chemistry. Wiley,
New York, NY.
Idso, S.B. 1981. A set of equations for full spectrum and 8-14 μm and 10.5-12.5 μm
thermal radiation from cloudless skies. Water Resources Research, 17, 295-304.
Idso, S.B. and R.D. Jackson. 1969. Thermal radiation from the atmosphere.
J.Geophys.Res., 74, 3397-5403.
Ikusima, I. (1970). “Ecological studies on the productivity of aquatic plant communities
IV: Light conditions and community photosynthetic prodcution.” Bot. Mag. Tokyo,
83, 330-341.
Jobson, H.E. 1977. Bed Conduction Computation for Thermal Models. J. Hydraul. Div.
ASCE. 103(10):1213-1217.
Kasahara, T. and S.M. Wondzell. 2003. Geomorphic controls on hyporheic exchange
flow in mountain streams. Water Resources Research 39(1)1005.
Koberg, G.E. 1964. Methods to compute long-wave radiation from the atmosphere and
reflected solar radiation from a water surface. US Geological Survey Professional
Paper 272-F.
100
Redfield, A.C., Ketchum, B.H. and Richards, F.A. 1963. The Influence of Organisms on
the Composition of Seawater, in The Sea, M.N. Hill, ed. Vol. 2, pp. 27-46, Wiley-
Interscience, NY.
Riley, G.A. 1956. Oceanography of Long Island Sound 1952-1954. II. Physical
Oceanography, Bull. Bingham Oceanog. Collection 15, pp. 15-16.
Rosgen, D. 1996. Applied river morphology. Wildland Hydrology publishers. Pagosa
Springs, CO.
Rutherford, J.C., S. Blackett, C. Blackett, L. Saito, and R.J Davies-Colley. 1997.
Predicting the effects of shade on water temperature in small streams. New Zealand
Journal of Marine and Freshwater Research, 1997, Vol. 31:707-721.
Rutherford, J.C., Scarsbrook, M.R. and Broekhuizen, N. 2000. Grazer Control of Stream
Algae: Modeling Temperature and Flood Effects. J. Environ. Eng. 126(4):331-339.
Ryan, P.J. and D.R.F. Harleman. 1971. Prediction of the annual cycle of temperature
changes in a stratified lake or reservoir. Mathematical model and user’s manual.
Ralph M. Parsons Laboratory Report No. 137. Massachusetts Institute of Technology.
Cambridge, MA.
Ryan, P.J. and K.D. Stolzenbach.1972. Engineering aspects of heat disposal from power
generation, (D.R.F. Harleman, ed.). R.M. Parson Laboratory for Water Resources and
Hydrodynamics, Department of Civil Engineering, Massachusetts Institute of
Technology, Cambridge, MA
Shanahan, P. 1984. Water temperature modeling: a practical guide. In: Proceedings of
stormwater and water quality model users group meeting, April 12-13, 1984. USEPA,
EPA-600/9-85-003. (users.rcn.com/shanahan.ma.ultranet/TempModeling.pdf).
Smith, E.L. 1936. Photosynthesis in Relation to Light and Carbon Dioxide. Proc. Natl.
Acad. Sci. 22:504-511.
Spacil, R. and M. Rulik. 1998. Measurements of proteins in the hyporheic zone of Sitka
Stream, Czech Republic. Acta Univ. Palack. Olomuc. Fac. Rerum. Naturalium.
36:75-81.
Sridhar, V., and R.L. Elliott. 2002. On the development of a simple downwelling
longwave radiation scheme. Agriculture and Forest Meteorology, 112 (2002) 237-
243.
Steele, J.H. 1962. Environmental Control of Photosynthesis in the Sea. Limnol.
Oceanogr. 7:137-150.
Stumm, W. and Morgan, J.J. 1996. Aquatic Chemistry, New York, Wiley-Interscience,
1022 pp.
Thackston, E. L., and Dawson, J.W. III. 2001. Recalibration of a Reaeration Equation. J.
Environ. Engrg., 127(4):317-320.
Thackston, E. L., and Krenkel, P. A. 1969. Reaeration-prediction in natural streams. J.
Sanit. Engrg. Div., ASCE, 95(1), 65-94.
Titus, J. E. and M. S. Adams (1979). “Coexistence and the comparitive light relations of
the submerged macrophytes Myriophyllum spicatum L. and Vallisneria americana
Michx.” Oecologia, 40, 273-286.
Tsivoglou, E. C., and Neal, L.A. 1976. Tracer Measurement of Reaeration. III. Predicting
the Reaeration Capacity of Inland Streams. Journal of the Water Pollution Control
Federation, 48(12):2669-2689.
102
APPENDIX A: NOMENCLATURE
Symbol Definition Units
Aacres ,i surface area of reach i acres
[CO2]s saturation concentration of carbon dioxide mole/L
[CO32] carbonate ion mole/L
[H+] hydronium ion mole/L
[H2CO3*] sum of dissolved carbon dioxide and carbonic acid mole/L
[HCO3] bicarbonate ion mole/L
[OH] hydroxyl ion mole/L
a velocity rating curve coefficient dimensionless
a" mean atmospheric transmission coefficient after dimensionless
scattering and absorption
a’ mean atmospheric transmission coefficient dimensionless
a1 atmospheric molecular scattering coefficient for dimensionless
radiation transmission
Aa atmospheric long-wave radiation coefficient dimensionless
Ab atmospheric long-wave radiation coefficient mmHg-0.5 or mb-0.5
ab bottom algae gD/m2
Ac cross-sectional area m2
ad coefficient correcting dam reaeration for water dimensionless
quality
Alk alkalinity eq L1 or
mgCaCO3/L
ap phytoplankton mgC/L
ap phytoplankton concentration mgA/m3
at atmospheric attenuation dimensionless
atc atmospheric transmission coefficient dimensionless
B average reach width m
b velocity rating curve exponent dimensionless
B0 bottom width m
bd coefficient correcting dam reaeration for dam type dimensionless
c1 Bowen's coefficient 0.47 mmHg/oC
cf fast reacting CBOD mgO2/L
cf fast CBOD in the overlying water gO2/m3
Cgb(T) temperature-dependent maximum photosynthesis gD/(m2 d)
rate
CH4,1 methane concentration in the aerobic sediment layer gO2/m3
CL fraction of sky covered with clouds dimensionless
o
cnps,i,j jth non-point source concentration for reach i C
Cp specific heat of water cal/(g oC)
o
cps,i,j jth point source concentration for reach i C
cs slowly reacting CBOD mgO2/L
104
Jan net atmospheric longwave radiation flux cal/(cm2 d)
Jbr longwave back radiation flux from water cal/(cm2 d)
Jc conduction flux cal/(cm2 d)
JC,G1 flux of labile dissolved carbon gO2/m2/d
JCH4 Flux of methane from sediments to the overlying gO2/m2/d
water
JCH4,d flux of dissolved methane generated in anaerobic gO2/m2/d
sediments corrected for methane gas formation
JCH4,T carbon diagenesis flux corrected for denitrification gO2/m2/d
Je evaporation flux cal/(cm2 d)
Jh air-water heat flux cal/(cm2 d)
JN nitrogen diagenesis flux gN/m2/d
JO2,dn oxygen equivalents consumed during denitrification gO2/m2/d
JP phosphorus diagenesis flux gP/m2/d
JPOC,G1 the flux of labile POC delivered to the anaerobic gO2/m2/d
sediment layer
JPOM the downward flux of POM gD m2 d1
Jsi sediment-water heat flux cal/(cm2 d)
Jsn net solar shortwave radiation flux cal/(cm2 d)
k(T) temperature dependent first-order reaction rate /d
K1 acidity constant for dissociation of carbonic acid
K2 acidity constant for dissociation of bicarbonate
Ka equilibrium coefficient for ammonium dissociation
ka(T) temperature-dependent oxygen reaeration /d
coefficient
kac(T) temperature-dependent carbon dioxide reaeration /d
coefficient
kdb(T) temperature-dependent bottom algae death rate /d
kdc(T) temperature-dependent fast CBOD oxidation rate /d
kdn(T) temperature-dependent denitrification rate /d
kdp(T) temperature-dependent phytoplankton death rate /d
kdt(T) temperature-dependent detritus dissolution rate /d
kdx(T) temperature-dependent pathogen die-off rate /d
ke light extinction coefficient /m1
keb a background coefficient accounting for extinction /m
due to water and color
kgp(T) maximum photosynthesis rate at temperature T /d
KH Henry's constant mole/(L atm)
khc(T) temperature-dependent slow CBOD hydrolysis rate /d
khn(T) temperature-dependent organic nitrogen hydrolysis /d
rate
khnxb preference coefficient of bottom algae for mgN/m3
ammonium
khnxp preference coefficient of phytoplankton for mgN/m3
106
NO3,i nitrate concentration in layer i gN/m3
npai total number of non-point abstractions outflows dimensionless
from reach i
npsi total number of non-point sources inflows to reach i dimensionless
NSOD the amount of oxygen demand generated by gO2/m2/d
nitrification
o dissolved oxygen mgO2/L
o the dissolved oxygen concentration in the overlying gO2/m3
water
o’i1 oxygen concentration entering a reach below a dam mgO2/L
ocrit critical oxygen concentration for sediment gO2/m3
phosphorus sorption
os(T, elev) saturation concentration of oxygen at temperature, mgO2/L
T, and elevation above sea level, elev
P wetted perimeter m
Pab preference for ammonium as a nitrogen source for dimensionless
bottom algae
pai total number of point abstractions from reach i dimensionless
Pap preference for ammonium as a nitrogen source for dimensionless
phytoplankton
PAR(z) photosynthetically available radiation (PAR) at ly/d
depth z below water surface
patm atmospheric pressure mm Hg
pCO2 atmospheric partial pressure of carbon dioxide atm
pi inorganic phosphorus gP/L
pi the inorganic phosphorus in the overlying water mgP/m3
po organic phosphorus gP/L
PO4,i the concentration of total inorganic phosphorus in gP/m3
sediment layer i
POC2,G1 the concentration of the labile fraction of POC in the gO2/m3
anaerobic sediment layer
POCR reference G1 concentration for bioturbation gC/m3
psi total number of point sources to reach i dimensionless
pwc mean daily atmospheric precipitable water content
Q flow m3/s or m3/d
Qab,i total outflow from reach due to point and nonpoint m3/d
abstractions
Qi outflow from reach i into reach i + 1 m3/d
Qin,i total inflow into reach from point and nonpoint m3/d
sources
Qnpa,i,j jth non-point abstraction outflow from reach i m3/d
Qnps,i,j jth non-point source inflow to reach i m3/d
Qpa,i,j jth point abstraction outflow from reach i m3/d
Qps,i,j jth point source inflow to reach i m3/d
r normalized radius of earth’s orbit (i.e., ratio of dimensionless
108
timezone time zone indicates local time zone in relation to hours
Greenwich Mean Time (GMT) (negative in western
hemisphere)
o
Tnps,i,j jth non-point source temperature for reach i C
o
Tps,i,j jth point source temperature for reach i C
trueSolarTim time determined from actual position of the sun in minutes
e the sky
o
Ts,i temperature of bottom sediment C
tsr time of sunrise Hr
tss time of sunset Hr
Tstd standard time Hr
tt,i travel time from headwater to end of reach i D
U mean velocity m/s
Ui* shear velocity m/s
Uw wind speed m/s
Uw,mph wind speed mph
Uw,z wind speed at height zw above water surface m/s
va phytoplankton settling velocity m/d
va phytoplankton settling velocity m/d
vdt detritus settling velocity m/d
vdt detritus settling velocity m/d
vi inorganic suspended solids settling velocity m/d
Vi volume of ith reach m3
vp pathogen settling velocity m/d
vpc non-living particulate organic carbon settling m/d
velocity
W0 solar constant 2851 cal/cm2/d
w2 the burial velocity m/d
Wh,i net heat load from point and non-point sources into cal/d
reach i
Wi external loading of constituent to reach i g/d or mg/d
x pathogen cfu/100 mL
zw height above water for wind speed measurements m
110
12 the bioturbation mass transfer coefficient between m/d
the sediment layers
ai the partition coefficient for ammonium in sediment m3/gD
layer i
pi the partition coefficient for inorganic phosphorus in m3/gD
sediment layer i
CH4 temperature correction factor for sediment methane dimensionless
oxidation
Dd temperature coefficient for porewater diffusion dimensionless
Dp temperature coefficient for bioturbation diffusion dimensionless
NH4 temperature correction factor for sediment dimensionless
nitrification
NO3 sediment denitrification temperature correction dimensionless
factor
POC,G1 temperature correction factor for labile POC dimensionless
mineralization
CH4,1 the reaction velocity for methane oxidation in the m/d
aerobic sediments
NH4,1 the reaction velocity for nitrification in the aerobic m/d
sediments
NO3,i denitrification reaction velocity sediment layer i m/d
A major impediment to its inclusion is that incorporating sediment heat transfer often carries a heavy
computational burden. This is because the sediments are usually represented as a vertically segmented
distributed system. Thus, inclusion of the mechanism results in the addition of numerous sediment
segments for each overlying water reach.
In the present appendix, I derive a computationally-efficient lumped approach that yields comparable
results to the distributed methods.
The conduction equation is typically used to simulate the vertical temperature distribution in
a distributed sediment (Figure 24a)
T 2T
(310)
t x 2
T (0, t ) T Ta cos (t )
T ( , t ) T
where T = sediment temperature [oC], t = time [s], = sediment thermal diffusivity [m2 s1], and
z = depth into the sediments [m], where z = 0 at the sediment-water interface and z increases
downward, T = mean temperature of overlying water [oC], Ta = amplitude of temperature of
overlying water [oC], = frequency [s1] = 2/Tp, Tp = period [s], and = phase lag [s]. The first
boundary condition specifies a sinusoidal Dirichlet boundary condition at the sediment-water
interface. The second specifies a constant temperature at infinite depth. Note that the mean of the
surface sinusoid and the lower fixed temperature are identical.
Page 112
0
z
(a) distributed (b) Lumped
Figure 24. Alternate representations of sediments: (a) distributed and (b) lumped.
Applying these boundary conditions, Eq. (231) can be solved for (Carslaw and Jaeger 1959)
' (312)
2
The heat flux at the sediment water interface can then be determined by substituting the
derivative of Eq. (232) into Fourier’s law and evaluating the result at the sediment-water
interface (z = 0) to yield
An alternative approach can be developed using a first-order lumped model (Figure 24b),
dTs s s C ps
H s s C ps
dt
Hs / 2
T Ta cos (t ) Ts
where Hsed = the thickness of the sediment layer [m], s = sediment density [kg/m3], and Cps =
sediment heat capacity [joule (kg oC)]1]. Collecting terms gives,
Page 113
dT
k h T k h T k h Ta cos (t )
dt
where
2 s
kh 2
H sed
After initial transient have died out, this solution to this equation is
T T
kh
2
Ta cos (t ) tan 1 ( / k h ) (314)
kh 2
J
2
H sed
C p Ta cos (t )
2
kh
1
cos (t ) tan ( / k h )
(315)
kh 2
It can be shown that Eqs. (232) and (235) yield identical results if the depth of the single layer
is set at
1
H sed (316)
'
Water quality models typically consider annual, weekly and diel variations. Using = 0.0035
cm2/s (Hutchinson 1957), the single-layer depth that would capture these frequencies can be
calculated as 2.2 m, 30 cm and 12 cm, respectively.
Because QUAL2K resolves diel variations, a value on the order of 12 cm should be selected
for the sediment thickness. We have chosen of value of 10 cm as being an adequate first estimate
because of the uncertainties of the river sediment thermal properties (Table 4).
Page 114