<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0" article-type="research-article"><?xmltex \makeatother\@nolinetrue\makeatletter?><?xmltex \bartext{Model description paper}?>
  <front>
    <journal-meta><journal-id journal-id-type="publisher">GMD</journal-id><journal-title-group>
    <journal-title>Geoscientific Model Development</journal-title>
    <abbrev-journal-title abbrev-type="publisher">GMD</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Geosci. Model Dev.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1991-9603</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/gmd-16-4481-2023</article-id><title-group><article-title>DynQual v1.0: a high-resolution global surface water quality model</article-title><alt-title>DynQual v1.0</alt-title>
      </title-group><?xmltex \runningtitle{DynQual v1.0}?><?xmltex \runningauthor{E. R. Jones et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Jones</surname><given-names>Edward R.</given-names></name>
          <email>e.r.jones@uu.nl</email>
        <ext-link>https://orcid.org/0000-0001-5388-7774</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1 aff2">
          <name><surname>Bierkens</surname><given-names>Marc F. P.</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-7411-6562</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Wanders</surname><given-names>Niko</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-7102-5454</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Sutanudjaja</surname><given-names>Edwin H.</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-3426-4069</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>van Beek</surname><given-names>Ludovicus P. H.</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-4758-108X</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>van Vliet</surname><given-names>Michelle T. H.</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-2597-8422</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Department of Physical Geography, Faculty of Geosciences, Utrecht
University, Utrecht, the Netherlands</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Deltares, Unit Soil and Groundwater Systems, Utrecht, the Netherlands</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Edward R. Jones (e.r.jones@uu.nl)</corresp></author-notes><pub-date><day>8</day><month>August</month><year>2023</year></pub-date>
      
      <volume>16</volume>
      <issue>15</issue>
      <fpage>4481</fpage><lpage>4500</lpage>
      <history>
        <date date-type="received"><day>11</day><month>October</month><year>2022</year></date>
           <date date-type="rev-request"><day>16</day><month>December</month><year>2022</year></date>
           <date date-type="rev-recd"><day>31</day><month>May</month><year>2023</year></date>
           <date date-type="accepted"><day>9</day><month>July</month><year>2023</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2023 Edward R. Jones et al.</copyright-statement>
        <copyright-year>2023</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023.html">This article is available from https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d1e134">Maintaining good surface water quality is crucial to protect ecosystem
health and for safeguarding human water use activities. However, our
quantitative understanding of surface water quality is mostly predicated
upon observations at monitoring stations that are highly limited in space
and fragmented across time. Physical models based upon pollutant
emissions and subsequent routing through the hydrological network provide
opportunities to overcome these shortcomings. To this end, we have developed
the dynamical surface water quality model (DynQual) for simulating water
temperature (<inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and concentrations of total dissolved solids (TDS),
biological oxygen demand (BOD) and fecal coliform (FC) with a daily time step
and at 5 arcmin (<inline-formula><mml:math id="M2" display="inline"><mml:mo lspace="0mm">∼</mml:mo></mml:math></inline-formula> 10 km) spatial resolution. Here, we
describe the main components of this new global surface water quality model
and evaluate model performance against in situ water quality observations.
Furthermore, we describe both the spatial patterns and temporal trends in
TDS, BOD and FC concentrations for the period 1980–2019, and we also attribute
the dominant contributing sectors to surface water pollution. Modelled
output indicates that multi-pollutant hotspots are especially prevalent
across northern India and eastern China but that surface water quality
issues exist across all world regions. Trends towards water quality
deterioration have been most profound in the developing world, particularly
sub-Saharan Africa and South Asia. The model code is available
open source (<ext-link xlink:href="https://doi.org/10.5281/zenodo.7932317" ext-link-type="DOI">10.5281/zenodo.7932317</ext-link>, Jones et al., 2023), and we
provide global datasets of simulated hydrology, <inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, TDS, BOD and FC at 5 arcmin resolution with a monthly time step (<ext-link xlink:href="https://doi.org/10.5281/zenodo.7139222" ext-link-type="DOI">10.5281/zenodo.7139222</ext-link>, Jones et al., 2022b). These data have the potential to inform
assessments in a broad range of fields, including ecological, human health
and water scarcity studies.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e181">Maintaining good surface water quality is important for protecting ecosystem
health and ensuring human access to safe water resources for a diverse range
of sectoral needs  (Van Vliet et al., 2021; Jones et al., 2022a). For
example, high organic pollution can reduce oxygen availability and can lead
to the suffocation of aquatic organisms  (Sirota et al., 2013), while
pathogen pollution represents a potential health risk for people exposed to
this water. The consumption of contaminated drinking water can lead to the
transmission of diseases such as cholera, dysentery and polio, which
cause an estimated 485 000 deaths annually
(Prüss-Ustün et al., 2019). Another example is
salinization of water resources, which can both limit irrigation water use
(Thorslund et al., 2022) and threaten freshwater biodiversity
(Velasco et al., 2019) where species cannot tolerate elevated salinity
concentrations. Similarly, increased water temperatures can disrupt energy
production (Van Vliet et al., 2016), and also provide more
favourable conditions for cyanobacterial blooms that can lead to hypoxia,
which can disrupt freshwater habitats (Smucker et al., 2021).</p>
      <p id="d1e184">Human activity, both directly and indirectly, causes changes in surface
water quality relative to ambient (“pristine”) conditions. Indirectly,
altered precipitation patterns and the increased frequency of
hydro-meteorological extremes that result from human-induced climate change
can lead to fundamental changes in the hydrological regime  (Wanders and
Wada, 2015; Gudmundsson et al., 2021). Lower water levels due to altered
seasonality patterns or droughts reduce the stream dilution capacity, which
can increase the proportion of streamflow originating from (polluted) point
sources  (Wright et al., 2014; Luthy et al., 2015;<?pagebreak page4482?> Ehalt Macedo et al.,
2022). Both of these factors increase river water contamination, threatening
both the safe usability of water and environmental health. Climate change is
also altering the thermal regime of rivers   (Van Vliet et al.,
2013), with higher temperatures also causing dissolved oxygen depletion
(Ozaki et al., 2003).</p>
      <p id="d1e187">More directly, sectoral activities generate return flows: water that is
extracted for a specific purpose but is not consumed (evaporated) in the
process but which has changed in composition as a result of the water use
activity  (Sutanudjaja et al., 2018; Jones et al., 2021). For example, the
composition of domestic wastewater will reflect the various household water
uses, including organic and fecal contamination from human waste (WWAP,
2017) and elevated nutrient concentrations from household chemicals and
laundry detergents (Van Puijenbroek et al., 2019). The
reintroduction of these flows back to the environment represents a
significant source of pollutant loadings that degrade river water quality
(Jones et al., 2022a). Collection and treatment of these
flows before their reintroduction into the environment can help to minimize
the impact on surface water quality (Jones et al., 2022a).
However, these processes can be economically expensive to establish and operate,
and hence collection and treatment infrastructure is not ubiquitous
worldwide  (Jones et al., 2021, 2022a).</p>
      <p id="d1e190">Water quality is an integral part of the Sustainable Development Agenda,
cross-cutting almost all Sustainable Development Goals (SDGs). Despite
widespread recognition of its importance, water quality monitoring data are
still severely lacking in several world regions – particularly Africa and
central Asia (Damania et al., 2019). Furthermore, in regions where
observation data are available, data are often sparse in both space and time.
Water quality models offer opportunities to overcome these limitations
(Hofstra et al., 2013; Beusen et al., 2015; UNEP, 2016; Van Vliet et al.,
2021). As opposed to statistical models, which heavily rely on observed water
quality data, physical models simulate the emission and transport of
pollutant loadings along the river network directly based on climatic,
hydrological and socio-economic input data. This makes physically based
model approaches especially advantageous when simulating water quality in
ungauged catchments and for projecting water quality under future
(uncertain) climatic and socio-economic developments   (Wanders
et al., 2019).</p>
      <p id="d1e194">A spatially and temporally detailed assessment of multiple water quality
constituents at the global scale is lacking. Furthermore, only a few studies
have quantitatively evaluated temporal dynamics and trends in water quality
over extended time periods, particularly considering changes in factors that
drive higher pollutant emissions (e.g. population growth, industrialization)
relative to factors that abate pollutant emissions (e.g. wastewater
treatment). Lastly, few studies have assessed the spatio-temporal patterns
in the specific sectoral activities that are driving patterns in surface
water quality worldwide.</p>
      <p id="d1e197">Here, we present a high-spatio-temporal-resolution surface water quality
model (henceforth DynQual), which can currently be used to simulate water
temperature (<inline-formula><mml:math id="M4" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>); concentrations of total dissolved solids (TDS) to
represent salinity pollution; biological oxygen demand (BOD) to represent
organic pollution; and fecal coliform (FC) as a coarse indicator for pathogen
pollution. All simulations are provided at a daily time step with a spatial
resolution of <inline-formula><mml:math id="M5" display="inline"><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> arcmin (approx. 10 km at the Equator). DynQual
considers a wide range of hydro-climatic and socio-economic drivers,
spanning across the major contributing pollutant sources. The high-spatio-temporal-resolution of DynQual, combined with these features, allows
the model to address scientific questions that are not currently possible
using existing surface water quality models. For example, while previous
work has compared pollutant loads (masses) originating from different
sources at aggregated spatial scales (i.e. basin or subbasin level), the
impact on in-stream concentrations – which is also dependent upon
spatio-temporal variability in dilution capacity and in-stream decay
processes – has not been assessed.</p>
      <p id="d1e223">The objectives of this study are to (1) introduce a new open-source global
surface water quality model and evaluate model performance; (2) assess
spatial patterns and trends in surface water quality, focussing on total
dissolved solids (TDS), biological oxygen demand (BOD), and fecal coliform
(FC) concentrations for the period 1980–2019; and (3) demonstrate
additional model capabilities by assessing the sector-specific contributions
towards surface water pollution across both space and time.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Model description</title>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>General overview</title>
      <p id="d1e241">The newly developed DynQual model builds on the modelling framework of
DynWat, a global water temperature model that solves the energy–water
balance to simulate daily water temperature (<inline-formula><mml:math id="M6" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and ice thickness  (Van
Beek et al., 2012; Wanders et al., 2019). A full model description including
the energy balance equations and the representation of ice cover,
floodplains, channel roughness and lakes and reservoirs within DynWat is
available in published literature (Wanders et al., 2019). DynQual further
includes the impact of heat dumps produced in thermo-electric powerplants
(Van Vliet et al., 2012a, 2021) on water temperature.
In addition to water temperature, DynQual simulates daily in-stream
concentrations of three water quality constituents, namely, total dissolved
solids (TDS), biological organic matter (BOD) and fecal coliform (FC), which
are of key social and environmental relevance (Van Vliet et
al., 2021) (Fig. 1).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><?xmltex \currentcnt{1}?><?xmltex \def\figurename{Figure}?><label>Figure 1</label><caption><p id="d1e257">Overview of the required input data for running DynQual in
different model configurations. Runs coupled with PCR-GLOBWB2 require
socio-economic (arrow 1) and climatic forcing (3, 4) data as standard,
with options to either (1) estimate loads based on additional socio-economic
(2) and simulated hydrological (6) data or (2) provide pollutant
loadings directly as input data (8). Offline runs require both hydrological
(5) and pollutant loading (8) input data to be provided directly.</p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f01.png"/>

        </fig>

      <p id="d1e266">We also offer two options for running DynQual: (1) in a stand-alone
configuration with specific discharge (i.e. baseflow, interflow and direct
runoff in m d<inline-formula><mml:math id="M7" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) fed from any land surface or hydrological model or
(2) coupled with the global hydrological and water resources model
PCR-GLOBWB2 (Sutanudjaja et al., 2018). The routine for surface water
(and pollutant) routing follows an eight-point steepest-gradient algorithm
across the terrain surface (local drainage direction) in a convergent
drainage network with the lowermost cell connected to either the ocean or an
endorheic basin as per PCR-GLOBWB2 (Sutanudjaja et al., 2018) and
DynWat  (Van Beek et al., 2012; Wanders et al., 2019). Routing within
DynQual uses the kinematic wave approximation of the Saint-Venant equations
with flow described by Manning's equation, solved using a time-explicit
variable sub-time-stepping scheme based on the minimum Courant number
(Sutanudjaja et al., 2018). In the coupled configuration, surface
waters are subject to water withdrawals and return flows from the domestic,
industrial, livestock and irrigation sectors calculated within the water use
module of PCR-GLOBWB2. A complete model description of PCR-GLOBWB2 including
detailed information on the model structure, individual modules
(meteorology, land surface, groundwater, surface water routing and water
use) and validation of hydrological output is available in published
literature (Sutanudjaja et al., 2018). In both configurations of
DynQual, pollutant loadings can be prescribed directly (akin to a forcing).
Alternatively, when running DynQual coupled with PCR-GLOBWB2 pollutant
loadings can be simulated within the model runs by providing only simple
input data (Sect. S1 in the Supplement). An overview of DynQual, which details the input
data required for the different model configurations, is displayed
(Fig. 1). By providing these options, we allow for
flexibility – allowing pollutant loadings to be directly imposed on the
model enables users to estimate loadings using their preferred
methodology and assumptions, whereas the option to estimate pollutant
loadings within the model run enables users to simulate water quality
without any pre-processing requirements but still provides flexibility to
use their preferred input datasets. Parameter values related to pollutant
emissions can be adjusted by the user as desired. When simulating pollutant
loadings within model runs, it is also possible to quantify the contribution
and relative importance<?pagebreak page4484?> of different water use sectors to the spatial
patterns and temporal trends in surface water quality.</p>
      <p id="d1e282">As per PCR-GLOBWB2 (Sutanudjaja et al., 2018) and DynWat
(Wanders et al., 2019), DynQual is written in Python 3 and is
run using an initialization (.ini) file in which key aspects of the model
run are defined (e.g. spatial extent, simulation period, paths to parameter
and forcing files). Most input files required and all output files are in
NetCDF format. Global 5 arcmin DynQual runs that are coupled with
PCR-GLOBWB2 have a wall-clock time of approximately 6 h yr<inline-formula><mml:math id="M8" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> when
run with parallelization due to the requirement to use the kinematic wave
routing option for higher-accuracy discharge and water temperature
simulations. This is approximately equivalent to the PCR-GLOBWB2 run times
given by Sutanudjaja et al. (2018). DynQual runs performed in the
stand-alone configuration are faster (<inline-formula><mml:math id="M9" display="inline"><mml:mo lspace="0mm">∼</mml:mo></mml:math></inline-formula> 20 %).</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Water quality equations</title>
<sec id="Ch1.S2.SS2.SSS1">
  <label>2.2.1</label><?xmltex \opttitle{Water temperature ($T_{\mathrm{w}}$)}?><title>Water temperature (<inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>)</title>
      <p id="d1e331">Water temperature (<inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) is simulated by solving the surface water energy
balance using the DynWat model as basis  (Van Beek et al., 2012; Wanders
et al., 2019). In addition to solving the surface water energy balance,
DynWat also accounts for surface water abstraction, reservoirs, riverine
flooding and the formation of ice   (Wanders et al., 2019). Here,
we further develop DynWat to include advected heat flows from
thermo-electric powerplants, as per the method described in van Vliet et
al. (2012b, 2016). The modelling equations for <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> incorporated into DynQual
are shown in Eq. (1) and are fully elaborated on in
previous work  (Van Beek et al., 2012; Van Vliet et al., 2012a, 2016; Wanders et al., 2019):
              <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M13" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>p</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mo>(</mml:mo><mml:mi>h</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mi>p</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mo>(</mml:mo><mml:mi>v</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:msub><mml:mi>H</mml:mi><mml:mi mathvariant="normal">tot</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mspace width="1em" linebreak="nobreak"/><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mi>p</mml:mi></mml:msub><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">w</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">pow</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>h</mml:mi><mml:mo>⋅</mml:mo><mml:mi>w</mml:mi><mml:mo>⋅</mml:mo><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mi mathvariant="normal">tot</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">in</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>a</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">in</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">out</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi>H</mml:mi><mml:mo>-</mml:mo><mml:mi>L</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">w</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">pow</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi>C</mml:mi><mml:mi>p</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi mathvariant="normal">RF</mml:mi><mml:mrow><mml:mi mathvariant="normal">pow</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>⋅</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">pow</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">rf</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
            where <inline-formula><mml:math id="M14" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> is time, <inline-formula><mml:math id="M15" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> is location along the drainage network, <inline-formula><mml:math id="M16" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is water
temperature (K), <inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the specific heat capacity of water (4190 kg<inline-formula><mml:math id="M18" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> K<inline-formula><mml:math id="M19" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the density of fresh water (1000 kg m<inline-formula><mml:math id="M21" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M22" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula> is the stream water depth (m), <inline-formula><mml:math id="M23" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> is the velocity of water (m s<inline-formula><mml:math id="M24" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mi mathvariant="normal">tot</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the heat flux at the air–water interface, <inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">in</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
is the incoming shortwave radiation (J m<inline-formula><mml:math id="M27" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M28" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>a</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is
the reflected shortwave radiation (J m<inline-formula><mml:math id="M30" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M31" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">in</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the
incoming longwave radiation (J m<inline-formula><mml:math id="M33" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M34" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">out</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the outgoing
longwave radiation (J m<inline-formula><mml:math id="M36" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M37" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M38" display="inline"><mml:mi>H</mml:mi></mml:math></inline-formula>is the sensible heat flux (J m<inline-formula><mml:math id="M39" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M40" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:math></inline-formula> is the latent heat flux (J m<inline-formula><mml:math id="M42" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M43" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>),
<inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the lateral water fluxes from land to stream (m s<inline-formula><mml:math id="M45" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>),
<inline-formula><mml:math id="M46" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the temperature of lateral water fluxes (K),  <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">w</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">pow</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>
is the heat dump from thermo-electric powerplants (J s<inline-formula><mml:math id="M48" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">RF</mml:mi><mml:mi mathvariant="normal">pow</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
is the return flows of cooling water from thermo-electric powerplants
(m<inline-formula><mml:math id="M50" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M51" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">pow</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">rf</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the difference
in water temperature between the return flows and ambient river water (K),
<inline-formula><mml:math id="M53" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> is the stream width (m), and d<inline-formula><mml:math id="M54" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> is the distance between grid cell <inline-formula><mml:math id="M55" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> and the
upstream grid cell <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> (m).</p>
</sec>
<sec id="Ch1.S2.SS2.SSS2">
  <label>2.2.2</label><title>Conservative (TDS) and non-conservative (BOD, FC) substances</title>
      <p id="d1e1119">Our modelling strategy for total dissolved solids (TDS), biological oxygen
demand (BOD) and fecal coliform (FC) is a mass balance approach assuming
transport by advection only, whereby sector-specific loadings (i.e. masses
of pollutants generated from a particular human activity in a given time
period) are accumulated from all contributing sectors and routed through the
global stream network until outflow to the ocean or an endorheic basin
(Thomann and Mueller, 1987; Chapra et al., 2008; Voß et al.,
2012; UNEP, 2016; Van Vliet et al., 2021).</p>
      <p id="d1e1122">TDS is modelled as a conservative substance, while BOD and FC are modelled
as non-conservative substances that include first-order decay processes
(Voß et al., 2012; Reder et al., 2015; UNEP, 2016; Van Vliet et al.,
2021). Our approach for both the conservative and non-conservative
substances assumes instantaneous and full mixing of all streamflow and
return flows in each grid cell. As per most water quality models, DynQual
simulates water quality per individual grid cell over a consecutive series of
discrete time periods (Loucks and Beek, 2017). Each grid cell represents a
volume element, which is in steady-state conditions within each time period and also contains a (fully mixed) pollutant mass
(Fig. 2). In each consecutive time step, there is
an associated volume of water and mass of pollutant that flows into the
grid cell from upstream and that flows out of the grid cell to the downstream
grid cell. For non-conservative substances, there are also grid-cell-specific
in-stream decay processes that influence the total mass of pollutant in each
sub-time interval. DynQual simulates these transport and decay processes
with a sub-daily interval (<inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> in seconds), the length of which is
determined with respect to channel characteristics and discharge (Sect. S2 and Eq. S9 in the Supplement).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><?xmltex \def\figurename{Figure}?><label>Figure 2</label><caption><p id="d1e1137">Schematic overview of DynQual, including a translation of the local
hydrological and socio-economic situation   into a local drain direction
(LDD) map that includes hydrological and pollutant fluxes   and a
representation of the grid-cell-based processes (pollutant emission
calculation, routing procedure and computation of pollutant concentrations)
in an individual DynQual grid cell. <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the concentration of
pollutant <inline-formula><mml:math id="M59" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> (e.g. mg L<inline-formula><mml:math id="M60" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), while <inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the total mass of
pollutant <inline-formula><mml:math id="M62" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> (e.g. g) and <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the channel storage (m<inline-formula><mml:math id="M64" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula>), all of which are in
grid cell <inline-formula><mml:math id="M65" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>. <inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:msubsup><mml:mi>V</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> is the volume of channel storage from the previous
time step (m<inline-formula><mml:math id="M67" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula>), while <inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>→</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>→</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are the
discharge (m<inline-formula><mml:math id="M70" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M71" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) into and out of grid cell <inline-formula><mml:math id="M72" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>, respectively, per
time step <inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>. <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msubsup><mml:mi>M</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>.</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> is the mass of pollutant <inline-formula><mml:math id="M75" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> from the
previous time step, while <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">RL</mml:mi><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>→</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">RL</mml:mi><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>→</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are
the loadings of pollutant <inline-formula><mml:math id="M78" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> (e.g. g s<inline-formula><mml:math id="M79" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) that are routed into and out
of grid cell <inline-formula><mml:math id="M80" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>, respectively, per time step <inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>. <inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are the
combined local loadings of pollutant <inline-formula><mml:math id="M83" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> (e.g. g d<inline-formula><mml:math id="M84" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) in grid cell <inline-formula><mml:math id="M85" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>,
which is the sum of loadings from all contributing sectors and urban surface
runoff. <inline-formula><mml:math id="M86" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> represents a decay coefficient, which depends upon
pollutant <inline-formula><mml:math id="M87" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> (–). <inline-formula><mml:math id="M88" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> is the length of a day in seconds (i.e. 86 400 s d<inline-formula><mml:math id="M89" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), while <inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> is the length of the sub-time step (s), which is
linked to the internal routing regime within DynQual and PCR-GLOBWB2.
<inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is precipitation (m<inline-formula><mml:math id="M92" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> d<inline-formula><mml:math id="M93" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), and <inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is
evapotranspiration (m<inline-formula><mml:math id="M95" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> d<inline-formula><mml:math id="M96" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), with these terms included as an
example of grid-cell-specific hydrological fluxes. For a more detailed
overview of the hydrological fluxes within a grid cell we refer to the
PCR-GLOBWB 2 documentation (Sutanudjaja et al., 2018).</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f02.png"/>

          </fig>

      <?pagebreak page4486?><p id="d1e1615">The pollutant concentration at each subsequent time interval (<inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>
is calculated following Eq. (2). It should be noted
that, while we simulate the terms of this equation with a sub-daily time step
interval, DynQual only reports concentrations in the final sub-daily
interval of each day. This is due to the lack of sub-diurnal input data, for
efficient data storage and the lack of relevance of such high-resolution
simulations with respect to our large-scale modelling approach.
              <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M98" display="block"><mml:mrow><mml:msubsup><mml:mi>C</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>M</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mi>V</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="normal">BG</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:msubsup><mml:mi>C</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msubsup><mml:mi>M</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> are the concentration and mass,
respectively, of pollutant <inline-formula><mml:math id="M101" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> in grid cell <inline-formula><mml:math id="M102" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> at the consecutive time interval (<inline-formula><mml:math id="M103" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, whereas <inline-formula><mml:math id="M104" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="normal">V</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> is the volumetric
channel storage (m<inline-formula><mml:math id="M105" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula>) in this grid cell in the same interval.
<inline-formula><mml:math id="M106" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="normal">V</mml:mi><mml:mi>n</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> is simulated directly within
PCR-GLOBWB2, accounting for the initial storage, discharge into and out of
grid cell <inline-formula><mml:math id="M107" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> over the time interval <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>, and grid-cell-specific
hydrological fluxes including precipitation and evapotranspiration
(Sutanudjaja et al., 2018). <inline-formula><mml:math id="M109" display="inline"><mml:mrow><mml:msubsup><mml:mi>M</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> is simulated by solving the mass balance equation for pollutant <inline-formula><mml:math id="M110" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> and
accounting for in-stream decay processes following Eq. (3). <inline-formula><mml:math id="M111" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">BG</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> represents the background
concentration of pollutant <inline-formula><mml:math id="M112" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> in grid cell <inline-formula><mml:math id="M113" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>. For TDS, these are estimated based
on minimum observed electrical conductivity (EC) converted to TDS observations  (Walton,
1989) contained in a new global salinity dataset   (Thorslund and Van
Vliet, 2020) and are applied as a constant background concentration.
Conversely, <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">BG</mml:mi><mml:mrow><mml:mi mathvariant="normal">BOD</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M115" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">BG</mml:mi><mml:mrow><mml:mi mathvariant="normal">FC</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are assumed to be negligible
relative to the mass of pollution produced by anthropogenic activities.
              <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M116" display="block"><mml:mrow><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>M</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mfenced open="(" close=""><mml:mrow><mml:msubsup><mml:mi>M</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msubsup><mml:mo>+</mml:mo><mml:mfenced open="(" close=""><mml:mrow><mml:mo movablelimits="false">∑</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="normal">RL</mml:mi><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>→</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced open="" close=")"><mml:mrow><mml:mfenced open="" close=")"><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="normal">RL</mml:mi><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>→</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mi>D</mml:mi></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfenced><mml:mo>⋅</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mi>D</mml:mi></mml:mfrac></mml:mstyle><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where at the subsequent time step interval (<inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> each
grid cell <inline-formula><mml:math id="M118" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> contains the mass of pollutant <inline-formula><mml:math id="M119" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> from the previous time step
(<inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msubsup><mml:mi>M</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula>) plus the pollutant load (mass s<inline-formula><mml:math id="M121" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) that has been
transported from the immediately (adjacent) upstream grid cell(s)
(<inline-formula><mml:math id="M122" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">RL</mml:mi><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>→</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) and minus the pollutant load (mass s<inline-formula><mml:math id="M123" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) that
has been transported downstream (<inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">RL</mml:mi><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>→</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) in the time interval
<inline-formula><mml:math id="M125" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> (s). <inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> represents the daily influx of pollutant loadings
produced into grid cell <inline-formula><mml:math id="M127" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> (mass per day), which are added to the stream in
equal increments per sub-daily time step <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> (s) relative to the total
length of a day <inline-formula><mml:math id="M129" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> in seconds (i.e. 86 400 s d<inline-formula><mml:math id="M130" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>). Our approach for
adding local pollutant loadings in equal increments per sub-daily time step
is necessary as we lack information regarding the (sub-diurnal) timing at
which pollution enters the stream network.</p>
      <p id="d1e2305">The variable <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> represents a pollutant-specific <inline-formula><mml:math id="M132" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> and grid-cell-specific <inline-formula><mml:math id="M133" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> decay rate
(d<inline-formula><mml:math id="M134" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>). While we model TDS as a conservative substance (i.e.
<inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mrow><mml:mi mathvariant="normal">TDS</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>), we determine the first-order degradation rate of BOD
(<inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">BOD</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) as a function of water temperature (Eq. 4) and of FC (<inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">FC</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) as function of
water temperature, solar radiation and sedimentation (Eq. 5). Decay is implemented directly into DynQual by
assuming that decay occurs at an equal rate over the course of a day
(<inline-formula><mml:math id="M138" display="inline"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mi>D</mml:mi></mml:mfrac></mml:mstyle></mml:math></inline-formula>). This assumption is necessary because we do not have
sub-daily input data for some terms of the decay equations, such as water
temperature (<inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and incoming solar radiation (<inline-formula><mml:math id="M140" display="inline"><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mi>o</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>).
              <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M141" display="block"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mrow><mml:mi mathvariant="normal">BOD</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>k</mml:mi><mml:mfenced close=")" open="("><mml:mn mathvariant="normal">20</mml:mn></mml:mfenced><mml:mo>⋅</mml:mo><mml:msup><mml:mi mathvariant="normal">Θ</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">20</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mfenced close=")" open="("><mml:mn mathvariant="normal">20</mml:mn></mml:mfenced></mml:mrow></mml:math></inline-formula> is a first-order degradation rate coefficient at
20 <inline-formula><mml:math id="M143" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C (d<inline-formula><mml:math id="M144" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) assumed at 0.35 (Van Vliet et
al., 2021), <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the water temperature (<inline-formula><mml:math id="M146" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C) in grid cell <inline-formula><mml:math id="M147" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> and
<inline-formula><mml:math id="M148" display="inline"><mml:mi mathvariant="normal">Θ</mml:mi></mml:math></inline-formula> is a temperature correction assumed to be 1.047 as per
previous assessments  (Wen et al., 2017; Van Vliet et al., 2021).
              <disp-formula id="Ch1.E5" content-type="numbered"><label>5</label><mml:math id="M149" display="block"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">FC</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="normal">Θ</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">20</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mi>o</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi>e</mml:mi></mml:msub><mml:mi>H</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi>e</mml:mi></mml:msub><mml:mi>H</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>v</mml:mi><mml:mi>H</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is dark inactivation (d<inline-formula><mml:math id="M151" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M152" display="inline"><mml:mi mathvariant="normal">Θ</mml:mi></mml:math></inline-formula> is a
temperature correction, <inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">w</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the water temperature (<inline-formula><mml:math id="M154" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C) in
grid cell <inline-formula><mml:math id="M155" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is sunlight inactivation (m<inline-formula><mml:math id="M157" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> W<inline-formula><mml:math id="M158" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mi>o</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is
the surface solar radiation (W m<inline-formula><mml:math id="M160" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is an attenuation
coefficient (m<inline-formula><mml:math id="M162" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), <inline-formula><mml:math id="M163" display="inline"><mml:mi>H</mml:mi></mml:math></inline-formula> is stream depth (m) and <inline-formula><mml:math id="M164" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> is the settling
velocity (m d<inline-formula><mml:math id="M165" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>). Parameter values (Table 1)
and mean basin average total suspended solids   (Beusen et
al., 2005) are based off previous fecal coliform modelling studies
(Reder et al., 2015). Parameter values, including decay
coefficients, can alternatively be defined by the user directly in the
source code.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e2822">Assumed parameter values for fecal coliform modelling.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="3">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Variable</oasis:entry>
         <oasis:entry colname="col2">Unit</oasis:entry>
         <oasis:entry colname="col3">Value</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M166" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">d<inline-formula><mml:math id="M167" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.82</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M168" display="inline"><mml:mi mathvariant="normal">Θ</mml:mi></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">–</oasis:entry>
         <oasis:entry colname="col3">1.07</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M169" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">m<inline-formula><mml:math id="M170" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> W<inline-formula><mml:math id="M171" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.0068</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M172" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">m<inline-formula><mml:math id="M173" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.0931TSS <inline-formula><mml:math id="M174" display="inline"><mml:mo>+</mml:mo></mml:math></inline-formula> 0.881</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M175" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">m d<inline-formula><mml:math id="M176" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">1.656</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table><?xmltex \gdef\@currentlabel{1}?></table-wrap>

</sec>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Pollutant loadings</title>
      <p id="d1e3020">In both model configurations (stand-alone or coupled to PCR-GLOBWB2),
user-defined pollutant loadings can be directly imposed on the model (akin
to a forcing). Users can estimate pollutant loadings using their preferred
methodology, and subsequently route these through the global stream network,
account for in-stream decay processes and calculate in-stream pollutant
concentrations using the DynQual model framework. Pollutant loadings that
are prescribed to DynQual directly should have a daily temporal resolution
(e.g. g d<inline-formula><mml:math id="M177" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> or 10<inline-formula><mml:math id="M178" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:math></inline-formula> cfu d<inline-formula><mml:math id="M179" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>; note that “cfu” indicates “colony forming units”.).</p>
      <p id="d1e3056">Alternatively, when running DynQual coupled with PCR-GLOBWB2, pollutant
loadings (with a daily temporal resolution) can be simulated within the
model runs, requiring only simple input data (Fig. 1 and  Sect. S1). This option is beneficial for users that do not have
pre-calculated pollutant loadings. Furthermore, this option may be useful
for those interested in scenario modelling, as input files related to
different scenarios can be altered to reflect alternative climate and
socio-economic conditions.</p>
      <p id="d1e3059">In this set-up, DynQual estimates and routes pollutant loadings individually
and combined for the main water use sectors (domestic, manufacturing,
livestock and irrigation) and from urban surface runoff at 5 arcmin
spatial resolution. Loadings from the domestic sector are estimated by
multiplying the gridded population with region-specific per capita excretion
rates (Sect. S1.1, Table S1 in the Supplement). For the manufacturing sector, a mean
effluent concentration is multiplied by location-specific gridded estimates
of return flows from the manufacturing sector (Sect. S1.2, Table S2).
Urban surface return flows are approximated by multiplying surface runoff
(simulated by PCR-GLOBWB2) with the gridded urban fraction, which are
multiplied by a region-specific mean urban surface runoff effluent
concentration (Sect. S1.3; Table S3). The livestock sector is
sub-divided into “intensive” and “extensive” production systems based on
livestock densities to better account for differences in the paths by which
waste enters the stream network (Sect. S1.4, Table S4). Gridded
livestock numbers for buffalo, chickens, cows, ducks, goats, horses, pigs
and sheep are multiplied by pollutant excretion rates per livestock type and
by region (Sect. S1.4, Tables S5–S7). TDS loadings from the irrigation
sector are estimated by multiplying irrigation return flows simulated by
PCR-GLOBWB2 with spatially explicit mean irrigation drainage concentrations
based on salinity (as indicated by electrical conductivity) over the topsoil
and sub-soil (Sect. S1.5). Thermal effluents (heat dumps) from
thermoelectric powerplants are included as point sources of advected heat by
considering the temperature difference between the flows and ambient surface
water temperature conditions (Sect. S1.6). Pollutant loadings from the
domestic, manufacturing and intensive livestock sectors and from urban
surface runoff are abated based on grid-cell-specific wastewater practices.
The proportion of pollutant loadings removed by wastewater treatment
practices is estimated by multiplying the fraction of each treatment level
occurring in a grid cell by the pollutant removal efficiency associated with
that treatment level, as described in detail in previous work  (Jones et
al., 2021, 2022a).</p>
      <p id="d1e3062">A detailed explanation of how pollutant loadings are estimated within
DynQual is provided in Sect. S1, including<?pagebreak page4487?> equations (Eqs. S1–S8),
data sources and all parameter estimates (Tables S1–S7).</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Model demonstration</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Model run setup</title>
      <p id="d1e3081">DynQual is run for the time period 1980–2019 using W5E5 forcing data
(Cucchi et al., 2020; Stefan et al., 2021) in the configuration coupled
with PCR-GLOBWB2. We used the standard parameterization of PCR-GLOBWB2 for
hydrological simulations, as described in previous work (Sutanudjaja et
al., 2018). The focus of our model demonstration is on TDS, BOD and FC, as
results for <inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> have been displayed extensively in previous work
(Wanders et al., 2019). Pollutant loadings of TDS, BOD and FC
are estimated within the model run at the daily time step using input data
summarized in Table 2 and as detailed in Sects. 2.3 and S1. Both the meteorological forcing data and input data
used for simulating pollutant loadings used in this study are accessible
through links provided. We also provide the model code and full input data
required for running an example catchment (Rhine basin) in the “Code and data
availability statement”.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T2" specific-use="star"><?xmltex \currentcnt{2}?><label>Table 2</label><caption><p id="d1e3098">Summary of key input data used for the estimation of pollutant
loadings in the presented model application.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="justify" colwidth="5cm"/>
     <oasis:colspec colnum="4" colname="col4" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Sector</oasis:entry>
         <oasis:entry colname="col2">Data</oasis:entry>
         <oasis:entry colname="col3">Source</oasis:entry>
         <oasis:entry colname="col4">Spatio-temporal resolution</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Domestic</oasis:entry>
         <oasis:entry colname="col2">Population</oasis:entry>
         <oasis:entry colname="col3">Lange and Geiger (2020)</oasis:entry>
         <oasis:entry colname="col4">5 arcmin, annual</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Excretion rates</oasis:entry>
         <oasis:entry colname="col3">UNEP (2016); Van Vliet et al. (2021)</oasis:entry>
         <oasis:entry colname="col4">Regional, constant</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Manufacturing</oasis:entry>
         <oasis:entry colname="col2">Manufacturing return flows</oasis:entry>
         <oasis:entry colname="col3">PCR-GLOBWB2 (simulated)</oasis:entry>
         <oasis:entry colname="col4">5 arcmin, daily</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Effluent concentrations</oasis:entry>
         <oasis:entry colname="col3">UNEP (2016); Van Vliet et al. (2021)</oasis:entry>
         <oasis:entry colname="col4">Global, constant</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Urban surface runoff</oasis:entry>
         <oasis:entry colname="col2">Urban surface runoff</oasis:entry>
         <oasis:entry colname="col3">PCR-GLOBWB2 (simulated)</oasis:entry>
         <oasis:entry colname="col4">5 arcmin, daily</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Effluent concentrations</oasis:entry>
         <oasis:entry colname="col3">UNEP (2016)</oasis:entry>
         <oasis:entry colname="col4">Regional, constant</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Livestock</oasis:entry>
         <oasis:entry colname="col2">Livestock populations</oasis:entry>
         <oasis:entry colname="col3">Gilbert et al. (2018)</oasis:entry>
         <oasis:entry colname="col4">5 arcmin, annual</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Excretion rates</oasis:entry>
         <oasis:entry colname="col3">Weaver et al. (2005); Wilcock (2006); Robinson et al. (2011); Wen et al. (2017); Vigiak et al. (2019); Van Vliet et al. (2021)</oasis:entry>
         <oasis:entry colname="col4">Regional, constant</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Irrigation</oasis:entry>
         <oasis:entry colname="col2">Irrigation return flows</oasis:entry>
         <oasis:entry colname="col3">PCR-GLOBWB2 (simulated)</oasis:entry>
         <oasis:entry colname="col4">5 arcmin, daily</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Effluent concentrations</oasis:entry>
         <oasis:entry colname="col3">Batjes (2005)</oasis:entry>
         <oasis:entry colname="col4">30 arcmin, constant</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Power</oasis:entry>
         <oasis:entry colname="col2">Power return flows</oasis:entry>
         <oasis:entry colname="col3">Lohrmann et al. (2019)</oasis:entry>
         <oasis:entry colname="col4">5 arcmin, annual</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M181" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">Van Vliet et al. (2012a)</oasis:entry>
         <oasis:entry colname="col4">Global, constant</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table><?xmltex \gdef\@currentlabel{2}?></table-wrap>

      <p id="d1e3320">As per PCR-GLOBWB2 (Sutanudjaja et al., 2018), in addition to the
original water temperature model DynWat    (Wanders et al., 2019),
no calibration was performed. The process-based nature and global scale of
DynQual, combined with strong spatial biases in observations (Fig. S2) and
the large number of parameters that need to be estimated, complicate
meaningful calibration. In addition, uncalibrated physical models can
theoretically be applied in ungauged basins without loss of performance and
are more preferable for global change assessments with different climatic
and socio-economic scenarios  (Hrachowitz et al., 2013; Wanders et al.,
2019).</p>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Model evaluation</title>
      <p id="d1e3331">Model simulations were compared to observations from surface water quality
monitoring stations worldwide at daily temporal resolution. Observed data
were obtained from various state-of-the-art databases (Sect. S3.1). Water
quality monitoring data cover the entire modelled time period (1980–2019) and include a far greater number of observations than in previous
surface water quality modelling validation procedures (Table S8). However,
monitoring stations are unevenly distributed across space, with a strong
bias towards North America and western Europe for all water quality
constituents (Fig. S2). Furthermore, observations at monitoring stations
are highly fragmented across time, particularly for BOD and FC.</p>
      <p id="d1e3334">The overarching purpose and applications of a model, including large-scale
water quality models (Beusen et al., 2015; UNEP,
2016), must be considered both for determining suitable metrics for model
evaluation and for judging model performance. Given the approximations in
the model, uncertainties in input data and the overall complexity in the
drivers of pollutant loadings, the purpose of global water quality models is
not to compute daily concentrations exactly (UNEP, 2016). The modelling
strategy is thus to focus on the main spatial and temporal drivers of
pollution in river networks globally to facilitate first-order
approximations of in-stream concentrations. A key reason for implementing
DynQual at 5 arcmin spatial resolution is due to the marked improvement
of the performance of both PCR-GLOBWB2 (e.g. discharge) (Sutanudjaja et
al., 2018) and DynWat (e.g. water temperature)   (Wanders et al.,
2019) at finer spatial extents. These two factors have an important
influence on simulated in-stream concentrations due to dilution and
in-stream decay processes, respectively.</p>
      <p id="d1e3337">Given these factors, combined with limitations in the observational records
of surface water quality (Sect. S3.1), global water quality models have
typically not been evaluated with metrics commonly used for hydrological
modelling such as coefficients of determination, Nash–Sutcliffe efficiency
(NSE) and Kling–Gupta efficiency (KGE)  (Voß et al., 2012; Beusen et
al., 2015; UNEP, 2016; Wen et al., 2017; Van Vliet et al., 2021), with the
exception of water temperature simulations  (Van Vliet et al., 2012b;
Wanders et al., 2019). The model evaluation approach adopted for DynQual
combines methods applied for the evaluation of other global water quality
modelling efforts. Simulated TDS, BOD and FC concentrations are evaluated
with respect to pollutant classes linked to key sectoral water quality
thresholds  (UNEP, 2016; Wen et al., 2017) (Sect. S3.2.1; Table S9) and statistically using normalized root-mean-square error (nRMSE)
(Beusen et al., 2015; Van Vliet et al., 2021) (Sect. S3.2.2;  Eq. S11). This provides an indication of prediction errors across the different
water quality constituents comparable with previous large-scale water
quality assessments. Conversely, the quality of water temperature
simulations is evaluated using KGE (Sect. S3.2.2; Eq. S10). All four
water quality constituents are also evaluated by considering long-term
time series and multi-year annual cycles at individual monitoring stations
(Sect. S3.2.3), which we present for the station with the most data
availability across all four constituents (see
Fig. 5 for a station in the Mattaponi River in
the USA) and for a selection of additional monitoring stations per water
quality constituent (Figs. S5–S8).</p>
      <p id="d1e3340">Overall, a strong correspondence between simulated and observed
concentrations classes is found, indicating that the model is (largely) able
to simulate concentrations within the correct concentration range
(Fig. 3). The simulated concentration class
matches the observed concentration class exactly in 69 %, 51 % and
44 % of instances for TDS, BOD and FC, respectively. When considering
<inline-formula><mml:math id="M182" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula>1 pollutant class, these percentages rise to 92 %, 79 % and
79 %. Of the mismatches in simulated and observed concentration classes,
DynQual tends to under-estimate TDS and BOD concentrations relative to
observed in-stream concentrations (i.e. difference in classification level <inline-formula><mml:math id="M183" display="inline"><mml:mo>≥</mml:mo></mml:math></inline-formula> 1). This occurs for 75 % of mismatches<?pagebreak page4488?> in simulated TDS
classes and 69 % of mismatches in BOD classes. Conversely, FC mismatches
occur both for under-estimates (57 % of cases) and over-estimates (43 %
of cases) in more equal proportions.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><?xmltex \def\figurename{Figure}?><label>Figure 3</label><caption><p id="d1e3360">Differences in observed vs. simulated pollutant classes for <bold>(a)</bold> total dissolved solids (TDS), <bold>(b)</bold> biological oxygen demand (BOD) and <bold>(c)</bold> fecal
coliform (FC). Pollutant classes are defined based on water use and
ecological limitations, as stated by governmental and international
organizations. A difference in classification level of “0” indicates the
simulated pollutant class matches the observed pollutant class, while
negative differences indicate that observed concentrations exceeded
simulated concentrations and vice versa for positive differences.</p></caption>
          <?xmltex \igopts{width=384.112205pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f03.png"/>

        </fig>

      <p id="d1e3378">Statistical evaluation of the water temperature simulations using the KGE
coefficient demonstrates the strong performance of DynQual
(Fig. 4a) across all world regions (Fig. S3).
Across all observation stations, a median KGE of 0.72 is found (25th
percentile is 0.52, 75th percentile is 0.83), with 32 % of stations with
KGE <inline-formula><mml:math id="M184" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 0.8, 83 % of stations with KGE <inline-formula><mml:math id="M185" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 0.4 and
99 % of stations with KGE values exceeding the performance threshold of
<inline-formula><mml:math id="M186" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mo>-</mml:mo></mml:mrow></mml:math></inline-formula>0.41    (Knoben et al., 2019). Detailed
time series of individual rivers also demonstrate the ability of DynQual to
closely replicate observed water temperature at the daily time step, in
addition to seasonal patterns, across different world regions
(Figs. 5a, S5). A detailed evaluation of
water temperature simulations is available in previous work
(Wanders et al., 2019).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><?xmltex \def\figurename{Figure}?><label>Figure 4</label><caption><p id="d1e3407">Evaluation of model performance using the Kling–Gupta efficiency
(KGE) coefficient for <bold>(a)</bold> water temperature (<inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and normalized root mean
square error (nRMSE) for <bold>(b)</bold> total dissolved solids (TDS), <bold>(c)</bold> biological
oxygen demand (BOD) and <bold>(d)</bold> fecal coliform (FC) simulations. Spatial patterns
in KGE for <inline-formula><mml:math id="M188" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (Fig. S3) and nRMSE for TDS, BOD and FC (Fig. S4) are
displayed in Sect. S3.2.2.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f04.png"/>

        </fig>

      <p id="d1e3451">The distribution of nRMSE values, sub-divided by annual average river
discharge, for TDS, BOD and FC is displayed in
Fig. 4b–d. Statistical evaluation of the
simulations using nRMSE shows mixed results. A median nRMSE value of 0.76 is
found for TDS across all observation stations, with a 25th percentile of 0.79
and a 75th percentile of 1.83 (Fig. 4b). For BOD
simulations, a median nRMSE of 0.98, 25th percentile of 0.76 and 75th
percentile of 1.25 is found (Fig. 4c). A large
spread is found for nRMSE values for FC simulations, with a median of 1.89,
a 25th percentile of 1.16 and a 75th percentile of 3.53
(Fig. 4d). Simulated TDS concentrations are
typically lower than observations in many locations that are proximate to
the coastline, presumably due to a combination of background TDS
concentrations based upon minimum observations (and applied constantly) and
DynQual not accounting for the influence of saltwater intrusion. This may
somewhat explain the long tail (nRMSE <inline-formula><mml:math id="M189" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 10) in the histogram for
TDS (Fig. 4b) and the disproportionate tendency
of DynQual to simulate TDS concentrations that are lower than observed
concentrations (Fig. 3). Overall, no strong
spatial patterns are found in the distribution of nRMSE values of BOD
(Fig. S4b) and FC (Fig. S4c). For these water quality constituents,
model simulations tend to represent the observed data better in larger
streams (<inline-formula><mml:math id="M190" display="inline"><mml:mo lspace="0mm">&gt;</mml:mo></mml:math></inline-formula> 100 m<inline-formula><mml:math id="M191" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M192" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>). This is likely due to the
influence of spatial mismatches between monitoring station locations and
model simulations being especially important in smaller streams, where
concentrations are more sensitive to natural dilution capacity (i.e. water
availability) and variabilities in pollutant source contributions.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><?xmltex \def\figurename{Figure}?><label>Figure 5</label><caption><p id="d1e3491">Time series (left) and average annual cycles (right) of observed
vs. simulated surface water quality as indicated by <bold>(a)</bold> water temperature
(<inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>; <inline-formula><mml:math id="M194" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C), <bold>(b)</bold> total dissolved solid (TDS; mg L<inline-formula><mml:math id="M195" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) concentrations,
<bold>(c)</bold> biological oxygen demand (BOD; mg L<inline-formula><mml:math id="M196" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) concentrations, and <bold>(d)</bold> fecal
coliform (FC; cfu 100 mL<inline-formula><mml:math id="M197" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) concentrations at an example water quality
monitoring station. In the time series plots, observations are indicated by
blue crosses, daily simulations are indicated by grey lines and 30 d running averages are indicated by
red lines. In the average annual cycle plots, blue and red lines indicate
the median observed and simulated values, respectively, while the shading
represents the range in values as indicated by the 10th and 90th
percentiles. More examples for <inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (Fig. S5), TDS (Fig. S6), BOD (Fig. S7) and FC (Fig. S8) across different world regions are displayed in Sect. S3.2.3.</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f05.png"/>

        </fig>

      <p id="d1e3581">Long-term time series and average annual cycle plots for TDS
(Figs. 5b,  S6), BOD
(Figs. 5c, S7) and FC
(Figs. 5d, S8) show that DynQual can
generally simulate in-stream concentrations within the correct range (e.g.
min–max daily concentrations, 10th and 90th percentile average
annual cycles). Simulated concentrations at the example monitoring station
(Fig. 5) display that TDS, BOD and FC
concentrations are largely simulated within plausible limits with strong
overlaps in the average annual cycles, but the exact correspondence between
observed and simulated concentrations at the daily time step is relatively
poor. For this observation station, simulated peaks in daily TDS, BOD and FC
concentrations tend to exceed those in the observational record. However,
given the incomplete nature of the observed records, it is problematic to
draw conclusions on whether these concentrations are plausible but
unrecorded or if DynQual is simulating unrealistic peak concentrations. For
example, while DynQual<?pagebreak page4489?> captures some of the peaks in observed daily BOD
concentrations, simulated BOD concentrations exceed those in the
observational record while simultaneously under-predicting average annual
cycles in BOD concentrations (Fig. 5). This
pattern is also observable in TDS concentrations in the Mersey River (Fig. S6) and FC concentrations in the Exe River (Fig. S8).</p>
      <p id="d1e3584">While strong seasonality is present in the <inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> observations, which is
well captured by DynQual (Figs. 5a, S5),
and in TDS concentrations to a lesser extent (e.g. Mersey and Komati rivers
in Fig. S6), there is an overall lack of strong seasonal patterns in the
observed records of BOD and FC concentrations. This, combined with large
variability in the observed concentrations, results in large uncertainty in
average annual cycles of observed concentrations across all months, as
indicated by 10th and 90th percentiles
(Figs. 5c–d,  S7–S8). Annual average
cycles in observed and simulated concentrations tend to strongly overlap for
both BOD and FC. However, seasonal patterns are more evident in BOD
simulations than observations (e.g. Mersey, Periyar in Fig. S7), and the
large variability in observed FC concentrations is not replicated by DynQual
daily simulations (e.g. Cauvery, Rhine in Fig. S8). In the case of FC
concentrations, for example, this could suggest that DynQual misses or
under-represents the importance of pulse disturbances (e.g. high rainfall
events causing sewer overflows) on the transport of pollutants to surface
waters.</p>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Spatial patterns</title>
      <p id="d1e3606">The spatial patterns in TDS (Fig. 6), BOD
(Fig. 7) and FC (Fig. 8) concentrations show substantial variations both within and across world
regions, driven by different sectoral activities
(Fig. 9). The dilution capacity of rivers is also
a major determinant of in-stream concentrations. Averaged at the annual
timescale this is particularly evident for BOD and FC, where the large
dilution capacity of some major rivers is sufficient to dilute
concentrations to relatively low levels, despite often being fed by more
polluted tributaries. However, it should also be noted that both river
discharges and in-stream concentrations can exhibit substantial intra-annual
variability, thus pollutant hotspots and the magnitude of pollutant levels
must also be considered at finer temporal scales than presented here.
Intra-annual variability can occur in the model due to temporal variations in
(1) pollutant loadings, (2) water availability (i.e. dilution capacity) and (3) in-stream decay processes.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><?xmltex \def\figurename{Figure}?><label>Figure 6</label><caption><p id="d1e3611">Annual average total dissolved solids (TDS) concentrations for the
period 2010–2019 plotted for rivers with <inline-formula><mml:math id="M200" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 10 m<inline-formula><mml:math id="M201" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M202" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> annual average discharge.
</p></caption>
          <?xmltex \igopts{width=412.564961pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f06.jpg"/>

        </fig>

      <p id="d1e3648">TDS concentrations show strongly regional patterns, with key hotspots of
salinity pollution located in South Asia<?pagebreak page4490?> (Pakistan and northern India)
and eastern China and to a lesser degree across the United States and
Europe (Fig. 6). High TDS concentrations in
South-East Asia are predominantly driven by the irrigation sector and the
presence of saline soils (Fig. 9a). While the
irrigation sector is also an important driver of TDS pollution in eastern
China, the contribution from manufacturing activities is also substantial
(Fig. 9a). The manufacturing sector is the
dominant contributor of TDS pollution across most of North America and
western Europe, accounting for <inline-formula><mml:math id="M203" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 75 % of in-stream pollutant
loadings in almost all major river segments in these regions
(Fig. 9a). Aside from the lower Nile, where
salinity pollution is predominantly from the manufacturing sector, the
domestic sector is the key source of (non-natural) TDS loadings in Africa.
However, it should be noted that, aside from in the lower Nile, TDS
concentrations are simulated to be relatively low across most of Africa
(Fig. 6).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7" specific-use="star"><?xmltex \currentcnt{7}?><?xmltex \def\figurename{Figure}?><label>Figure 7</label><caption><p id="d1e3661">Annual average biological oxygen demand (BOD) concentrations for
the period 2010–2019 plotted for rivers with <inline-formula><mml:math id="M204" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 10 m<inline-formula><mml:math id="M205" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M206" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> annual average discharge.</p></caption>
          <?xmltex \igopts{width=412.564961pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f07.jpg"/>

        </fig>

      <p id="d1e3698">While BOD concentrations show considerable diversity across the major world
regions, a substantial proportion of river segments across populated areas
of all continents experience moderate-to-high organic pollution
(Fig. 7). There are clear spatial patterns in the
dominant sectoral activities contributing BOD loadings worldwide, and it
also evident that BOD pollution in most world regions is driven by a
combination of multiple sectors opposed to from an individual dominant
activity (Fig. 9b). Across Europe in particular,
which sector is dominant varies both spatially and temporally, and the
contribution from the dominant sector is typically <inline-formula><mml:math id="M207" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> 50 %
(Fig. 9b). The manufacturing sector is the most
significant source of BOD pollution across rivers in the United States;
however, the relative contribution commonly falls in the 20 %–50 % or 50 %–75 % categories (Fig. 9b). In the most
polluted world regions, South Asia and South-East Asia, the domestic
sector is typically dominant. However, there are also significant contributions from
manufacturing and extensive livestock activities
(Figs. 7, 9b).
Lastly, while its influence is highly localized, urban surface runoff can
also represent an important source of BOD pollution in heavily urbanized
grid cells across all world regions.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8" specific-use="star"><?xmltex \currentcnt{8}?><?xmltex \def\figurename{Figure}?><label>Figure 8</label><caption><p id="d1e3710">Annual average fecal coliform (FC) concentrations for the period
2010–2019 plotted for rivers with <inline-formula><mml:math id="M208" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 10 m<inline-formula><mml:math id="M209" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M210" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>
annual average discharge.</p></caption>
          <?xmltex \igopts{width=412.564961pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f08.jpg"/>

        </fig>

      <p id="d1e3747">FC pollution is particularly high across South Asia and South-East Asia, with
more localized hotspots found in parts of western Latin America, southern
Europe, Middle East and eastern Africa (Fig. 8).
Similar to BOD pollution, a large proportion of stream segments in South Asia and
South-East Asia are heavily polluted, with typically only rivers with
extremely high dilution capacities appearing in the lower concentration
classes. In this region, the domestic sector is predominantly responsible
for FC pollution (commonly <inline-formula><mml:math id="M211" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 75 %), attributed to large urban
populations coupled with a large proportion of domestic wastewater being
inadequately treated (Fig. 9c). In countries with
high municipal wastewater collection and treatment rates, such as in Europe,
the relative influence of livestock activities tends to be larger. While
manufacturing activities remain the dominant<?pagebreak page4491?> source of FC pollution in North
America, despite relatively high wastewater treatment rates, the percentage
contribution is typically <inline-formula><mml:math id="M212" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> 50 % and livestock activities also
represent an important source of FC loadings (Fig. 9c). Despite variable municipal wastewater collection and treatment rates
across Latin America, livestock activities appear to dominate FC loadings
outside of the Amazon basin (Fig. 9c). This can
be attributed to very high livestock numbers (particularly cattle), combined
with the fact that the most of the large urban settlements (and thus
domestic FC pollutant loadings) in South America are located in the coastal
zone. As such, pollution from the domestic and manufacturing sectors
typically enter the river network at downstream locations causing localized
pollution before outflow to the ocean.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9" specific-use="star"><?xmltex \currentcnt{9}?><?xmltex \def\figurename{Figure}?><label>Figure 9</label><caption><p id="d1e3766">Dominant sectoral activity contributing towards <bold>(a)</bold> total dissolved
solids (TDS), <bold>(b)</bold> biological oxygen demand (BOD) and <bold>(c)</bold> fecal coliform (FC)
pollution averaged over 2010–2019 plotted for rivers with <inline-formula><mml:math id="M213" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 10 m<inline-formula><mml:math id="M214" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M215" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> annual average discharge.</p></caption>
          <?xmltex \igopts{width=469.470472pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f09.jpg"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS4">
  <label>3.4</label><title>Trends</title>
      <p id="d1e3821">Long-term trends in TDS, BOD and FC concentrations over the simulated period
(1980–2019) are also presented (Fig. 10). TDS
concentrations in most world regions are either relatively constant or show
relatively upward gradual trends (Fig. 10a). Typically, where TDS
concentrations are increasing, the trend has been driven mainly by
expansions in manufacturing or irrigation activities. Comparatively, trends
in BOD (Fig. 10b) and FC
(Fig. 10c) concentrations are larger in magnitude
and exhibit substantially more spatial variation across the major world
regions. Regionally, the strongest increases in BOD and FC concentrations
are found in sub-Saharan Africa, where wastewater treatment rates are low,
and South Asia, where the rate of population growth and economic development
has significantly outstripped the expansion of wastewater treatment
infrastructure. Strong increasing trends are also found across most of Latin
America, where a significant proportion of collected wastewater does not
undergo wastewater treatment    (UNEP, 2016; Jones et al.,
2021). BOD and FC concentrations across North American rivers have typically
remained relatively constant or exhibit small decreasing trends. Strong
decreasing trends are found across Europe, including the Danube and Rhine
basins. In all world regions, the influence of reservoirs on BOD and FC
concentrations is also evident, with increased water volumes (i.e. dilution)
coupled with longer residence times (i.e.<?pagebreak page4492?> greater decay) reducing BOD and FC
concentrations at these specific locations.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10" specific-use="star"><?xmltex \currentcnt{10}?><?xmltex \def\figurename{Figure}?><label>Figure 10</label><caption><p id="d1e3826">Average annual percentage changes in <bold>(a)</bold> total dissolved solids
(TDS), <bold>(b)</bold> biological oxygen demand (BOD) and <bold>(c)</bold> fecal coliform (FC)
concentrations for the period 1980–2019 plotted only for rivers with
<inline-formula><mml:math id="M216" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 10 m<inline-formula><mml:math id="M217" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M218" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> annual average discharge.</p></caption>
          <?xmltex \igopts{width=441.017717pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f10.jpg"/>

        </fig>

      <p id="d1e3873">Complementary to the spatial analysis, we considered the proportion of the
population that inhabits grid cells exhibiting different trends in pollutant
concentrations, aggregated by geographical region and economic
classification (Fig. 11). It should be noted that
trends (Figs. 10 and 11) are not indicative of the degree of pollution
directly and thus should also be considered with respect to in-stream
concentrations (Figs. 6–8). Changes in TDS concentrations in the most
populated areas worldwide are typically low, with increases of 0 %–1 %
most common across all geographical regions (Fig. 11a). Conversely, strong regional patterns are evident for BOD
(Fig. 11b) and FC (Fig. 11c) concentrations. Particularly in sub-Saharan Africa and South Asia,
BOD and FC concentrations in populated locations have been almost
exclusively increasing. Over half of the population of sub-Saharan Africa
live in areas where BOD and FC concentrations have increased (on average) by
<inline-formula><mml:math id="M219" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 2 % yr<inline-formula><mml:math id="M220" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> from 1980–2019. Conversely, in western
Europe, trends in BOD and FC have been negative for areas where 60 % of
the population lives.</p>
      <p id="d1e3896">When aggregating trends by country-specific economic classifications, trends
in TDS, BOD and FC pollutant concentrations all display a clear correlation
with level of economic development (Fig. 11). For
the water quality constituents considered, the strongest and most widespread
decreases in pollutant concentrations have been experienced by “high-income”
countries, while “low-income” countries have experienced the greatest and
most widespread degree of water quality degradation. These patterns are
particularly clear for FC, where approximately 60 % of the population in
high-income countries live in grid cells displaying negative trends in FC
concentrations, compared to 50 %, 25 % and 10 % in “upper-middle-income”,
“lower-middle-income” and low-income countries, respectively. Furthermore, in the
low-income countries, 50 % of the population lives in areas where FC
concentrations have increased (on average) by <inline-formula><mml:math id="M221" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 2 % each year
from 1980 to 2019.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F11" specific-use="star"><?xmltex \currentcnt{11}?><?xmltex \def\figurename{Figure}?><label>Figure 11</label><caption><p id="d1e3908">Average annual percentage changes in <bold>(a)</bold> total dissolved solids
(TDS), <bold>(b)</bold> biological oxygen demand (BOD) and <bold>(c)</bold> fecal coliform (FC)
concentrations for the period 1980–2019. Results are displayed for the
proportion of population (%) inhabiting grid cells exhibiting different
trends in pollutant concentrations, aggregated by geographical region (left)
and economic classification (right).</p></caption>
          <?xmltex \igopts{width=469.470472pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f11.png"/>

        </fig>

      <p id="d1e3926">Lastly, we present time series of in-stream TDS, BOD and FC concentrations
delineated by sector-specific contributions at three selected locations
(Fig. 12) for which validation plots are also
presented (Figs. S6–S9). While it is not our intention to explain the
patterns in concentrations and sectoral drivers for the Mersey, Cauvery and
Kiso rivers specifically, these plots are illustrative of the capabilities
of DynQual. For example, these plots demonstrate the relative importance of
different water use activities on in-stream concentrations dynamically, and
also display changes over longer time<?pagebreak page4493?> periods. This is particularly evident
in FC concentrations in the Mersey River, where decreasing loadings from the
domestic and manufacturing sectors, primarily due to increases in wastewater
treatment capacities, have driven an overall trend towards water quality
improvements. Conversely, the manufacturing sector is simulated to have had
an increasing influence on TDS concentrations in the Kiso River since
<inline-formula><mml:math id="M222" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 2004, replacing the irrigation sector as the dominant driver
of salinity pollution.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F12" specific-use="star"><?xmltex \currentcnt{12}?><?xmltex \def\figurename{Figure}?><label>Figure 12</label><caption><p id="d1e3938">Simulated in-stream total dissolved solids (TDS), biological
oxygen demand (BOD) and fecal coliform (FC) concentrations in selected
rivers, disaggregated by contributing water use sectors and including linear
decadal trends.</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/4481/2023/gmd-16-4481-2023-f12.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S4" sec-type="conclusions">
  <label>4</label><title>Discussion, conclusions and future work</title>
      <p id="d1e3956">To conclude, we have developed and evaluated a new global surface water
quality model for simulating TDS, BOD and FC concentrations as indicators of
salinity, organic and pathogen pollution, respectively. Building upon the
water temperature model DynWat and utilizing approaches developed in
previous water quality model efforts, the open-source code is structured in
a way that allows for flexibility in both hydrological and pollutant loading
inputs. Output data from DynQual has potential to inform assessments in a
broad range of fields, including ecological, human health and water scarcity
studies. Such work is not only relevant to the hydrological and water
quality modelling communities but also has applications for the broader
scientific community in addition to informing policy regarding water
resources management.</p>
      <?pagebreak page4496?><p id="d1e3959">DynQual is ambitious in its aim to model global surface water quality (1) using a consistent approach, (2) dynamically, (3) considering multiple water
quality constituents and (4) at a high spatio-temporal (i.e. 5 arcmin and
daily time step) resolution. Any model must consider the trade-offs between
model complexity and availability of input datasets and data to parameterize
process descriptions of the model  (Weaver and Zwiers, 2000; Wen et
al., 2017) and the impact of this on model scope. Being a global model,
DynQual is inherently unable to accurately represent all aspects relevant to
the local context. Rather, the modelling strategy is to focus on the main
spatial and temporal drivers of pollution in river networks globally to
facilitate first-order approximations of in-stream concentrations at high
spatial (5 arcmin) and temporal (daily) resolution with global coverage. As
such, DynQual allows for the investigation of research questions that only
large-scale modelling efforts can address. These include, as presented in
the model application section, global pollution hot- and bright-spot
identification (Figs. 6–8), the relative importance of different
contributing sectors to water quality status across the globe
(Fig. 9), and meta-trends in surface water quality
dynamics (Figs. 10–11). The dynamic nature of DynQual can also
facilitate analysis of intra- and inter-annual trends in surface water
quality and help to further enhance the understanding of the main drivers
of pollution via (dynamic) sectoral attribution
(Fig. 12). Furthermore, this approach has
particular value for simulating surface water quality in ungauged
catchments, and our use of globally consistent input data facilitates
meaningful comparisons across different world regions. Given severe
limitations in observational records of surface water quality, both in terms
of spatial coverage and the number of observations per water quality
monitoring station (Sect. S3.1), these are key strengths of DynQual.
However, poor data availability is a severe limitation for
both the development of global water quality models and their evaluation.</p>
      <p id="d1e3962">Uncertainties in surface water quality simulations arise from a combination
of uncertainties associated with quantifications of pollutant loadings (e.g.
pollutant excretion, emission rates and sector-specific return flows), the
quality of hydrological simulations (e.g. discharge and velocities) and the
representation of in-stream processes (e.g. decay coefficients). These
uncertainties are especially prevalent when modelling at large spatial
extents. In-stream pollutant concentrations are sensitive to dilution
capacity and thus the quality of the hydrological simulations. This issue
contributes to uncertainties in simulated concentrations particularly in
headwater streams. Fixed estimates of decay coefficients are assumed, which
contributes to uncertainties in simulations of reactive constituents such as
BOD and FC. In addition, the representation of lakes and reservoirs in
DynQual is rudimentary, with total (routed) loadings instantaneously
averaged over the volume of the waterbody assuming full mixing.</p>
      <p id="d1e3965">With respect to pollutant loading quantifications, spatial mismatches
between the generation of pollutant loadings and the location of entry to
the stream network (return flows) can result in the simulation of
unrealistic concentrations, particularly in grid cells with very low water
availability (i.e. headwater streams). This can occur where the drivers of
point source pollutant emissions (e.g. population) do not directly coincide
with the location of wastewater treatment plant outlets. A lack of
temporally explicit input data can hinder proper representation of sectors
with strong intra- or inter-annual variability. For instance, notable
limitations for the livestock sector are the simplified assumptions made for
livestock population numbers (assumed to be constant across days of the
year), changes to livestock numbers across multi-year periods (applied
annually and based on regional averages) and transportation pathways to the
stream network (assumed to be a function of surface runoff excluding the
representation of processes that affect pollutant retention in soils).
Locally relevant sources of pollution may also be entirely excluded, such as
the lack of information on TDS emissions from mining activities and
road deicing. Similarly, pulses of pollutant loadings occurring during
extreme rainfall of flood events are also overlooked, such as those
associated with sewer overflows or from inundated industrial areas.</p>
      <p id="d1e3969">Despite these uncertainties, DynQual has been demonstrated to perform with a
reasonable level of performance, especially given the approximations of the
model. Water temperature simulations closely match observations at daily
resolution as indicated by KGE coefficients (Fig. 4a), which are high across all world regions (Fig. S3). Furthermore,
time series and average annual plots (Figs. 5a,
S5) demonstrate that seasonal regimes present in observed water
temperatures are well captured by the model. Simulated TDS, BOD and FC
concentrations are largely within the correct concentration classes
(Fig. 3) with nRMSE coefficients
(Fig. 4b–d) deemed reasonable considering the
challenges of comparing<?pagebreak page4497?> individual (instantaneous) observed daily TDS, BOD
and FC concentrations against simulated daily concentrations. Long-term
time series and average annual cycle plots for TDS
(Figs. 5b, S6), BOD
(Figs. 5c, S7) and FC
(Figs. 5d, S8) show that DynQual can
generally simulate in-stream concentrations within the correct range (e.g.
min–max daily concentrations, 10th and 90th percentile average
annual cycles), but simulations of in-stream concentrations time series on a
daily time step show relatively poor agreement with the observed time series.
Observed data records also tend to display large variability in
concentrations but little (systematic) seasonality, especially for BOD
(Fig. S7) and FC (Fig. S8) concentrations. These factors have a strong
influence on metrics including nRMSE but especially the other commonly used
evaluation metrics in hydrology such as the Nash–Sutcliffe efficiency (NSE)
and Kling–Gupta efficiency (KGE), and hence support our decision not to
evaluate model performance using these metrics. Challenges related to the
observational records themselves should also be acknowledged. These can
relate to, for example, artefacts in observational records (Fig. S9a),
issues related to instrument detection limits and/or reporting accuracies
(Fig. S9b) and large variability in the observation records (Fig. S9c).
Lastly, given the approximations of the model, the overall complexity in the
drivers of pollutant loadings and input data limitations, we reiterate that
the current set-up of DynQual is not suited to simulate daily TDS, BOD and
FC concentrations that correspond exactly with in situ observational
measurements.</p>
      <p id="d1e3972">With few comparable studies in the current literature, it is difficult to
quantitatively assess the performance of DynQual relative to other
large-scale surface water quality models. Overall, our modelled spatial
patterns in surface water quality match well with previous regional and
global assessments – showing multi-pollutant hotspots (e.g. TDS, BOD,
FC) to be located across northern India and eastern China in particular
(UNEP, 2016; Wen et al., 2017; Van Vliet et al., 2021). Consistent with a
recent data-driven (machine learning) approach  (Desbureaux et
al., 2022), albeit for some different water quality constituents (e.g. total
phosphorus), we find a general trend towards surface water quality
improvement in developed countries and deterioration in developing
countries. Water temperature (<inline-formula><mml:math id="M223" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) simulations closely match those of the
global water temperature models upon which DynQual is based  (Van Vliet et
al., 2012b; Wanders et al., 2019; Van Vliet et al., 2021). For total
dissolved solids (TDS) and biological oxygen demand (BOD) concentrations,
values of (and patterns in) normalized root-mean-square errors (nRMSEs) are
similar to previous work (Van Vliet et al., 2021), with
reasonable model performance (<inline-formula><mml:math id="M224" display="inline"><mml:mo lspace="0mm">&lt;</mml:mo></mml:math></inline-formula> 1 nRMSE) exhibited at monitoring
locations across all continents. Other large-scale surface water quality
models have validated simulated concentrations with respect to concentration
classes linked to sectoral water use and environmental health limits.
Following this approach, Wen et al. (2017) reported BOD concentrations
simulated within the same classification in 94 % of instances; however,
this is based on only 760 measurements, of which 91 % are modelled in the
lowest pollutant class (0–5 mg L<inline-formula><mml:math id="M225" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>). More comparable to our
simulations, UNEP (2016) compared modelled and observed pollutant classes
for TDS, BOD and fecal coliform (FC) concentrations across Latin America,
Africa and Asia, achieving largely comparable model performance. Comparing
our simulations to output from other global water quality models modelling
<inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, BOD, TDS and FC, when available, will provide further insights into
model performance.</p>
      <p id="d1e4016">Meaningful comparisons to other surface water quality models are challenging
due to the high diversity in terms of (1) spatial extent (e.g. lumped vs.
distributed), (2) temporal resolution (e.g. daily vs. monthly vs. annual vs.
decadal), and (3) water quality constituent and reporting form (e.g. loads
vs. concentrations). Similarly, watershed-scale surface water quality models
are constructed for different purposes than large-scale (continental to
global) surface water quality models. These watershed models can better
incorporate locally relevant input data and processes, are parameterized for
local conditions, and typically have data of good quality and record length
for calibration and validation – which facilitates higher precision and
accuracy in both hydrological and water quality simulations. However, these
models are reliant upon detailed local knowledge, which is severely lacking
for many (particularly ungauged) catchments worldwide (e.g. large parts of
Africa).</p>
      <p id="d1e4019">Despite their limitations, process-based large-scale water quality models
can facilitate first-order assessments of global water quality dynamics that
are consistent across both space and time, such as those demonstrated in Sect. 3. Future applications of DynQual may
include (1) expanding the number of modelled water quality constituents, (2) further spatio-temporal analysis of surface water quality, and (3) investigating the impact of uncertain climatic and socio-economic change on
future surface water quality.</p>
</sec>

      
      </body>
    <back><notes notes-type="codedataavailability"><title>Code and data availability</title>

      <p id="d1e4027">DynQual v1.0 is open source and distributed under the terms of the GNU
General Public License version 3, or any later version, as published by the
Free Software Foundation. The full model code, configuration INI files and a
user manual are provided through a GitHub repository: <uri>https://github.com/UU-Hydro/DYNQUAL</uri> (last access: 31 May 2023). The model code presented in this
paper is archived at  <ext-link xlink:href="https://doi.org/10.5281/zenodo.7932317" ext-link-type="DOI">10.5281/zenodo.7932317</ext-link> (Jones et al., 2023).</p>

      <p id="d1e4036">A full set-up with all required input datasets for running DynQual for the
Rhine–Meuse basin is provided as an example (<ext-link xlink:href="https://doi.org/10.5281/zenodo.7027242" ext-link-type="DOI">10.5281/zenodo.7027242</ext-link>, Jones, 2022). Monthly water temperature (<inline-formula><mml:math id="M227" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>)
and salinity (TDS) and organic (BOD) and pathogen (FC) concentrations are
available directly via <ext-link xlink:href="https://doi.org/10.5281/zenodo.7139222" ext-link-type="DOI">10.5281/zenodo.7139222</ext-link> (Jones et al., 2022b).
Here, we also provide the output hydrological data (discharge and channel
storage) simulated within the model run.</p>
  </notes><app-group>
        <supplementary-material position="anchor"><?pagebreak page4498?><p id="d1e4056">The supplement related to this article is available online at: <inline-supplementary-material xlink:href="https://doi.org/10.5194/gmd-16-4481-2023-supplement" xlink:title="pdf">https://doi.org/10.5194/gmd-16-4481-2023-supplement</inline-supplementary-material>.</p></supplementary-material>
        </app-group><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e4065">The research was designed by ERJ, MFPB and MTHvV. The surface water quality
model was developed by ERJ, with assistance from NW and EHS. Output data
analysis and presentation of results was led by ERJ, with guidance and
feedback from MFPB, NW, LPHvB and MTHvV. All authors contributed to and
approved the manuscript.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e4071">The contact author has declared that none of the authors has any competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d1e4077">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e4083">We acknowledge the NWO for the grant that
enabled us to use the national supercomputer Snellius (project no. EINF-3999).</p></ack><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e4088">This paper was edited by Wolfgang Kurtz and reviewed by two anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><?label 1?><mixed-citation>
Batjes, N. H.: ISRIC-WISE global data set of derived soil properties on a
0.5 by 0.5 degree grid (Version 3.0), World Soil Information, Wageningen,
24, d9eca770-29a4-4d95-bf93-f32e1ab419c3, 2005.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><?label 1?><mixed-citation>Beusen, A. H. W., Dekkers, A. L. M., Bouwman, A. F., Ludwig, W., and
Harrison, J.: Estimation of global river transport of sediments and
associated particulate C, N, and P, Global Biogeochem. Cy., 19,    GB4S05, <ext-link xlink:href="https://doi.org/10.1029/2005gb002453" ext-link-type="DOI">10.1029/2005gb002453</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><?label 1?><mixed-citation>Beusen, A. H. W., Van Beek, L. P. H., Bouwman, A. F., Mogollón, J. M., and Middelburg, J. J.: Coupling global models for hydrology and nutrient loading to simulate nitrogen and phosphorus retention in surface water – description of IMAGE–GNM and analysis of performance, Geosci. Model Dev., 8, 4045–4067, <ext-link xlink:href="https://doi.org/10.5194/gmd-8-4045-2015" ext-link-type="DOI">10.5194/gmd-8-4045-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><?label 1?><mixed-citation>Chapra, S. C., Pelletier, G. J., and Tao, H.:  QUAL2K: A Modeling Framework for Simulating River and Stream Water Quality, Version 2.11: Documentation and Users Manual, Civil and Environmental Engineering Dept., Tufts University, Medford, MA, 2008.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><?label 1?><mixed-citation>Cucchi, M., Weedon, G. P., Amici, A., Bellouin, N., Lange, S., Müller Schmied, H., Hersbach, H., and Buontempo, C.: WFDE5: bias-adjusted ERA5 reanalysis data for impact studies, Earth Syst. Sci. Data, 12, 2097–2120, <ext-link xlink:href="https://doi.org/10.5194/essd-12-2097-2020" ext-link-type="DOI">10.5194/essd-12-2097-2020</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><?label 1?><mixed-citation>Damania, R., Desbureaux, S., Rodella, A.-S., Russ, J., and Zaveri, E.:
Quality Unknown: The Invisible Water Crises, World Bank Group, Washington,
DC, <ext-link xlink:href="https://doi.org/10.1596/978-1-4648-1459-4" ext-link-type="DOI">10.1596/978-1-4648-1459-4</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><?label 1?><mixed-citation>Desbureaux, S., Mortier, F., Zaveri, E., van Vliet, M. T. H., Russ, J.,
Rodella, A. S., and Damania, R.: Mapping global hotspots and trends of water
quality (1992–2010): a data driven approach, Environ. Res.
Lett., 17, 114048, <ext-link xlink:href="https://doi.org/10.1088/1748-9326/ac9cf6" ext-link-type="DOI">10.1088/1748-9326/ac9cf6</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><?label 1?><mixed-citation>Ehalt Macedo, H., Lehner, B., Nicell, J., Grill, G., Li, J., Limtong, A., and Shakya, R.: Distribution and characteristics of wastewater treatment plants within the global river network, Earth Syst. Sci. Data, 14, 559–577, <ext-link xlink:href="https://doi.org/10.5194/essd-14-559-2022" ext-link-type="DOI">10.5194/essd-14-559-2022</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><?label 1?><mixed-citation>Gilbert, M., Nicolas, G., Cinardi, G., Van Boeckel, T. P., Vanwambeke, S.
O., Wint, G. R. W., and Robinson, T. P.: Global distribution data for
cattle, buffaloes, horses, sheep, goats, pigs, chickens and ducks in 2010,
Sci. Data, 5, 180227, <ext-link xlink:href="https://doi.org/10.1038/sdata.2018.227" ext-link-type="DOI">10.1038/sdata.2018.227</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><?label 1?><mixed-citation>Gudmundsson, L., Boulange, J., Do, H. X., Gosling, S. N., Grillakis, M. G.,
Koutroulis, A. G., Leonard, M., Liu, J., Müller Schmied, H.,
Papadimitriou, L., Pokhrel, Y., Seneviratne, S. I., Satoh, Y., Thiery, W.,
Westra, S., Zhang, X., and Zhao, F.: Globally observed trends in mean and
extreme river flow attributed to climate change, Science, 371, 1159–1162, <ext-link xlink:href="https://doi.org/10.1126/science.aba3996" ext-link-type="DOI">10.1126/science.aba3996</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><?label 1?><mixed-citation>Hofstra, N., Bouwman, A. F., Beusen, A. H. W., and Medema, G. J.: Exploring
global Cryptosporidium emissions to surface water, Sci. Total
Environ., 442, 10–19, <ext-link xlink:href="https://doi.org/10.1016/j.scitotenv.2012.10.013" ext-link-type="DOI">10.1016/j.scitotenv.2012.10.013</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><?label 1?><mixed-citation>Hrachowitz, M., Savenije, H. H. G., Blöschl, G., McDonnell, J. J.,
Sivapalan, M., Pomeroy, J. W., Arheimer, B., Blume, T., Clark, M. P., Ehret,
U., Fenicia, F., Freer, J. E., Gelfan, A., Gupta, H. V., Hughes, D. A., Hut,
R. W., Montanari, A., Pande, S., Tetzlaff, D., Troch, P. A., Uhlenbrook, S.,
Wagener, T., Winsemius, H. C., Woods, R. A., Zehe, E., and Cudennec, C.: A
decade of Predictions in Ungauged Basins (PUB) – a review, Hydrolog.
Sci.  J., 58, 1198-1255, <ext-link xlink:href="https://doi.org/10.1080/02626667.2013.803183" ext-link-type="DOI">10.1080/02626667.2013.803183</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><?label 1?><mixed-citation>Jones, E. R.:  DynQual input example: Rhine basin,  Zenodo [data set], <ext-link xlink:href="https://doi.org/10.5281/zenodo.7027242" ext-link-type="DOI">10.5281/zenodo.7027242</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><?label 1?><mixed-citation>Jones, E. R., van Vliet, M. T. H., Qadir, M., and Bierkens, M. F. P.: Country-level and gridded estimates of wastewater production, collection, treatment and reuse, Earth Syst. Sci. Data, 13, 237–254, <ext-link xlink:href="https://doi.org/10.5194/essd-13-237-2021" ext-link-type="DOI">10.5194/essd-13-237-2021</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><?label 1?><mixed-citation>Jones, E. R., Bierkens, M. F. P., Wanders, N., Sutanudjaja, E. H., van Beek,
L. P. H., and van Vliet, M. T. H.: Current wastewater treatment targets are
insufficient to protect surface water quality, Commun. Earth
Environ., 3, 221, <ext-link xlink:href="https://doi.org/10.1038/s43247-022-00554-y" ext-link-type="DOI">10.1038/s43247-022-00554-y</ext-link>, 2022a.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><?label 1?><mixed-citation>Jones, E. R., Bierkens, M. F. P., Wanders, N., Sutanudjaja, E. H., van Beek, L. P. H., and van Vliet, M. T. H.: Global monthly hydrology and water quality datasets, derived from the dynamical surface water quality model (DynQual) at 10 km spatial resolution, Zenodo  [data set], <ext-link xlink:href="https://doi.org/10.5281/zenodo.7139222" ext-link-type="DOI">10.5281/zenodo.7139222</ext-link>, 2022b.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><?label 1?><mixed-citation>Jones, E. R., Bierkens. M. F. P., Wanders, N., Sutanudjaja, E. H., van Beek, L. P. H., and van Vliet, M. T. H.:  UU-Hydro/DYNQUAL: DynQual v1.0, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.7932317" ext-link-type="DOI">10.5281/zenodo.7932317</ext-link>, 2023.</mixed-citation></ref>
      <?pagebreak page4499?><ref id="bib1.bib18"><label>18</label><?label 1?><mixed-citation>Knoben, W. J. M., Freer, J. E., and Woods, R. A.: Technical note: Inherent benchmark or not? Comparing Nash–Sutcliffe and Kling–Gupta efficiency scores, Hydrol. Earth Syst. Sci., 23, 4323–4331, <ext-link xlink:href="https://doi.org/10.5194/hess-23-4323-2019" ext-link-type="DOI">10.5194/hess-23-4323-2019</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><?label 1?><mixed-citation>Lange, S. and Geiger, T.: ISIMIP3a population input data (1.0),  SIMIP Repository [data set], <ext-link xlink:href="https://doi.org/10.48364/ISIMIP.822480" ext-link-type="DOI">10.48364/ISIMIP.822480</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><?label 1?><mixed-citation>Lohrmann, A., Farfan, J., Caldera, U., Lohrmann, C., and Breyer, C.: Global
scenarios for significant water use reduction in thermal power plants based
on cooling water demand estimation using satellite imagery, Nat. Energ.,
4, 1040–1048, <ext-link xlink:href="https://doi.org/10.1038/s41560-019-0501-4" ext-link-type="DOI">10.1038/s41560-019-0501-4</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><?label 1?><mixed-citation>Loucks, D. P. and Beek, E. V.: Water quality modeling and prediction, in:
Water resource systems planning and management, Springer, 417–467, <ext-link xlink:href="https://doi.org/10.1007/978-3-319-44234-1_10" ext-link-type="DOI">10.1007/978-3-319-44234-1_10</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><?label 1?><mixed-citation>Luthy, R. G., Sedlak, D. L., Plumlee, M. H., Austin, D., and Resh, V. H.:
Wastewater-effluent-dominated streams as ecosystem-management tools in a
drier climate, Front. Ecol. Environ., 13, 477–485,
<ext-link xlink:href="https://doi.org/10.1890/150038" ext-link-type="DOI">10.1890/150038</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><?label 1?><mixed-citation>Ozaki, N., Fukushima, T., Harasawa, H., Kojiri, T., Kawashima, K., and Ono,
M.: Statistical analyses on the effects of air temperature fluctuations on
river water qualities, Hydrol. Process., 17, 2837–2853,
<ext-link xlink:href="https://doi.org/10.1002/hyp.1437" ext-link-type="DOI">10.1002/hyp.1437</ext-link>, 2003.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><?label 1?><mixed-citation>Prüss-Ustün, A., Wolf, J., Bartram, J., Clasen, T., Cumming, O.,
Freeman, M. C., Gordon, B., Hunter, P. R., Medlicott, K., and Johnston, R.:
Burden of disease from inadequate water, sanitation and hygiene for selected
adverse health outcomes: An updated analysis with a focus on low- and
middle-income countries, Int. J. Hyg. Envir.
Heal., 222, 765–777, <ext-link xlink:href="https://doi.org/10.1016/j.ijheh.2019.05.004" ext-link-type="DOI">10.1016/j.ijheh.2019.05.004</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><?label 1?><mixed-citation>Reder, K., Flörke, M., and Alcamo, J.: Modeling historical fecal
coliform loadings to large European rivers and resulting in-stream
concentrations, Environ. Model. Softw., 63, 251–263,
<ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2014.10.001" ext-link-type="DOI">10.1016/j.envsoft.2014.10.001</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><?label 1?><mixed-citation>Robinson, T. P., Thornton, P. K., Franceschini, G., Kruska, R., Chiozza, F.,
Notenbaert, A. M. O., Cecchi, G., Herrero, M. T., Epprecht, M., and Fritz,
S.: Global livestock production systems, Food and Agriculture Organization
of the United Nations (FAO) and International Livestock Research Institute
(ILRI), Rome, 152 pp., ISBN 978-92-5-107033-8, 2011.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><?label 1?><mixed-citation>Sirota, J., Baiser, B., Gotelli, N. J., and Ellison, A. M.: Organic-matter
loading determines regime shifts and alternative states in an aquatic
ecosystem, P. Natl. Acad. Sci. USA, 110, 7742–7747,
<ext-link xlink:href="https://doi.org/10.1073/pnas.1221037110" ext-link-type="DOI">10.1073/pnas.1221037110</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><?label 1?><mixed-citation>Smucker, N. J., Beaulieu, J. J., Nietch, C. T., and Young, J. L.:
Increasingly severe cyanobacterial blooms and deep water hypoxia coincide
with warming water temperatures in reservoirs, Glob. Change Biol., 27,
2507–2519, <ext-link xlink:href="https://doi.org/10.1111/gcb.15618" ext-link-type="DOI">10.1111/gcb.15618</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><?label 1?><mixed-citation>Stefan, L., Christoph, M., Stephanie, G., Marco, C., Graham, P. W.,
Alessandro, A., Nicolas, B., Hannes Müller, S., Hans, H., Carlo, B., and
Chiara, C.: WFDE5 over land merged with ERA5 over the ocean (W5E5 v2.0),  ISIMIP Repository [data set], <ext-link xlink:href="https://doi.org/10.48364/ISIMIP.342217" ext-link-type="DOI">10.48364/ISIMIP.342217</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><?label 1?><mixed-citation>Sutanudjaja, E. H., van Beek, R., Wanders, N., Wada, Y., Bosmans, J. H. C., Drost, N., van der Ent, R. J., de Graaf, I. E. M., Hoch, J. M., de Jong, K., Karssenberg, D., López López, P., Peßenteiner, S., Schmitz, O., Straatsma, M. W., Vannametee, E., Wisser, D., and Bierkens, M. F. P.: PCR-GLOBWB 2: a 5 arcmin global hydrological and water resources model, Geosci. Model Dev., 11, 2429–2453, <ext-link xlink:href="https://doi.org/10.5194/gmd-11-2429-2018" ext-link-type="DOI">10.5194/gmd-11-2429-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><?label 1?><mixed-citation>Thomann, R. V. and Mueller, J. A.: Principles of surface water quality
modeling and control, Harper &amp; Row Publishers, ISBN-10 0060466774, 1987.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><?label 1?><mixed-citation>Thorslund, J. and van Vliet, M. T. H.: A global dataset of surface water and
groundwater salinity measurements from 1980–2019, Sci. Data, 7, 231, <ext-link xlink:href="https://doi.org/10.1038/s41597-020-0562-z" ext-link-type="DOI">10.1038/s41597-020-0562-z</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib33"><label>33</label><?label 1?><mixed-citation>Thorslund, J., Bierkens, M. F. P., Scaini, A., Sutanudjaja, E. H., and van
Vliet, M. T. H.: Salinity impacts on irrigation water-scarcity in food bowl
regions of the US and Australia, Environ. Res. Lett., 17, 084002, <ext-link xlink:href="https://doi.org/10.1088/1748-9326/ac7df4" ext-link-type="DOI">10.1088/1748-9326/ac7df4</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bib34"><label>34</label><?label 1?><mixed-citation>UNEP: A Snapshot of the World's Water Quality: Towards a global assessment,
United Nations Environment Programme, Nairobi, Kenya, 162 pp., 2016.</mixed-citation></ref>
      <ref id="bib1.bib35"><label>35</label><?label 1?><mixed-citation>van Beek, L., Eikelboom, T., van Vliet, M., and Bierkens, M. F. P.: A
physically based model of global freshwater surface temperature, Water
Resour. Res., 48, W09530, <ext-link xlink:href="https://doi.org/10.1029/2012WR011819" ext-link-type="DOI">10.1029/2012WR011819</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib36"><label>36</label><?label 1?><mixed-citation>van Puijenbroek, P. J. T. M., Beusen, A. H. W., and Bouwman, A. F.: Global
nitrogen and phosphorus in urban waste water based on the Shared
Socio-economic pathways, J. Environ. Manage., 231, 446–456,
<ext-link xlink:href="https://doi.org/10.1016/j.jenvman.2018.10.048" ext-link-type="DOI">10.1016/j.jenvman.2018.10.048</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib37"><label>37</label><?label 1?><mixed-citation>van Vliet, M., Franssen, W., Yearsley, J., Ludwig, F., Haddeland, I.,
Lettenmaier, D., and Kabat, P.: Global River Discharge and Water Temperature
under Climate Change, Global Environ. Chang., 23, 450–464, <ext-link xlink:href="https://doi.org/10.1016/j.gloenvcha.2012.11.002" ext-link-type="DOI">10.1016/j.gloenvcha.2012.11.002</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib38"><label>38</label><?label 1?><mixed-citation>van Vliet, M., Sheffield, J., Wiberg, D., and Wood, E.: Impacts of recent
drought and warm years on water resources and electricity supply worldwide,
Environ. Res. Lett., 11, 124021, <ext-link xlink:href="https://doi.org/10.1088/1748-9326/11/12/124021" ext-link-type="DOI">10.1088/1748-9326/11/12/124021</ext-link>,
2016.</mixed-citation></ref>
      <ref id="bib1.bib39"><label>39</label><?label 1?><mixed-citation>van Vliet, M. T. H., Yearsley, J., Ludwig, F., Vögele, S., Lettenmaier, D.,
and Kabat, P.: Vulnerability of US and European Electricity Supply to
Climate Change, Nat. Clim. Change, 2, 676–681, <ext-link xlink:href="https://doi.org/10.1038/nclimate1546" ext-link-type="DOI">10.1038/nclimate1546</ext-link>,
2012a.</mixed-citation></ref>
      <ref id="bib1.bib40"><label>40</label><?label 1?><mixed-citation>van Vliet, M. T. H., Yearsley, J. R., Franssen, W. H. P., Ludwig, F., Haddeland, I., Lettenmaier, D. P., and Kabat, P.: Coupled daily streamflow and water temperature modelling in large river basins, Hydrol. Earth Syst. Sci., 16, 4303–4321, <ext-link xlink:href="https://doi.org/10.5194/hess-16-4303-2012" ext-link-type="DOI">10.5194/hess-16-4303-2012</ext-link>, 2012b.</mixed-citation></ref>
      <ref id="bib1.bib41"><label>41</label><?label 1?><mixed-citation>van Vliet, M. T. H., Jones, E. R., Flörke, M., Franssen, W. H. P.,
Hanasaki, N., Wada, Y., and Yearsley, J. R.: Global water scarcity including
surface water quality and expansions of clean water technologies,
Environ. Res. Lett., 16, 024020, <ext-link xlink:href="https://doi.org/10.1088/1748-9326/abbfc3" ext-link-type="DOI">10.1088/1748-9326/abbfc3</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib42"><label>42</label><?label 1?><mixed-citation>Velasco, J., Gutiérrez-Cánovas, C., Botella-Cruz, M.,
Sánchez-Fernández, D., Arribas, P., Carbonell, J. A., Millán,
A., and Pallarés, S.: Effects of salinity changes on aquatic organisms
in a multiple stressor context, Philos. T. Roy.
Soc. B, 374, 20180011, <ext-link xlink:href="https://doi.org/10.1098/rstb.2018.0011" ext-link-type="DOI">10.1098/rstb.2018.0011</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib43"><label>43</label><?label 1?><mixed-citation>Vigiak, O., Grizzetti, B., Udias-Moinelo, A., Zanni, M., Dorati, C.,
Bouraoui, F., and Pistocchi, A.: Predicting biochemical oxygen demand in
European freshwater bodies, Sci.  Total Environ., 666,
1089–1105, <ext-link xlink:href="https://doi.org/10.1016/j.scitotenv.2019.02.252" ext-link-type="DOI">10.1016/j.scitotenv.2019.02.252</ext-link>,
2019.</mixed-citation></ref>
      <ref id="bib1.bib44"><label>44</label><?label 1?><mixed-citation>Voß, A., Alcamo, J., Bärlund, I., Voß, F., Kynast, E., Williams,
R., and Malve, O.: Continental scale modelling of in-stream rive<?pagebreak page4500?>r water
quality: a report on methodology, test runs, and scenario application,
Hydrol. Process., 26, 2370–2384, <ext-link xlink:href="https://doi.org/10.1002/hyp.9445" ext-link-type="DOI">10.1002/hyp.9445</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib45"><label>45</label><?label 1?><mixed-citation>Walton, N. R. G.: Electrical Conductivity and Total Dissolved Solids – What
is Their Precise Relationship?, Desalination, 72, 275–292, <ext-link xlink:href="https://doi.org/10.1016/0011-9164(89)80012-8" ext-link-type="DOI">10.1016/0011-9164(89)80012-8</ext-link>, 1989.</mixed-citation></ref>
      <ref id="bib1.bib46"><label>46</label><?label 1?><mixed-citation>Wanders, N. and Wada, Y.: Human and climate impacts on the 21st century
hydrological drought, J. Hydrol., 526, 208–220, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2014.10.047" ext-link-type="DOI">10.1016/j.jhydrol.2014.10.047</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib47"><label>47</label><?label 1?><mixed-citation>Wanders, N., van Vliet, M. T. H., Wada, Y., Bierkens, M. F. P., and van
Beek, L. P. H.: High-Resolution Global Water Temperature Modeling, Water
Resour. Res., 55, 2760–2778, <ext-link xlink:href="https://doi.org/10.1029/2018WR023250" ext-link-type="DOI">10.1029/2018WR023250</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib48"><label>48</label><?label 1?><mixed-citation>Weaver, A. and Zwiers, F.: Uncertainty in climate change, Nature, 407,
571–572, <ext-link xlink:href="https://doi.org/10.1038/35036659" ext-link-type="DOI">10.1038/35036659</ext-link>, 2000.
      streptococci and
Escherichia coli in fresh and dry cattle, horse, and sheep manure, Can.
J. Microbiol., 51, 847–851, <ext-link xlink:href="https://doi.org/10.1139/w05-071" ext-link-type="DOI">10.1139/w05-071</ext-link>, 2005.</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib49"><label>49</label><?label 1?><mixed-citation>Wen, Y., Schoups, G., and van de Giesen, N.: Organic pollution of rivers:
Combined threats of urbanization, livestock farming and global climate
change, Sci. Rep., 7, 43289, <ext-link xlink:href="https://doi.org/10.1038/srep43289" ext-link-type="DOI">10.1038/srep43289</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib50"><label>50</label><?label 1?><mixed-citation>Wilcock, B.: Assessing the Relative Importance of Faecal Pollution Sources
in Rural Catchments, Environment Waikato, Environment Waikato,  ISSN: 1172-4005, 2006.</mixed-citation></ref>
      <ref id="bib1.bib51"><label>51</label><?label 1?><mixed-citation>Wright, B., Stanford, B., Reinert, A., Routt, J., Khan, S., and Debroux,
J.-F.: Managing water quality impacts from drought on drinking water
supplies, Aqua, 63, 179, <ext-link xlink:href="https://doi.org/10.2166/aqua.2013.123" ext-link-type="DOI">10.2166/aqua.2013.123</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib52"><label>52</label><?label 1?><mixed-citation>WWAP: The United Nations World Water Development Report 2017, Wastewater:
The Untapped Resource, Paris, UNESCO, ISBN 978-92-3-100201-4, 2017.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>DynQual v1.0: a high-resolution global surface water quality model</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
      
Batjes, N. H.: ISRIC-WISE global data set of derived soil properties on a
0.5 by 0.5 degree grid (Version 3.0), World Soil Information, Wageningen,
24, d9eca770-29a4-4d95-bf93-f32e1ab419c3, 2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
      Beusen, A. H. W., Dekkers, A. L. M., Bouwman, A. F., Ludwig, W., and
Harrison, J.: Estimation of global river transport of sediments and
associated particulate C, N, and P, Global Biogeochem. Cy., 19,    GB4S05, <a href="https://doi.org/10.1029/2005gb002453" target="_blank">https://doi.org/10.1029/2005gb002453</a>, 2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
      Beusen, A. H. W., Van Beek, L. P. H., Bouwman, A. F., Mogollón, J. M., and Middelburg, J. J.: Coupling global models for hydrology and nutrient loading to simulate nitrogen and phosphorus retention in surface water – description of IMAGE–GNM and analysis of performance, Geosci. Model Dev., 8, 4045–4067, <a href="https://doi.org/10.5194/gmd-8-4045-2015" target="_blank">https://doi.org/10.5194/gmd-8-4045-2015</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
      Chapra, S. C., Pelletier, G. J., and Tao, H.:  QUAL2K: A Modeling Framework for Simulating River and Stream Water Quality, Version 2.11: Documentation and Users Manual, Civil and Environmental Engineering Dept., Tufts University, Medford, MA, 2008.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
      Cucchi, M., Weedon, G. P., Amici, A., Bellouin, N., Lange, S., Müller Schmied, H., Hersbach, H., and Buontempo, C.: WFDE5: bias-adjusted ERA5 reanalysis data for impact studies, Earth Syst. Sci. Data, 12, 2097–2120, <a href="https://doi.org/10.5194/essd-12-2097-2020" target="_blank">https://doi.org/10.5194/essd-12-2097-2020</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
      Damania, R., Desbureaux, S., Rodella, A.-S., Russ, J., and Zaveri, E.:
Quality Unknown: The Invisible Water Crises, World Bank Group, Washington,
DC, <a href="https://doi.org/10.1596/978-1-4648-1459-4" target="_blank">https://doi.org/10.1596/978-1-4648-1459-4</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
      Desbureaux, S., Mortier, F., Zaveri, E., van Vliet, M. T. H., Russ, J.,
Rodella, A. S., and Damania, R.: Mapping global hotspots and trends of water
quality (1992–2010): a data driven approach, Environ. Res.
Lett., 17, 114048, <a href="https://doi.org/10.1088/1748-9326/ac9cf6" target="_blank">https://doi.org/10.1088/1748-9326/ac9cf6</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
      Ehalt Macedo, H., Lehner, B., Nicell, J., Grill, G., Li, J., Limtong, A., and Shakya, R.: Distribution and characteristics of wastewater treatment plants within the global river network, Earth Syst. Sci. Data, 14, 559–577, <a href="https://doi.org/10.5194/essd-14-559-2022" target="_blank">https://doi.org/10.5194/essd-14-559-2022</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
      Gilbert, M., Nicolas, G., Cinardi, G., Van Boeckel, T. P., Vanwambeke, S.
O., Wint, G. R. W., and Robinson, T. P.: Global distribution data for
cattle, buffaloes, horses, sheep, goats, pigs, chickens and ducks in 2010,
Sci. Data, 5, 180227, <a href="https://doi.org/10.1038/sdata.2018.227" target="_blank">https://doi.org/10.1038/sdata.2018.227</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
      Gudmundsson, L., Boulange, J., Do, H. X., Gosling, S. N., Grillakis, M. G.,
Koutroulis, A. G., Leonard, M., Liu, J., Müller Schmied, H.,
Papadimitriou, L., Pokhrel, Y., Seneviratne, S. I., Satoh, Y., Thiery, W.,
Westra, S., Zhang, X., and Zhao, F.: Globally observed trends in mean and
extreme river flow attributed to climate change, Science, 371, 1159–1162, <a href="https://doi.org/10.1126/science.aba3996" target="_blank">https://doi.org/10.1126/science.aba3996</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
      Hofstra, N., Bouwman, A. F., Beusen, A. H. W., and Medema, G. J.: Exploring
global Cryptosporidium emissions to surface water, Sci. Total
Environ., 442, 10–19, <a href="https://doi.org/10.1016/j.scitotenv.2012.10.013" target="_blank">https://doi.org/10.1016/j.scitotenv.2012.10.013</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
      Hrachowitz, M., Savenije, H. H. G., Blöschl, G., McDonnell, J. J.,
Sivapalan, M., Pomeroy, J. W., Arheimer, B., Blume, T., Clark, M. P., Ehret,
U., Fenicia, F., Freer, J. E., Gelfan, A., Gupta, H. V., Hughes, D. A., Hut,
R. W., Montanari, A., Pande, S., Tetzlaff, D., Troch, P. A., Uhlenbrook, S.,
Wagener, T., Winsemius, H. C., Woods, R. A., Zehe, E., and Cudennec, C.: A
decade of Predictions in Ungauged Basins (PUB) – a review, Hydrolog.
Sci.  J., 58, 1198-1255, <a href="https://doi.org/10.1080/02626667.2013.803183" target="_blank">https://doi.org/10.1080/02626667.2013.803183</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
        Jones, E. R.:  DynQual input example: Rhine basin,  Zenodo [data set], <a href="https://doi.org/10.5281/zenodo.7027242" target="_blank">https://doi.org/10.5281/zenodo.7027242</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
      Jones, E. R., van Vliet, M. T. H., Qadir, M., and Bierkens, M. F. P.: Country-level and gridded estimates of wastewater production, collection, treatment and reuse, Earth Syst. Sci. Data, 13, 237–254, <a href="https://doi.org/10.5194/essd-13-237-2021" target="_blank">https://doi.org/10.5194/essd-13-237-2021</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
      Jones, E. R., Bierkens, M. F. P., Wanders, N., Sutanudjaja, E. H., van Beek,
L. P. H., and van Vliet, M. T. H.: Current wastewater treatment targets are
insufficient to protect surface water quality, Commun. Earth
Environ., 3, 221, <a href="https://doi.org/10.1038/s43247-022-00554-y" target="_blank">https://doi.org/10.1038/s43247-022-00554-y</a>, 2022a.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
      Jones, E. R., Bierkens, M. F. P., Wanders, N., Sutanudjaja, E. H., van Beek, L. P. H., and van Vliet, M. T. H.: Global monthly hydrology and water quality datasets, derived from the dynamical surface water quality model (DynQual) at 10&thinsp;km spatial resolution, Zenodo  [data set], <a href="https://doi.org/10.5281/zenodo.7139222" target="_blank">https://doi.org/10.5281/zenodo.7139222</a>, 2022b.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
      
Jones, E. R., Bierkens. M. F. P., Wanders, N., Sutanudjaja, E. H., van Beek, L. P. H., and van Vliet, M. T. H.:  UU-Hydro/DYNQUAL: DynQual v1.0, Zenodo [code], <a href="https://doi.org/10.5281/zenodo.7932317" target="_blank">https://doi.org/10.5281/zenodo.7932317</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
      Knoben, W. J. M., Freer, J. E., and Woods, R. A.: Technical note: Inherent benchmark or not? Comparing Nash–Sutcliffe and Kling–Gupta efficiency scores, Hydrol. Earth Syst. Sci., 23, 4323–4331, <a href="https://doi.org/10.5194/hess-23-4323-2019" target="_blank">https://doi.org/10.5194/hess-23-4323-2019</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
      Lange, S. and Geiger, T.: ISIMIP3a population input data (1.0),  SIMIP Repository [data set], <a href="https://doi.org/10.48364/ISIMIP.822480" target="_blank">https://doi.org/10.48364/ISIMIP.822480</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
      Lohrmann, A., Farfan, J., Caldera, U., Lohrmann, C., and Breyer, C.: Global
scenarios for significant water use reduction in thermal power plants based
on cooling water demand estimation using satellite imagery, Nat. Energ.,
4, 1040–1048, <a href="https://doi.org/10.1038/s41560-019-0501-4" target="_blank">https://doi.org/10.1038/s41560-019-0501-4</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
      Loucks, D. P. and Beek, E. V.: Water quality modeling and prediction, in:
Water resource systems planning and management, Springer, 417–467, <a href="https://doi.org/10.1007/978-3-319-44234-1_10" target="_blank">https://doi.org/10.1007/978-3-319-44234-1_10</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
      Luthy, R. G., Sedlak, D. L., Plumlee, M. H., Austin, D., and Resh, V. H.:
Wastewater-effluent-dominated streams as ecosystem-management tools in a
drier climate, Front. Ecol. Environ., 13, 477–485,
<a href="https://doi.org/10.1890/150038" target="_blank">https://doi.org/10.1890/150038</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
      Ozaki, N., Fukushima, T., Harasawa, H., Kojiri, T., Kawashima, K., and Ono,
M.: Statistical analyses on the effects of air temperature fluctuations on
river water qualities, Hydrol. Process., 17, 2837–2853,
<a href="https://doi.org/10.1002/hyp.1437" target="_blank">https://doi.org/10.1002/hyp.1437</a>, 2003.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
      Prüss-Ustün, A., Wolf, J., Bartram, J., Clasen, T., Cumming, O.,
Freeman, M. C., Gordon, B., Hunter, P. R., Medlicott, K., and Johnston, R.:
Burden of disease from inadequate water, sanitation and hygiene for selected
adverse health outcomes: An updated analysis with a focus on low- and
middle-income countries, Int. J. Hyg. Envir.
Heal., 222, 765–777, <a href="https://doi.org/10.1016/j.ijheh.2019.05.004" target="_blank">https://doi.org/10.1016/j.ijheh.2019.05.004</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
      Reder, K., Flörke, M., and Alcamo, J.: Modeling historical fecal
coliform loadings to large European rivers and resulting in-stream
concentrations, Environ. Model. Softw., 63, 251–263,
<a href="https://doi.org/10.1016/j.envsoft.2014.10.001" target="_blank">https://doi.org/10.1016/j.envsoft.2014.10.001</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
      Robinson, T. P., Thornton, P. K., Franceschini, G., Kruska, R., Chiozza, F.,
Notenbaert, A. M. O., Cecchi, G., Herrero, M. T., Epprecht, M., and Fritz,
S.: Global livestock production systems, Food and Agriculture Organization
of the United Nations (FAO) and International Livestock Research Institute
(ILRI), Rome, 152 pp., ISBN 978-92-5-107033-8, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
      Sirota, J., Baiser, B., Gotelli, N. J., and Ellison, A. M.: Organic-matter
loading determines regime shifts and alternative states in an aquatic
ecosystem, P. Natl. Acad. Sci. USA, 110, 7742–7747,
<a href="https://doi.org/10.1073/pnas.1221037110" target="_blank">https://doi.org/10.1073/pnas.1221037110</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
      Smucker, N. J., Beaulieu, J. J., Nietch, C. T., and Young, J. L.:
Increasingly severe cyanobacterial blooms and deep water hypoxia coincide
with warming water temperatures in reservoirs, Glob. Change Biol., 27,
2507–2519, <a href="https://doi.org/10.1111/gcb.15618" target="_blank">https://doi.org/10.1111/gcb.15618</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
      Stefan, L., Christoph, M., Stephanie, G., Marco, C., Graham, P. W.,
Alessandro, A., Nicolas, B., Hannes Müller, S., Hans, H., Carlo, B., and
Chiara, C.: WFDE5 over land merged with ERA5 over the ocean (W5E5 v2.0),  ISIMIP Repository [data set], <a href="https://doi.org/10.48364/ISIMIP.342217" target="_blank">https://doi.org/10.48364/ISIMIP.342217</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
      Sutanudjaja, E. H., van Beek, R., Wanders, N., Wada, Y., Bosmans, J. H. C., Drost, N., van der Ent, R. J., de Graaf, I. E. M., Hoch, J. M., de Jong, K., Karssenberg, D., López López, P., Peßenteiner, S., Schmitz, O., Straatsma, M. W., Vannametee, E., Wisser, D., and Bierkens, M. F. P.: PCR-GLOBWB 2: a 5 arcmin global hydrological and water resources model, Geosci. Model Dev., 11, 2429–2453, <a href="https://doi.org/10.5194/gmd-11-2429-2018" target="_blank">https://doi.org/10.5194/gmd-11-2429-2018</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
      Thomann, R. V. and Mueller, J. A.: Principles of surface water quality
modeling and control, Harper &amp; Row Publishers, ISBN-10 0060466774, 1987.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
      Thorslund, J. and van Vliet, M. T. H.: A global dataset of surface water and
groundwater salinity measurements from 1980–2019, Sci. Data, 7, 231, <a href="https://doi.org/10.1038/s41597-020-0562-z" target="_blank">https://doi.org/10.1038/s41597-020-0562-z</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>33</label><mixed-citation>
      Thorslund, J., Bierkens, M. F. P., Scaini, A., Sutanudjaja, E. H., and van
Vliet, M. T. H.: Salinity impacts on irrigation water-scarcity in food bowl
regions of the US and Australia, Environ. Res. Lett., 17, 084002, <a href="https://doi.org/10.1088/1748-9326/ac7df4" target="_blank">https://doi.org/10.1088/1748-9326/ac7df4</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>34</label><mixed-citation>
      UNEP: A Snapshot of the World's Water Quality: Towards a global assessment,
United Nations Environment Programme, Nairobi, Kenya, 162 pp., 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>35</label><mixed-citation>
      van Beek, L., Eikelboom, T., van Vliet, M., and Bierkens, M. F. P.: A
physically based model of global freshwater surface temperature, Water
Resour. Res., 48, W09530, <a href="https://doi.org/10.1029/2012WR011819" target="_blank">https://doi.org/10.1029/2012WR011819</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>36</label><mixed-citation>
      van Puijenbroek, P. J. T. M., Beusen, A. H. W., and Bouwman, A. F.: Global
nitrogen and phosphorus in urban waste water based on the Shared
Socio-economic pathways, J. Environ. Manage., 231, 446–456,
<a href="https://doi.org/10.1016/j.jenvman.2018.10.048" target="_blank">https://doi.org/10.1016/j.jenvman.2018.10.048</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>37</label><mixed-citation>
      van Vliet, M., Franssen, W., Yearsley, J., Ludwig, F., Haddeland, I.,
Lettenmaier, D., and Kabat, P.: Global River Discharge and Water Temperature
under Climate Change, Global Environ. Chang., 23, 450–464, <a href="https://doi.org/10.1016/j.gloenvcha.2012.11.002" target="_blank">https://doi.org/10.1016/j.gloenvcha.2012.11.002</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>38</label><mixed-citation>
      van Vliet, M., Sheffield, J., Wiberg, D., and Wood, E.: Impacts of recent
drought and warm years on water resources and electricity supply worldwide,
Environ. Res. Lett., 11, 124021, <a href="https://doi.org/10.1088/1748-9326/11/12/124021" target="_blank">https://doi.org/10.1088/1748-9326/11/12/124021</a>,
2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>39</label><mixed-citation>
      van Vliet, M. T. H., Yearsley, J., Ludwig, F., Vögele, S., Lettenmaier, D.,
and Kabat, P.: Vulnerability of US and European Electricity Supply to
Climate Change, Nat. Clim. Change, 2, 676–681, <a href="https://doi.org/10.1038/nclimate1546" target="_blank">https://doi.org/10.1038/nclimate1546</a>,
2012a.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>40</label><mixed-citation>
      van Vliet, M. T. H., Yearsley, J. R., Franssen, W. H. P., Ludwig, F., Haddeland, I., Lettenmaier, D. P., and Kabat, P.: Coupled daily streamflow and water temperature modelling in large river basins, Hydrol. Earth Syst. Sci., 16, 4303–4321, <a href="https://doi.org/10.5194/hess-16-4303-2012" target="_blank">https://doi.org/10.5194/hess-16-4303-2012</a>, 2012b.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>41</label><mixed-citation>
      van Vliet, M. T. H., Jones, E. R., Flörke, M., Franssen, W. H. P.,
Hanasaki, N., Wada, Y., and Yearsley, J. R.: Global water scarcity including
surface water quality and expansions of clean water technologies,
Environ. Res. Lett., 16, 024020, <a href="https://doi.org/10.1088/1748-9326/abbfc3" target="_blank">https://doi.org/10.1088/1748-9326/abbfc3</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>42</label><mixed-citation>
      Velasco, J., Gutiérrez-Cánovas, C., Botella-Cruz, M.,
Sánchez-Fernández, D., Arribas, P., Carbonell, J. A., Millán,
A., and Pallarés, S.: Effects of salinity changes on aquatic organisms
in a multiple stressor context, Philos. T. Roy.
Soc. B, 374, 20180011, <a href="https://doi.org/10.1098/rstb.2018.0011" target="_blank">https://doi.org/10.1098/rstb.2018.0011</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>43</label><mixed-citation>
      Vigiak, O., Grizzetti, B., Udias-Moinelo, A., Zanni, M., Dorati, C.,
Bouraoui, F., and Pistocchi, A.: Predicting biochemical oxygen demand in
European freshwater bodies, Sci.  Total Environ., 666,
1089–1105, <a href="https://doi.org/10.1016/j.scitotenv.2019.02.252" target="_blank">https://doi.org/10.1016/j.scitotenv.2019.02.252</a>,
2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>44</label><mixed-citation>
      Voß, A., Alcamo, J., Bärlund, I., Voß, F., Kynast, E., Williams,
R., and Malve, O.: Continental scale modelling of in-stream river water
quality: a report on methodology, test runs, and scenario application,
Hydrol. Process., 26, 2370–2384, <a href="https://doi.org/10.1002/hyp.9445" target="_blank">https://doi.org/10.1002/hyp.9445</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>45</label><mixed-citation>
      Walton, N. R. G.: Electrical Conductivity and Total Dissolved Solids – What
is Their Precise Relationship?, Desalination, 72, 275–292, <a href="https://doi.org/10.1016/0011-9164(89)80012-8" target="_blank">https://doi.org/10.1016/0011-9164(89)80012-8</a>, 1989.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>46</label><mixed-citation>
      Wanders, N. and Wada, Y.: Human and climate impacts on the 21st century
hydrological drought, J. Hydrol., 526, 208–220, <a href="https://doi.org/10.1016/j.jhydrol.2014.10.047" target="_blank">https://doi.org/10.1016/j.jhydrol.2014.10.047</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>47</label><mixed-citation>
      Wanders, N., van Vliet, M. T. H., Wada, Y., Bierkens, M. F. P., and van
Beek, L. P. H.: High-Resolution Global Water Temperature Modeling, Water
Resour. Res., 55, 2760–2778, <a href="https://doi.org/10.1029/2018WR023250" target="_blank">https://doi.org/10.1029/2018WR023250</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>48</label><mixed-citation>
      Weaver, A. and Zwiers, F.: Uncertainty in climate change, Nature, 407,
571–572, <a href="https://doi.org/10.1038/35036659" target="_blank">https://doi.org/10.1038/35036659</a>, 2000.
      streptococci and
Escherichia coli in fresh and dry cattle, horse, and sheep manure, Can.
J. Microbiol., 51, 847–851, <a href="https://doi.org/10.1139/w05-071" target="_blank">https://doi.org/10.1139/w05-071</a>, 2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>49</label><mixed-citation>
      Wen, Y., Schoups, G., and van de Giesen, N.: Organic pollution of rivers:
Combined threats of urbanization, livestock farming and global climate
change, Sci. Rep., 7, 43289, <a href="https://doi.org/10.1038/srep43289" target="_blank">https://doi.org/10.1038/srep43289</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>50</label><mixed-citation>
      Wilcock, B.: Assessing the Relative Importance of Faecal Pollution Sources
in Rural Catchments, Environment Waikato, Environment Waikato,  ISSN: 1172-4005, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>51</label><mixed-citation>
      Wright, B., Stanford, B., Reinert, A., Routt, J., Khan, S., and Debroux,
J.-F.: Managing water quality impacts from drought on drinking water
supplies, Aqua, 63, 179, <a href="https://doi.org/10.2166/aqua.2013.123" target="_blank">https://doi.org/10.2166/aqua.2013.123</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>52</label><mixed-citation>
      WWAP: The United Nations World Water Development Report 2017, Wastewater:
The Untapped Resource, Paris, UNESCO, ISBN 978-92-3-100201-4, 2017.

    </mixed-citation></ref-html>--></article>
