Introduction

Industrial development is vital for all societies, but it creates some challenges, e.g., high energy demand and wastewater production, which needs consideration (Miran et al. 2015; Ismail and Habeeb 2017; Hindatu et al. 2017). Nowadays, making industries independent of fossil fuels and treating wastewater for energy production are the most attended fields by researchers (Miran et al. 2016; Burkitt et al. 2016; Modi et al. 2016). Microbial fuel cell (MFC) is a green technology that not only treats wastewaters but also produces electricity via the catalytic activity of electroactive microorganisms, which releases the stored chemical energy of biodegradable organics (Liu et al. 2014; Miran et al. 2016; Garino et al. 2016). In MFC, the microorganisms in the anaerobic anodic chamber oxidize organic fuels via their metabolism. The produced electrons and protons in the anodic chamber are transferred to the cathodic chamber via an external circuit and a proton exchange membrane, respectively, and make it possible to reduce the electron acceptor in the cathodic chamber (Rikame et al. 2012; Wang et al. 2015; Huang et al. 2016; Penteado et al. 2017). Cell design; membrane type; the characteristics and structure of electrode materials; fuel, inoculated microorganisms, and electrolyte type; and temperature and pH are the most effective parameters in MFC performance (Cirik 2014; Jadhav et al. 2017). Glucose, sucrose, acetate, formate, oxalate, starch, etc. are the most used fuels in MFCs (Shin et al. 2014; Yuan et al. 2017); however, a complex matrix of compounds can be used as fuel in the anode chamber, too (Ge et al. 2014; Faria et al. 2017; Cao et al. 2017; Khan et al. 2017).

Leather, paper, textile, dying, dye manufacturing, and other industries use or produce synthetic dyes and discard a considerable amount of dyes as wastewater in the environment (Holkar et al. 2016). Dye wastewater contains chemicals which are harmful and toxic for the ecosystem, human being, animals, and plants; and as a consequence, disposing of them without enough treatment is unacceptable. It is hard to treat the dye wastewater due to its complicated and stable aromatic and heterocyclic components (Holkar et al. 2016, 2018; Katheresan et al. 2018). The physical, chemical, and biological processes are known as dye treatment methods. Adsorption and membrane filtration processes including nano-filtration, ultra-filtration, and reverse osmosis are examples of physical methods. The high price of membranes and some adsorbents, not degrading pollutants in adsorption methods, and converting the adsorbent to waste are the main disadvantages of the physical processes. The advanced oxidation, ozonation, electrochemical, and photochemical processes are some known chemical dye removal methods. These methods require high electrical energy and specific equipment with high consumption of chemical reagents; therefore, they are not practical for large-scale applications (Jegatheesan et al. 2016; Holkar et al. 2016; Katheresan et al. 2018). Biological methods are cheap and can be performed on large scales. Therefore, the biological treatment processes are preferred. The aerobic biological processes are not applicable to the treatment of high chemical oxygen demand (COD) and organic contents due to high energy requirements and high amounts of sludge production. However, the anaerobic processes are capable of reducing high COD values, while they produce low amounts of sludge (Karadag et al. 2015a, b; Su et al. 2016).

Dairy industries produce large amounts of wastewater containing high organic loading with high biological oxygen demand (BOD) and COD values. Carbohydrates, fats, and proteins are the major components of dairy effluents. While they cause problems for the environment and treatment plants due to high organic content, their energy can be reused and recovered (Hassan and Nelson 2012; Karadag et al. 2015a). The MFCs can be used in order to harvest the energy from wastewater (Table 1).

Table 1 The literature review to compare the decolorization efficiency and maximum power density of MFC systems

As literature review shows, many researches have been devoted to promote MFC performance using co-substrates; however, to the best of our knowledge, the azo dye removal using MFC systems in the presence of dairy products has not been studied yet. The high organic content of dairy wastewater is a suitable carbon source for anaerobic biofilm in the anodic chamber of MFC and can help in dye removal.

