Introduction

Microbial fuel cell (MFC) is a reactor in which microorganisms convert chemical energy possessed by the wastewater into electrical energy. In MFC, microorganisms use the organic matter of wastewater as food for their survival and produce electrons and protons through an external circuit, yielding power generation (Rahimnejad et al. 2014). MFC also acts as a reactor for treating the wastewater (Singh et al. 2019), since the organic matter in wastewater used as food for the microorganism metabolism results in a reduction in organic matter as microorganisms grow in MFC (Shankar et al. 2015). The performance of MFC depends on various factors viz., the selection of electrodes, electrode surface area, the distance between anode and cathode electrodes, electron donor, electron receiver, pH, type of proton exchange medium, external circuits (Sun et al. 2014). The optimum selection of those factors yields the maximum current, voltage, and power output along with the maximum reduction of pollutants from any selected wastewater as substrate using MFC. There are three types of losses found usually during the operation of MFC, viz., (1) the electron from the microbes takes more energy from the cell wall to move towards anode electrode surface during the oxidation and reduction processes, resulting in more activation losses, (2) microorganisms took food for their survival during metabolisms from the substrate, resulting in more concentration losses, and (3) either an exchange membrane or salt bridge between the anode and cathode chambers abstract the movement of a proton between anode and cathode chambers results in more ohmic losses (Patel et al. 2019). To mitigate the above three losses, the MFC must be managed with the optimum pH conditions of both anolyte and catholyte in anode and cathode chambers, respectively. So, the selection of process parameters determines the maximum output either in terms of reduction of pollutants or in terms of power production from the selected wastewater using MFC.

MFC was operated with a batch flow type (Parkash et al. 2015) and continuous type (Sowmyashree and Udayashankara 2018). Single-chambered (Khare and Bundela 2013) and double-chambered MFCs were utilized for the treatment and simultaneous power production by the previous researchers from whey wastewater (Aishwarya et al. 2011), red cibacron-2G dye solution (Khan et al. 2012), potato processing wastewater with vermicompost (Khare and Bundela 2013), sago wastewater (Muthukumar et al. 2014), distillery industry wastewater (Jatoi et al. 2016), dye effluent (Patade et al. 2016), secondary clarifier of wastewater treatment plant (Amrita et al. 2017), and livestock wastewater (Lai et al. 2018). Different electrode materials like aluminium (Amrita et al. 2017), graphite (Khan et al. 2012; Jatoi et al. 2016; Patade et al. 2016), carbon (Dalvi et al. 2011; Khare and Bundela 2013; Shashikant and Vandana 2017), and manganese dioxide coated on carbon felt (Zang et al. 2015) were used in the anode and cathode chambers of MFC for the power production from wastewater. The Nafion 117 proton exchange membrane (Fatemi et al. 2012), Nafion cation exchange membrane (Zerrouki et al. 2018), anionic membrane Neosepta AMX (Asensio et al. 2018), ceramic membrane (Jimenez et al. 2019), and agar salt bridge (Mahendra and Mahavarkar 2013) were used for transferring the protons between the anode and cathode chambers.

The traditional methods used for finding the optimal values of selected process parameters to achieve the maximum output may not give the interactions between the selected process parameters. The statistical-based methodology provides more effective optimal solutions for obtaining the maximum outputs. One such method is the Taguchi design of experiments. The Taguchi method of approach provides the optimum value of process parameters with minimum experimental runs. Kumar and Mungray (2016) studied the effectiveness of the Taguchi method to optimize the pH of anolyte and catholyte in MFC for producing maximum power. Boas et al. (2015) performed MFC against the operating parameters and using pure culture of Lactobacillus pentosus for removing COD and producing simultaneous power from dairy industry wastewater. The effect of pH also studied MFC using food waste leachate (Li et al. 2013), domestic wastewater (Kishimoto et al. 2013) for bioelectricity production. Sarma et al. (2019) studied the performance of MFC using Taguchi method against the salt bridge dimensions.

