Introduction

Postharvest preservation and storage treatments have a crucial impact on the technological quality and safety of cereal grain. One of the important threats to grain quality and thus also to the nutritional safety of cereal products is the presence of fungal propagules (spores, sclerotium, fragments of mycelia) in stored grain ecosystems. Fungi can penetrate into grain during plant growth, transport or postharvest processes. They are able to develop in a wide range of water availability and temperature levels; moreover, under conditions conductive to their development they can grow rapidly, even if the grain is initially contaminated with a small amount of fungal inoculum (Mankevičienė et al. 2019). Improperly conducted postharvest management can not only cause mould expansion leading to undesirable changes in grain quality (Magan et al. 2003), but also can result in the appearance of fungal toxic metabolites (mycotoxins), which constitute a considerable risk to animal and human health. It is worth noting that mycotoxins once accumulated are inherently impossible to remove from the mass of grain (Bullerman and Bianchini 2007; Kochiieru et al. 2019).

In recent years, much research has been conducted in order to develop new methods for a rapid and reliable detection of fungal infections. The near-infrared (NIR) spectroscopy has been proposed for the detection of different stages of fungal infection in cereal grain (Orina et al. 2017). Gancarz et al. (2017) and Rusinek et al. (2019) tested the use of an e-nose as a tool for quick assessment of the degree of mould contamination in stored oilseeds. Despite the considerable efforts made, we still lack universal, simple and rapid methods to assess grain contamination with fungi. Apart from that existing methods perceive the signs of fungal activity that has already occurred, whereas for postharvest grain preservation systems, prediction of the risk associated with the mould development, before it appears, seems to be a much better solution. Although, there is no a direct correlation between mould growth and mycotoxin production, preventing fungal growth in raw materials and food invariably leads to the prevention of the presence of mycotoxins (Garcia et al. 2009). Rapid risk assessment that allows the manufacturer to take appropriate steps to protect mass of grain from mould development is particularly important when drying is carried out under mild temperature conditions, i.e. the near-ambient drying in static deep beds. This drying method is especially dedicated to grain that should be characterized by high biological activity, i.e. malting barley that is needed to maintain high germinability and germination energy of grain, the key parameters in malt production. The near-ambient drying has many advantages; however, it is a long-lasting process and, in the climate that is a mixture of maritime and temperate climates (as in most Central and Northern European countries), may take from 1 to 3 weeks (Gawrysiak-Witulska et al. 2008; Ryniecki et al. 2007). During drying time, moisture can migrate from warmer parts of grain (in the sunlit southern side of the silo) to colder ones (in the northern side of the silo), causing grain rewetting. This carries the risk of mould growth and grain quality deterioration. For this reason, it is urgent to search for new tools to estimate the risk of fungal development and thus mycotoxin formation in a bulk of grain.

Predictive microbiology is a promising approach in the estimation of fungal grain contamination and the risk of mycotoxin accumulation. In recent years, it has focused mainly on food-pathogenic bacteria and modelling of fungal growth has received much less attention (Dantigny 2016). Research on prognostic tools for fungal growth prediction demands numerous labour-intensive experiments, conducted in systems as close as possible to actual ones, the purpose of which is to provide a large amount of raw data associated with the kinetics of mould growth and mycotoxin formation in a wide range of environmental conditions. In previous studies, data describing kinetics of mould development were usually obtained for fungi growing on agar media on petri dishes (Aldars-García et al. 2017; Marín et al. 2009; Pardo et al. 2004), with the colony diameter used to measure the intensity of mould growth (Jacxsens et al. 2016; Yogendrarajah et al. 2016). In such experiments, the mycelia usually originated from single-point inoculation with a high number of fungal spores (Marín et al. 2009; Panagou et al. 2010; Pardo et al. 2004), whereas in the case of the bulk of harvested grain, fungal spores are not concentrated in one place, but are spread stochastically in its entire mass. Moreover, the measurement of colony diameter on petri dishes does not represent the true tri-dimensional fungal growth (Garcia et al. 2009). The main limitation of the abovementioned method is the fact that it cannot be applied in food analysis, as it focuses on visible growth, whilst for food manufacturers, the knowledge of the activity of food spoilage microorganisms at the earliest stage of its development is more valuable (Garcia et al. 2009; Vindeløv and Arneborg 2002). Saxena et al. (2001) examined the relationships of ergosterol levels, total viable mould count and ochratoxin A production of Aspergillus ochraceus and Penicillium verrucosum and showed that the viable mould count, expressed in colony forming units (CFU) per gram of grain (cfu g−1), makes it possible to detect mould growth and thus the risk of OTA formation sooner than ergosterol used as an indicator of fungal biomass. Garcia et al. (2009) and Dantigny (2016) indicated that CFU counts applied to moulds take into account mostly spore numbers; nevertheless, it should be emphasized that it is mould spores occurring in freshly harvested grain that under favourable conditions become the source of numerous outbreaks of fungal infestation in the stored mass of grain.