The aim of this study was to replace the usual nutritional agents with a waste by-product (dairy wastewater) in an MFC, which treats AO7 wastewater. The dye and dairy wastewater are not available in mixed condition, but if the mixed wastewater shows promising results, it is worth to transfer the dairy wastewater to the MFC system. In this research, the effects of the application of various mixtures of AO7 and dairy products (milk, cheese water, and yogurt water) as feed in the anodic chamber of an MFC were investigated. AO7 decolorization, COD removal efficiency, and voltage and power density generation using different feed mixtures were monitored and the developed biofilm structure was also studied.

Materials and methods

Microorganism adaptation and biofilm formation on the graphite anode electrode

AO7 (Alvan Sabet, Hamedan, Iran) is toxic (Fernando et al. 2012, 2014a), requiring the adaptation of microorganisms to the dye before application as a substrate in the anolyte of MFC. In this study, an adaptation period of 14 days was performed in a container. A total volume of 200 ml of anolyte containing 1% (v/v) of one of the dairy products (milk, cheese water, and yogurt water) and 5% (v/v) anaerobic activated sludge from the wastewater treatment plant of East Azarbaijan Pegah Pasteurized Milk Co. in Tabriz, Iran, was filled in a glass container, then the graphite electrode was immersed in this solution for 48 h while stirring. After that, the anolyte was replaced with a new one containing 1 ppm dye, 1% (v/v) dairy product, and 5% (v/v) anaerobic activated sludge. This replacement was performed every 48 h with increasing AO7 concentration in each replacement (1, 5, 15, 50, and 100 ppm), while the concentrations of the other components were constant. During the adaptation period, the system was purged by N2 gas for 15 min after filling the container with the anolyte in order to provide the anaerobic conditions.

MFC configuration and operation

MFC setup was made of Plexiglas containing two chambers that were separated with a Nafion N966 membrane. The volume of each chamber was 700 mL. Anode chamber was kept in anaerobic condition and it was filled with the anolyte containing K2HPO4/KH2PO4 (50 mM) buffer solution, MgSO4 0.02 g.L−1, NH4Cl 0.38 g.L−1, NaCl 0.5 g.L−1, KHCO3 2 g.L−1, and CuCl2 0.003 g.L−1, and all of the mentioned chemicals were analytical grade from Merck, Germany. Anode chamber was purged with N2 gas for 20 min before starting the experiments to provide anaerobic conditions. The dairy product (yogurt water, milk, cheese water) and AO7 were added to the anolyte repeatedly when the voltage of the MFC decreased below 60 mV. Cathode chamber was filled with K2HPO4/KH2PO4 (50 mM) buffer solution. An air pump (pumping rate = 1 L.min−1) was used to enter O2 as an electron acceptor in the catholyte.

Graphite plates (5 cm × 5 cm) were used as anode and cathode electrodes. Copper wire was used to connect the anode and the cathode, and a resistor box was used to set the external resistance at 500 Ω unless otherwise mentioned. The distance between the anode and the cathode electrodes was fixed at 6 cm and the temperature was fixed at 35 ± 2 °C in an incubator assembled in our laboratory. The schematic diagram of the MFC system is illustrated in Fig. 1.

Fig. 1
figure 1

Schematic diagram of the two-chamber microbial fuel cell setup

Analyses

The potential of the MFC was measured at time intervals of 5 min using a digital multimeter (VICTOR 86D, China). The concentration of AO7 was determined by a UV–Vis spectrophotometer (T80+; PG Instrument Limited, UK) and COD of the anode solution was measured according to the 5220D standard method (Rice et al. 2017). COD measurements were performed in duplicate.

FESEM analysis

The morphology of the biofilm formed on the anode was characterized by field scanning electron microscopy (MIRA3 FE-SEM, Tescan, and Czech). Before the FESEM analysis, the biofilm samples were pretreated. For pretreatment, the biofilm samples were immersed in 10 and 5% glutaraldehyde solutions, each for 8 h, respectively, and then dehydrated by submerging them in 30, 50, and 96% ethanol solutions, each for 15 min, respectively (Wang et al. 2017; Chen et al. 2018).

Cyclic voltammetry (CV) and electrochemical impedance spectroscopy (EIS)