Double-chambered salt bridge microbial fuel cell (DCSB-MFC) was used in this study for the reduction of pollutants and simultaneous power production from dairy industry wastewater. The Taguchi method of design of the experiment (Kishimoto et al. 2013; Kumar and Mungray 2016) was deployed in this study, to obtain optimum values of the selected process parameters. The selected parameters for this study were the molar concentration of KCl, agarose concentration, and salt bridge length. L9 orthogonal array was implemented according to three levels and three process parameters. The relationship between selected parameters and their performance was tested with the signal-to-noise (S/N) ratio (Li et al. 2013). Analysis of variance (ANOVA) was used in this study to identify the most influencing parameter among the process parameters (Boas et al. 2015; Sarma et al. 2019). The optimum value of parameters was used only for conducting the control experiment to check the maximum output. The regression model was developed to fit the experimental data on COD removal and power production from dairy industry wastewater using DCSB-MFC. This study was undertaken in the Environmental Engineering Laboratory of Vel Tech High Tech Dr.Rangarajan Dr.Sakunthala Engineering College, Chennai, Tamil Nadu, India, during January 2019.

Materials and methods

Collection of wastewater and inoculum

The dairy industry wastewater was collected from Ambattur Dairy Products in Chennai, Tamil Nadu, with the help of an airtight sterilized bottle. The collected wastewater was kept in a refrigerator at 4 °C to avoid contamination. The refrigerated dairy industry wastewater as a substrate was used in DCSB-MFC for pollutant reduction and simultaneous power production. Quantity of milk processed and milk products produced decide the characteristics of dairy industry wastewater (Kolev Slavov 2017). The characteristics of dairy industry wastewater (average of three experimental test results) are presented in Table 1. The sludge as inoculum obtained from the primary clarifier of the dairy industry wastewater treatment plant was filled in the anode chamber.

Table 1 The characteristics of dairy industry wastewater

Experimental setup

The schematic diagram of DCSB-MFC used in this study is shown in Fig. 1. It consists of anode and cathode chambers connected with KCl and agarose salt bridge. Five-litre capacities of anode and cathode chambers with a working volume of 4.75 L were used in this study. Ferrite circular electrode surface area of 0.0132 m2 (length 0.2 m, diameter 0.02 m) was used in both anode and cathode chambers because of its high strength and good electrical conductivity properties. The anaerobic and aerobic conditions were maintained in anode and cathode chambers, respectively.

Fig. 1
figure 1

Schematic diagram of double-chambered salt bridge microbial fuel cell

The anode chamber was connected with the cathode chamber through an external copper wire electrical circuit. The current (I) in amps and voltage (V) in volts were monitored with a digital multimeter. The power, current density, and power density were calculated using Eqs. 13, respectively.

$${\text{The}}\,{\text{power}}\,\left( P \right) = I \times V$$
(1)
$${\text{The}}\,{\text{Current}}\,{\text{Density}}\,\left( {CD} \right) = \frac{I}{A}$$
(2)
$${\text{The}}\,{\text{Power}}\,{\text{Density}}\,\left( {PD} \right) = \frac{P}{A}$$
(3)

in which ‘I’ is current in A, ‘P’ is power in W and ‘A’ is surface area in m2 of electrode used. The various characteristics such as pH, colour, TSS, TDS, BOD, COD, nitrate, phosphate, sulphate, chloride, ammonia and oil and grease were determined as per the procedure stipulated in APHA (2017). The concentration reduction percentage was calculated (Sivakumar 2015) for all selected pollutants from dairy industry wastewater follows Eq. 4.

$${\text{The}}\,{\text{Percentage}}\,{\text{Reduction}} = \frac{{C_{\text{i}} - C_{\text{o}} }}{{C_{\text{i}} }} \times 100$$
(4)

in which Ci is the initial concentration of pollutants and Co is the final concentration of pollutants in dairy industry wastewater after treating with DCSB-MFC.

Experimental procedure

DCSB-MFC was operated for 10 days in a batch method. In this study, the pollutant removal and power production values were obtained after taking the average of three trials of the experimental data. The pH of the dairy industry wastewater was adjusted for each trial until it gets stabilized. The neutral pH for the substrate was maintained in this study by adding both 0.1 M of NaOH and 1 M of HCl solutions. The current and voltage were observed from the digital multimeter and calculated power, current density and power density by using Eqs. 13. Furthermore, wastewater samples were analysed between 1 and 10 days as per the procedures stipulated in APHA 2017.

Taguchi method

