A machine learning model for real-time total nitrogen monitoring in Tampa Bay

Total Nitrogen (TN) concentration is a critical water quality indicator for the health of Tampa Bay, as excessive nitrogen loading is a primary driver of eutrophication, harmful algal blooms, and the degradation of seagrass habitats. TN has been monitored through monthly water sampling since the 1970s along with other water quality variables. While the traditional monitoring provides high-quality data, it often misses rapid environmental changes due to the low sampling frequency. Conversely, autonomous sensors on the Tampa Bay Observation Network (TBON) provide high-temporal-resolution data but lack the capability to measure TN directly. To bridge this gap, we developed an artificial neural network (ANN) machine learning model using historical data from 2000 to 2020. We then applied it to high-temporal-resolution, sensor-measurable water quality variables (i.e., temperature, salinity, and chlorophyll-a) for TN estimation. The model performance was evaluated in two ways: (1) a random split of historical data was kept independent from model development and used strictly for testing, yielding a Pearson correlation coefficient (R) of 0.82 and a root mean square error (RMSE) of 0.07 mgN/L (number of data points n = 95); and (2) model results were compared with independent field TN observations from 2023 and 2024, yielding an RMSE of 0.05 mgN/L (n = 7). Importantly, the model successfully captured seasonal patterns and significant TN spikes during hurricane events. This modeling framework, combined with the real-time TBON system, provides a viable solution for high-temporal-resolution nitrogen monitoring, offering a useful tool for water quality management.

Authors

Institutions

Publication Details

Journal
Marine Pollution Bulletin
Published
2026-07-30
DOI
https://doi.org/10.1016/j.marpolbul.2026.120184
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A machine learning model for real-time total nitrogen monitoring in Tampa Bay

Weiyi Tang, Robert H. Weisberg, Bo Yang, Jason A. Law et al.
Marine Pollution Bulletin
Hydrological Forecasting Using AI
article

A machine learning model for real-time total nitrogen monitoring in Tampa Bay

Weiyi Tang, Robert H. Weisberg, Bo Yang, Jason A. Law, Edward T. Sherwood, Yonggang Liu, Thomas K. Frazer, Marcus W. Beck
article en

Abstract

Total Nitrogen (TN) concentration is a critical water quality indicator for the health of Tampa Bay, as excessive nitrogen loading is a primary driver of eutrophication, harmful algal blooms, and the degradation of seagrass habitats. TN has been monitored through monthly water sampling since the 1970s along with other water quality variables. While the traditional monitoring provides high-quality data, it often misses rapid environmental changes due to the low sampling frequency. Conversely, autonomous sensors on the Tampa Bay Observation Network (TBON) provide high-temporal-resolution data but lack the capability to measure TN directly. To bridge this gap, we developed an artificial neural network (ANN) machine learning model using historical data from 2000 to 2020. We then applied it to high-temporal-resolution, sensor-measurable water quality variables (i.e., temperature, salinity, and chlorophyll-a) for TN estimation. The model performance was evaluated in two ways: (1) a random split of historical data was kept independent from model development and used strictly for testing, yielding a Pearson correlation coefficient (R) of 0.82 and a root mean square error (RMSE) of 0.07 mgN/L (number of data points n = 95); and (2) model results were compared with independent field TN observations from 2023 and 2024, yielding an RMSE of 0.05 mgN/L (n = 7). Importantly, the model successfully captured seasonal patterns and significant TN spikes during hurricane events. This modeling framework, combined with the real-time TBON system, provides a viable solution for high-temporal-resolution nitrogen monitoring, offering a useful tool for water quality management.

Marine Pollution BulletinVol. 233(Pt 1)
Tampa Bay Estuary Program (US), University of South Florida St. Petersburg (US)
U.S. Environmental Protection Agency, Tampa Bay Estuary Program, Florida Fish and Wildlife Conservation Commission, National Centers for Coastal Ocean Science
Clean water and sanitation
Openalex Percentile: Top 15%
Hydrological Forecasting Using AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.