Cyclic voltammetry was performed using an AUTOLAB/PGSTAT100 Metrohm device to investigate the electrochemical activity of the electrodes in a K2HPO4/KH2PO4 (50 mM) buffer solution, and also in the MFC system at the voltage range of − 1 to 1 V and a scan rate of 10 mV.s−1. A three-electrode system including a standard calomel reference (SCE) electrode, a platinum counter electrode, and a biofilm-coated working electrode was employed for CV analyses in the buffer solution (Liu et al. 2014). In the CV analyses which were performed in the MFC system, the SCE, cathode, and anode of the MFC were set as the reference, counter, and working electrodes, respectively, while the SCE was placed between the anode electrode and membrane (Chen et al. 2018).

An IviumStat potentiostat/galvanostat was used for EIS analyses with Ag/AgCl (reference), platinum (counter), and biofilm-coated (working) electrodes. EIS was performed in two different electrolytes, first in a 10 mM K3[Fe(CN)6]/K4[Fe(CN)6] + 0.1 M KCl electrolyte and then in MFC’s anolyte solution at 0.01–100 kHz frequency range and a potential amplitude of 10 mV (Chen et al. 2018).

Calculation of chemical and electrochemical parameters

Calculation of decolorization efficiency

Decolorization efficiency is an important parameter to evaluate the performance of those MFC systems which treat the colored wastewaters. For this purpose, the absorbance of the anolyte was measured by the UV–Vis spectrophotometer at 484 nm (Fernando et al. 2014a; Abdollahi et al. 2018) and the corresponding dye concentration was calculated using the corresponding calibration curve. Eventually, decolorization efficiency was calculated using Eq. 1, where c0 and c are the initial and final concentrations of AO7, respectively.

$$ \mathrm{R}\ \left(\%\right)=\left(\frac{{\mathbf{C}}_{\mathbf{0}}-\mathbf{C}}{{\mathbf{C}}_{\mathbf{0}}}\right)\times 100 $$
(1)

Power density

The power density of an MFC system specifies its capability in electrical energy production. In this work, different external resistances (10,000 to 10 Ω) were set in the external circuit when the maximum and stable voltage of the MFC system was achieved, then the voltage was measured by the multimeter to calculate the current and power density. Current and power densities were calculated according to Eqs. 2 and 3 where I, V, R, P, and A are current (A), voltage (V), resistance (Ω), power density (W.m−2), and anode surface area (m2), respectively.

$$ I=\frac{V}{R} $$
(2)
$$ P=\frac{I\times V}{A} $$
(3)

Coulombic efficiency (CE)

Equation 4 was used to calculate the coulombic efficiency, where M, I, b, F, V, t, and ∆COD are molecular weight, current (A), number of electrons participating in the reaction, Faraday’s constant (96,485 C.mol−1), anolyte volume (L), time, and difference between initial COD and the COD in a specific time (t) (g.L−1), respectively.

$$ \mathrm{CE}\ \left(\%\right)=\frac{M\ \underset{0}{\overset{\mathrm{t}}{\int }}I\ \mathrm{d}t}{b\ F\ V\ \Delta \mathrm{COD}}\times 100 $$
(4)

Results and discussion

FESEM analyses of biofilm on the graphite plate electrode

Milk consists of water, lipids, carbohydrates, proteins, salts, vitamins, and a large number of other constituents. The composition of milk changes during the coagulation processes of the production of cheese and yogurt. Some proteins, e.g., casein are coagulated, while the water-soluble proteins, constituting one fifth of the total proteins of milk, remain soluble in water. The fat and fat-soluble vitamins are concentrated in the coagulated part and water-soluble vitamins and minerals remain in the remaining water. The compositions of milk, the coagulated part, and the uncoagulated part are different (Wong 1988); consequently, it is expected to observe different results with regard to the biofilm composition and its performance in the MFCs with cheese water + AO7, yogurt water + AO7, and milk + AO7 as the constituents of anolyte.