To evaluate the risk of mould growth, various experimental designs and predictive models were applied (Aldars-García et al. 2017; Jacxsens et al. 2016; Marín et al. 2009; Pardo et al. 2004; Samapundo et al. 2005; Yogendrarajah et al. 2016). Nevertheless, in those considerations, model parameters were usually determined for the individual fungal species growing under idealized laboratory conditions. The importance of interactions between organisms and their effects on spore germination, growth and production of metabolites has often been disregarded (Dantigny 2016). As a consequence, observations for individual species do not always overlap with those in natural ecosystems (Magan and Aldred 2007; Mylona and Magan 2011). When the kinetics parameters of mould growth are determined in an arbitrarily modified experimental system (far from the real one), the obtained models may not accurately reflect fungal growth under actual conditions.

There is a lack of modelling studies for the growth of fungal mycobiota in a mass of grain predicting the level of viable mould count as a function of temperature and water activity, which could be used for a bulk of grain treated as a holistic system in postharvest management. Therefore, the aim of this study was to develop a modelling approach to predict the kinetic of mould growth in a stored bulk of barley grain, as a function of water activity, temperature and time. To ensure safety during the model application, it was formulated on the basis of data reflecting bulks of grain with a hazardous initial fungal propagules typical of years with high rainfall during the vegetation and harvest periods.

Materials and Methods

Data Sets

The raw data associated with the level of mould grain contamination were obtained from experiments described previously by Wawrzyniak et al. (2018a). To enhance clarity of this manuscript, the materials and methods for this study are shortly described here.

Grain Preparation and Experiment Design

Before the experiments, grain samples of barley cv. Sebastian with a moisture content (MC) of 127.0 ± 0.8 g kg−1 wet basis (w.b.) and the fungal infestation of (2.9 ± 0.9) × 104 cfu g−1 were adjusted to the assumed storage conditions according to the previous report (Wawrzyniak et al. 2018a). The adjustment was carried out in order to simulate the natural ecosystems of grain with a hazardous initial microbiological state characteristic of grain that vegetated or was harvested under adverse weather conditions. For this purpose, grain was wetted to a MC being consistent with the adequate relative humidity at the equilibrium state in intergranular spaces (where ERH = 100·aw % and aw is water activity in grain) at a given temperature (T). The applied storage temperatures and water activities in grain were presented in Table 1. As the presence of mycotoxins in stored grain is mainly related to the activity of toxigenic fungal genera of Aspergillus and Penicillium (Cabañes et al. 2010; Magan 2006; Medina et al. 2017; Wawrzyniak and Waśkiewicz 2014), grain naturally contaminated with moulds after wetting was additionally inoculated with a mixture of spores of two toxigenic fungal strains, i.e. A. ochraceus Wilhelm (KKP 439) and P. verrucosum (formerly classified as Penicillium viridicatum Westling), (KKP 480) (Cabañes et al. 2010; Pitt 1987) obtained from the Collection of Industrial Microorganisms (IAFB 212), Institute of Agricultural and Food Biotechnology in Warsaw, Poland, which are representative of storage mycobiota, commonly found in regions with the mixture of maritime and temperate climates (JECFA 2002; Lund and Frisvad 2003). Inoculation suspensions and samples of inoculated barley grain were prepared according to procedure described previously by Wawrzyniak et al. (2013). The total spore count of each inoculation suspension amounted to (3.1 ± 0.8) × 107 spores ml−1 for A. ochraceus and (2.5 ± 0.9) × 107 spores ml−1 for P. verrucosum. As a result, at the beginning of the experiments, the average total level of fungal propagules was 4.4 × 104 cfu g−1 of grain, and it reflected the level of fungi population found in grain ripening and harvested in years rich in precipitation (Akk et al. 2013).

