Introduction

Estuaries are coastal aquatic systems that are characterized by a transition from fresh to salt waters. Geological morphology, tidal exchanges, and freshwater inflows are important in defining these systems and largely determine salinity variation both spatially and temporally (Hansen and Rattray 1966; Ketchum 1983). The dynamic nature of many estuarine systems requires that organisms found there be adapted to deal with such conditions (Costanza 1997; Day et al. 2013). However, it is also this dynamic nature which creates an environment suited to act as a nursery for the young of marine and estuarine organisms (Gillanders et al. 2003; Day et al. 2013), many of which are important to commercial fisheries. Beyond their value to fisheries, estuaries are recognized for their recreational, ecosystem service, and intrinsic biological values (Pendelton 2010; Barbier et al. 2011).

These vital ecosystems are under threat from various directions including rapid population growth, uncontrolled development, and climate change, factors which have led to a number of issues such as increased pollution inputs, loss or degradation of habitat, and variation to freshwater inflows (Kennish 2002). Changes in the natural magnitude and frequency of freshwater inflows to estuarine systems are especially concerning given the critical role they play in determining their form and function (Ketchum 1951, 1954; Hildebrand and Gunter 1953; Odum et al. 1995; Roelke and Pierce 2011; Nordhaus et al. 2018). Freshwater inflows influence both estuarine biogeochemical processes (Webster and Harris 2004; Bruesewitz et al. 2013; Islam et al. 2014; Hitchcock and Mitrovic 2015; Hitchcock et al. 2016) and biota (Tolan 2008; Wozniak et al. 2012; Roelke et al. 2013, 2017; Palmer and Montagna 2015; Lehrter and Le 2017) in a number of ways. Concerning phytoplankton, which play a major role in determining water quality, freshwater inflows influence rates of photosynthesis and community respiration (Russell et al. 2006; Roelke et al. 2013, 2017), as well as assemblage composition (Roelke et al. 1997, 2013, 2017; Robson and Hamilton 2003; Spatharis et al. 2007a, b; Dorado et al. 2015; Pinckney et al. 2017).

In Texas estuaries, located along the Western Gulf of Mexico where this work is focused, empirical studies have indicated the importance of freshwater inflows for a myriad of environmental processes. These include primary productivity and community respiration (Russell et al. 2006; Roelke et al. 2013, 2017), phytoplankton assemblage composition (Örnólfsdóttir et al. 2004; Roelke et al. 1997, 2013, 2017; Dorado et al. 2015), wetland plant health (Wozniak et al. 2012), invertebrate and vertebrate population dynamics (Tolan 2008; Palmer and Montagna 2015), and overall food web health (Montagna et al. 2011).

As in other regions of the world, Texas estuaries face potential alteration of freshwater inflows. In the present study, we focus on the influence of inflows on the San Antonio Bay System (SABS), one of Texas’ 7 major estuaries. Here, changing land usage in the upstream water sheds (San Antonio River Basin and Guadalupe River Basin) has the potential to alter freshwater inflow patterns and their associated nutrient loads. The effects of water shed changes on discharges to an estuary are complex, especially when considering the coupled effects of climate change, but likely influence nutrient loading as well as the magnitude and timing of freshwater arrivals to the SABS. Previous work has demonstrated that increased urbanization in the San Antonio River Basin will likely cause increased variability in streamflow (Shao et al. 2020). And, the Texas Water Development Board (South Central Regional Water Planning Group 2020) has predicted the need for water in the region (which encompasses portions of both river basins) to increase by nearly 300,000 acft/yr (~25% increase) from year 2020 to 2070, while the supply is expected to increase by only about a 12,000 acft/yr over the same time period. This increase is largely associated with heavy population growth and development of municipalities in the region. Further, nutrient loads in both water sheds have been shown to correlate with developed land use (Arismendez et al. 2009), suggesting that SABS nutrient loading is likely to continue increasing along with projected development. Such findings suggest that SABS is likely to see changes in nutrient loading and freshwater inflows in the future, if not already.

Previous work investigating the influence of inflow reductions on various aspects of bay functioning has suggested various outcomes, including from little to no change in fisheries and the endangered whooping crane population (Slack et al. 2009) to regional shifts or reductions in productivity and possible negative food chain effects (Paudel and Montagna 2014; Roelke et al. 2017). Such alterations to patterns in phytoplankton biomass and productivity have the potential to influence the food web (Day et al. 2013), especially less mobile and sessile organisms like oysters (Laing and Chang 1998), but also impact physico-chemical aspects of the system like water column dissolved oxygen (Odum 1956).

To better understand the relationship between inflows, nutrient loading, dissolved oxygen, and phytoplankton biomass in different regions of the SABS, a novel numerical model was developed. Determination of model structure was guided by statistical analyses of historical data from the SABS (Roelke and Bhattacharyya 2017), and generalized ecological and physico-chemical principals were incorporated, thereby creating a computational tool with potential for transport across estuarine ecosystems. A model training process was conducted using high-dimensional, short-period (2 years) data (Gable 2010; Roelke et al. 2017) that covered a gradient of wet to dry hydrologic conditions in the SABS. Subsequent simulation analyses allowed for the exploration of various inflow and nutrient loading regimes on phytoplankton biomass and dissolved oxygen levels in the upper, middle, and lower regions of the SABS.

Methods

Study Area

The San Antonio Bay System (SABS) is comprised of multiple bays encompassing about 530 km2, with San Antonio Bay being the dominant feature, having an area of 288 km2. Smaller bays comprising SABS include Hynes Bay (area 28 km2) and Guadalupe Bay (area 12.5 km2). Freshwater inflow enters the SABS primarily from the Guadalupe River, which is formed from the confluence of the Guadalupe and San Antonio Rivers upstream of the discharge point. A barrier island, Matagorda Island, separates the SABS from the Gulf of Mexico, restricting tidal exchange, resulting in little direct water exchange between the SABS and ocean waters. Water exchange with the Gulf of Mexico takes place through distant passes, Pass Cavallo, at the northeast end of Matagorda Island, and Cedar Bayou, an intermittently open-closed channel to the southwest. Using the long-period data provided by TCEQ’s SWQMIS (described below), it was determined that the 27-year average salinity in upper SABS was 5.4 psu, whereas the 27-year average salinity in middle SABS and in lower SABS was 12.9 psu and 16.9 psu, respectively. The average water temperature in SABS ranges from 13.4 °C in the winter to 30.4 °C in the summer.

Historical Data