L9 (3 × 3) orthogonal array was used for this study. The experimental investigations were conducted at three levels using three parameters (KCl molar concentration, agarose concentration, and salt bridge length) for reducing the pollutants and producing the power from dairy industry wastewater using DCSB-MFC. The selected three levels for the parameters were 1, 2, and 3 M KCl concentration, 5, 10, and 15% agarose concentration and 5, 10, and 15 cm salt bridge length.

Signal-to-noise (S/N) ratio

The S/N ratio is used to determine the controllable and uncontrollable factors that influence the performance of MFC. S/N ratio can be categorized as larger the better, smaller the better and nominal the best. In this study, the optimization was decided based on the larger the better category, since the objective of this study is to maximize the pollutants reduction and power production from dairy industry wastewater using DCSB-MFC. The large the better category condition was calculated from Eq. 5 (Kumar and Mungray 2016; Sarma et al. 2019; Sivakumar 2020).

$$\frac{S}{N} = - 10 \times \log 10\left( {\frac{1}{n}\mathop \sum \limits_{i = 1}^{n} \frac{1}{{y_{i}^{2} }}} \right)$$
(5)

Analysis of variance

Analysis of variance (ANOVA) is used to know the effect of process parameters and percentage contribution to the performance of DCSB-MFC. The Minitab 18 (version 18.1) package was used for analysing the data obtained from the experimental investigations. The optimal values of the selected process parameters from the Taguchi methods were verified with the control experiments.

Statistical analyses

The statistical analyses were performed using SPSS Statistics version 26 software for all measured and calculated values from the optimized and other process parameters used in the DCSB-MFC from the dairy industry wastewater.

Results and discussion

The experimental investigations were conducted using DCSB-MFC for removing various pollutants and producing power from the dairy industry wastewater. DCSB-MFC was operated with ferrite electrode surface area of 0.0132 m2, the dilatation ratio of ‘0’, no mediator, no additional electron transfer microorganisms, an oxygen flow rate of 10 m3/h, K3Fe(CN)6 electron acceptor and KCl salt bridge at room temperature (28 °C). The parameters and their levels were chosen for this study are presented in Table 2.

Table 2 Process parameters and their levels

The experiments were conducted in DCSB-MFC form dairy industry wastewater using three process parameters viz., KCl molar concentration, agarose concentration, and salt bridge length at three different levels. The Taguchi orthogonal arrays were framed according to the selected three process parameters at three levels. The parameters and levels assigned to the L9 orthogonal arrays and are presented in Table 3. The experiments were conducted three times to make the system consistency and the average values only represented as the maximum value obtained from this study. The lager-the-better category was implemented in this study to get the optimized parameters at various levels.

Table 3 Taguchi orthogonal arrays (L9)

Figures 2, 3, 4, and 5 show the COD reduction percentage, current, voltage, and power observed in DCSB-MFC using dairy industry wastewater for Run 1 to Run 9 against the contact time from day 1 to 10. From Figs. 2, 3, 4, and 5, it may be observed that the maximum COD reduction, current, voltage, and power production in MFC from dairy industry wastewater was found to be 86.3%, 15.91 mA, 734.61 mV, and 11.68 mW (Run 2). Thus, 1 M KCl concentration, 10% agarose concentration, and 0.10 m salt bridge length (Run 2) found in this study were considered as the optimum process parameters value than other combinations (Run 1–9 except Run 2) for the treatment and power production from dairy industry wastewater using DCSB-MFC. The corresponding maximum current density and power density in DCSB-MFC from dairy industry wastewater were obtained as 1205.30 mA/m2 and 885.43 mW/m2, respectively (Table 4).

Fig. 2
figure 2

The COD reduction percentage from dairy industry wastewater using DCSB-MFC

Fig. 3
figure 3

The current production from dairy industry wastewater using DCSB-MFC

Fig. 4
figure 4

The voltage production from dairy industry wastewater using DCSB-MFC

Fig. 5
figure 5

The power production from dairy industry wastewater using DCSB-MFC

Table 4 L9 orthogonal designs, levels of three factors and experimental results obtained from the DCSB-MFC using dairy industry wastewater

Furthermore, it may be noted from Figs. 2, 3, 4 and 5 that the minimum treatment efficiency of COD and minimum power production from the dairy industry wastewater using DCSB-MFC were observed for the combination of 3 M KCl concentration, 5% agarose concentration, and 0.10 m salt bridge length (Run 7). The minimum COD reduction, current, voltage and power, current density, and power density obtained in MFC from dairy industry wastewater as 56.1%, 7.15 mA, 418.31 mV, 2.99 mW, 541.67 mA/m2, and 226.58 mW/m2, respectively (Run 7). The order of maximum COD reduction and power production from dairy industry waster using DCSB-MFC against various Runs was found to be Run 2 > Run 5 > Run 8 > Run 1 > Run 3 > Run 9 > Run 6 > Run 4 > Run 7 (Table 4).