Table 1 Storage conditions, temperature and water activity in grain (aw) applied in storage experiments that were used to model development and validation

Wetted and inoculated grain was stored in the environmental chamber under stable temperature and water activity conditions (monitored online using thermocouples and humidity probes), as described previously by Wawrzyniak et al. (2013). The constant level of water activity in grain, which at the equilibrium state is equivalent to relative humidity in intergranular spaces, was maintained using saturated salt solutions. All experiments were repeated twice, and their duration (40–60 days) depended on storage conditions. Throughout storage the level of fungal contamination expressed as CFU of moulds (cfu g−1) was determined (in three repetitions) with different frequencies depending on the applied values of T and aw in grain using the plate method performed in accordance with PN-ISO 21527-2:2009 and EN-ISO 6887-1:2000 standards. The procedure of microbiological analysis of grain was described in detail by Wawrzyniak et al. (2018a).

Data Treatment

The decimal logarithm of mean values of CFU of mould (log(CFU), log(cfu g−1)), describing the fungal population in grain was used to develop the model. The experimental data was divided into two groups; one was used to develop the model of mould growth, whilst the other was used to its validation (Table 1). Whilst modelling, it was assumed that through the whole lag-phase of fungal growth, the CFU of mould was equalled to the initial one.

Modelling of Mould Growth

A two-step approach comprising of formulation of primary models and then the elaboration of an overall predictive model was used to describe mould growth in a bulk of barley grain.

Mould Growth under Steady Environmental Conditions—Primary Models

Estimation of the fungal population level in relation to time under steady environmental conditions is known as primary modelling. One of several sigmoidal functions recommended to describe growth curves is the modified Gompertz equation (Zwietering et al. 1990) of the general form:

$$ y=a\cdotp \exp \left[-\exp \left(b-c\cdotp x\right)\right] $$
(1)

in which coefficients (a, b, c) are linked with biological parameters characterizing the dynamics of fungal growth as follows:

$$ a={\Delta }_{\mathrm{max}}\log \left(\mathrm{CFU}\right) $$
(2)
$$ b=\frac{\mu_{\mathrm{max}}\cdotp e}{\Delta _{\mathrm{max}}\log \left(\mathrm{CFU}\right)}\cdotp {\tau}_{\mathrm{lag}}+1 $$
(3)
$$ c=\frac{\mu_{\mathrm{max}}\cdotp e}{\Delta _{\mathrm{max}}\log \left(\mathrm{CFU}\right)} $$
(4)

where Δmaxlog(CFU) is the maximum increase in fungal population from the initial level log(CFU0) to that at the stationary phase log(CFUs), (log(cfu g−1)); μmax is defined as maximum growth rate in log(CFU), (log(cfu g−1) d−1); and τlag is lag phase duration (d). As a result, the general form of primary models of mould growth (PMMG) in a bulk of barley grain stored under steady environmental conditions took the following form:

$$ \log \left(\mathrm{CF}\mathrm{U}\right)=\log \left(\mathrm{CF}{\mathrm{U}}_0\right)+{\Delta }_{\mathrm{max}}\log \left(\mathrm{CF}\mathrm{U}\right)\cdotp \exp \left[-\exp\ \left(\frac{\mu_{\mathrm{max}}\cdotp e}{\Delta _{\mathrm{max}}\log \left(\mathrm{CF}\mathrm{U}\right)}\cdotp \left\{{\tau}_{\mathrm{lag}}-{\tau}_{\mathrm{CFU}}\right\}+1\right)\right]\kern0.5em $$
(5)

where τCFU, time, after which the fungal population reaches the level of log(CFU), (d); e = exp(1). The values of biological parameters for each set of T and aw in grain were estimated with the use of nonlinear regression by fitting the obtained equation to the experimental data at the 95% confidence level. Nonlinear regressions were performed using the STATISTICA 13 software package (StatSoft, Inc., Tulsa, OK, USA).

Model of Mould Growth as a Function of Temperature and Water Activity

During further modelling, the effect of temperature and water activity in grain on the kinetic parameters of mould growth was taken into account. For this purpose, the relation between μmax, log(CFUs), τlag and aw and T was studied to find mathematical expressions describing a dependence between the abovementioned parameters and storage factors. The first-order polynomial function provided a satisfactory description of the influence of aw and T on each of the parameters:

$$ \log \left({\mathrm{CFU}}_{\mathrm{s}}\right)={s}_0+{s}_1\cdotp t+{s}_2\cdotp {a}_{\mathrm{w}} $$
(5)
$$ {\mu}_{\mathrm{max}}={m}_0+{m}_1\cdotp t+{m}_2\cdotp {a}_{\mathrm{w}} $$
(6)
$$ {\tau}_{\mathrm{lag}}={l}_0+{l}_1\cdotp t+{l}_2\cdotp {a}_{\mathrm{w}} $$
(7)

where si, mi and li are coefficients of these functions.

Replacing the constant biological parameters of mould growth in the general form of PMMG (Eq. (5)) with functions describing their dependence on storage conditions enabled to developed the overall predictive model of mould growth (OPMMG) in the stored grain ecosystems as a function of temperature, water activity in grain and time. As a consequence, the overall model took the following form:

$$ {\displaystyle \begin{array}{c}\log \left({\mathrm{CFU}}_{\mathrm{M}}\right)=\log \left(\mathrm{CF}{\mathrm{U}}_0\right)+\left(\left({s}_0+{s}_1\cdotp t+{s}_2\cdotp {a}_{\mathrm{w}}\right)-\log\ \left(\mathrm{CF}{\mathrm{U}}_0\right)\right)\\ {}\cdotp \exp\ \left[-\exp\ \left(\frac{\left(\ {m}_0+{m}_1\cdotp t+{m}_2\cdotp {a}_{\mathrm{w}}\right)\cdotp e}{\left(\left({s}_0+{s}_1\cdotp t+{s}_2\cdotp {a}_{\mathrm{w}}\right)-\log\ \left(\mathrm{CF}{\mathrm{U}}_0\right)\right)}\left\{\left({l}_0+{l}_1\cdotp t+{l}_2\cdotp {a}_{\mathrm{w}}\right)-{\tau}_{\mathrm{CFU}}\right\}+1\right)\right]\ \end{array}} $$
(8)

The coefficients of the OPMMG were estimated by fitting the formulated model equation (Eq. (8)) to the experimental data selected to model development (Table 1) using nonlinear estimation of the STATISTICA 13 (StatSoft, Inc., Tulsa, OK, USA) at the 95% confidence level. The assumed initial level of log(CFU0) in the predictive model was 4.4 log(cfu g−1), and it was the average level of log(CFU) of mould population applied at the beginning of all storage experiments.

Models Performance Evaluation

The goodness-of-fit of the obtained models (PMMG and OPMMG) to experimental data was evaluated using the determination coefficient (R2) and the root mean square error (RMSE) being the measure of the closeness of the predicted values (log(CFUM)) to the experimental data (log(CFUE)) expressed as follows:

$$ \mathrm{RMSE}=\sqrt{\frac{\sum {\left(\log \left(\mathrm{CF}{\mathrm{U}}_{\mathrm{E}}\right)-\log \left(\mathrm{CF}{\mathrm{U}}_{\mathrm{M}}\right)\right)}^2}{n-{p}_{\mathrm{M}}}} $$
(9)

where n is the number of observations and pM is the number of model parameters. The closer the RMSE value is to zero, the better model fit to the experimental data.

The prognostic reliability of the overall predictive model of mould growth was evaluated in two steps as described by Te Giffel and Zwietering (1999): internal validation (on the basis of the same data as the model was developed) and external validation (on the basis of data from four independent experiments) of the OPMMG using two indicators dedicated to validation of predictive models (Te Giffel and Zwietering 1999; Walther and Moore 2005). The average difference between the predicted and experimental values was described with a bias factor (Bf), which informs whether the predicted values are overestimated or underestimated in relation to the experimental values, and it was calculated as follows:

$$ {B}_{\mathrm{f}}=1{0}^{\left(\sum \log \left(\frac{\log \left(\mathrm{CF}{\mathrm{U}}_{\mathrm{M}}\right)}{\log \left(\mathrm{CF}{\mathrm{U}}_{\mathrm{E}}\right)}\right)/n\right)} $$
(10)

When a bias factor equals 1, it means that there is no structural deviation and that the positive and negative deviations of the model are on average equal to each other. A bias factor < 1 indicates that the values predicted with the model are underestimated, whilst a bias factor > 1 indicates that the model has the tendency to overestimate the predicted values (Te Giffel and Zwietering 1999). The overall distance between estimated and experimental values was defined with an accuracy factor (Af) calculated using the following equation:

$$ {A}_{\mathrm{f}}=1{0}^{\left(\sum \left|\log \left(\frac{\log \left(\mathrm{CF}{\mathrm{U}}_{\mathrm{M}}\right)}{\log \left(\mathrm{CF}{\mathrm{U}}_{\mathrm{E}}\right)}\right)\right|/n\right)} $$
(11)

The values of Af close to 1 indicate a low percentage of error in the model prediction and thus high accuracy of the model.

Results and Discussion

Modelled Data and the Pattern of Growth Curves

Since modelling approach can forecast changes of microbial populations exposed to specific conditions it may be utilized in planning Hazard Analysis and Critical Control Points (HACCP) programs (Gil et al. 2017).

Predictions may help to identify parameters, which could be modified in existing technological processes or postharvest crop management strategy in order to prevent the development of undesirable microorganisms and attain high-quality food. Nevertheless, for this purpose, relevant wide ranged data gained in experiments carried out in systems as close as possible to real-life farm conditions are required. In previous studies, modelling of mould growth was based on data obtained on agar-based or previously disinfected food media, where the intensity of visible individual mould expansion was usually measured by colony diameter (Aldars-García et al. 2017; Jacxsens et al. 2016; Marín et al. 2009; Tremarin et al. 2017; Yogendrarajah et al. 2016). Models developed with the use of data obtained for single strain in an arbitrarily modified experimental system may not accurately reflect fungal growth under actual conditions (Garcia et al. 2009; Magan and Aldred 2007; Mylona and Magan 2011). From the point of view of cereal storage, models dedicated to postharvest systems should not only be based on data reflecting real grain ecosystems, but also should be capable to predict the fungal activity at the earliest stage of its development before the visible growth and the risk of mycotoxin formation occur; therefore, this study presents the modelling approach based on mould growth data expressed in colony-forming units reflecting the fungal activity in a mass of grain at early stage of their development. The modelled data were collected in 16 long-term storage experiments covering a wide range of water activity (aw = 0.78–0.96) and temperature (T = 12–30 °C). During these experiments, changes in fungal population levels and mycotoxin accumulation were investigated in barley grain ecosystems, which were reported in the study on the dynamics of fungi growth in a bulk of barley grain (Wawrzyniak et al. 2018a).

The mentioned study showed that at the beginning of the trials, the moulds identified in barley grain included fungi of the genera Fusarium, Cladosporium, Alternaria, Acremonium and Ulocladium and occasionally storage fungi such as Aspergillus and Penicillium. In the course of the experiments, field moulds was gradually replaced by storage fungi, and finally in grain with higher aw at 12 and 18 °C, mostly Penicillium spp. and less A. ochraceus Wilhelm occurred, whilst at 24 and 30 °C, Aspergillus candidus Link prevailed alongside less numerous Aspergillus glaucus group, Aspergillus versicolor (Vuill.) Tiraboschi, and even fewer numerous Penicillium spp. Barley ecosystems with lower aw stored at 12 and 18 °C were inhabited mainly by A. ochraceus, A. glaucus group, Aspergillus flavus Link and Penicillium spp., whilst at 24 and 30 °C, by A. versicolor, A. candidus and A. glaucus group.

Most fungal growth curves, obtained in the experiments, exhibited three, typical for microbial growth stages, covering the lag-phase followed by the exponential phase and a stationary phase. The exception was ecosystems with a low aw = 0.80 stored at 12–18 °C, in which fungal development was significantly limited and encompassed only the first phase of growth, i.e. lag phase. As it is preferable to restrict log-logistic model fitting to experimental datasets showing a clear sigmoidal shape (Serment-Moreno et al. 2016), the data from the experiments carried out in barley ecosystems with aw = 0.80 stored at 12–18 °C were omitted in further research, and only full growth curves (containing the three phases of fungal development) were used to formulate the predictive model of mould growth in a bulk of barley grain. The omission of the data is not relevant to the safety of the model application due to the fact that under mentioned conditions there is the low risk of mould development, and their toxic metabolite accumulation, as the fungal growth and mycotoxins formation in grain with aw ≤ 0.80 stored at 12–18 °C, is almost completely restricted (Cairns-Fuller et al. 2005; Lindblad et al. 2004; Pardo et al. 2004; Wawrzyniak et al. 2018b).

Modelling of Mould Growth