Data collected from the Roelke Lab appears in Roelke et al. (2017) and Gable (2010) and was used for model training. These data sets are comprised of monthly samplings carried out over a period of 30 months at six fixed stations (Fig. 1a) from March 2004 to August 2006 where a suite of physical, chemical, and biological parameters was sampled. This data also includes daily freshwater inflow from the San Antonio and Guadalupe Rivers, compiled from gauged data (USGS gauges 08188500 and 08176500, respectively) for the entire 30-month period of study (Fig. 1b). Parameters from the full data set that were used in this work include NH4, NOX, soluble reactive phosphorous (SRP), chlorophyll a (Chla), dissolved oxygen (DO), and combined freshwater inflows. Inflows, as well as daily nutrient and Chla loadings to the upper region of the SABS were determined using the gauged flow data along with nutrient (\(\mu\)M) and Chla concentrations (\(\mu\)g L \({}^{-1}\)) from a sampling station in the Guadalupe River. The river sampling station was located downstream of the confluence of the San Antonio and Guadalupe Rivers, and sampling at this site took place during the Roelke et al. (2017) study, though the data was not used in those analyses. Two additional sampling sites from adjacent systems were used to generate data for end-member loadings. These included a site in Mesquite Bay and another site in Espiritu Bay, to the west and east of the SABS, respectively. For the lower region of the SABS, associated end-member loading of nutrients and Chla was determined with modeled water exchanges (TxBLEND) along with nutrient (\(\mu\)M) and Chla concentrations (\(\mu\)g \({\mathrm{L}}^{-1}\)) from the adjacent bay systems. For our sensitivity and simulation analyses, these water exchanges were standardized, as will be described below.

Fig. 1
figure 1

Historical data for the San Antonio Bay System (SABS) was used for model training. a The SABS sampling stations where data was collected by the Roelke laboratory at Texas A&M University Galveston. b River discharges entering the SABS with data from US geologic service monitoring gauges (Roelke laboratory sampling dates are shown by blue diamond). The SABS samplings spanned both relatively wet and dry periods

Longer period data were used to calculate 27-year averages of seasonal inflows and river nutrient concentrations. These were used during the sensitivity and simulation analyses. This data was provided by the Texas Commission for Environmental Quality’s (TCEQ) Surface Water Quality Monitoring Information System (SWQMIS) and USGS flow gauges mentioned previously.

Model Development

Phytoplankton Growth

Phytoplankton taxonomic groups observed in SABS samples (Roelke, unpublished) included species with widely varying salinity preferences; therefore, phytoplankton functional groups were incorporated into the model, instead of taxonomic groups. Freshwater, estuarine, and marine phytoplankton functional groups, defined by their salinity tolerances, comprised the model’s biological reaction scheme. For these populations, the maximum growth rate (r) was proportionately attenuated by temperature and then by salinity as defined by a population’s tolerance range. The temperature- and salinity-attenuated r was then used to determine the realized growth rate (μ) as a function of nutrient concentrations and light availability.

Attenuation of the maximum growth rate by temperature is a piecewise linear approximation of the essentially nonlinear response of growth to temperature (T °C, Eppley 1972) with a Q10 of q = 3, based on model training.