The presence of biofilm on the anode of MFC is vital and must be proved. FESEM was used for investigating the formation of biofilm and its morphology. FESEM images were prepared from the biofilm samples at the end of the adaptation stage and before starting the MFC experiments. Figure 2 shows the FESEM images of the biofilm-coated graphite plates and also the bare graphite. As shown in Fig. 2b–d, the dense biofilm layers covered the whole anode surfaces and showed highly complicated structures composed of morphologically different cells. These cells adhered to each other and were frequently embedded within a self-produced matrix of extracellular polymeric substances (EPS) that transformed into an effective biofilm. EPSs are high molecular weight compounds covered by microorganisms and have a significant effect on the physicochemical properties including electron transfer. Different sizes and shapes of bacteria were spread out on the electrode surface. Some rod-shaped cells and also some loose clumps are noticeable on the electrode. According to Kim et al. (2006) these clumps include the bacteria that are able to ferment the complex substrates and break them down to smaller products. These products can then be used as substrates for electrochemically active bacteria within the biofilm to generate electricity (Kim et al. 2004).

Fig. 2
figure 2

FESEM image of a bare graphite, b biofilm of graphite in milk + AO7, c biofilm of graphite in cheese water + AO7, d biofilm of graphite in yogurt water + AO7

MFC performance in electrical energy production and electrochemical activity

The maximum stable voltage, power density, and the time length that the maximum voltage was stable were the parameters used to study the capability of the mixed dairy + AO7 solutions to produce electricity. The voltage–time profiles of different anolytes are illustrated in Fig. 3. In this study, the initial dye and COD concentrations in the MFC systems were 150 and 2000 ppm O2, respectively.

Fig. 3
figure 3

Voltage–time profile of MFCs with three different kinds of feed in the anode chamber. Initial dye concentration = 150 ppm, initial COD = 2000 ppm O2, electrode distance = 6 cm, and external resistance = 500 Ω

According to Fig. 3, all the voltage–time profiles consist of three steps in each cycle, starting after the feeding of the system. At the first step, the voltage increased gradually to the maximum value due to the abundance of feed for the microorganisms. The stable maximum voltage appears in the second step and the duration of this step is an important parameter in the performance of the system. The voltage-decreasing phase was the last step. This step was due to the decrease in the available nutrients and the increase in the number of microorganisms that need more feed (Zhao et al. 2017). The maximum voltage values of 274.9 mV (109.96 mA.m−2) and 325.3 mV (130.12 mA.m−2); 112.2 mV (44.88 mA.m−2), 154.1 mV (61.64 mA.m−2), and 175.5 mV (70.2 mA.m−2); and 248.7 mV (99.48 mA.m−2) and 332.4 mV (132.96 mA.m−2) were achieved for milk + AO7, yogurt water + AO7, and cheese water + AO7 anolytes, respectively. The duration of maximum voltage is one of the main parameters which can be used for the comparison of MFC systems. The period in which the voltage was between the maximum voltage and 10% less than it was considered as the duration of the maximum voltage. This period was from 77.5 to 134.5 h (57 h) for the first cycle and from 203 to 287 h (84 h) for the second cycle of milk + AO7 MFC. For the three cycles of yogurt water + AO7 MFC, the mentioned periods were in the ranges of 4.4–10.4 h (6 h), 48.5–65.5 h (17 h), and 101–112 h (11 h), respectively. In the first and second cycles of cheese water + AO7 MFC, the maximum voltage duration were from 48.4 to 63.4 h (15 h) and 133 to 188.7 h (55.7 h), respectively. According to the obtained results, milk + AO7 and cheese water + AO7 MFCs had the highest output voltage, while milk + AO7 MFC had the most long-term stable maximum voltage. Degradation of the dye and dairy products to the more biodegradable and digestible materials kept the voltage at a maximum level and created a nearly stable maximum voltage for a long time. Choi et al. (2007) investigated the effect of different simple carbon sources such as glucose, acetate, fructose, and lactose on the performance of MFC, whose results showed that the maximum voltages were stable for less than 2 h. Varanasi et al. (2016) used sodium acetate as a carbon source with the cycle time of 48 h and a stable maximum voltage period shorter than 48 h. Hence, the obtained stable maximum voltage periods in this study were significantly longer than those mentioned previously. According to Fig. 3, it is obvious that the application of AO7-only anolyte produced a negligible amount of voltage. This highlights the important role of the dairy by-products in the enhancement of electrical energy production in MFCs. In the previous work, the maximum voltage for an H-type MFC with pyruvate (1 g.L−1) + casein hydrolysate (500 mg.L−1) + AO7 (150 mg.L−1) as the carbon source was 250 mV (Mani et al. 2017a). Venkata Mohan et al. (2010) investigated the power generation from dairy wastewater in a single chamber MFC at continuous mode and obtained a maximum voltage of 308 mV in the loading of 4.44 kg COD/m3.