Primary Models of Mould Growth under Steady Environmental Conditions

In prognostic microbiology several mathematical functions are used to describe the kinetics of microbial behaviour following a sigmoidal pattern (Wang et al. 2013). In many research works, these equations are adopted to quantify bacterial pathogen’s growth inhibition under specific environmental conditions (Char et al. 2010; Gupta et al. 2012; Liplap et al. 2014; Serment-Moreno et al. 2015; Valdivia-Nájar et al. 2017). Zwietering et al. (1990) modelling bacterial growth found that among tested functions, the three-parameter modified Gompertz equation proved to be the most satisfactory. The advantage of the modified Gompertz equation stems from its simplicity and the fact that its parameters can be given a biological meaning. In the study, the modified Gompertz equation was used to formulate the primary models describing the growth of total fungal population in barley grain stored under various steady humidity and temperature conditions. The kinetic parameters of the PMMG (i.e. lag phase duration (τlag), maximum growth rate (μmax) and the maximum increase in fungal population level (Δmaxlog(CFU)) were determined independently for each set of storage conditions by fitting the modified Gompertz equation to growth curves, and its values together with the statistical indices evaluating performance of the formulated primary models are listed in Table 2. The R2 between 0.98 and 1.00, and the values of deviation (RMSE) ranging between 0.05 and 0.16 indicate that the models represented more than 98% of the observed variability and accurately described the experimental data. Similar values of R2 (0.98–1.00) and RMES (0.15–0.19) were obtained by Zimmermann et al. (2011) when fitting the modified Gompertz model to growth data of Neosartorya fischeri in pineapple juice. Galati et al. (2011) noted a slightly wider range of R2 (0.96–1.00) for primary models based on the modified Gompertz equation describing growth of Aspergillus parasiticus on irradiated flint maize. High precision in kinetic parameter estimation with the use of the Gompertz equation was also attained by Tremarin et al. (2017) when applying it to Byssochlamys fulva growth in agar-added apple juices (R2 = 0.95–1.00). The values of the coefficients specified in the study are comparable with those presented by other researchers; however, the advantage of the presented results over the previously published stems from the much higher complexity of the modelled system.

Table 2 Estimated values of biological parameters of the modified Gompertz equation (Eq. (5)) determined for each set of storage conditions, and indices of the primary models goodness-of-fit to experimental data related to fungal development (log(CFU)) in barley grain with water activity aw = 0.78–0.96 stored at 12–30 °C

The estimated values of lag phase duration prolonged with a decrease in water activity in grain and with a decrease in storage temperature. This trend is consistent with the results of other researchers (Aldars-García et al. 2017; Galati et al. 2011; Vindeløv and Arneborg 2002; Wawrzyniak et al. 2013; Zimmermann et al. 2011). The comparison of the estimated τlag duration with the maximum number of days, for which the OTA concentration in barley ecosystems was lower than the legislative limits of 3 and 5 mg kg−1 for cereal products for direct human consumption and unprocessed cereals, respectively (EC 2002, 2004, 2005, 2006, 2012), showed that in all cases, the estimated τlag was shorter than the time, after which the admissible limits of OTA was exceeded (Table 3) (Wawrzyniak et al. 2018a). Hence, the values of estimated τlag may be used as the critical points to determine the safe period, at which grain should be subjected to preservation processes.

Table 3 The duration of the lag phase of mould growth (τlag) in barley grain with water activity aw = 0.78–0.96 stored at 12–30 °C estimated by the primary models and storage time adopted from Wawrzyniak et al. (2018a), after which binding limits of ochratoxin A (OTA) have been exceeded

The increase in water activity and storage temperature was accompanied by the increase in the maximum growth rate of log(CFU) of moulds. The highest values of the estimated μmax were obtained in barley with aw = 0.92 stored at 30 °C and aw = 0.93 stored at 24 °C (Table 2). When studying the maximum growth rate of A. parasiticus in maize, Galati et al. (2011) also concluded that due to the high growth rate of fungi, grain stored at 30 °C is particularly vulnerable to mould contamination. In our study, the value of μmax evaluated in a bulk of barley with aw = 0.89 stored at 12 °C was approximately 4 times lower than the highest estimated value of μmax. In turn, the μmax in grain with a lower aw, but stored at higher temperatures (aw = 0.78–0.81 at 24–30 °C and aw = 0.85 at 18 °C), slowed down about 2–3 times in comparison with the highest value of the μmax.

The maximum levels of estimated log(CFU) of moulds at the stationary phase (log(CFUs)) varied depending on T and aw in grain and fell within the range of 5.9–7.5 log(cfu g−1). The obtained values of log(CFUs) were close to the experimental results (6.0–8.0 log(cfu g−1) (Wawrzyniak et al. 2018a)).

Overall Predictive Model of Mould Growth as a Function of Temperature and Water Activity

There are numerous studies that describe the growth of microorganisms as a function of a single environmental factor, e.g. temperature (Gil et al. 2017; Robazza et al. 2017) or aw (Patriarca et al. 2001; Zimmermann et al. 2011). Research works modelling the impact of both temperature and water availability on the kinetic parameters of the primary model were also undertaken. Tremarin et al. (2017) modelled the influence of temperature and soluble solids on the radial growth of B. fulva in agar-added apple juice. In turn, Galati et al. (2011) investigated the effect of temperature and water availability on growth of A. parasiticus on irradiated flint maize. Nevertheless, these studies usually investigated mould growth of a single strain on specially prepared food matrices (disinfected or solidified with agar). Bearing these facts in mind, in this study, the modelling approach was developed to estimate the expansion of total fungal population in the mass of stored barley grain. The considered barley ecosystems were treated holistically as a complex dynamic system of live organisms (grain, contaminants and microorganisms colonising it), in which fungal development depends on internal relationships, storage conditions and time. Therefore, when formulating the overall predictive model of mould growth, the biological parameters of the primary models (i.e. μmax, log(CFUs), τlag) were expressed as a function of environmental factors that most affect the fungal development, i.e. temperature and water availability in a bulk of grain. The values of coefficients, estimated during modelling, for the expressions describing the dependence of the model kinetic parameters on T and aw in grain and the results of their statistical assessment are presented in Table 4. All estimated coefficients were statistically significant (p < 0.05).

Table 4 The values of coefficients (si, mi, li) for the expressions describing the influence of temperature and water activity in barley grain on biological parameters (τlag, μmax, log(CFUs)) of the overall predictive model of mould growth OPMMG

Figure 1 a–d show comparisons between values of log(CFU) predicted with the OPMMG and the experimental data. Through their visual analysis, it can be noticed that the elaborated predictive model of mould growth fitted well to the experimental data. The differences between experimental and predicted levels of the fungal population observed at the beginning of the storage time results from the fact that during modelling, independently on storage conditions, the initial mould level (log(CFU0)) was assumed on the same level of 4.4 log(cfu g−1) being the average value of initial mould population of all storage experiments and reflecting the fungi population level characterizing grain ripening and harvested in years rich in precipitation (Akk et al. 2013).

Fig. 1
figure 1

Graphical presentation of the overall predictive model of mould growth validation. Plots of the fungal population level (log(CFU)) in bulks of barley grain with water activity aw = 0.78–0.96 stored at a 12 °C, b 18 °C, c 24 °C, d 30 °C versus time. The continuous line represent the predictive model responses; the filled and empty points represent experimental and validation data (log(CFU)), respectively

Te Giffel and Zwietering (1999) indicated that the reason for a lesser accuracy of models may have miscellaneous sources such as the experimental error, natural variability, model inaccuracy or additional relevant factors influencing growth not included in the models. Therefore, as it was emphasized by Garcia et al. (2009) validation of models is crucial for their application in food safety management. In this study, the formulated OPMMG was subjected to a two-step evaluation (internal and external validation) in order to verify whether it is sufficiently suitable for practical use. The sets of storage conditions applied for model internal and external validation are presented in Table 1. Figure 2 a and b depict the graphical relations between fungal population levels obtained during the experiments and the OPMMG predictions. The distribution of the points on the graphs indicated good agreement between the observed and predicted values of log(CFU) of moulds across the range of applied storage conditions for both validation methods. The prediction range of 95% in the graph correlating observed data and model estimates in the internal validation (Fig. 2a) shows that for a total number of 174 points, only 7 points (4.0%) fall slightly outside the 95% prediction region. In the external validation (Fig. 2b) for a total amount of 63 points, only 2 points (3.2%) fall outside the 95% prediction range.

Fig. 2
figure 2

Comparison of fungal population levels predicted with the model (Log(CFUM)) and the experimental data of fungal growth (Log(CFUE)), adopted from Wawrzyniak et al. (2018a), a internal validation and b external validation

The results of internal and external validations based on criteria recommended for predictive models by Te Giffel and Zwietering (1999) also showed good convergence between model estimates and experimental data. The validation indicators calculated to assess prediction quality of the OPMMG are presented in Table 5. The coefficient of determination (R2) in both validation approaches were within the range of 0.95–0.96 indicating high goodness of model fit over a wide range of log(CFU). The values of the root mean square error (RMSE), obtained for both internal and external validation (Table 5) showed that the OPMMG produces good predictions of growth data. The bias and accuracy factors were used as further indicators for the quality of the model. These factors provide an objective information of model performance and are not based on the deviation between the observed and mean response, but test the hypothesis that the model under evaluation predicts the true mean (Te Giffel and Zwietering 1999). The values of Bf obtained for the OPMMG as a result of internal and external validation are given in Table 5. Bae et al. (2012) indicated that the range of bias, for which the model can be considered as good, is 0.90–1.05. The same authors reported that models with a bias in the range of 0.70–0.90 or 1.06–1.15 can be considered sufficient, whilst a bias of less than 0.70 or greater than 1.15 indicates a model which cannot be accepted. In the study, the values of Bf obtained in both model validation methods qualified the OPMMG in the class of “good” models (Table 5). The Bf value a bit higher than 1 indicates on a “fail safe” model. It means that in general, the application of the predictive model developed in the study is safe, as it predicts slightly higher levels of fungal population than the actual one. As it was emphasised by Tremarin et al. (2017), such overestimation is not limitative and allows to avoid risky situations, since if the model is used to predict quality degradation, it would predict higher-quality degradation than the one that actually occurred. As the bias factor provides no indication of the average accuracy of estimates (under- and over-predictions tend to cancel out), the overall distance between the estimated and experimental values of fungal population was determined using the accuracy factor (Te Giffel and Zwietering 1999). The calculated values of Af in the internal and external validations mean that on average, the predictions of the model deviated from observations by 3.4% and 3.5%, respectively (Table 5). The recorded values of bias and accuracy factors are comparable with results of other studies. Samapundo et al. (2005) modelling the effect of water activity and temperature on the radial growth of Fusarium verticilliodes and Fusarium proliferatum on irradiated corn obtained the Bf from the range of 0.978 to 1.002, whilst the Af ranged from 1.098 to 1.122. The study on the radial growth of A. flavus and A. parasiticus in irradiated black peppercorns using different kinetic models had Bf of 0.912–1.026 and Af of 0.974–1.107 (Yogendrarajah et al. 2016). The values of the calculated statistical indicators showed the high precision and accuracy of the model produced in this study, whilst the fact that the model was elaborated for a more complex system is its advantage over those published so far. Summarizing, the produced overall predictive model of mould growth predicted satisfactorily mould growth in a mass of barley grain throughout storage time. It can be used as a tool for predicting the extent of fungal contamination and the risk of mycotoxin appearance in barley grain during storage. Model forecasts can be particularly helpful in selecting an appropriate postharvest preservation method of freshly harvested grain (e.g. long-term and mild near-ambient drying or relatively quick drying at higher temperature), which would allow to maintain its safety and high technological quality.

Table 5 Validation indices for the performance of the overall predictive model of fungal growth in barley grain with water activity aw = 0.78–0.96 stored at 12–30 °C

Conclusions

Due to deterioration of the quality of manufactured products and possible negative economic effects resulting from the activity of undesirable microorganisms, the microbiological state of cereal grain is of major importance to the food industry. One of the best ways to enhance the safety and nutritive value of stored grain is to develop predictive tools that estimate the dynamics of fungal growth (and thus the risk of mycotoxin formation) at an early stage of their activity. The study showed that the predictive model of total mould growth in a mass of barley grain, formulated on the basis of the modified Gompertz equation containing storage parameters affecting the fungal development, exhibits high accuracy and produces satisfactory prediction of the fungal population levels. The obtained model is able to predict the fungal grain contamination in a bulk of barley ecosystems stored in a wide range of temperature and humidity conditions based on easy measurable online parameters, e.g. temperature and intergranular relative humidity in a mass of grain. The results of the study indicate that the model may be applied as a useful decision support tool to develop innovative postharvest strategies and to improve management systems dedicated to grain preserved and stored in a bulk.