A trait-based modelling approach to planktonic foraminifera ecology

. Despite the important role of planktonic foraminifera in regulating the ocean carbonate production and their unrivalled value in reconstructing paleoenvi-ronments, our knowledge on their ecology is limited. A variety of observational techniques such as plankton tows, sediment traps and experiments have contributed to our understanding of foraminifera ecology. But, fundamental questions around costs and beneﬁts of calciﬁcation and the effect of nutrients, temperature and ecosystem structure on these organisms remain unanswered. To tackle these questions, we take a novel mechanistic approach to study planktonic foraminifera ecology based on trait theory. We develop a zero-dimensional (0-D) trait-based model to account for the biomass of prolocular (20 µm) and adult (160 µm) stages of non-spinose foraminifera species and investigate their potential interactions with phytoplankton and other zooplankton under different temperature and nutrient regimes. Building on the costs and beneﬁts of calciﬁcation, we model two ecosystem structures to explore the effect of resource competition and temperature on planktonic foraminifera biomass. By constraining the model results with ocean biomass estimations of planktonic foraminifera, we estimate that the energetic cost of calciﬁcation could be about 10 %–50 % and 10 %–40 % for prolocular and adult stages respectively. Our result suggest that the shell provides protection against processes other than predation (e.g. pathogen invasion). We propose that the low standing biomass of planktonic foraminifera plays a key role in their survival from predation, along with their shell protection. Our model suggests a shift from temperature as a main regulator of foraminifera biomass in the early developmental stage to resource competition for adult biomass.

Abstract. Despite the important role of planktonic foraminifera in regulating the ocean carbonate production and their unrivalled value in reconstructing paleoenvironments, our knowledge on their ecology is limited. A variety of observational techniques such as plankton tows, sediment traps and experiments have contributed to our understanding of foraminifera ecology. But, fundamental questions around costs and benefits of calcification and the effect of nutrients, temperature and ecosystem structure on these organisms remain unanswered. To tackle these questions, we take a novel mechanistic approach to study planktonic foraminifera ecology based on trait theory. We develop a zero-dimensional (0-D) trait-based model to account for the biomass of prolocular (20 µm) and adult (160 µm) stages of non-spinose foraminifera species and investigate their potential interactions with phytoplankton and other zooplankton under different temperature and nutrient regimes. Building on the costs and benefits of calcification, we model two ecosystem structures to explore the effect of resource competition and temperature on planktonic foraminifera biomass. By constraining the model results with ocean biomass estimations of planktonic foraminifera, we estimate that the energetic cost of calcification could be about 10 %-50 % and 10 %-40 % for prolocular and adult stages respectively. Our result suggest that the shell provides protection against processes other than predation (e.g. pathogen invasion). We propose that the low standing biomass of planktonic foraminifera plays a key role in their survival from predation, along with their shell protection. Our model suggests a shift from temperature as a main regulator of foraminifera biomass in the early developmental stage to resource competition for adult biomass.