Figures 2, 3, 4, and 5 indicated that the continuous output was obtained after 2 h from the commencement of the experiments and the trend of the COD reduction percentage, current, voltage, and power production variation against the different contact time was the same. The trend of COD reduction percentage, current, voltage, and power variation was similar to the trend of the bacterial growth curve against time. The maximum value of percentage reduction of COD, current, voltage, and power production was obtained for the period between 5 and 7, which was corresponding to the stationary phase of microbial growth in the substrate because the biofilm was fully developed at the anode electrode during the stationary phase period. After 5 days, the percentage reduction of COD, current, voltage, and power production attain their maximum value and maintain the same maximum COD reduction, current, voltage, and power production for successive 3 days (small fluctuations occurred during those 3 days due to variation in metabolism of microorganisms). There was a decline after 7 days, because of the death of microorganisms in the substrate (dairy industry wastewater). Beyond the stationary phase period, current and voltage values started to drop, which is corresponding to the decline phase of the microbial growth curve. The dead microorganisms in the dairy industry wastewater as substrate contribute to current and voltage reduction. The less reduction percentage of COD and power generation were observed for the Run 7 is due to poor transfer of electrons and protons between the anode and cathode chambers, the less microbial activity of the substrate in the anode chamber and less H2 liberation activity of electrolyte in the cathode chamber. Thus, the reduction of COD, current, voltage, and power production depends on the microbial activities on the substrate in the anode chamber and electrolyte in the cathode chamber. The high the microbial activities in the anode chamber and high liberation activity of electrolyte in the cathode chamber, more the voltage produced in DCSB-MFC.

The typical anode electrode and cathode electrode reaction in DCSB-MFC is presented in Eqs. 6 and 7, respectively.

$${\mathbf{Anodic reaction}}:{\text{Biodegradation}}\,{\text{material}} + {\text{microorganisms}} \to {\text{CO}}_{2} + H^{ + } + e^{ - } \left( {{\text{anaerobic}}\,{\text{conditions}}} \right)$$
(6)
$${\mathbf{Cathodic}}\,{\mathbf{reaction}}:4{\text{H}} + 4e^{ - } + {\text{O}}_{2} \to 2{\text{H}}_{2} {\text{O}}\,\left( {{\text{aerobic}}\,{\text{conditions}}} \right)$$
(7)

The electrons generated (Eq. 6) in the anode chamber of DCSB-MFC travels across the external circuit to the cathode chamber. In the cathode chamber, the electrons from the external circuit were joined with protons (H+) from the anode chamber through a salt bridge and oxygen (O2) to produce water (Eq. 7), completing the half-reaction (Chae et al. 2008). The mixed culture, including bacteria, fungi, and yeast species, in the dairy industry wastewater was identified for the production of electrons in the anode chamber. Though the bacteria, fungi, and yeast species available in the dairy industry wastewater, the species like Escherichia coli, Bacillus subtilis, Clostridium butyricum, and Saccharomyces cerevisiae were dominated to produce more electrons in the anode chamber of DCSB-MFC (Garcha et al. 2016; Al-Wasify et al. 2017).

Taguchi L 9 orthogonal arrays and response for S/N ratio

In this study, experiments were conducted using DCSB-MFC according to Taguchi L9 orthogonal arrays and responses (COD removal percentage, current, voltage, and power) corresponding to various combinations of process parameters (Run 1–Run 9) was obtained. The L9 orthogonal arrays consist of minimum experimental runs with various combinations of process parameters. L9 orthogonal designs, levels of three factors, and experimental results obtained from the DCSB-MFC using dairy industry wastewater are presented in Table 4.

The output of L9 orthogonal arrays was optimized based on the S/N ratio. The S/N ratio was assessed to know the effect of process parameters on the removal of pollutants and power production from the dairy industry wastewater. This study optimized the process parameters based on the larger the better category (Eq. 5) since the objective of this study is to maximize the pollutants reduction and power generation from the dairy industry wastewater using MFC.