Power density and polarization curves

Power density and polarization curves are used to evaluate the performance of MFC systems. The polarization curve is a plot that shows voltage changes versus current density data. These data are obtained by changing the external resistance values from the infinite to low amounts producing certain voltage and current outputs at each resistance quantity (Logan 2008). The polarization curve consists of three parts. The first part appears in the low current density region due to the charge transfer overpotential. The second region relates to the ohmic voltage losses occurring slowly and is linear in most of the cases. The third part of the polarization curve refers to the mass transfer overpotential and concentration polarization (Logan et al. 2006; Zhao et al. 2009). The obtained results for this study are illustrated in Fig. 4 in which the polarization curves with three parts are obvious. According to Fig. 4, the power densities of 40.93 mW.m−2 in 128 mA.m−2, 44.04 mW.m−2 in 132 mA.m−2, and 12.26 mW.m−2 in 70 mA.m−2 were achieved for MFCs with milk + AO7, cheese water + AO7, and yogurt water + AO7, respectively. Therefore, milk and cheese produced higher power densities. The maximum power density for AO7 decolorization in the presence of different co-substrates was investigated by Fernando et al. (2012) and a 300-mg.L−1 corn-steep liquor had the maximum power density equal to 19.28 mW.m−2 for 195 mg.L−1 of dye. Lai et al. (2017) investigated the decolorization of AO7 in a single chamber MFC with the laccase-producing white-rot fungus. Here, the produced laccase had the role of co-substrate, and the maximum power and current densities were 13.38 mW.m−2 and 33 mA.m−2, respectively. Therefore, the obtained results in our investigation showed that the power density of the MFCs with dairy products and AO7 had good performance compared with the literature (Table 2). The stable output power in a wide range of current density in the yogurt water + AO7 MFC system can be due to dominant ohmic resistance and low ionic conductivity of substance. The nonlinear state as can be seen in the polarization curve of cheese water + AO7 may be caused by the current independent parameters and electrode overpotentials beside the ohmic resistance (Logan et al. 2006).

Fig. 4
figure 4

Polarization and power density curves of MFCs with different kinds of anolyte. Initial dye concentration = 150 ppm, initial COD = 2000 ppm O2, electrode distance = 6 cm at different external resistances (left Y- and right Y-axes correspond to power density and voltage, respectively)

Table 2 The comparison of the maximum power density of different carbon source in MFCs

Coulombic efficiency

Coulombic efficiency in MFC systems is a parameter expressing the ratio of the coulombs transferred to the anode to the total coulombs produced as a result of the oxidation of the substrates (Logan 2008; Hassan et al. 2017). The side reactions consume some of the electrons and prevent transferring those electrons from an external circuit; therefore, just some parts of the total coulombs take part in the current production (Mani et al. 2017a).The coulombic efficiencies calculated for different anolytes in this work are reported in Table 3. The maximum coulombic efficiencies of milk + AO7 and cheese water + AO7 MFCs were equal to 1.7 and 1.76%, respectively, which are comparable with and even better than those reported for dye + pyruvate + casein hydrolysate (1.13%) and dye + glucose (0.501%) (Fang et al. 2017; Mani et al. 2017a).

Table 3 Comparison of MFC results using different anolytes

MFC performance in wastewater treatment

COD removal and decolorization efficiency