Introduction
Planktonic foraminifera as a group comprise 50 holoplanktonic heterotrophic protozoans (Kučera, 2007). They are the most widely used zooplankton group to reconstruct past marine environments, with proxies devised that are based on their abundance, assemblage composition and/or physiogeochemical characteristic of their shell (e.g. Schmidt et al., 2003;Schiebel and Hemleben, 2005). They are also the most important calcifying zooplankton group, supplying between 23 % and 55 % of the total marine planktonic carbonate production (Schiebel, 2002) and hence are a key contributor to the composition of marine sediments (Schiebel and Hemleben, 2005).
In contrast to their high abundances in sediments, they tend to grow at very low abundance in the ocean and never dominate the zooplankton community, representing less than 5 % of total microprotozooplankton abundance (Beers and Stewart, 1971). Based on plankton tow observations, abundances range from 1 ind. m −3 in blue waters to 20-50 ind. m −3 in oligo-and mesotrophic waters (Schiebel and Hemleben, 2005) and > 1000 ind. m −3 in polar regions (Carstens et al., 1997). Their global biomass in the water column has been estimated to be between 0.002 and 0.0009 Pg C and their contribution to global plankton biomass to be ∼ 0.04 % (Buitenhuis et al., 2013).
Despite their importance in paleooceanography and modern biochemical oceanography, our knowledge of planktonic foraminifera's physiology, development and ecology is limited to a few observations. Planktonic foraminifera are difficult to grow in culture, and it has been impossible to grow a next generation (Hemleben et al., 1989). Consequently, information regarding the intra-species and inter-species competition, as well as a mechanistic understanding of their physiology through their whole life cycle, is missing.
Trait-based approaches can be useful for improving our knowledge of planktonic foraminifera ecology as they can address fundamental questions around the cost of growth across developmental stages, their position in the global food webs and calcification. Trait-based approaches provide mechanistic understanding of individuals, populations or ecosystems, as they describe these systems from first principles by defining individuals' key traits (e.g. size, feeding, reproduction) and associated trade-offs like energetic needs and predation risks (e.g. Litchman and Klausmeier, 2008;Litchman et al., 2013;Barton et al., 2013;Hébert et al., 2017;Kiørboe et al., 2018b). For example, body size is considered a master trait for plankton, impacting many physiological and ecological aspects such as metabolic rates (e.g. growth), diet, abundance, biomass and reproduction (e.g. . Several traits and trade-offs have been identified for planktonic foraminifera, summarized in Fig. 1. The size of planktonic foraminifera can be regarded as a "master" trait and can be used as an indicator for environmental conditions that are optimal for growth (e.g. Caron et al., 1982;Schmidt et al., 2004a). Planktonic foraminifera development is divided into five stages, defined based on shell size and wall structure: prolocular, juvenile, neanic, adult and terminal (gametogenesis) (Brummer et al., 1986(Brummer et al., , 1987. Their shell diameter ranges from about 10 µm for the prolocular life stage to more than 1250 µm for the adult under optimal conditions (Schmidt et al., 2004a). Planktonic foraminifera are considered to reach the adult stage and subsequently be sexually mature when their shell size reaches around 100 µm (Brummer et al., 1986;Caromel et al., 2016). Shell size increases from low to high latitudes (Schmidt et al., 2003(Schmidt et al., , 2004b and is related to reproductive success (gametogenesis), as bigger individuals release more gametes (e.g. Caron and Bé, 1984;Hemleben et al., 1989). Temperature and food availability are suggested to be the main environmental factors which regulate their size (e.g. Anderson et al., 1979;Spero et al., 1991;Caron et al., 1982;Schmidt et al., 2004a), but a mechanistic understanding of the response of shell size to temperature and food is missing.
Calcification is another important trait of planktonic foraminifera, relative to shell size, but the costs and benefits of possessing a shell and the nature of the associated tradeoff are not well understood. Paleorecords indicate changes in size (Schmidt et al., 2004a), thickness (Barker and Elderfield, 2002) and morphology of planktonic foraminifera shell as responses to changing climates (Malmgren and Kennet, 1981;Norris, 1991). Determining the cost and benefit of producing a shell is fundamental to quantifying the influence of climate change on planktonic foraminifera ecology, distribution and carbonate production in the past, present and future.
The feeding strategies of planktonic foraminifera are also an important trait as they are crucial for survival and influence plankton community ecology. Planktonic foraminifera are inactive organisms and passive feeders. They do not detect their prey but encounter them while drifting, using a rhizopodial network which extends from their body (e.g. Anderson and Bé, 1976). As planktonic foraminifera are typically collected for experimental work at sizes > 60 µm and subsequently grown as individuals, information regarding the feeding behaviour of the early (prolocular and juvenile) life stages, the cost and benefits of being inactive passive feeders and interactions with other plankton is missing. It has been suggested that at the prolocular stage all species are herbivorous (Hemleben et al., 1989) and subsequently widen their food sources. Field and laboratory observations suggest that spinose species use their spines, which start growing during the neanic stage, to capture and control active zooplankton prey, that are often larger than themselves (e.g. Anderson et al., 1979;Spindler et al., 1984). Spinose species tend to be either omnivorous or carnivorous (Schiebel and Hemleben, 2017) and many have developed a symbiotic relationship with photosynthesizing algae (Schiebel and Hemleben, 2017) which allows them to be successful in oligotrophic areas. It has been speculated that the higher abundance of spinose species compared to the non-spinose is the result of their carnivory as oligotrophic areas are characterized by relative low phytoplankton concentration but relative high abundance of copepods (Schiebel et al., 2004;Moriarty and O'Brien, 2013). Non-spinose species are often omnivorous and herbivorous (Anderson et al., 1979;Hemleben and Auras, 1984), with the ability to catch and feed on small zooplankton or dead organic matter resulting in their maximum abundance in high-productivity regions (Schiebel and Hemleben, 2017).
Trait-based models can supplement the physiological and ecological understanding of foraminifera gained in the field and cultures (Fig. 1) to improve our understanding of planktonic foraminifera ecology. Trait-based models have been successfully applied to phytoplankton (e.g. Follows et al., 2007;Litchman and Klausmeier, 2008;Monteiro et al., 2016) with little development and application on zooplankton (e.g. Banas, 2011;Maps et al., 2011;Ward et al., 2012Ward et al., , 2014Banas et al., 2016). However, until now, only speciesspecific ecological models have been developed to study the ecology of modern planktonic foraminifera species: Žarić et al. (2006) (from now on Žarić06), PLAFOM (Fraile et  The presentation of planktonic foraminifera's traits was inspired from the topology of zooplankton traits proposed by Litchman et al. (2013Litchman et al. ( ). al., 2008Litchman et al. ( , 2009) and FORAMCLIM (Lombard et al., 2011;Roy et al., 2015). Žarić06 developed an empirical model which relates the global fluxes of 18 species of planktonic foraminifera to environmental conditions based on observations. PLAFOM models field observations to predict the influence of temperature  and food availability (Fraile et al., 2009) on the global biogeography of five species. FORAMCLIM represents eight species of planktonic foraminifera and studies the influence of temperature, food availability, light and climate change on growth rates and global distribution. These models provide important insights into the interaction between planktonic foraminifera and their habitat. Their main limitation is that they are based on empirical (Žarić et al., 2006;Fraile, , 2009 or laboratory data (Lombard et al., 2011;Roy et al., 2015) and their application is thus species-specific and limited to specific environmental ranges (Roy et al., 2015).
Here, we describe the first trait-based generic model of planktonic foraminifera using body size, calcification and feeding behaviour as key traits to investigate the mechanisms behind planktonic foraminifera ecology. We focus on modelling non-symbiotic non-spinose species because these species are predominantly herbivorous throughout their whole life and do not develop spines and algal symbionts, all of which increase complexity and are not sufficiently constrained by basic physiological data. Our trait-based planktonic foraminifera model was derived from the sizestructured plankton models of Ward et al. (2012Ward et al. ( , 2014 which use cell and body size as the ecophysiological trait to study the phytoplankton-zooplankton food web. We investigate the energetic costs and benefits of calcification and their feeding behaviour and resource competition with other zooplankters, as well as the environmental controls on two different developmental stages. Model results assess and quantify the biotic and abiotic factors influencing their physiology and ecology and the interactions of planktonic foraminifera with phytoplankton and other zooplankton, as well as their environment.

Model structure
Our model represents a chemostat experiment in a zerodimensional (0-D) setting. It accounts for one source of nutrients (here defined as nitrates, NO − 3 ) and 51 generic phytoplankton (autotrophs) and zooplankton (heterotrophs) size classes from pico-to mesoplankton (Sieburth et al., 1978).
The nutrient availability (N) depends on the input nutrient concentration (N o ) interpreted as either a nutrient-rich vertical source of nutrient (typical of high-productivity regions) or a less-rich horizontally advective nutrient source (typical of oligotrophic gyres), dilution rate κ and phytoplankton uptake (Eq. 1).
We investigated a range of N o values (0-5 mmol N m −3 ) to account for a range of different nutrient regimes, from oligotrophic to eutrophic (Ward et al., 2014).
Plankton populations are modelled in terms of nitrogen biomass (B) with the rate of change of biomass described by dB j dt = P growth,j B j + B j λ B j pred G j pred ,j the plankton losses due to zooplankton grazing and m j the plankton background mortality (Table 1). Phytoplankton growth (P growth,j ) depends on limitation from light, temperature and nutrient availability, following a Monod response (Appendix A, Eq. A2). Zooplankton grazing is controlled by the biomass and size of the prey and is described through a Holling type II response with a prey refuge (Eq. A3). We assumed that the terms of plankton mortality and zooplankton sloppy feeding (prey which is lost from the predator during feeding; Lampert, 1978) are exported out of the chemostat. There is no nutrient recycling in the model. The model parameters and symbols are defined in Tables 1 and  2, and a more detailed description of the model and plankton growth is available in Appendix A.

Complexity of the ecosystem structure
We modelled two simplified ecosystems: a simple food chain and a more complex food web (Fig. 2). In the simple food chain model, zooplankton were herbivorous size-specialist predators feeding on one prey size group. In order to examine the grazing pressure of a specialist predator on planktonic foraminifera, we made an exception by defining one zooplankton group to be omnivorous, capable of consuming only planktonic foraminifera, and one phytoplankton group with the same size as planktonic foraminifera. Resource competition occurred mostly at the phytoplankton level. In zooplankton, the only competition was between individual planktonic foraminifera and with zooplankton of the same size group (Fig. 2a). This simple representation of the marine ecosystem allowed us to better understand the model behaviour and the top-down and bottom-up controls on foraminifera while testing the grazing pressure of a specialist predator on planktonic foraminifera.
In the food web model, resource competition occurred at both phytoplankton and zooplankton levels. Zooplankton predators were size-generalist omnivorous predators able to consume more than one prey (Fig. 2b). This more complex version helped us to better understand how the herbivo-rous non-spinose planktonic foraminifera can compete with other omnivorous zooplankters and handle multiple predation pressure. The food web model has a more realistic representation of the plankton community in terms of the set-up. This is because it better represents the predator-prey interactions between phytoplankton and zooplankton communities than the food chain model, but these dynamic interactions within the groups are more challenging to disentangle (Banas, 2011;Ward et al., 2014). With the two versions of the model we were able to examine how the resource competition within the plankton community, as well as predation, influences different life stages of planktonic foraminifera.
The switch from the food chain to food web version was implemented through predators' grazing kernel, which dictates the relative palatability of potential prey (Fig. 2c, Eq. 3). In this parameterization, the prey palatability (ϕ j pred ,j prey ) expresses the likelihood of a predator to eat a prey (Eq. 3) and it depends on the optimum predator : prey length ratio (θ opt ), the log size ratio of each predator with each prey (θ j pred ,j prey ) and the standard deviation (σ ) which shows the width of size prey preference and defines how specialist or generalist the predator can be (Fig. 3).
We assumed a 10 : 1 predator : prey length ratio as the optimum size for zooplankton to feed upon, as is often observed for zooplankton (Kiørboe, 2008). Prey with a size ratio equal to this optimum therefore had the highest prey palatability of this particular predator. For the food chain model, predators could only consume one prey group that was exactly 10 times smaller than themselves (σ = 0.0001). In the food web model, we allowed zooplankton to be more generalist predators and feed on prey of size around this optimum ratio but with a smaller palatability to acknowledge that zooplankton can feed on prey of a wider size range (Kiørboe, 2008) (σ = 0.5). When considering generalist planktonic foraminifera (food web model), we tested a range of different grazing kernels (σ = 0.5-1.0). This is because the model results showed that being more generalist than other zooplankton groups is a condition for planktonic foraminifera to survive.

Adding planktonic foraminifera to the model
We explored the potential ecological controls on planktonic foraminifera ecology by means of a series of ensembles of model experiments (Table 3). Each individual ensemble was designed to explore a wide range of potential parameter value combinations of growth, predation and background mortality rates and hence different trade-off assumptions and growth conditions. The ensembles were repeated for different potential assumed ecological structures and life stages (prolocular and adult) of planktonic foraminifera. We applied a series of "plausibility" filters on the model results to derive a series of Table 1. Model parameters (Ward et al., 2014 and references with in).

Parameter Symbol Value or formula Units
Temperature Maximum phytoplankton growth rate at 20 Half-saturation for phytoplankton growth a Value for the food chain. b−e Values for the food web. b Zooplankton and prolocular stage of planktonic foraminifera. c Adult stage of planktonic foraminifera for meso-and eutrophic ecosystems. d, e Adult stage of planktonic foraminifera for oligotrophic ecosystem of 20 and 30 • C respectively.
subsets of experiments that we analyse in detail and discuss the implications of.

Planktonic foraminifera biomass
We estimated that the contribution of the prolocular and adult stage of non-spinose planktonic foraminifera to zooplankton biomass ranges from 0.007 % to 0.09 % based on the studies by Schiebel and Movellan (2012) and Buitenhuis et al. (2013). According to Schiebel and Movellan (2012), adults with a shell size fraction of 150-200 µm contribute 12.4 % in total planktonic foraminifera biomass in the North Hemisphere. Buitenhuis et al. (2013) estimated that the contribution of planktonic foraminifera to micro-and mesozooplankton biomass (Pg C) ranges from 0.05 % to 0.08 %, based on the data from Schiebel and Movellan (2012).
To compare our modelled biomass to observations from Schiebel and Movellan (2012) and Buitenhuis et al. (2013), we converted Pg C and µg C to mmol N m −3 , using the carbon molecular weight (12 g C mol −1 ) and a C : N Redfield stoichiometry of 6.625. We assumed that non-spinose species represent 50 % of the samples of Schiebel and Movellan (2012) and there is no correlation between the species and the size fractions, to estimate that the relative biomass of the non-spinose planktonic foraminifera 150-200 µm size fraction to micro-and mesozooplankton biomass ranges from 0.02 % (5 × 10 3 mmol N m −3 ) to 0.03 % (1 × 10 4 mmol N m −3 ). Due to the lack of data, we presumed that the prolocular biomass is similar to the adult biomass. To include sampling errors, methods' bias for estimating the contribution of planktonic foraminifera to global zooplankton biomass due to their low biomass (Buitenhuis et al., 2013) and a global biomass representation of early stages, we extended  Ward et al., 2012). Note that the figure does not present the accurate position of the planktonic foraminifera size group ran in the model but a generic position to illustrate how they interact with the rest of the plankton community. (c) Illustration of the prey palatability of one herbivorous predator (160 µm size) with phytoplankton prey groups. Size specialist predator (present in the food chain version) is characterized by standard deviation (σ ) equal to 0.0001. Size generalist predator (present in the food web version) is characterized by σ ≥ 0.5. the biomass range to be from 0.007 % to 0.09 % based on the suggestion by Schiebel and Movellan (2012) that biomass of early stages can be up to 3 times higher than adults with size < 125 µm. Model simulations for which planktonic foraminifera relative biomass was within the observed range of 0.007 % to 0.09 % are referred to here as "low biomass" simulations.

Calcification
With the model we tested basic hypotheses to investigate the trade-offs of shell size and calcification and the effect of resource competition on planktonic foraminifera biomass for two life stages, prolocular (20 µm) and the adult (160 µm). Each life stage was modelled independently. As the costs and benefits of foraminifera's calcification are not experimentally known, we added a calcifying zooplankton type in the model with an associated trade-off for calcification, following the Monteiro et al. (2016) representation of a calcifying phytoplankton type (coccolithophore). To model nonspinose planktonic foraminifera, we used the same parameterization and equations as for zooplankton, hypothesizing that the main cost for shell development is energy loss and the main benefit of calcification is protection. Preliminary experiments showed that the background mortality (m) had to be decreased to keep planktonic foraminifera biomass within the low biomass range defined, following suggestions that planktonic foraminifera can use their shell as a protection against more than just predation (Armstrong and Brasier, 2005).
To estimate the cost and benefit of calcification, we ran a sensitivity analysis by decreasing planktonic foraminifera maximum grazing (G max ) and background mortality (m) rate from 5 % to 95 % and 0 % to 95 % (in 5 % steps) respectively, to represent calcification's energy loss and benefit. Studies have shown that zooplankton metabolic rate and biomass can vary with temperature (Ikeda, 1985), but the reasons behind the correlation between habitat and mortality rate are still not very well understood (Aksnes and Ohman, 1996). There are currently no quantitative estimates of the energetic cost and benefits of calcification in planktonic foraminifera. Hence, we selected as most likely (herein denoted as "plausible" simulations) the simulations that had a range of reductions of G max and m smaller than 40 % throughout all tested environments (e.g. 10 %-50 % or 20 %-60 % reduction). This is a way to account for the non-unlimited plasticity of an organism.
In the end, to quantify the benefit of predation protection, we chose a number of simulations to examine different predation pressures on planktonic foraminifera by decreasing the grazing term (G j pred,prey ) (Eq. A3) by 100 % (no grazing pressure on planktonic foraminifera), 75 %, 50 %, 25 % and 0 % (no protection from grazing pressure) of its initial value.

Model set-up and numerical simulations
We set up a series of experiment ensembles to systematically test traits and trade-offs for nine different environmental combinations, with three input nutrient concentrations (N o = 1, 2.5 and 5 mmol N m −3 ) to represent oligo-, meso-and eutrophic environments respectively and three water temperatures (10, 20, 30 • C) (Table 3). Each ensemble comprises a series of model experiments that explore a wide range of potential parameter value combinations of growth, predation and background mortality rates in different environmental conditions (temperature and nutrient concentrations). The ensemble set-up is then repeated for two life stages of planktonic foraminifera (prolocular and adult) using both the food chain and the food web model. The model showed that both shell and low biomass are important for protection from predation. b The results showed that low biomass is more important than shell for protection from predation.
Every individual experiment was initialized with the concentration of all plankton groups set to 0.0001 mmol N m −3 and run for 10 000 days (∼ 27 years). For the food chain, the experiments reached steady state (biomass ±0.01 mmol N m −3 ). In the food web version, the majority of the experiments reached an oscillatory steady state close to an equilibrium, which was still present after running the model for more than 270 years (results not shown). This oscillatory behaviour is a common feature in ecosystem models (e.g. Baird et al., 2010), especially of planktonic communities (e.g. Petrovskii and Malchow, 1999;Petrovskii et al., 2001;Banas et al., 2011).
We present the absolute and relative biomass of planktonic foraminifera from all tested scenarios of calcification costs and benefits in Grigoratou   . Results from the food chain model for the calcification cost (reduction of growth) and benefit (reduction of mortality rate) for the prolocular life stage of planktonic foraminifera. Legend shows "other" for total tested simulations, low biomass for simulations for which their biomass is within the defined range and plausible for the simulations we consider to be as most likely. More details on low biomass and plausible simulations are given in Sect. 2.3, "Adding planktonic foraminifera to the model".

General plankton distribution at different environments
Both versions of the model showed an increasing diversity and biomass from oligo-to eutrophic environments and from cold to warmer environments (Fig. 3), capturing the main patterns of marine plankton community structure (e.g. Irigoien et al., 2004;Müren et al., 2009;O'Connor et al., 2009). In the food chain version, biomass of phytoplankton and zooplankton increased continuously with the number of coexisting size groups (Fig. B1a in Appendix B). In contrast, the food web version had a patchy distribution of biomass with fewer coexisting groups, equivalent to "winners" of resource competition, and an overall lower biomass than the food chain model (Fig. B1b) in agreement with previous studies (e.g. Armstrong, 1994;Banas et al., 2011). Picoplankton, nanophytoplankton, nanozooplankton and microzooplankton dominated the plankton biomass at 10 • C in both versions (Fig. 3b) as they outcompete the larger cell sizes through resource competition. As the concentration of the incoming nutrients (N o ) was increased from oligo-to eutrophic, the growth rate and coexistence of phytoplankton groups also increased, leading to a higher grazing pressure of zooplankton, biomass and zooplankton coexistence. In the food chain model, microphytoplankton survived in the eutrophic environment at low temperatures (10 • C) and all the nutrient environments at 20 and 30 • C. In the food web, microphytoplankton were present in meso-and eutrophic environments at 20 and 30 • C. Mesozooplankton were sustained in meso-and eutrophic environments at 20 • C for the food chain model, in eutrophic environments at 20 • C for the food Figure 5. Results from the food chain model for the calcification cost (reduction of growth) and benefit (reduction of mortality rate) for the adult life stage of planktonic foraminifera. Legend shows other for total tested simulations, low biomass for simulations for which their biomass is within the defined range and plausible for the simulations we consider to be as most likely. More details on low biomass and plausible simulations are given in Sect. 2.3, "Adding planktonic foraminifera to the model".
web model and in all environments at 30 • C at both versions of the model (Fig. 3b). Since our model captured the general trends of plankton community through different environments, we used it to investigate the importance of individual traits and trade-offs.

Cost of calcification
We estimated the potential energetic cost of calcification in non-spinose planktonic foraminifera by decreasing their growth rate. In the food chain model, of the 500 simulations, 10.6 % (54 simulations) were within the low biomass and 8 % (39 simulations) within the plausible criteria. The plausible simulations showed a decrease of foraminifera growth rate by 10 % to 30 % for the prolocular stage and 10 % to 20 % for the adult stage (Figs. 4,5). For the adult stage, we found no plausible simulations for the mesotrophic environment at 20 • C due to a high decrease of the background mortality (> 60 %) compared with the low reduction (10 %) of their growth rate.
Of the 421 food web simulations, 8 % (34 simulations) were low biomass and 6 % (25 simulations) plausible. The biomass of the prolocular stage increased with temperature and nutrients. The model could not produce any low biomass simulation of early life stages of foraminifera at 30 • C as values were significantly too high (1 %-7.3 % of the total zooplankton biomass, Fig. 6). In all environments at 10 • C and for oligotrophic environment at 20 • C the plausible simulations showed a 10 %-35 % decrease of growth rate. To maintain the prolocular biomass within the defined low biomass range in meso-and eutrophic environments at 20 • C, the calcification cost was equal to a 50 % reduction of the growth Figure 6. Results from the food web model for the calcification cost (reduction of growth) and benefit (reduction of mortality rate) for the prolocular life stage of planktonic foraminifera. Legend shows other for total tested simulations, low biomass for simulations for which their biomass is within the defined range and plausible for the simulations we consider to be as most likely. More details on low biomass and plausible simulations are given in Sect. 2.3, "Adding planktonic foraminifera to the model". For the meso-and eutrophic environments of 20 • C and all environments of 30 • C, the pattern of the simulations is more scattered than for the remaining environments. This is because in a range of a 0 % to 50 % reduction on the mortality rate, the relative biomass of planktonic foraminifera was high and outside the observation range. As a further reduction of the mortality rate would result in an additional increase of relative biomass, the sensitivity analysis was not required. rate (Fig. 6). The model did not generate results for adults in oligotrophic waters at 10 • C as only small zooplankton groups (< 63 µm) could survive for that environment. There were no plausible simulations for the eutrophic environment at 30 • C, as planktonic foraminifera relative biomass was higher than the defined range (Fig. 7). For all the other environment the cost of calcification for the adult stage ranged from 10 % to 40 % (Fig. 7).

Potential benefits of calcification in planktonic foraminifera
Both versions of the model showed that to maintain planktonic foraminifera within the defined biomass range, the background mortality rate of both prolocular and adult stages had to be reduced by 10 %-50 % (Figs. 4-7). Our results suggest that planktonic foraminifera use their shell not only for predation protection but for other reasons, e.g. against pathogens, like bacteria or viruses and parasites. Regarding the use of the shell as protection from predation, both model versions showed different results. This is due to different feeding behaviour of zooplankton (specialist Figure 7. Results from the food web model for the calcification cost (reduction of growth) and benefit (reduction of mortality rate) for the adult life stage of planktonic foraminifera. Legend shows other for total tested simulations, low biomass for simulations for which their biomass is within the defined range and plausible for the simulations we consider to be as most likely. More details on low biomass and plausible simulations are given in Sect. 2.3, "Adding planktonic foraminifera to the model". For all environments of 30 • C, the pattern of the simulations is more scattered than for the rest environments. This is because in a range of a 0 % to 50 % reduction on the mortality rate, the relative biomass of planktonic foraminifera in some scenarios was high and outside the observation range. As a further reduction of the mortality rate would result in an additional increase of relative biomass, the sensitivity analysis was not required.
vs. generalist) as in both models, predation depends on the feeding behaviour of the predator, prey size and biomass.
In the food chain model, the foraminifera biomass could be maintained inside the observed range when grazing pressure was reduced by 25 % for the prolocular and 50 % for the adult stage compared to full predation (Fig. B2). Therefore, both low biomass and possession of hard parts are important mechanisms against specialist predators.
Shell protection against predation had no effect on the relative low biomass of foraminifera in the food web model as their biomass remained the same with or without predation at both life stages (Fig. B2). The food web version suggests that low biomass is a more efficient protective mechanism than the shell against a generalist predator. We found that with a combination of higher than observed biomass of planktonic foraminifera and a predation pressure lower than 50 %, planktonic foraminifera became a dominant group with up to 22 % of the total zooplankton biomass, suggesting that the shell has a protective function (results not shown).

Temperature and feeding control amongst different life stages of planktonic foraminifera
We focus on the results of the food web as it considers resource competition between planktonic foraminifera and the rest of zooplankton and simulates the plankton food web better than the food chain. Our model suggested that being herbivorous is a successful strategy for the prolocular stage as their optimum size prey group (≈ 2-3 µm, as determined by the 10 : 1 predator : prey size ratio) was present in high abundance in all environments (Fig. 8). Resource competition is therefore not a determinant factor for the prolocular stage. The model results suggest that temperature had a stronger control on this stage, resulting in higher biomass (1 %-7 %) at 30 • C (Fig. 6, Grigoratou et al., 2019; https://doi.org/10.5281/zenodo.2631905).
Adult foraminifera in the model achieved realistic relative biomass only when they became more generalist feeders by increasing their prey palatability by 20 % (σ = 0.6) for meso-and eutrophic conditions and by 80 % (σ = 0.8) to 100 % (σ = 1.0) in oligotrophic environments (relatively to σ = 0.5 for other zooplankton) (Fig. 9). Without this change, adult herbivorous foraminifera in the model were outcompeted by omnivorous predators. To understand if feeding behaviour or the lower growth rate and mortality associated with calcification led them to become more generalists, we switched the feeding behaviour in the model from herbivorous to omnivorous. The results showed that omnivorous planktonic foraminifera did not need to be more generalist than the other zooplankters (results not shown). Resource limitation had therefore an important role in controlling the non-spinose planktonic foraminifera adult stages.

Discussion
We developed the first size-based 0-D model of two life stages (one prolocular, 20 µm, and one adult, 160 µm) of planktonic non-spinose foraminifera to investigate the cost and benefits of calcification and feeding behaviours under different environmental conditions (temperature and nutrient). It is important to note that the present model, like other size-structured models, cannot capture the complexity of the plankton community (Banas, 2011) but represents general patterns and encapsulates basic physiological relationships. The model shows that diversity increases from oligo-to eutrophic environments and from cold to warmer environments. The model therefore captures the increase in complexity in planktic ecosystems toward the tropics and eutrophic systems (Irigoien et al., 2004).
In the ocean, phytoplankton biomass and productivity are controlled by nutrient availability, light, temperature and grazing pressure (Irigoien et al., 2004). In oligotrophic areas, nutrient limitation leads to the dominance of small-sized phytoplankton cells as there is not enough energy to sustain larger cells (Menden-Deuer and Kiørboe, 2016). As nutrient availability increases, phytoplankton size diversifies. Zooplankton shows a similar pattern; oligotrophic environments are dominated by small heterotrophs, while the size of the species increases in eutrophic environments (Razouls et al., 2018). Our model captured this general pattern, but it struggled to sustain a high biomass of the largest size groups of microphytoplankton and mesozooplankton, especially in non-eutrophic environments. We suggest that the oversimplification of physiological and behavioural traits, especially for zooplankton, leads to this limitation, as species are represented as spheres with fixed half-saturation (K zoo ) and assimilation efficiency (λ) (more details in Appendix A). Changing the shape of the body from a sphere towards an ellipse for representing metazoans, combined with variable halfsaturation, may circumvent this problem. Including motility, an important trait for organisms' survival (e.g. feeding, predation protection) with a strong influence on metabolic rates (e.g. Ikeda, 1985), could also improve model results.
In the present study we tried to quantify the cost and benefit associated with calcification in planktonic foraminifera. Our model suggests a cost of calcification in non-spinose planktonic foraminifera of 10 %-50 % for the early life stages and 10 %-40 % for the adults. This cost is similar to estimates for coccolithophores (∼ 30 %; Monteiro et al., 2016) and for shell production of marine benthic molluscs (22 %-50 %; Palmer, 1992). While biocalcification evolved in the Precambrian and across many clades, metabolic costs may be comparable as pathways and constraints are similar for a range of organisms (Knoll, 2003). Our model results suggest that planktonic foraminifera calcify for a combination of reasons (e.g. protection from pathogen, parasites and grazers), as suggested by other studies on planktonic foraminifera (Armstrong and Brasier, 2005) and phytoplankton (Hamm et al., 2003;Hamm and Smetacek, 2007;Monteiro et al., 2016). Observations show that bacteria can attack the cytoplasm of unhealthy or dead planktonic foraminifera (Schiebel and Hemleben, 2017). More field and laboratory studies are needed to gain a deeper knowledge on the interaction between planktonic foraminifera and pathogens.
Predation on planktonic foraminifera is still not well understood (Schiebel and Hemleben, 2017). While benthic foraminifera are selectively preyed upon by scaphopods (Murray, 1991), evidence for predation on planktonic foraminifera is limited. It is difficult to detect remains of early developmental states in faecal pellets due to their small size, thin walls and low biomass, resulting in the lack of data (Schiebel and Hemleben, 2017). Shell and spines of adults have been detected in faecal pellets of metazooplankton groups (like salps, copepods, pteropods and euphausiids) and nekton shrimps Bradbury et al., 1970;Berger, 1971b). Our results highlight that low biomass is a main mechanism for protection against predation in planktonic foraminifera. The food web model results showed that reducing grazing pressure could be a potential benefit of calcification for planktonic foraminifera if they were to become more abundant. The earliest planktonic foraminifera are thinshelled and very small (Gradstein et al., 2017), while modern species have more complex morphologies with larger and thicker shells (Schmidt et al., 2004a). While the planktonic ecosystem has become more complex over the last 150 Ma, we speculate that their low abundance and thick shells may have prevented the evolution of a specific predator in contrast to other dominant phytoplankton groups with shells like diatoms (Hamm et al., 2003;Hamm and Smetacek, 2007). As planktonic foraminifera are immotile organisms, it is difficult for predators to sense them (Kiørboe, 2008;. Their thick shell can then act as armour when a grazer reaches them to counterbalance their non-motility. Based on the results of our model and our current knowledge on foraminiferal physiology, we propose that the combination of low abundance and a carbonate shell protects planktonic foraminifera against predation. Planktonic foraminifera are thus high-energy-demand prey: they are hard to find and digest, corroborating earlier suggestions that foraminifera do not have specific predators (Hemleben et al., 1989). We suggest that planktonic foraminifera nonmotility is an important behavioural trait to be further tested in order to improve our understanding of grazing protection.
Temperature and food appear to be the main controlling factors of planktonic foraminifera ecology and distribution in the ocean (e.g. Ortiz et al., 1995;Bé and Tolderlund, 1971), corroborated by modelling studies (Žarić et al., 2006;Fraile et al., , 2009Lombard et al., 2009;Roy et al., 2015). Studies have shown that sea surface temperature (SST) is one of the most important environmental factors of plank-tonic foraminifera's diversity (Rutherford et al., 1999) and size (Schmidt et al., 2006(Schmidt et al., , 2004a. Field observations (e.g. Bé and Tolderlund, 1971), geochemical analysis (Elderfield and Ganssen, 2000) and culture experiments (Caron et al., 1987a, b) show that adult species have a specific optimum temperature range which controls their size development and abundance (Schmidt et al., 2004a;Žarić et al., 2005;Lombard et al., 2009). In the present study, we use our trait-based model to study planktonic foraminifera as a group of species to investigate the general patterns of the influence of temperature and resource on planktonic foraminifera biomass on both juvenile and adult stages.
We find that temperature is the main limiting factor for the prolocular life stage, since there is no food limitation. Our model provides insights on the importance of resource availability and competition during development, resulting in a switch to generalist herbivory and omnivory diet at adult stages. Food availability impacts planktonic foraminifera ecology (e.g. Ortiz et al., 1995;Schmidt et al., 2004a). Culture experiments highlight that the amount and type of food have a strong influence on growth rate (e.g. Spindler et al., 1984;Anderson et al., 1979), shell size (Bé et al., 1981) and gametogenesis (Caron et al., 1982;Caron and Bé, Figure 9. Model results of resource competition for the adult stage (20 µm) of planktonic foraminifera in the food web version. Left axis (red columns): biomass (mmol N m −3 ) of phytoplankton size groups. Right axis (coloured shadow): prey palatability of planktonic foraminifera. For oligotrophic environments, σ = 0.8 (violet) and 1 (light blue) for 20 and 30 • C, respectively. For all meso-and eutrophic ecosystems σ = 0.6. No zooplankton larger than 100 µm and adult stage of planktonic foraminifera survived in the oligotrophic ecosystem at 10 • C for the model set-up. A total of 6 pico-(0.6-2.0 µm), 10 nano-(2.6-20 µm) and 9 microplankton groups (25-160 µm) are included in the model set-up. 1984;Hemleben et al., 1989). The model results support the hypothesis that during early stages planktonic foraminifera have a herbivorous diet. They also indicate that food availability is a key controlling factor of the biomass of nonspinose adult stages that defines their type of feeding strategy for different nutrient concentration environments.
We propose that non-spinose adult planktonic foraminifera are very successful herbivorous predators, capable to prey on different phytoplankton size groups, or that they can be omnivorous and use other food sources like bacteria, detritus and zooplankton. Observations suggest an opportunistic feeding behaviour for non-spinose species. Diatoms are usually considered to be their primary prey (e.g. Spindler et al., 1984;Hemleben et al., 1989), though some can also consume dinoflagellates (e.g. Anderson et al., 1979) and cryophytes, which are either slowly digested or used as symbionts (Hemleben et., 1989). Animal tissues have been found in several non-spinose species (Anderson et al., 1979;Hemleben and Spindler, 1983). Globorotalia menardii, an abundant and the biggest non-spinose species, is suggested to actively control microzooplankton (ciliates) prey (e.g. Hem-leben et al., 1977). Culture experiments suggest cannibalism between non-spinose species but never between spinose species (Hemleben et al., 1989). These observations support our results that non-spinose adult species can feed on different types and size of phytoplankton or switch to omnivory when phytoplankton concentrations are rare.
Our model provides important information on how resource competition among planktonic foraminifera and other zooplankters influences the feeding behaviour of different life stages and their distribution. Moreover, the inability of our food web model to sustain adult stages of nonspinose foraminifera in warm oligotrophic regions agrees with observations as planktonic foraminifera are dominated by symbiont-bearing species in these regions (Bé and Tolderlund, 1971). Our model results can provide new perspectives regarding the development of symbiosis as an additional energy source in planktonic foraminifera, and hence adding symbiosis to the model can be a next important step for improving our understanding of planktonic foraminifera ecology.
This study takes a first step towards including planktonic foraminifera ecology as part of the plankton community in a trait-based framework and estimates the energetic cost of calcification and the associated benefits. We find that the energetic cost of calcification varies between 10 % and 30 % in the food chain model for both prolocular and adult stages, between 10 % and 50 % in the food web model for the prolocular stage and between 10 % and 40 % for the adult stage. We consider that both low biomass and the carbonate shell are key elements for protection of planktonic foraminifera from predation. A reduction in mortality by 10 %-50 % suggests that the shell may be more important for pathogens and parasites than against grazing pressure.
Similar to coccolithophores (Monteiro et al., 2016), the costs and benefits of calcification in planktonic foraminifera vary with the environment. In the model, temperature is the dominant factor for the prolocular stage, whereas both temperature and resources are important for the adult. Consequently, the adults are more impacted by resource competition driven by less available food in the optimal size of their prey, resulting in feeding on a wider range of prey size, particularly in oligotrophic environments where food is scarce. We therefore suggest that the adults are generalist herbivorous or omnivorous or use other resources in oligotrophic environments such as symbiosis.
To develop the model further, data on energy allocated to growth, calcification and motility are needed to better understand the physiology and ecology of this important paleoclimate proxy carrier and producer of marine carbonates. Other traits and trade-offs such as feeding mechanism (rhizopodial network, spines), mobility and symbiosis with algae need to be tested in the future and supported by culture experiments.

Appendix A: Model description
Our model represents a chemostat experiment in a zerodimensional (0-D) setting, with one source of nutrients and 51 generic plankton (autotrophs and heterotrophs) size classes from pico-to mesoplankton (Sieburth et al., 1978).

A1 Plankton size groups
We selected plankton cell sizes in the model so that the volume of each plankton doubles from one class to another similar to Ward et al. (2014). We set up the model to have 6 pico-(0.6-2.0 µm), 10 nano-(2.6-20 µm) and 9 microplankton groups (25-160 µm) for the phytoplankton and 6 nano-(6-20 µm), 10 micro-(26-200 µm) and 9 (250-1600 µm) mesozooplankton groups for the zooplankton. The diagnostic equation for plankton biomass (phytoplankton and zooplankton) is given in Eq. (1) and shows the generic dependence of biomass on nutrient uptake, zooplankton grazing and mortality. The symbols are explained in Tables 1 and 2.

A2 Environmental variables
The model accounts for two environmental variables influencing plankton growth: light and temperature. Light limitation (l i ) is represented as a fixed parameter set to 0.1 (equivalent to 90 % of light limitation; Ward et al., 2014). The influence of temperature on plankton metabolic rates (γ T ) is represented by an Arrhenius-like equation (Eq. A1), with (T ref ) the reference temperature at which γ T = 1 is 293.15 K (20 • C), (T ) the ambient temperature of the water (K) and (R) the temperature sensitivity of plankton growth rate.
We tested three ambient water temperatures (T ): 10, 20 and 30 • C, characteristic of subpolar, subtropical and tropical regions respectively. Temperature limitation (γ T ) has a proportionate impact on both phytoplankton and zooplankton growth (Eqs. A2, A3).

A3 Phytoplankton growth
Phytoplankton growth (P growth,j ) is size-dependent and described via the Monod equation, assuming there is a balance between the nutrient uptake and growth of phytoplankton (Monod, 1950) (Eq. A2).
Phytoplankton half-saturation (K N ) and maximum specific growth rate (µ max ) are cell-size-dependent (Table 1). The maximum uptake rate (µ max ) has been normalized to 20 • C and is a function of the maximum photosynthetic rate (P max ), the cell volume (V max N ) and the phytoplankton quota (Tables 1 and 2) (Ward et al., 2014). The maximum photosyn-thetic rate (P max ) for each size class of phytoplankton reflects observations of Prochlorococcus for the two first picoplankton groups (0.6 and 0.8 µm) and of Synechococcus for the remaining four picoplankton groups, other eukaryotes for nanoplankton and diatoms for microphytoplankton (Irwin et al., 2006) (Table 2).

A3.1 Zooplankton growth
We used the zooplankton grazing term as has been described in Ward et al. (2012), applied for two different feeding behaviours of zooplankton: specialist (i.e. consume one prey) herbivorous for the food chain and generalist (i.e. consume more than one prey) omnivorous predators for the food web. Zooplankton grazing (G j pred ,j prey ) is represented using the Holling type II function (Eq. A3). Although most zooplankton have different feeding behaviours in different life stages, Holling type II better illustrates predator-prey relationships of many ambush zooplankton groups in the lab over a longterm period (Kiørboe et al., 2018a).
where G max is the maximum grazing rate, γ T is temperature limitation, ϕ j pred ,j prey is prey palatability, B j prey is the prey's biomass, F j pred is the total available biomass for each predator, K j pred is the predator's half-saturation constant, Prey refuge j prey is the prey refuge and P,Z is the predator's "switching" between phytoplankton and zooplankton prey. The maximum prey ingestion rate (G max ) is sizedependent ( Table 2). The prey palatability (ϕ j pred ,j prey ) expresses the likelihood of a predator to consume the prey (Eq. 3). It depends on the log size ratio of predator : prey length ratio with the optimum predator : prey length ratio θ opt .
The total prey biomass available to each predator (F j pred ) is calculated as a sum of prey biomass weighted by their prey palatability (Eq. A4).
We set the zooplankton half-saturation constant (K j pred ) to 0.1051 mmol N m −3 . This value is a conversion of the Ward et al. (2012) value (1 mmol C m −3 ) from carbon to nitrogen based on the Redfield ratio (106 : 16 mol C : mol N). While observations show evidence of a variable half-saturation constant for zooplankton (e.g. Hansel et al., 1997), there is not enough information to tease apart its value for the different species, so we assumed a constant K j pred among our zooplankton groups.

A4 Prey refuge
The predator-prey interactions depend mostly on the predator : prey length ratio (Kiørboe, 2008), the prey's availability and ability to escape predation (e.g. Pančić and Kiørboe, 2018) and the predator's feeding behaviour (Kiørboe et al., 2018a). As immotile phytoplankton species cannot physically escape predation, they use other defence mechanisms, like shell, spines, toxins and colony formation (Pančić and Kiørboe, 2018). We believe that planktonic foraminifera, as immotile organisms, use their shell as a defence mechanism against predators, to balance their inability to escape predation through movement. In our study we include a prey refuge term which is based on the prey's size and density based on the function of Mayzaud and Poulet (1978) (Eq. A5). The prey refuge term describes how predators' grazing rate changes with prey density and never satiates (Gentleman and Neuheimer, 2008). At high prey density the grazing rate is similar to Holling type I, where it becomes linearly related to the prey availability (F N,j pred ) (Fig. A1, Eq. A5 in Appendix A). When the prey density is low, the decay constant parameter ( ) decreases the grazing pressure such that the grazing rate is similar to Holling type III (Fig. A1) (Gentleman et al., 2003). In our model the prey refuge term causes a reduction of grazing pressure on prey with low density (Fig. A1).
The present version of the model does not include the prey's movement and other defence mechanisms because of limited understanding Almeda et al., 2017). As the main aim of our study is to better understand calcification and the function of shell as a defence mechanism, we removed planktonic foraminifera's prey refuge term, by making the assumption that the lack of prey refuge could balance the cost of their immotility. We are aware that this is a very simply way to represent the trade-offs of immotility, but we chose not to add motility and increase the complexity of the model and the uncertainty of the results, as the costs and benefits of planktonic foraminifera's motility have not been studied yet. Our model can be used as a first step for building a mechanistic understanding, and more studies can follow focusing on planktonic foraminifera's defence mechanisms.
We ran simulations with and without planktonic foraminifera's prey refuge included (results not shown). For the food chain the prey refuge had a stronger influence than the food web. This is an expected result, as specialist predators (food chain) feed only on specific preys, while generalist ones (food web) can consume multiple prey types and find other sources when the density of one is low. We found that the general trend of our model output does not change, and a reduction on mortality rate is still needed with or without the prey refuge term. In the present study we Figure A1. Zooplankton grazing on one prey with and without the prey refuge term included. Prey refuge = 1 − e − F (Mayzaud and Poulet, 1978). Grazing without prey refuge: G = G max · γ T · F F +K j pred . Grazing with prey refuge included: G = G max · γ T · F F +K j pred · Prey refuge. Temperature limitation (γ T ), prey palatability (ϕ) and prey refuge constant ( ) equal to 1, and F = ϕ · B.

A5 Zooplankton feeding
Omnivorous zooplankton can consume in parallel more than one phytoplankton and zooplankton prey. The predator can actively choose to feed mostly on phytoplankton ( P ) or zooplankton ( Z ) prey, depending on the prey's palatability (ϕ j pred ,j prey ) and density (B j prey ) weighted in total prey density (B prey ) (Gentleman et al., 2003;Kiørboe, 2008;Ward et al., 2012), so as P + Z = 1 (Eqs. A6, A7).

A6 Plankton mortality
Phytoplankton has a linear mortality term for both versions of the model. We assumed a size-dependent mortality term for zooplankton in the food chain model due to the absence of predation on zooplankton (Table 1) (Ward et al., 2014).
As in the food web model predation on zooplankton exists, we assumed a linear mortality term equal to phytoplankton (Table 1) (Ward et al., 2012).

Appendix B
In Appendix B, we investigate the coexistence of plankton size groups in different nutrient environments (Fig. B1) and the examples of planktonic foraminifera's shell protection against different predation pressures in the food chain and food web (Fig. B2). Figure B1. Relative biomass (%) of each phyto-and zooplankton group in (a) food chain and (b) food web for oligo-, meso-and eutrophic environments at 20 • C. Figure B2. Results from the (a) food chain and (b) food web for different predation on planktonic foraminifera. Within the coloured frame are the different grazing pressures on planktonic foraminifera for which their relative biomass is within the defined range (0.007 % to 0.09 %).