The response (maximum power and COD reduction percentage) for the S/N ratio from Run 1 to Run 9 at various levels is presented in Table 5. The average S/N ratio for each process parameter in each level is shown in Figs. 6 and 7. According to the average maximum S/N ratio (Table 5), level 1, level 2, and level 1 exhibited the maximum value against the KCl molar concentration, agarose concentration, and salt bridge length, respectively, for both maximum power production and COD reduction percentage from dairy industry wastewater using DCSB-MFC.

Table 5 The response for S/N ratio from run 1 to run 9
Fig. 6
figure 6

Average S/N ratio for maximum power

Fig. 7
figure 7

Average S/N ratio for COD reduction percentage

The maximum S/N ratio yielded for the power produced by the KCl molar concentration, agarose concentration, and salt bridge length against various levels of the maximum power production was found to be 17.25, 19.69, and 15.94 (Fig. 6). Similarly, the maximum S/N ratio yielded for the COD reduction percentage by the KCl molar concentration, agarose concentration, and salt bridge length against various levels for the maximum COD reduction percentage were found to be 37.90, 38.52, and 37.59 (Fig. 7). It may also be observed that the maximum delta variation exhibited by the agarose concentration has a high influence on the performance of DCSB-MFC for treating the dairy industry wastewater and simultaneous power production followed by KCl molar concentration and salt bridge length (Table 5). According to the Taguchi approach, agarose concentration is the most dominant and salt bridge length is the least dominant parameter in the production of power and reduction of pollutants from dairy industry wastewater.

Analysis of variance (ANOVA)

The analysis of variance (ANOVA) was used in this study to know the process parameters were contributed significantly to obtain the maximum removal of pollutants and power production from the dairy industry wastewater using MFC. Hence, along with the S/N ratio, ANOVA was done in this study. The ANOVA for all process parameters is presented in Table 6. From Table 6, it may be noted that the order of observed prevailing process parameters as agarose concentration > KCl molar concentration > salt bridge length. The results of ANOVA (Table 6) were a good agreement with the results of the response for the S/N ratio (Table 5).

Table 6 Analysis of variance (ANOVA) for maximum power and COD reduction

Confirmation test

The best possible results obtained from the experimental investigations conducted at different process parameters with different levels are called optimization. According to Taguchi, the best possible results (optimized values) were observed for the experimental Run 2 (Table 4), but it is not giving the true optimum results. Taguchi gives the best results at each level for different parameters. Hence, confirmatory experimental investigations were conducted using the optimum values of each parameter selected from different levels. The selected best-optimized parameters for each level were found to be KCl molar concentration of 1 M, an agarose concentration of 10%, and salt bridge length of 0.05 m (Table 5) for the maximum power production (Fig. 6) and maximum COD reduction (Fig. 7) from dairy industry wastewater using DCSB-MFC.

The maximum COD removal, current, voltage, power, current density, and power density for the combination 1 M KCl concentration, 10% agarose concentration, and 0.05 m salt bridge from control experiments were found to be 89.7%, 17.28 mA, 815.32 mV, 14.09 mW, 1309.09 mA/m2, and 1067.33 mW/m2, respectively, from dairy industry wastewater using DCSB-MFC. The results of the confirmation experiments showed that there was an increment of 3.94, 8.61, 10.99, 20.52, 8.61, and 20.52% for COD removal, current, voltage, power, current density, and power density, respectively, against the selected optimum values of process parameters for each level (Table 5). Thus, the 1 M KCl concentration, 10% agarose concentration, and 0.05 m salt bridge were considered as the best-optimized parameters for treating and producing power from dairy industry wastewater using DCSB-MFC at maximum level.

Verification test

In this study, 1 M KCl concentration, 10% agarose concentration, and 0.05 m salt bridge (confirmation test results) used for reducing maximum COD and producing the maximum power from dairy industry wastewater using DCSB-MFC. To check the performance of DCSB-MFC for removing other pollutants from dairy industry wastewater, verification experiment was conducted against the best-optimized parameters 1 M KCl concentration, 10% agarose concentration and 0.05 m salt bridge (from confirmation test) along with other process parameters viz., ferrite electrode, the ferrite electrode surface area of 0.0132 m2, the dilatation ratio of ‘0’, the operating temperature of 28 °C, no mediator, no additional electron transfer microorganisms, an oxygen flow rate of 10 m3/h, K3Fe(CN)6 electron acceptor.