COD removal and decolorization efficiencies are two important parameters for evaluating the capability of the MFC systems which treat the colored wastewaters. The mechanism of the azo dye biodegradation and the MFC operation remains vague, unclear, and unexplored. The output voltage and AO7 decolorization can be affected with several anaerobic microbial activities including methanogenesis, fermentation, and denitrification, while the AO7 decolorization and electricity production compete with the other microbial activities in the electron consumption (Fernando et al. 2012; Thung et al. 2018). The highly charged AO7 structure and its large molecular size prevent the penetrating the dye molecules into the non-polar cell membrane of microorganisms; therefore, the extracellular electron transfer mechanism takes place for reductive destruction of the azo bond (–N=N–) of AO7 (Fernando et al. 2012, 2014b; Thung et al. 2018). This mechanism results in a negligible AO7 decolorization. When the dairy co-substrates are added, they act as electron donors for AO7 reduction. During AO7 reduction (Eq. 5) some intermediate compounds, e.g., sulfanilic acid and 1-amino 2-naphthol, are produced (Chen et al. 2010; Fernando et al. 2012, 2014b; Galai et al. 2015) that can act as the electron carriers to accelerate the decolorization and bioelectricity generation (Hsueh et al. 2014).

$$ \mathrm{R}-\mathrm{N}=\mathrm{N}-\mathrm{R}\acute{\mkern6mu}+4\ {\mathrm{e}}^{-}+4\ {\mathrm{H}}^{+}\to \mathrm{R}-{\mathrm{NH}}_2+\mathrm{R}\acute{\mkern6mu}-{\mathrm{NH}}_2 $$
(5)

Figure 5 and Table 3 show COD removal and decolorization efficiencies of the first and the second cycles of the MFC. Maximum COD removal was 84.56% in the yogurt + AO7 MFC and maximum decolorization efficiency was 93.65% for milk + AO7 MFC. In all the cases, more than 75% decolorization and 55% COD removal efficiencies were attained. The COD removal and decolorization efficiencies of 72.84 and 92.18% for cheese water + AO7 MFC indicate its good performance. The dairy wastewater or anolyte components may have absorbance interferences with AO7. As a result, the real AO7 decolorization efficiency is more than that was reported. In other words, we reported the least probable decolorization efficiency. In an MFC with an anolyte constituting solely from AO7, only 20% of decolorization was achieved after 80 h showing the important role of the dairy by-products in the enhancement of decolorization efficiency. The decolorization efficiency was stable during two cycles, especially for milk and cheese water + AO7 MFCs. Fernando et al. (2012) obtained the decolorization and COD removal efficiencies of 98 and 73.7%, respectively, for an AO7 solution (350 mg.L−1) in the presence of 500 mg.L−1 casein hydrolysate and 20 mM sodium pyruvate.

Fig. 5
figure 5

COD removal and decolorization efficiency in different cycles of MFCs with different anolytes. Initial dye concentration = 150 ppm, initial COD = 2000 ppm O2, electrode distance = 6 cm, and external resistance = 500 Ω

Cyclic voltammetry

Cyclic voltammetry is an electrochemical analysis that can be applied to investigate the electrocatalytic activity of electrodes. In this study, it was used to evaluate the electrochemical activity of two series of biofilm-coated electrodes; one series was obtained at the end of the adaptation processes, and the second series was obtained at the end of the last cycle of MFC experiments (Fig. 6a, b). According to Fig. 6a, there are no significant redox peaks in the voltammograms; however, the biofilm-coated electrodes showed higher current values, confirming that the formation of the biofilm on the electrodes improved its electrochemical activity. Samsudeen et al. (2015) investigated the performance of a plain graphite plate in the absence and presence of biofilm by cyclic voltammetry. The appearance of redox peaks in voltammograms of the biofilm-coated electrode confirmed its higher electrochemical activity compared with the bare graphite electrode. The biofilm-coated anode in milk + AO7 anolyte presented the most strong redox peak and the highest current value, perhaps it is due to the extracellular electron transfer by the microorganisms of the biofilm (Harnisch and Freguia 2012; Samsudeen et al. 2015), and the membrane-bound cytochromes that transfer electrons across the membrane from the inside of the microbial cell membrane to its outside (Schröder 2007; Islam et al. 2018). Figure 6b illustrates the voltammograms of the anodes that were obtained at the end of the last cycle of the MFC experiments. The redox peaks are obvious for yogurt water + AO7 and milk + AO7 MFCs, while they have higher current values, too. The presence of the substrates, extracellular matrix, formation of reversible redox couples, and the presence of mediators that are reversibly oxidized and reduced during CV tests create redox peaks (Harnisch and Freguia 2012; Islam et al. 2018). In a research with a biofilm-coated graphite felt and a platinum-coated graphite cloth as the anode and the cathode of a dual chamber MFC, respectively, they were used for the decolorization of Direct Red 80 in the presence of brewery wastewater (Miran et al. 2015), and the obtained maximum currents in the cyclic voltammetry tests were less than 10 and − 5 mA, while the values obtained in our work were 30 and − 20 mA for the milk + AO7 anolyte.