$$T(t)\;att.r=\left\{\begin{array}{cl}\frac r{q^2}\left(1+\frac{T\left(t\right)}{10}\right)\frac{T\left(t\right)}{{\displaystyle\max_t}\left(T\left(t\right)\right)},&\mathrm{if}\;T\left(t\right)\leq10\\\frac rq\left(1+\frac{T\left(t\right)-10}{10}\right)\frac{T\left(t\right)}{\;{\displaystyle\max_t}\left(T\left(t\right)\right)},&\mathrm{if}\;10\leq T\left(t\right)\leq20\\r\left(1+\frac{T\left(t\right)-20}{10}\right)\frac{T\left(t\right)}{{\displaystyle\max_t}\left(T\left(t\right)\right)},&\mathrm{if}\;20\leq T\left(t\right)\leq30\\\frac{2rT\left(t\right)}{{\displaystyle\max_t}\left(T\left(t\right)\right)},&\mathrm{if}\;T(t)\geq30\end{array}\right.$$
(1)

Given r = 2, following these equations over the range of temperatures observed in the SABS, temperature-attenuated growth rates range from 0.15 to 2.0 d−1.

For the freshwater phytoplankton species, it is assumed that the growth rate decreases with the increase of salinity (s). Therefore, the relationship between freshwater phytoplankton growth rate and salinity takes the form

$${s}_{i}\left(t\right) att.\;r =\left\{\begin{array}{ll}r{\left(\frac{{s}_{i}\left(t\right)-{s}_{\mathrm{max}}^{F}}{{s}_{\mathrm{max}}^{F}}\right)}^{2},\quad& 0\le {s}_{i}\left(t\right)\le {s}_{{max}}^{F}\\ 0,\quad& {s}_{i}\left(t\right)>{s}_{{max}}^{F},\end{array}\right.$$
(2)

where \({s}_{i}\left(t\right)\) is the salinity of region i at time t, and \({s}_{\mathrm{max}}^{F}\) is the maximum sustainable salinity threshold for the growth of freshwater phytoplankton species. For estuarine phytoplankton species, the salinity-attenuated growth rate is assumed to be a unimodal function of salinity, which starts decreasing when the salinity becomes higher than some optimal salinity threshold. Therefore, the relationship between estuarine phytoplankton growth rate and salinity takes the form

$${s}_{i}\left(t\right) att.\;r =\left\{\begin{array}{ll}r\sqrt{\frac{{s}_{i}(t)-{s}_{\mathrm{min}}^{E}}{{s}_{{opt}}^{E}-{s}_{\mathrm{min}}^{E}}},\quad& {s}_{\mathrm{min}}^{E}\le {s}_{i}(t)\le {s}_{{opt}}^{E}\\ r\sqrt{\frac{{s}_{\mathrm{max}}^{E}-{s}_{i}(t)}{{s}_{\mathrm{max}}^{E}-{s}_{{opt}}^{E}}},\quad& {s}_{{opt}}^{E}\le {s}_{i}(t)\le {s}_{\mathrm{max}}^{E}\\ 0,\quad& 0<{s}_{i}\left(t\right)\le {s}_{\mathrm{min}}^{E}\;{or}\;{s}_{i}(t)>{s}_{\mathrm{max}}^{E},\end{array}\right.$$
(3)

where \({s}_{\mathrm{max}}^{E}\) is the maximum sustainable salinity threshold for the growth of estuarine phytoplankton species, \({s}_{\mathrm{min}}^{E}\) is the lower threshold, and \({s}_{\mathrm{opt}}^{E}\) is the salinity level at which maximum growth occurs. Since marine phytoplankton species grow at a relatively higher salinity level, it was assumed that the salinity-attenuated growth rate of marine phytoplankton species would increase with salinity, until the salinity level reached some maximum sustainable salinity threshold. Therefore, the relationship between marine phytoplankton growth rate and salinity takes the form

$${s}_{i}\left(t\right) att.\;r =\left\{\begin{array}{ll}r\sqrt{\frac{{s}_{i}(t)-{s}_{\mathrm{min}}^{M}}{{s}_{\mathrm{max}}^{M}-{s}_{\mathrm{min}}^{M}}},\quad& {s}_{\mathrm{min}}^{M}\le {s}_{i}(t)\le {s}_{\mathrm{max}}^{M}\\ 0,\quad& 0<{s}_{i}(t)<{s}_{\mathrm{min}}^{M}\;{or}\;{s}_{i}(t)>{s}_{\mathrm{max}}^{M},\end{array}\right.$$
(4)

where \({s}_{\mathrm{max}}^{M}\) is the maximum sustainable salinity threshold for the growth of marine phytoplankton species, and \({s}_{\mathrm{min}}^{M}\) is the salinity level below which growth does not occur.

Finally, the minimum of the temperature- and salinity-attenuated r for each phytoplankton population (k, differentiated based on salinity tolerances) in each region (i) was selected and used to calculate further limitations on growth due to nutrients and light conditions:

$${\mu }_{i,k\_\mathrm{Ts}}(t)=\mathrm{min}\left(T(t) att. r,\;{s}_{i}\left(t\right) att. r\right)$$
(5)

Phytoplankton nutrient-limited growth rates for nitrogen and phosphorous were a function of ambient nutrient concentrations following the Monod equation, with Liebig’s law of the minimum applied. Regarding nitrogen \((NH_4\;\mathrm a\mathrm n\mathrm d\;NO_{\mathit X}\)), the N-based growth rate for each phytoplankton population (k) in each region (i) at time \(t,\) is given by

$$\mu_{i,k\_N}(t)=\mu_{i,k\_\mathrm{Ts}}(t)\left(\frac{\gamma NO_{\mathit X}+(1-\gamma)NH_4}{K_N+\gamma NO_{\mathit X}+(1-\gamma)NH_4}\right),$$
(6)

where \({K}_{N}\) was the half-saturation coefficient growing on nitrogen and \(\gamma\) was the \({{NO}}_{{X}}\) versus \(N{H}_{4}\) preference parameter (\(0\le \gamma \le 1\)), and all other parameters are the same as previously defined. Regarding phosphorous (\({SRP}\)), the P-based growth rate for each phytoplankton population (k) in each region (i) at time \(t\), is given by

$$\mu_{i,k\_P}(t)=\mu_{i,k\_\mathrm{Ts}}(t)\left(\frac{SRP}{K_P+SRP}\right),$$
(7)

where \({K}_{P}\) was the half-saturation coefficient growing on phosphorous.

The phytoplankton light-limited growth rate is a saturating function, given by

$${\mu }_{i,k\_L}(t)={\mu }_{i,k\_\mathrm{Ts}}(t)\left(\frac{{I}_{i}\left(z\right)}{a+{I}_{i}\left(z\right)}\right),$$
(8)

where \(I\left(z\right)\) was the hourly average irradiance at depth z; z was the average depth of a given SABS model region; \(a={(\mu }_{\mathrm{max}}\times 0.203\times {10}^{20}\)) quanta-\({\mathrm{cm}}^{-2}{\mathrm{s}}^{-1}\), converted from Huisman (1999); and other parameters are the same as previously defined. Irradiance at mid-depth is taken as representative of the whole water column for this shallow, well-mixed system, where the mid-depth for the upper SABS is 0.5 m, and the mid-depths for the middle and lower SABS were both 1 m. Here, \(I\left(z\right)\) is determined as in Roelke (2000) and Cagle and Roelke (2021), following Lambert–Beer’s law, and where irradiance integrated over PAR and incident upon the water surface (\({I}_{o}\)) is a function of time of year and latitude. Surface irradiance is calculated based on the work of Brock (1981). Light attenuation is a function of Chla and background turbidity in a given SABS region (i) and was taken as

$${I}_{i}\left(z\right)={I}_{o}(H){e}^{-\left({K}_{a}{ A}_{k,i}\left(t\right) Cc+{K}_{t}\right)z},$$
(9)

where \({I}_{o}(H)\) was the hourly average surface irradiance, \({K}_{a}\) was the light attenuation coefficient (based on Chla (dcm2/\(\mu\)g-Chla; Huisman 1999; Olivieri and Chavez 2000), \({ A}_{k,i}\left(t\right)\) was the \({k}^{\mathrm{th}}\) phytoplankton population in SABS region \(i\) at any instant \(t\), \({K}_{t}\) was the light attenuation coefficient of pure water and tripton \(\left({\mathrm{dcm}}^{-1}\right)\), and \(Cc\) is chlorophyll a per phytoplankton cell (\(\mu\)g-Chla/\({10}^{6}\) cells). To obtain Cc, we assume an average phytoplankton volume (\(V\)) of \(\frac{64\pi }{3}\) (\(\mu\)m3) and calculate the carbon content per cell according to Mullin et al. (1966) as \(\frac{{V}^{0.76}}{{10}^{0.29}}\) (\(\mu\)g-C \({10}^{-6}\) cells). Finally, taking \(\mathrm{C}:\mathrm{Chl}a\) of 83.14 (Cloern et al. 1995), we calculate \(Cc\) as \(\frac{{V}^{0.76}}{{83.14\times 10}^{0.29}}\) (\(\mu\)g-Chla/\({10}^{6}\) cells).

The realized growth rates for the phytoplankton populations at time \(t\) in a given SABs region were determined using Liebig’s law of the minimum, given by

$${\mu }_{i,k}(t)=\mathrm{min}\left({\mu }_{i,k\_N}(t),\;{\mu }_{i,k\_P}(t),\;{\mu }_{i,k\_L}(t)\right).$$
(10)

Salinity-Dependent Grazing Rate

We introduced the effect of grazing in the system as a function of salinity (s), rather than incorporating a grazer state variable. The Roelke Lab data used for model training contains zooplankton biovolume measurements (copepods, cladocera, rotifers, and protists; Roelke, unpublished), which show the highest biomass of zooplankton occurring at intermediate salinities and lower biomasses at low and high salinity. Here, it is assumed that grazing rates on phytoplankton are greater when zooplankton populations are higher. Because we are not explicitly modeling zooplankton populations, we made the grazing loss a function of available prey and regional salinity, as has been done in previous modeling in other systems (Mandall et al. 2012; Roy et al. 2016). The specific grazing rate in a given region, \({g}_{i}\left(s\right)\), was taken as

$${g}_{i}=\left\{\begin{array}{ll}{g}_{\mathrm{max}}\sqrt{\frac{{s}_{i}(t)-{s}_{\mathrm{min}}^{g}}{{s}_{{opt}}^{g}-{s}_{\mathrm{min}}^{g}}}, \quad if & {s}_{\mathrm{min}}^{g}<{s}_{i}(t)<{s}_{{opt}}^{g}\\ {g}_{\mathrm{max}}\sqrt{\frac{{s}_{\mathrm{max}}^{g}(t)-{s}_{i}(t)}{{s}_{\mathrm{max}}^{g}-{s}_{{opt}}^{g}}},\quad if & {s}_{{opt}}^{g}<{s}_{i}(t)<{s}_{\mathrm{max}}^{g},\end{array}\right.$$
(11)

where the minimum sustainable salinity for grazing is \({s}_{\mathrm{min}}^{g}\), the maximum sustainable salinity for grazing is \({s}_{\mathrm{max}}^{g}\), and the optimum salinity for grazing is \({s}_{{opt}}^{g}\). The specific grazing rate \({g}_{i}(s)\) approaches its maximum \({g}_{\mathrm{max}}\) when \(s(t)={s}_{{opt}}^{g}\).

Dissolved Oxygen and Respiration Rate

Dissolved oxygen was influenced, in part, by the biological reaction scheme in that oxygen concentrations were a function of algal respiration and Chla concentration. The oxygen production rate (mg-\({\mathrm{O}}_{2}\) \({\mathrm{L}}^{-1}\) \({\mathrm{day}}^{-1}\)) by the \({k}^{\mathrm{th}}\) phytoplankton species \({A}_{i,k}(t)\) in SABS region \(i\) at any instant \(t\) was given by the following function (Antonopoulos and Gianniou 2003; Thomann and Mueller 1987):

$${\theta }_{i\_A}= {\alpha }_{OP }{\mu }_{i,k\_\mathrm{Ts}}(t)(1.066{)}^{T(t)-20} {e}^{-\frac{{\tau }^{2}}{2{\sigma }^{2} }} Cc{ A}_{i,k}(t),$$
(12)

where \({\alpha }_{{OP}}\) is the Chla-oxygen utilization ratio (mg-\({\mathrm{O}}_{2}\) \({\mathrm{L}}^{-1}\) \({\mathrm{day}}^{-1}\)), \(\tau\) is calculated as \(\frac{\left({K}_{a}{A}_{\left(i,k\right)}Cc+{K}_{t}\right)z}{\mathrm{log}(2)}\), and \(\sigma\) is calculated as \(\frac{\mathrm{log}\left(\frac{2{I}_{r}(H)}{a}\right)}{\mathrm{log}(2)}\sqrt{\frac{2}{\pi }}\), and all other parameters are as previously described.

The respiration rate (mg-\({\mathrm{O}}_{2}\) \({\mathrm{liter}}^{-1}\) \({\mathrm{day}}^{-1}\)) of phytoplankton species \({A}_{i,k}(t)\) at any instant \(t\) was given by the following function (Thomann and Mueller 1987):

$${\theta }_{i,k\_r}= {K}_{\mathrm{resp}}(1.08{)}^{T-20 }Cc {A}_{i,k}(t),$$
(13)

where \({K}_{{resp}}\) is the combined respiration rate, equal to \({\alpha }_{{OP}}*{K}_{r}\), where \({K}_{r}\) is the respiration rate coefficient (\({\mathrm{day}}^{-1}\)).

The oxygen exchange rate (mg-\({\mathrm{O}}_{2}\) \({\mathrm{L}}^{-1}\) \({\mathrm{day}}^{-1})\) between the atmosphere and surface water was a function of the DO concentration and temperature, given by

$${\theta }_{i\_d}= {DO}_{sat}(t)-{DO}_{i}(t))d_{flux},$$
(14)

where \(DO_{\mathit s\mathit a\mathit t}(t)\) was DO saturation at the subsurface equal to \({e}^{7.7117-1.31403\mathrm{ln}(T+45.93)}\) (Michaud 1991; Moore 1989; Mortimer 1981), \({{DO}}_{i}\left(t\right)\) was the DO concetration in region i at instant t, and \({d}_{{flux}}\) was the molecular diffusion rate (\({\mathrm{day}}^{-1}\)).

Physical Modeling Framework

Simulations involving model training were run using flow vectors generated by Texas Water Development Board’s (TWDB) TxBLEND model. TxBLEND simulation domains that encompassed SABS over a time span from 1987 to 2013 with a daily time step generated the velocity components of water movement decomposed into the N-S and E-W vectors (Fig. 2).

Fig. 2
figure 2

Circulation in the San Antonio Bay System (SABS), as estimated using the Texas Water Development Board’s TxBLEND model. Representative days are shown during a period of low river discharges (a) and high river discharges (b), where gray arrows indicate velocities < 0.1 ft/s and black arrows indicate velocities > 0.1 ft/s

Boundary lines between segments of the SABS in our model’s physical domain were determined from previous analyses (Roelke et al. 2017). The slope of these boundary lines influenced translation of TxBLEND flows into water exchanges between segments. For example, in the SABS, the boundary line between upper and middle SABS zones was horizontal (east–west direction, Fig. 3a). Therefore, we chose only the north–south velocity components from the TxBLEND model to determine the direction of net flow. But the boundary line between the middle and lower SABS patches makes an angle \(\theta_{ML}(\sim36.5^\circ)\) to the east (Fig. 3a). The resultant velocity component (\({R}_{{ML}}\)) perpendicular to boundary between patches is

$$R_{ML}=\left(\begin{array}{lc}\sqrt{N_c^2+W_c^2}\cos\psi_{NW},\quad&\mathrm{for}\;\mathrm{NW}-\mathrm{direction}\\\sqrt{S_c^2+W_c^2}\cos{(\theta}_{ML}+\phi_{SW}),\quad&\mathrm{for}\;\mathrm{SW}-\mathrm{direction}\\\sqrt{N_c^2+E_c^2}cos(\theta_{ML}+\phi_{NE}),\quad&\mathrm{for}\;\mathrm{NE}-\mathrm{direction}\\\sqrt{S_c^2+E_c^2}cos{(\theta}_{ML}+\phi_{SE}),\quad&\mathrm{for}\;\mathrm{SE}-\mathrm{direction},\end{array}\right.$$
(15)

where \({N}_{c},{S}_{c},{E}_{c}\), and \({W}_{c}\) were the TxBLEND generated water velocity components along the \(N,S,E\), and \(W\) directions respectively, \({\psi }_{{NW}}={\theta }_{{ML}}{\mathrm{cos}}^{-1}\left(\frac{{N}_{c}}{\sqrt{{N}_{c}^{2}+{W}_{c}^{2}}}\right), {\phi }_{{SW}}={\mathrm{cos}}^{-1}\left(\frac{{S}_{c}}{\sqrt{{S}_{c}^{2}+{W}_{c}^{2}}}\right), {\phi }_{{NE}}={\mathrm{cos}}^{-1}(\frac{{N}_{c}}{\sqrt{{N}_{c}^{2}+{E}_{c}^{2}}})\), and \({\phi }_{{SE}}={\theta }_{{ML}}{\mathrm{cos}}^{-1}\left(\frac{{S}_{c}}{\sqrt{{S}_{c}^{2}+{E}_{c}^{2}}}\right).\) We obtain velocity components for the other angular boundaries (lower SABS-Espiritu Bay and lower SABS-Mesquite Bay) by using a similar approach.

Fig. 3
figure 3

Conceptual diagram of the modeling framework for the San Antonio Bay MUMPS model. The physical scheme (a) was comprised of three patches (or regions) between which advection and eddy diffusion processes moved nutrients and phytoplankton cells. The biological reaction scheme (b) was embedded within each model bay region and was comprised of three resources, i.e., NH4 (Ni,1), NOX (Ni,2), and SRP (Ni,3); three phytoplankton groups, i.e., freshwater (A i,1), estuarine (A i,2), and marine (A i,3); grazing by zooplankton; and light effects (not shown)

The volume of water per unit time moving across a boundary line is simply the average water velocity perpendicular to the boundary line multiplied by the boundary’s cross-sectional area, i.e., width × depth. The bay region–specific hydraulic flushing rate, D, is this water volume per unit time value, divided by the volume of the bay segment in question. For example, the hydraulic flushing rate for the middle SABs attributed to water exchanges with the lower SABS is

$$D_{M,\mathrm{ML}}=\frac{\left|R_{\mathrm{ML}}\right|\times\mathrm{width}\times\mathrm{depth}\;\mathrm{of}\;{\mathrm{boundary}}_{\mathrm{ML}}}{\mathrm{volume}\;\mathrm{of}\;{\mathrm{region}}_M}\cdot$$
(16)

and the hydraulic flushing rate for the lower SABS attributed to water exchanges with the middle SABS is

$$D_{L,\mathrm{ML}}=\frac{\left|R_{\mathrm{ML}}\right|\times\mathrm{width}\times\mathrm{depth}\;\mathrm{of}\;{\mathrm{boundary}}_{\mathrm{ML}}}{\mathrm{volume}\;\mathrm{of}\;{\mathrm{region}}_{L}}$$
(17)

For the upper SABs, the total D was based on river discharge and water exchanges between the upper and middle SABs. For the middle SABS, the total D was based on water exchanges between the upper and middle SABs and the middle and lower SABs. For the lower SABS, the total D was based on water exchanges between the middle and lower SABs, the lower SABS and Espiritu Bay, and the lower SABS and Mesquite Bay.

Coupled Biophysical Modeling Frameworks and Differential Equations

As described in the previous section, the biophysical framework of the SABS model consisted of three connected patches or regions, representing the three subdivisions of the SABS. Freshwater inflows enter the model domain through the uppermost region, and water exchanges with marine end-members occur in the lower-most region (Fig. 3a). Within each region, phytoplankton compete for three growth-limiting resources, also described in a previous section (Fig. 3b). In the uppermost region of SABS, advection from rivers brings nutrients and cells (freshwater species only) into the model domain. Water exchanges between SABS regions transfer cells and nutrients throughout the model domain and also between adjacent systems and the lower SABS (Espiritu and Mesquite Bays). The input of freshwater phytoplankton cells from the rivers was given by

$$\mathrm{Cells}_{\mathrm{Rivers}}^F=\frac{\mathrm{River}\;\mathrm{Chla}\times\mathrm{River}\;\mathrm{Inflow}}{\mathrm{Cc}\times\mathrm{Volume}\;\mathrm{of}\;\mathrm{Upper}\;\mathrm{SABS}}\;(\times10^6\mathrm{cells}\;\mathrm L^{-1}\mathrm{day}^{-1})$$
(18)

where \({River\;Inflow}\) was the daily-averaged freshwater discharges from the Guadalupe and San Antonio Rivers and \(Cc\) was the chlorophyll per phytoplankton cell (\(\mu\)g-Chla/\({10}^{6}\) cells, calculation as previously described). The input of estuarine and marine phytoplankton cells from Mesquite and Espiritu Bays was given by

$$\mathrm{Cells}_{\mathrm{Bays}}^{\mathrm{EM}}=\frac{\mathrm{Adjacent}\;\mathrm{Bay}\;\mathrm{Chla}}{2\times D\times Cc}(\times10^6\mathrm{cells}\;\mathrm L^{-1}\mathrm{day}^{-1})$$
(19)

For subdivisions of the SABS, if there was a flow from region \(i\), towards region \(i+1\), influencing region \(i\), where the upper SABS was i = 1, the middle SABS i = 2, and the lower SABS i = 3, then the differential equations for phytoplankton and nutrients in region \(i\) follow the forms

$$\frac{d{A}_{i,k}}{dt}={A}_{(i,k)}\{{\mu }_{(i,k)}-{D}_{i,i+1,i}-{g}_{i}\}+{A}_{i-1,k}{D}_{i-1,i,i}$$
(20)
$$\frac{dN_{i,j}}{dt}=N_{i-1,j}D_{i-1,i,i}-N_{i,j}D_{i,i+1,i}-{\textstyle\sum_k}Q_{N_{i,j,k}}\mu_{i,k}A_{i,k},$$
(21)

where \({A}_{i,k}\) was the \({k}^{\mathrm{th}}\) phytoplankton species in patch \(i, {N}_{i,j}\) was the \({j}^{\mathrm{th}}\) nutrient in patch \(i\), and \({Q}_{{N}_{i,j,k}}\) was the fixed cellular content of resource \({N}_{i,j}\) in species \(k\).

The rate of change DO in any given patch at any instant \(t\) was given by

$$\frac{d(DO_i)}{dt}={A_{i,k}(\theta}_{i,k\_A}-\theta_{i,k\_r})+\theta_{i\_d}DO_i$$
(22)

We employed numerical techniques to solve the spatially discrete differential equations using MATLAB-ODE-solving routines based on fourth-order Runge–Kutta procedures with a variable time step. The daily averaged data were used in the output figures reported as part of this work.

Model Training

Historical data from Roelke Lab (described above and reported in Roelke et al. 2017) was used for model training. For the training, we employed a parsed approach to parameter manipulation. We first optimized the model to the data through manipulation of the temperature- and salinity-based parameters (described below). Then, we further optimized the model to the data through manipulation of parameters related to light, grazing, and nutrient use (described below). In each of the bay areas, performance of the model with each parameter manipulation was quantified using the statistical metric, root-mean-square error (RMSE). The RMSE can be calculated as

$$\mathrm{RMSE}=\sqrt{\frac1T{\textstyle\sum_{t=1}^T}\lbrack S(t)-O(t)\rbrack^2},$$
(23)

where \(T\) is the length of observations, and \(O(t)\) and \(S(t)\) are field observations and model simulation results respectively at time \(t\) \((t=\mathrm{1,2},\dots ,T)\). For the RMSE calculation, we used Chla and DO. We then summed the three RMSE values from the three bay regions. We show field observations and model results for Chla and DO.

For the first step in the model training, three Q10 values were explored for all of the salinity-based parameter manipulations. These Q10 values were 1, 2, and 3. For the salinity-based parameters, ranges for the maximum salinity tolerance, optimal salinity, and minimum salinity tolerance were explored for each of the three phytoplankton groups. For the freshwater phytoplankton species, the range for maximum salinity tolerance was [10, 25]; for the estuarine phytoplankton species, the ranges for the maximum salinity tolerance, optimal salinity, and minimum salinity tolerance were [20, 35], [5,19], and [0, 4] respectively; for the marine phytoplankton species, the ranges for the maximum salinity tolerance and minimum salinity tolerance were [35, 50] and [5–20] respectively. The RMSE values with \(Q10=3\) were much better than the corresponding RMSE values obtained using \(Q10=1\) and \(Q10=2\). The salinity-based parameters that produced the best RMSE at \(Q10=3\) were \({s}_{\mathrm{max}}^{F}=10\) ppt, \({s}_{\mathrm{max}}^{E}=20\) ppt, \({s}_{\mathrm{max}}^{M}=35\) ppt, \({s}_{{opt}}^{E}=19\) ppt, \({s}_{\mathrm{min}}^{E}=4\) ppt, and \({s}_{\mathrm{min}}^{M}=20\) ppt.

For the second step in the model training, we considered a combination of six optimization orders (\(OP_i\)) based on the parameters that were grouped into light (\({K}_{t}\)), grazing (\(g_{\max},s_{\min}^g,s_{opt}^{g},s_{\max}^{g}\)), and \(NH_4/NO_{\mathrm X}\) preference (\(\gamma\)). We followed this approach in lieu of global optimization because of computational limitations. The order in arrangements of the parameters was as follows:

$${\mathrm{OP}}_1=\{K_t,g_{max},s_\mathrm{min}^g,s_{\mathrm{opt}}^g,s_{max}^g,\gamma\}$$
$${\mathrm{OP}}_2=\{K_t,\gamma,g_{max},s_\mathrm{min}^g,s_{\mathrm{opt}}^g,s_{max}^g\}$$
$${\mathrm{OP}}_3=\{g_{max},s_\mathrm{min}^g,s_{\mathrm{op}t}^g,s_{max}^g,K_t,\gamma\}$$
$${\mathrm{OP}}_4=\left\{g_{max},s_\mathrm{min}^g,s_{\mathrm{opt}}^g,s_{max}^g,\gamma,K_t\right\}$$
$${\mathrm{OP}}_5=\left\{\gamma,g_{max},s_\mathrm{min}^g,s_{\mathrm{opt}}^g,s_{max}^g,K_t\right\}\mathrm{and}$$
$${\mathrm{OP}}_6=\{\gamma,K_t,g_{max},s_\mathrm{min}^g,s_{\mathrm{op}t}^g,s_{max}^g\}$$

The lowest RMSE values resulted from \(OP_3\) (Table 1). These parameters were then used in the sensitivity and simulation analyses Table 2.

Table 1 Results from model optimization where root-mean-square error (RMSE) was used to evaluate deviations between the field data from the Roelke Lab and the model simulation values in the upper, middle, and lower regions of the San Antonio Bay System (USABS, MSABS, and LSABS, respectively). The order in which parameter values were adjusted varied, as this influenced how well the model was optimized. The parameters adjusted were related to light (\({K}_{t}\)), grazing (\(g_{\max},s_{\min}^{g},s_{opt}^{g},s_{\max}^{g}\)), and \(NH_4/NO_{\mathit X}\) preference (\(\gamma\)). There were six parameter sequences explored, designated with OP1, OP2, OP3, OP4, OP5, and OP6
Table 2 Parameters of the model defined with values, units, and references shown where appropriate

Sensitivity and Simulation Analyses

The sensitivity analysis focused on changes in model output for average Chla and DO during spring and summer, resulting from either an increase or decrease (50% of the optimized value for a particular parameter). Results were similar across bay regions; therefore, we show results for only the middle SABS region, where trends were most pronounced.

The simulation analysis for the SABS comprised an evaluation of phytoplankton biomass (as Chla) and DO in the system over a range of river inflows and nutrient loadings. For this, we generated an annual hydrological cycle that delivered a yearly inflow magnitude comparable to that of the 27-year daily-averaged data set (data described in a previous section). This “historical average” was then increased or decreased across a range of 0–2 times the original magnitude to create different levels of river discharge. A similar process was used for river nutrient loading. However, river nutrient samplings in the 27-year data set were sparse during some periods; therefore, monthly averages were generated across the 27-year period. These monthly averages were interpolated to create a daily data set.

Each of the combined inflow and river nutrient concentration-combination simulations were repeated using low (0.2 d−1), medium (1.0 d−1), and high (2.0 d−1) eddy diffusion rates for the upper SABS (\({d}_{U})\). We opted to use this simpler approach for depicting eddy diffusion instead of using the seasonally varying water exchange rates estimated with TxBLEND, as this kept interpretation of our model results tractable. In the upper region of the SABS, diffusive exchanges occurred only with the middle region. In the middle region of the SABS, diffusive exchanges occurred with both the upper and lower regions. In the lower region of the SABS, diffusive exchanges occurred with the middle region and two adjacent bay systems (marine end-members). To determine eddy diffusion in the middle (\({d}_{M,L})\) and lower (\({d}_{M,L})\) SABS regions, we used the following equations:

$$d_{M,L}=\frac{d_U\times\mathrm{Volume}\;\mathrm{of}{\;\mathrm{region}}_U}{\mathrm{Volume}\;\mathrm{of}\;{\mathrm{region}}_{M,L}},$$
(24)

In order to incorporate eddy diffusion rates \({(d}_{i})\) explicitly, we added terms to differential Eqs. (20) and (21) which differed depending on the bay region. For the upper SABS region, the terms took the form \({(A}_{i+1,k}-{A}_{i,k}{)d}_{i}\) and \(({N}_{i+1,j}-{N}_{i,j}{)d}_{i}\). For the middle SABS, the terms took the form \({(A}_{i+1,k }{+ A}_{i-1,k}-{2A}_{i,k}{)d}_{i}\) and \(({N}_{i+1,j}+{N}_{i-1,j}-{2N}_{i,j}{)d}_{i}\). For the lower SABS, the terms took the form \({(A}_{i+1,k }+{A}_{i+1,k }{+ A}_{i-1,k}-{3A}_{i,k}{)d}_{i}\) and \(({N}_{i+1,j}+{N}_{i+1,j}+{N}_{i-1,j}-{3N}_{i,j}{)d}_{i}\). For the lower SABS, region i + 1 represents the adjacent bay systems.

Results

Model Training

In all three regions of SABS, the model reproduces DO concentration well, capturing the timing and magnitude of fluctuations (Fig. 4d–f). Differently, while model results for Chla concentration are primarily within the range of historical values, they are often out of sync with the timing and magnitude of fluctuations, especially in the upper SABS region (Fig. 4a–c).

Fig. 4
figure 4

San Antonio Bay MUMPS results after model training, where data from the Roelke laboratory at Texas A&M University Galveston (open circles) and simulation results (solid lines) are superimposed. Results are shown for chlorophyll a (Chla, ac) and dissolved oxygen (df) in the upper (a, d), the middle (b, e), and the lower (c, f) regions of the SABS

Sensitivity Analyses of the SABS

These analyses revealed that Chla during the spring months in SABS was particularly sensitive to changes in maximum phytoplankton growth rate (\(r\)), phytoplankton cellular quota for phosphorous (QP), Chla:C-ratio, maximum grazing rate (\({g}_{\mathrm{max}}\)), turbidity coefficient (\({K}_{t}\)), and maximum salinity threshold for grazing (\({s}_{\mathrm{max}}^{g}\)) (Fig. 5a). With the exception of “r”, Chla was sensitive to these same parameters in the summer (Fig. 5b).

Fig. 5
figure 5

Sensitivity of the middle region of the San Antonio Bay System (SABS) MUMPS to changes in model parameters. Responses were similar across bay regions. MUMPS response variables for chlorophyll a (a, b) and dissolved oxygen (c, d) were analyzed in the spring (a, c) and summer (b, d) months. Model responses using the default parameter values are shown by a dashed line (always in the shape of a circle and with a value of 1.0). Model responses from simulations where an individual parameter was manipulated are shown by either a thin, solid line (−50%) or a thick, solid line (+50%). The scaling of the maximum polar coordinates (outer circle of graphic) varies between panels as shown; e.g., panel a is scaled to a maximum factor of 1.7, with inner circles at 1.1 and 5.7. Model responses with values greater than 1.0 indicate an increase from the response generated using the default value, and responses with values less than 1.0 indicate a decrease. Phytoplankton parameter identifications include chlorophyll a to oxygen utilization ratio (\({\alpha }_{OP}\)), coefficient of respiration rate (\({K}_{\mathrm{resp}}\)), NH4:NOX preference ratio (\(\gamma\)), maximum growth rate (\(r\)), half-saturation coefficient for combined NH4 and NOX (KN), half-saturation coefficient for SRP (KP), fixed cellular content of nitrogen (\({Q}_{N}\)), fixed cellular content of phosphorous (\({Q}_{P}\)), marine group minimum salinity threshold (\({s}_{\mathrm{min}}^{M}\)), estuarine group optimum salinity threshold (\({s}_{{opt}}^{E}\)), freshwater group maximum salinity threshold (\({s}_{\mathrm{max}}^{F}\)), estuarine group maximum salinity threshold (\({s}_{\mathrm{max}}^{E}\)), marine group maximum salinity threshold (\({s}_{\mathrm{max}}^{M}\)), and chlorophyll a to carbon ratio (Chla:C). Non-phytoplankton parameter identifications include maximum grazing rate (\({g}_{\mathrm{max}}\)), minimum salinity for grazing (\({s}_{\mathrm{min}}^{g}\)), optimum salinity for grazing (\({s}_{{opt}}^{g}\)), and maximum salinity for grazing (\({s}_{\mathrm{max}}^{g}\)), mass-based light-attenuation coefficient of phytoplankton (\({K}_{a}\)), background turbidity (\({K}_{t}\)), and atmosphere-water diffusion rate for oxygen (\({d}_{{\mathrm{flux}}}\))

In regard to DO, during spring months in the SABS, the model was remarkably insensitive to changes in any of the parameters tested (Fig. 5c). During the summer months, the same parameters that were important for Chla prediction were also important for DO (but less so). In addition, the model was sensitive to changes in O2-diffusion coefficient (\(d_{\mathrm{flux}}\)), the Chla-O2 conversion parameter (\({\alpha }_{{OP}}\)), and the phytoplankton respiration coefficient (\({K}_{\mathrm{resp}}\)) (Fig. 5d).

Simulation Analyses of the SABS

In all three regions of the SABS, annual biomass (Chla multiplied by bay segment volume for each day of the year, then summed for the year) increased with an initial decrease in river inflows from the historical condition; a response was most exaggerated at the lowest levels of eddy diffusion (Fig. 6). While similar in trend, the annual biomass in the upper, middle, and lower regions increased to different extents. In the upper region, annual biomass reached its maximum (under average nutrient conditions) at 2.0 × 1014 mg Chla when inflows were reduced to 20% of the historical average. This was a 90.7% increase in annual biomass from the average condition of 1.07 × 1014 mg Chla. In the middle region, annual biomass reached a maximum at 9.12 × 1015 mg Chla, when inflows were reduced to 40%, generating a 36.5% increase from the average condition of 6.68 × 1015 mg Chla. In the lower region, Chla reached a maximum at 6.23 × 1014 mg Chla, when inflows were reduced to 60%, a 14.9% increase from the average condition of 5.42 × 1015 mg Chla. The response was weakest at the highest levels of eddy diffusion (Fig. S1). As river inflows decreased to zero, biomass decreased to its minimum, resembling the marine boundary conditions. Differently, when river inflows were increased from the historical condition, biomass in all three regions decreased, eventually approaching a value similar to the river boundary condition.

Fig. 6
figure 6

San Antonio Bay System (SABS) MUMPS model simulated annual biomass (daily chlorophyll a concentration multiplied by the SABS region volume, then summed over the course of the year) as a function of river discharge and nutrient concentrations. Results are shown for the upper (a), middle (b), and lower (c) SABS regions. The x- and y-axes are multipliers of the average annual hydrology and nutrient concentrations in the river, where a value of “1” represents the 27-year average inflow and nutrient concentrations in the river. Results generated under the average conditions are indicated with a black dot

Regarding nutrient loading at typical river inflows in SABS, appreciable reductions in annual biomass were not observed until nutrient concentrations in the river were less than 60% of the average condition (Fig. 6). This result was consistent at all three levels of eddy diffusion. When river inflows were high, annual biomass became less sensitive to changes in the concentration of nutrients in the river. Differently, when river inflows were low, annual biomass became sensitive to reductions in river nutrient concentrations, showing a corresponding decrease, and the decrease was greater as inflows were further reduced. The response was again most exaggerated at the lowest levels of eddy diffusion, where the annual biomass at the averaged nutrient concentration in the river (but lower flow at 20% of the historical average) decreased to different extents in each region. The upper, middle, and lower regions decreased from 1.79 × 1014, 9.12 × 1015, and 4.77 × 1015 mg Chla, respectively, to 1.15 × 1014, 4.94 × 1015, and 1.18 × 1015 mg Chla, respectively, when nutrients were reduced to 40% of their historical average. This corresponds to annual biomass decreases of 35.8%, 45.8%, and 61.6% in the upper, middle, and lower regions respectively.

Annual biomass was comprised of three phytoplankton populations in each region, which were influenced differentially by salinity. Figure 7 is shown as an example of the shift in population abundances as freshwater inflows are shifted away from the average condition. Under the average condition, with Fig. 6 surface plot coordinates of (1,1), both the freshwater and estuarine populations contribute to annual biomass in the region. At the extreme end of freshwater inflows where the average condition is doubled, indicated by Fig. 6 surface plot coordinates of (2,2) to (2,0), the freshwater population is the primary contributor to annual biomass. At the other discharge extreme, where no inflow occurs, only a small estuarine population persists in the region. Comparison of the bottom three panels of Fig. 7 shows how the assemblage shifted from primarily estuarine to co-dominance by freshwater and estuarine groups as discharge was increased across average nutrient conditions, indicated by Fig. 6 surface plot coordinates of (0.4,1), (1,1), and (1.6,1).

Fig. 7
figure 7

San Antonio Bay System (SABS) MUMPS model time-series simulation results for Chla in the middle region. Coordinates above the upper right corner of each plot represent the x- and y-axes for a given sim on the surface plot found in Fig. 6. The coordinates are multipliers of the average annual hydrology and nutrient concentrations in the river, respectively, where a value of “1” represents the 27-year average inflow and nutrient concentrations in the river. The solid line represents the freshwater phytoplankton population, the dashed line represents the estuarine population, and the dotted line represents the marine population

Dissolved oxygen responses to changing river inflows and nutrient loadings in the SABS varied by region (Fig. 8). Across all three regions, the yearly minimum DO was primarily influenced by discharge level. In the upper SABS, minimum DO increased with decreasing discharge and decreased with an initial increase in discharge to a certain point (~60% of average condition), where minimum DO again began to increase. Minimum DO in the upper SABS ranged from 6.4 to 8.4 mg L−1. Differently, in the middle and lower SABS regions, yearly minimum DO primarily decreased with increasing flows, ranging from 5.4 to 8.0 mg L−1. As with Chla, this result was consistent at all three levels of eddy diffusion (Fig. S2). The annual average DO mirrored trends for minimum DO in each bay region, but with much less amplitude where maxima and minima were in the ranges of ~9.5 mg L−1 and ~7.75 mg L−1, respectively (Fig. S3).

Fig. 8
figure 8

San Antonio Bay System (SABS) MUMPS model simulated minimum dissolved oxygen as a function of river discharge and nutrient concentrations. Results are shown for the upper (a), middle (b), and lower (c) SABS regions. The x- and y-axes are multipliers of the annual hydrology and nutrient concentrations in the river, where a value of “1” represents the 27-year average inflow and nutrient concentrations in the river. Results generated under the average conditions are indicated with a black dot

Discussion

At the historically averaged river inflow condition, phytoplankton reproductive growth rate in SABS appears to be controlled primarily by light, as suggested by our model findings. This is evidenced by little to no effect on annual biomass with the increase of nutrient concentrations in the river. Recall that for some simulation comparisons, nutrient loading changes occurred independent of hydraulic displacement changes (i.e., inflow was held constant). With the model simulations under constant cell displacement rates, increased nutrients should allow for increased reproductive growth rate, assuming nutrients are limiting, and an increase in population growth. However, no increase occurred, pointing to resource limitation by another model factor, in this case, light. A previous model, focused on induction of photosynthesis, also proposed light as the controlling factor for biomass in the SABS (MacIntyre and Geider 1996). In addition, these findings suggest that the impact of increased nutrient loading in the SABS is likely beyond the domain of the current model (i.e., further away from the locations of discharge of these rivers), similar to other bay systems in this region (Chen et al. 2000).

When inflows were increased beyond the historical average, annual biomass was reduced due to increased hydraulic displacement of cells, which reduced the population growth rate. Phytoplankton reproductive growth rate in the SABS remained primarily light-limited at these higher river inflows.

Differently, when inflows were reduced below the historical average, annual biomass increased substantially. This occurred because population growth rate was enhanced with the reduced hydraulic displacement of cells, enabling greater accumulation of cells. At these lower inflows, river nutrient concentrations were more influential in determining annual biomass. Interestingly, as inflows were further reduced, nutrient reductions became more impactful on annual biomass. Under extreme low-inflow conditions, changes in annual biomass were positively correlated with river nutrient concentrations across all nutrient loading levels. This effect was most severe in the upper SABS region and least severe in the lower SABS region. This suggests that under diminished inflow conditions, nutrient reductions may be important for the control of phytoplankton growth and maintenance of biomass.

Yearly minimum DO was highly influenced by river discharge levels and, in most cases, relatively insensitive to changes in river nutrient concentrations. The effect of discharge on model DO was indirect; phytoplankton biomass and physiological state were directly influenced by inflows, which in turn impacted DO. This relationship led to variation in DO trends between bay regions based on their salinity at different discharge levels. Simulated oxygen production by model phytoplankton was, in part, a function of their maximum potential growth rate, as determined by temperature and salinity. Under high discharge conditions, phytoplankton input from the river (freshwater population) was high, salinity was low, and the freshwater population was able to grow near its maximum in the upper SABS. As a portion of the freshwater population was pushed further into the bay via advection, it encountered higher salinity and reduced growth rate. So, although the freshwater population contributed to Chla in the middle and lower SABS regions, because their growth was diminished, their contribution to DO was greatly reduced, and their continued respiration led to a net loss for DO. Under low biomass conditions, where the phytoplankton contribution to DO was minimal, oxygen re-entry from the atmosphere was sufficient to maintain DO throughout SABS.

We can compare these results to the findings of Hu et al. (2020), where high discharge to the SABS occurred following Hurricane Harvey and led to decreased Chla and DO within the system. The decrease in Chla was attributed to increased turbidity, inhibiting primary production, while the decrease in DO was attributed to an increase in organic carbon and subsequent elevated microbial respiration. Though MUMPS does not yet incorporate processes related to variable turbidity or bacterial respiration, it is likely that processes attributing to the model results for the middle and lower SABS also influenced the empirical observations reported by Hu et al. (2020) to some degree (i.e., the hurricane-related discharge leads to the increased flushing of phytoplankton biomass which contributed to the decrease in Chla and oxygen reductions). Walker et al. (2021) also reported a marked decrease in DO and Chla in the SABS following Hurricane Harvey. Interestingly, when river discharge was reduced, a regional shift in biomass occurred with the middle SABS becoming more prominent than the lower SABS. For example, in the middle region of the SABS, biomass increased 36.5%, while in the lower SABS, biomass increased 14.9%. This resulted in the middle SABS having ~46% more biomass than the lower SABS, a change from ~23%. These modeling results parallel what has been observed in field monitoring for this system, where it was shown that under prolonged low-inflow conditions, the biomass “hot spot” forms in the middle SABS (Roelke et al. 2017). The impact of a regional shift in phytoplankton biomass of this magnitude on sessile organisms (e.g., oysters), organisms of limited dispersal (e.g., juvenile blue crabs), or the organisms that feed on these (e.g., endangered whooping cranes for the case of blue crabs) merits further study, as possible effects on higher trophic levels are unclear.

Findings from our sensitivity and simulation analyses point to areas of further model refinement that may increase the accuracy of the model. For example, Chla during the spring and summer months in SABS was sensitive to changes in the Chla:C-ratio. In our current modeling efforts, the ratio was kept constant. In reality, this ratio is different among phytoplankton taxa, and it changes with their physiological state (Letelier et al. 1993; Brewin et al. 2019). Using taxon-specific Chla:C-ratios and incorporating mechanisms in the model that simulate changes in this ratio with physiology may improve Chla predictions.

Similarly, Chla during the spring and summer months in SABS was sensitive to changes in the turbidity coefficient (\({K}_{t}\)). As with the Chla:C-ratio, \({K}_{t}\) was kept constant in our modeling effort. In reality, \({K}_{t}\) changes with loading of colored dissolved organic matter (CDOM) and detritus (Babin et al. 2003; Rose et al. 2019). We are unaware of studies along the Western Gulf coast focusing on the changed optical properties of bay waters as a result of CDOM and detritus loading. Such a study, however, would enable these influences to be incorporated in the model, possibly leading to improved Chla predictions.

The maximum growth rate of phytoplankton (r), maximum salinity threshold for grazing (\({s}_{\mathrm{max}}^{g}\)), and the maximum grazing rate (\({g}_{\mathrm{max}}\)) also had a large influence on Chla during the spring and summer months in SABS. As with the parameters mentioned above, they were also kept constant in our modeling effort. But again, in reality, these are taxon-specific parameters (Sarthou et al. 2005; Maranon et al. 2013). More refined investigations of these taxonomic parameters in target systems will improve Chla predictions.

In regard to DO, spring time concentrations were relatively unresponsive to changes in parameter values. Differently, summer months were sensitive to parameter changes, with influential parameters for DO being similar to those for Chla. This overlap was caused by the relationship between DO and phytoplankton biomass and physiological state. Therefore, prediction of DO might be improved by increasing knowledge of the parameters mentioned above for improvement of Chla prediction. Additionally, improvements may be made by increasing our knowledge of taxon-specific, physiological state-specific phytoplankton respiration coefficients (\(K_{\mathrm{resp}}\)), which summer-time DO was sensitive to.

We anticipate that our model for SABS will be an ideal tool for resource managers who are interested in freshwater inflows and nutrient loadings to this system. More specifically, the model can be used to test future scenarios where inflows may be altered, which may involve a number of different scenarios, including the increase or decrease of daily or average inflows, or altered timing and magnitude of peak discharge events. Further, we envision a best-practice approach involving the use of multiple models where commonalities among them are analyzed, similar to what has been done before in the SABS (Turner et al. 2014). Such analyses may be used to pinpoint important ecosystem thresholds for inflows and nutrient loading that preserve ecosystem functioning, maintain food web interactions, and ultimately help protect higher trophic levels such as the blue crab and endangered whooping crane, which are found in the SABS region. Our model also has the capability to be more than a regionally specific management tool. As described previously, it was developed using generalized ecological and physicochemical principles, making it transportable across estuarine ecosystems provided that the required model training is done for those systems.