The maximum removal percentage of TSS, TDS, BOD, COD, nitrate, phosphate, sulphate, chloride, ammonia, and oil and grease before and after treatment with DCSB-MFC using best-optimized parameters are presented in Table 7. As similar to COD reduction and power production from dairy industry wastewater using DCSB-MFC, the other parameters in a dairy industry wastewater also reduced to the maximum at the best-optimized process parameters of 1 M KCl concentration, 10% agarose concentration, and 0.05 m salt bridge. The pH found in a dairy industry wastewater after treatment with MFC was 7.4 ± 0.6.

Table 7 The characteristics of treated dairy industry wastewater using MFC

The performance of DCSB-MFC for the maximum reduction of pollutants and power production using dairy industry wastewater against the selected process parameters and optimized parameters of this study was compared with the other studies. The results of this study and other studies on current, voltage, power, current density, and power density from various industry wastewaters using MFC are presented in Table 8.

Table 8 Comparison of current, voltage, power, current density and power density from various industry wastewaters using MFC

The previous study used the combination of various slats for manufacturing the salt bridge with agar, which can be connected between anode and cathode chambers of MFC (Khan et al. 2012). Khan et al. (2012) performed the salt bridge MFC for decolourization along with power production from the Red Cibacron-2G Dye solution. The salt bridge was prepared with 100 g/L agar and 0.5 g each of KCl, NaCl, and KNO3. The electrode used in this study was the graphite rod of surface area 6.031 cm2. The maximum current and voltage production from MFC was found to be 5.2 mV and 5 μA, respectively. Furthermore, the maximum power density and current density were recorded as 100 mW/m2 and 1.04 A/m2, respectively, in 24 h of operation (Khan et al. 2012).

Khare and Bundela (2013) studied the single-chambered MFC for generating the power and treating the wastewater blended with vermicompost. MFC was made with 1 M KCl and 3% agarose salt bridge, carbon electrodes as the anode and cathode, and methylene blue as the mediator between anode and cathode chambers. The maximum voltage produced in MFC from blended potato processing wastewater with vermicompost was found to be 292 mV, and a mixture of cow dung with vermicompost was found to be 232 mV. The maximum voltage was obtained for 5 and 4 days, respectively, for the blended potato processing wastewater with vermicompost and mixture of cow dung with vermicompost.

Mahendra and Mahavarkar (2013) studied the dairy industry wastewater treatment and power generation using mediator less single- and double-chambered MFC with an 8-litre working volume of the substrate using a graphite rod as an electrode, agar salt bridge as proton exchanger between the anode and cathode chambers and KCl as an electrolyte in the cathode chamber. The maximum current obtained from the single- and double-chambered MFC was found to be 1.02 mA and 0.58 mA, respectively (Mahendra and Mahavarkar 2013) for 12 days. Graphite sheet of 0.027 m2 was used for producing a current density of 223.3 mA/m2 and a power density of 134.6 mW/m2 from sago wastewater in double-chambered MFC (Muthukumar et al. 2014). The maximum voltage (603 mV) and current (6.03 mA) produced after 18 days by Muthukumar et al. (2014) against the KCl and agar salt bridge between anode and cathode chambers, and cathode chamber filled with phosphate buffer solution and 50 mM NaCl.

Patade et al. (2016) and Khan et al. (2012) used dye effluent instead of wastewater from the wastewater treatment plants for producing electrical power and simultaneous wastewater treatment. 10% KCl and 7% agar salt bridge of length 0.12 m and 0.02 m diameter was connected between the anode and cathode chambers of MFC for the power generation (Patade et al. 2016). The maximum current of 0.64 mA was obtained by not adding molasses as inoculum with dye effluent. The maximum current of 0.768 mA was observed against 20% molasses as inoculum with dye effluent (Patade et al. 2016) and graphite electrode.

Kumar and Mungray (2016) obtained the maximum current density of 2914.29 mA/m3 and the power density of 1270.12 mW/m3 from the working volume of 350 ml glucose synthetic water against the external resistance of 220 Ω with anolyte pH of 8 and catholyte pH of 2. Kishimoto et al. (2013) obtained the maximum current from the restaurant wastewater, and it was found to be 0.678 ± 0.297 mA. According to the Taguchi method, the current production was 2.9 times higher than the control experiments when MFC was conducted with an air cathode pH of 7 (Kishimoto et al. 2013).