Fig. 6
figure 6

Cyclic voltammograms of (a) bare graphite and different biofilm-coated electrodes as a working electrode, Pt as a counter electrode, and SCE as a reference electrode with the scan rate of 10 mV.s−1 in a 50 mM K2HPO4/KH2 PO4 buffer solution; electrodes picked up at the end of the adaptation processes. (b) Anodes of different MFC anolytes. Anode and cathode of MFC as working and counter electrodes, respectively, and SCE as a reference electrode at the scan rate of 10 mV.s−1, electrodes picked up at the end of the last cycle of MFC experiments

Electrochemical impedance spectroscopy

EIS helps to get important information about the voltage losses due to the ohmic (solution) resistance (Rs), charge transfer resistance (Rct), and Warburg resistance (W) in the electrochemical systems. Generally, the impedance spectrum of an electrochemical system can be presented as a Nyquist plot. In Nyquist plots, the imaginary component of the impedance is plotted against its real component with decreasing frequencies (Barsoukov and Macdonald 2005; Yuan et al. 2010; Dominguez-Benetton et al. 2012). The solution conductivity and the interaction between electrode and solution are important parameters affecting Rs value. Rct depends on the electrode conductivity and appears as a semicircle arc in high frequencies, where its diameter determines the Rct value. The Warburg resistance, caused by mass transfer diffusion, is recognizable by a line at an angle of 45° in the low-frequency area (Varanasi et al. 2016; Gupta et al. 2017). In this work, EIS was performed in a 10 mM K3[Fe(CN)6]/K4[Fe(CN)6] + 0.1 M KCl solution and in the anolyte solution of the MFC as well. The results are presented as Nyquist plots and their equivalent circuits were elicited via EIS Spectrum Analyzer® software (Fig. 7a, b). The Rs, Rct, and W values are displayed in Table 4 based on the equivalent circuits drawn out in Fig. 7 as R1, R2, and W1, respectively. According to Fig. 7b and Table 4, the amounts of R1, R2, and W1 decreased significantly for the biofilm-coated electrodes compared with the bare graphite in the anolyte solution of MFC. The Rs values should be the same for all the electrodes immersed in the same solution; nevertheless, the biofilm-coated electrodes have fewer values due to the less resistance in electrode–solution interfaces (Modi et al. 2016). Biofilm formation can accelerate and catalyze the electron transfer to the anode and reduce its overpotential (Mehdinia et al. 2014; Varanasi et al. 2016).

Fig. 7
figure 7

Nyquist plots and the equivalent circuits of bare graphite and biofilm-coated electrodes in 0.01–100 kHz frequency range: a 10 mM K3[Fe(CN)6]/K4[Fe(CN)6] + 0.1 M KCl solution; b anolyte solution

Table 4 EIS results of bare graphite and biofilm-coated electrodes in 0.01–100 kHz frequency range

Conclusion

In this study, the application of MFC technology for the simultaneous electrical energy production and the treatment of the mixture of dairy products and dye solution was investigated. The results show that by using the dairy by-products as the co-substrate of the anolyte, a biofilm with rod-shaped microorganisms successfully coats the anode surface. Considering the CV graphs, the redox peaks and high current values are obvious for yogurt water + AO7 and milk + AO7 MFCs confirming their high electrochemical activity. Cheese water + AO7 and milk + AO7 MFCs exhibit high COD removal and decolorization efficiencies. Cheese water + AO7 MFC shows the maximum power density and voltage output, while milk + AO7 MFC possesses a more stable voltage. The power density and the voltage of milk + AO7 MFC are very close to cheese water + AO7 MFC. According to the findings of this work, AO7 decolorization and electricity production are successfully achievable in the presence of dairy by-products.