---
msname: MS
smname: SM
# abstract: ""
# keywords:
#   - KEYWORD1;
# date: last-modified
highlights: ""
date: ""
bibliography: [../BB/Ref.bib, ../BB/localRef.bib]
# csl: https://www.zotero.org/styles/elsevier-harvard
csl: ./_extensions/inst/tex/american-chemical-society.csl
# csl: ./_extensions/inst/tex/nature.csl
# titlegraphical: "../figures/GA.pdf"
format:
  elsevier-html:
    toc: true
    css: _extensions/inst/css/style.css
    keep-md: true
  epub: default
  docx:
    reference-doc: _extensions/inst/word/MS.docx
  pdf:
    # documentclass: article
    latex-clean: false # to keep aux
    citecolor: blue
    colorlinks: true
    number-sections: false
    sansfont: "Gill Sans"
    papersize: a4paper
    sansfontoptions: 
      # - Color=39729E
      - Color=2A303B
    mainfont: "Source Sans 3" #| Verdana (fontsize: 11pt) # Source Sans 3 | Times New Roman| Helvetica | PT Sans
    monofont: "JetBrains Mono"
    mathfont: "Cambria Math"
    CJKmainfont: SimHei
    fontsize: 12pt
    keep-md: false
    include-in-header: "./_extensions/inst/tex/header.tex"
    header-includes:
      # - \usepackage{threeparttable}
      # - \usepackage{fontspec}
      # - \usepackage{endfloat}
      # - \usepackage[UTF8, scheme=plain]{ctex}
      - \usepackage{float}
      - \usepackage[normalem]{ulem}
      - \usepackage[doublespacing]{setspace}
      - \usepackage{lineno}
      - \linenumbers
      - \usepackage{caption}
      - \captionsetup{singlelinecheck=off}
  # elsevier-pdf:
  #   keep-tex: true
  #   keep-md: false
  #   include-in-header: "./_extensions/quarto-journals/elsevier/partials/revision.tex"
  #   latex-clean: false
  #   header-includes:
  #     # - \usepackage{threeparttable}
  #     # - \usepackage{fontspec}
  #     # - \usepackage{endfloat}
  #     - \setmainfont{Calibri}
  #     - \usepackage[UTF8, scheme=plain]{ctex}
  #     - \usepackage{float}
  #     - \usepackage[normalem]{ulem}
  #     - \usepackage[doublespacing]{setspace}
  #     - \usepackage{lineno}
  #     - \linenumbers
  #   journal:
  #     #   - A comprehensive model was contructed to evaluate the risk of odor occurrences
  #     #   - Turbidity distribution determine underwater light and MIB-producing *Planktothrix*
  #     #   - Increasing flowrate increases turbidity that can control *Planktothrix* and MIB
  #     #   - Odor control based on flow regulation in source water is "green" and fundamental
  #     formatting: preprint # preprint | review | doublebind
  #     model: 1p
  #     cite-style: authoryear
  #     # graphical-abstract: "![](../figures/GA.pdf)"
  #     # highlights:
filters:
  - latex-environment
  - authors-block
lightbox: auto
commands: [clab]
---


```{r}
#| include: false
#| cache: false

lang <- "en"
isRendering <- isTRUE(getOption("knitr.in.progress"))
require(tidyverse)
require(drwateR)
require(patchwork)
rmdify::rmd_init()
dwfun::init()
```


{{< pagebreak >}}

# Abstract {-}


{{< pagebreak >}}

{{< include MS_main.qmd >}}
{{< include MS_methods.qmd >}}
{{< include MS_results.qmd >}}
<!-- {{< include MS_discussion.qmd >}} -->

{{< pagebreak >}}

<!-- {{< include _est.qmd >}} -->

# References {-}

::: {#refs}
:::

{{< pagebreak >}}

<!-- {{< include _nature.qmd >}} -->