Amrita et al. (2017) produced the maximum voltage and current density of 0.145 mV and 0.06 A/m2, respectively, using MFC with 1 M KCl and 3% agar salt bridge and aluminium mesh as an electrode. But, 1 M KCl and 10% agarose salt bridge of length 5 cm and diameter 2 cm produced the voltage and current of 435 mV and 43 mA, respectively, using MFC from distillery industry wastewater against the external resistance of 10 Ω and graphite electrode (Jatoi et al. 2016). Shashikant and Vandana (2017) produced the current, voltage, and power generation of 7.99 mA, 6.54 V, and 4.58 W/m2, respectively, in the batch flow type single-chambered MFC for treating the dairy and distillery blended wastewater and producing electricity using agar salt bridge in 7 days operation.

As similar to Jatoi et al. (2016) and Amrita et al. (2017), 1 M KCl and 5% agar salt bridge and carbon electrode were used for producing a voltage of 350 mV from whey wastewater along with treatment of whey wastewater (Aishwarya et al. 2011) in MFC. The external resistance of 10 Ω was used for producing the maximum power from wastewater using MFC by Aishwarya et al. (2011) and Jatoi et al. (2016), but Muthukumar et al. (2014) used 100 Ω used for producing the power and simultaneously treating the wastewater using MFC.

The maximum COD removal was obtained as 85.4% at the anolyte pH of 7.6 using two-chambered MFC from the food waste leachate for bioelectricity production (Li et al. 2013). Mahendra and Mahavarkar (2013) observed that the maximum COD removal of 86.42% and 84.8% from the single- and double-chambered MFC, respectively, using dairy industry wastewater. Besides, Mahendra and Mahavarkar (2013) found that the maximum reduction occurred for the 100% substrate concentration.

The COD removal from the dairy industry wastewater using two-chambered MFC was between 56 and 61% when the MFC was operated with proton exchange membrane, graphite brush with filaments of carbon fibre as anode and plain carbon paper with platinum black as cathode from the dairy industry wastewater (Boas et al. 2015). The COD removal was achieved by about 84.77% and 77.25%, respectively, for single- and double-chambered MFCs (Shashikant and Vandana 2017). The corresponding TDS removal was about 73.51% and 72.23%, respectively, for single- and double-chambered MFC (Shashikant and Vandana 2017). The removal efficiency of both MFCs was achieved from the 2-litre blended dairy and distillery wastewater, agar salt bridge, and 7 day operation period.

Though the membrane produced more power than a salt bridge (Shashikant and Vandana 2017), salt bridge produces the power equivalent to the power produced by membrane against the suitable combination of various parameters value using MFC from wastewater (Li et al. 2013; Muthukumar et al. 2014) and also the cost of power production using MFC from wastewater is less compared to the cost involved in MFC with a membrane. The experimental and model results of this study suggested an idea to make DCSB-MFC batch bioreactor into continuous flow DCSB-MFC bioreactor with further modification, and DCSB-MFC could be more helpful for the industry to reduce the power consumption at the site.

Mathematical model

Regression analysis is used to fit the mathematical model using experimental data obtained from the best-optimized process parameters. In this study, the coefficients of the regression model for maximum reduction of COD and maximum power output from dairy industry wastewater in DCSB-MFC were obtained using the software Minitab 18 (version 18.1) and the regression equation is expressed by Eq. 8.

$$\begin{aligned} Y_{\text{COD}} \,({\text{or}})\,Y_{\text{Power}} & = A_{0} + A_{1} X_{1} + A_{2} X_{2} + A_{3} X_{3} + A_{11} X_{1} X_{1} + A_{22} X_{2} X_{2} + A_{33} X_{3} X_{3} + A_{12} X_{1} X_{2} \\ & \quad + \,A_{23} X_{2} X_{3} + A_{31} X_{3} X_{1} + A_{123} X_{1} X_{2} X_{3} \\ \end{aligned}$$
(8)

in which, A0 is the interception coefficient, A1, A2 and A3 are the linear coefficients, A11, A22 and A33 are the one-way interaction coefficient, A12, A23 and A31 are the two-way interaction coefficient, and A123 is the three interaction coefficient, and X1, X2, and X3 are the independent variables viz., KCl molar concentration, agarose concentration, and length salt bridge.

As per Taguchi L9 orthogonal array, a total of 9 experimental Runs were performed in DCSB-MFC using dairy industry wastewater for maximum reduction of COD and power generation using various process parameters and against different KCl molar concentration, agarose concentration, and length salt bridge combinations (Runs 1–9). But, the model was developed for Run 2, because Run 2 (experiments conducted at 1 M KCl molar concentration, 10% agarose concentration and 0.05 m salt bridge length) produced the maximum reduction percentage of COD, current, voltage and power production from dairy industry wastewater using DCSB-MFC.

Validation test

To validate and know the best fit of the proposed mathematical model with experimental data, the regression coefficients and the coefficient of determination (R2) were evaluated from the regression equation (Sivakumar 2016). The regression equation for the maximum COD reduction and power production from dairy industry wastewater using DCSB-MFC is presented in Eqs. 9 and 10, respectively.

$$\begin{aligned} Y_{\text{COD}} & = 65.93{-}21.470X_{1} + 11.662X_{2} {-}410.33X_{3} + 1.733X_{1} X_{1} {-}0.6013X_{2} X_{2} \\ & \quad + \,1473.3X_{3} X_{3} + 0.52X_{1} X_{2} + 0.023X_{2} X_{3} + 47.33X_{3} X_{1} + 0.011X_{1} X_{2} X_{3} \\ \end{aligned}$$
(9)
$$\begin{aligned} Y_{\text{Power}} & = {-}5.903{-}4.802X_{1} + 3.853X_{2} + 55.532X_{3} + 0.585X_{1} X_{1} {-}0.212X_{2} X_{2} \\ & \quad {-}\,233.303X_{3} X_{3} + 0.189X_{1} X_{2} + 0.02X_{2} X_{3} + 6.667X_{3} X_{1} + 0.01X_{1} X_{2} X_{3} \\ \end{aligned}$$
(10)

The observed and predicted values (from Eqs. 9 to 10) for maximum COD reduction and maximum power production from dairy industry wastewater using DCSB-MFC are presented in Table 9. The correlation between the experimental results and model results for COD reduction percentage (Table 9) and power production (Table 9) in DCSB-MFC from dairy industry wastewater is shown in Fig. 8a and b, respectively.

Table 9 Experimental results and model results for COD reduction and power production from dairy industry wastewater using MFC
Fig. 8
figure 8

Relationship between experimental and model results of COD reduction and power production from dairy industry wastewater using DCSB-MFC

The R2 value of 0.998 and 0.996, respectively, for the COD reduction (Fig. 8a) and power production (Fig. 8b) from dairy industry wastewater using DCSB-MFC between experimental and model results indicated that the model prediction is highly significant with the experimental results. Thus, the selected optimum value of 1 M KCl concentration, 10% agarose concentration, and 0.05 m length salt bridge from the Taguchi approach is the best value for the reproduction of experimental investigations to get the maximum COD reduction and power production using DCSB-MFC.

Conclusion

This study performed the DCSB-MFC with ferrite electrode, the ferrite electrode surface area of 0.0132 m2, the dilatation ratio of ‘0’, the operating temperature of 28 °C, no mediator, no additional electron transfer microorganisms, an oxygen flow rate of 10 m3/h, K3Fe(CN)6 electron acceptor against different KCl molar concentration, agarose concentration, and length salt bridge. From Taguchi L9 orthogonal array optimization, the maximum COD reduction and simultaneous power production were obtained for the 1 M KCl concentration, 5% agarose concentration, and 0.05 m salt bridge length. However, the response for S/N ratio and confirmation test indicated that the best-optimized parameters that influence the performance of DCSB-MFC were 1 M KCl concentration, 10% agarose concentration, and 0.05 m salt bridge length. In this study, the maximum influencing parameter was agarose concentration followed by KCl molar concentration and salt bridge length (ANOVA). As similar to COD reduction and power production from dairy industry wastewater, DCSB-MFC also reduced the other pollutants to the maximum level for the best-optimized value of process parameters. The regression model developed in this study could be to predict the best combination of process parameters against the required output power and COD reduction from the dairy industry wastewater. Thus, this study suggested that DCSB-MFC may be used for reducing the pollutants and power generation from any wastewater for the appropriate process parameters value.