Introduction

Fuel cells are a new technology for generating energy, which generates eco-friendly high-efficiency electrical energy from a direct combination of fuel and oxidant without causing pollution. During the last two decades, microbial fuel cell (MFC) technology has rapidly grown due to the direct conversion of chemical energy into electrical energy. This technology is important for treating wastewater due to the inexpensive and accessible resources for supplying raw materials for these reactors and producing valuable energy and fuel such as hydrogen gas (Fan et al. 2008).

The MFC consists of the anode and cathode electrodes separated by a proton exchange membrane. The fuel and the oxidant enter the anode and cathode chambers in these cells, respectively. Oxidation and reduction reactions will then occur at the anode and cathode chambers, correspondingly (Logan 2008). Bacteria in the anode decompose the substrate into positive and negative ions, and an ion-conducting electrolyte transfers ions from the anode to the cathode. Afterward, the electrons move through an external circuit to the cathode, where the combination of the positive and negative ions causes the production of water and carbon dioxide (Kirubakaran et al. 2009). Under aerobic conditions, microorganisms produce carbon dioxide and water by consuming the substrate, but protons and electrons are produced under anaerobic conditions. Since microbes must be kept far from oxygen to generate electricity, the anode chamber must be isolated against oxygen infiltration. By using acetate as the substrate, the reactions in the cathode and anode chambers are done as follows.

Anodic reaction: CH3COO– + 2H2O → 2CO2 + 7H+ + 8e − 

Cathodic reaction: O2+ 4H+ + 4e−  → 2H2O.

Among various types of MFCs, single-chamber, dual-chamber, tubular, and upflow are considered the most important MFCs. However, single-chamber MFCs are superior to other types due to their simple design, flexibility, and low internal resistance (Rabaey et al. 2003).

The main component of an MFC is the bacteria with electrical activity or biocatalysts. Different microorganisms such as Geobacter sulfurreducens, Shewanella oneidensis, Rhodoferax ferrireducens, and Aeromonas hydrophila, mostly gram-negative, have been used for generating electricity in the cells (Logan et al. 2019). The performance of an MFC is highly dependent on the substrate, electron transformation (from bacteria to the electrodes), ion diffusion, salinity, temperature, and pH (Mishra et al. 2017; Tremouli et al. 2017).

Bacteria transfer electrons from the cell surface to the electrode surface in two ways, described as follows. The first method is the direct electron transfer using active redox proteins such as cytochromes located on the outer surface of bacterial cell membranes and microbial nanowires. The second method is the mediated electron transfer using electron shuttles such as Flavin’s or shuttles added to the environment (Logan and Regan 2006; Kumar et al. 2016; Prathiba et al. 2022).

Many studies reveal that microorganisms and anode materials transmit electrons through direct electron transfer and mediated electron transfer modes of electron transfer processes (Prathiba et al. 2022). Electrons are transmitted directly from biological substances to electrode materials in direct electron transfer. This method, therefore, requires enough direct physical contact between the electrode material and the microbial membrane (Lovley 2006a). Research-based evidence has confirmed Geobacter sp., Shewanella sp., and Rhodoferax sp. as efficient microbial treatments in direct electron transfer mechanism ((Lovley 2006b; Lovley and Nevin 2013; Prathiba et al. 2022). Redox proteins, called C-type cytochromes, facilitate electron transport to the external section of the terminal electron acceptor (Busalmen et al. 2008). Mediated electron transfer, also called the indirect mode of electron transfer, employs a redox carrier as a transporter to move electrons from a source to a destination. Redox mediators of this type often collect electrons from the microbial cell delivered in the reduced state and transfer these electrons to anode materials oxidized in the microbial fuel cells. The electrons in these oxidized phases were, then, free to begin the subsequent process of electron transfers (Prathiba et al. 2022).

The nutrients in the culture medium, the cellular structure of the cell, bacterial genetics and the membrane's permeability, and the electrodes' potential are considered as some solutions used for increasing the efficiency of the MFC (Leong et al. 2013). MFCs are widely used for removing pollution from municipal and industrial wastewater. In addition to these systems' ability to oxidize and decompose organic matter in wastewater, they have a high potential to generate electricity. In the decomposition process of organic matter, plants can also be effective in addition to microorganisms, among which Arundinella anomala and Spartina anglica are considered the most important plants (Strik et al. 2008). Recently, the electricity generation by Pachira macrocarpa and Populus alba in the plant microbial fuel cell (PMFC) was reported (Lu et al. 2020). Moreover, Cyperus papyrus has been used in municipal wastewater treatment and has shown a high potential for contaminant removal (Perbangkhem and Polprasert 2010). Development of knowledge and technology on MFC is still progressing, but there has been a need to review the recent knowledge of the bio-electrochemical treatment's electron transfer processes, microbial community, variety of substrates, and design to understand the future directions and Parthiba et al. (2022) has recently filled this research gap.

The present study aimed to evaluate the effect of factors including distance and size of the electrode and inoculation volume on the amount of electricity generation in the plant MFCs fed from the municipal wastewater of Mashhad. The intended system was designed and commissioned based on the plants of the Poaceae family and Shewanella sp. bacteria, the role of which is known in wastewater treatment and electricity generation. Considering the effective function of bacteria and plants in removing pollution, it is obvious that using a combination of microbes and plants not only can solve a significant part of the problems caused by pollution of municipal and industrial wastewater but also can be efficient in generating electricity.

Materials and methods

In this study, Cyperus papyrus was obtained from Zeribar Lake, located in Kurdistan province, and transferred to the microbiology laboratory of the biology department of Ferdowsi University of Mashhad.

Cyperus

Cyperus papyrus plant belongs to the Cyperus family, which is abundant in Europe. This plant is morphologically classified in the narrow-leaved group (Poaceae). Cyperus papyrus photosynthetically belongs to C4 plants. Due to the rhizosphere's release of significant photosynthetic products, this plant can supply the hydrocarbons required to the electrogenic bacteria existing in the plant MFCs (Gulamhussein and Randall 2020).

Bacteria strains

Due to the high potential of Shewanella bacteria in generating electricity, the lyophilized sample of Shewanella oneidensis strain (Identification code IBRC-M10991 2018.02.04) was obtained from the Iranian National Center for Genetic Resources, cultured and regenerated in Tryptic Soy Broth (TSB), and ensured its purity. It was then cultured in the required amount in TSB medium and incubated at 30 °C and 200 rpm for 24 h to use in the fuel cell (Juliastuti et al. 2018). A 10-L bacterial suspension was made from the McFarland standard for investigating the effects of all experimental parameters.

Sampling

This study obtained samples from Khin Arab municipal wastewater treatment plant located in Mashhad, Khorasan-e Razavi province. The samples were then transferred to the laboratory and stored at room temperature (25 °C) to conduct the research.

Designing the plant microbial fuel cells

This study used dual-chamber PMFCs, the chambers of which were made of Plexiglass with a 2 mm thickness. In this cell, the anode and cathode chambers were separated by Plexiglas Spacers and completely sealed. PTFE membrane (FiltraTECH-France) with a diameter of 4 cm was used for the anion-cation exchange. Graphite plates fabricated the electrode with a thickness of 0.2 mm with 99% purity (made in Taiwan). Moreover, copper wires were used as the connector between the electrode and the electrical circuit to close the electrical circuit and measure the current and generated voltage (Abdel-Hady et al., 2010). In the next step, 500 ml of 1 mM sodium acetate solution buffer (pH = 7) was equally injected into different locations of the anode region using a syringe (Kaku et al. 2008) (Fig. 1).

Fig. 1
figure 1

A A schematic representation of the plant bacterial fuel cell packs; B a zoomed section of the cellular pack; C a section view of (B). 1: mesh basket plant holder; 2: the location where the PTFE proton exchange membrane is installed; 3: graphite-based half-cell cathode; 4: graphite-based half-cell anode

Effect of different factors on the amount of electricity generation and wastewater treatment

Various impacts of factors, including electrode surface area (2 × *2, 4 × *4, and 6 × *6 cm2), the distance of anode electrodes (2, 4, and 6 cm), and bacterial inoculation volume (2.5 L and 5 L), were examined on the voltage, electric current, and reduction of BOD and COD of PMFCs. Voltage and electric current were measured using DOC digital multimeter with the accuracy of 0.0001 A and 0.01 V, respectively (Khudzari et al. 2018). The effect of the parameters was analyzed by Design-Expert version 10, and all the experiments were conducted with three replicates.

Measurement of COD and BOD of wastewater samples

COD and BOD were measured using the COD and BOD meters (Intelligent-China). Shewanella oneidensis was inoculated into a reservoir containing the wastewater sample and worked for five days. After 5 days, BOD and COD were measured. All steps of the test were replicated three times.

Coulombic efficiency

The MFC's Coulombic efficiency (CE) is an indicator that can be used to evaluate the efficiency of fuel cells. This index is the ratio of the total electrons transferred from the anode to the cathode to the total number of electrons produced from sodium acetate's oxidation (Logan 2008).

$${\text{CE}} = \frac{{{\text{Qx}}}}{{{\text{COD}} \cdot F \cdot V \cdot b/M}}$$

In this equation, Qx is the total current, V is the liquid volume (5 L), F is Faraday’s constant (96,485 C/mol of e), b is mol of e produced per mol of O2 (4 mol/mol), and M is the mole mass of O2 (32 g/mol).

Loading the plant microbial fuel cell

In this system, 27 PMFCs (3 electrode distances × 3 electrode areas × 3 replicates) were used successively in the series in three separate transparent chambers. The place of Cypress plants in the cell was designed using four plastic nets per cell with a diameter of 4 cm (Fig. 2).

Fig. 2
figure 2

Initial structure of the plant microbial fuel cell evaluated in this study

Implementing the system of the plant microbial fuel cell

After designing and fabricating the desired PMFCs, the sample of municipal wastewater and Shewanella oneidensis bacteria were loaded in the anodic chamber with a ratio of 7:3 (wastewater/bacteria suspension). Next, the plant samples were sterilized using bleach 5% for 3 min and ethanol 70% for 1 min and transferred to the anodic chamber (Fig. 3).

Fig. 3
figure 3

Final design of plant microbial fuel cell in the presence of wastewater sample and Shewanella oneidensis bacteria

Results and discussion

The Effect of the electrode size on output voltage of the system

The evaluation of the effect of electrode size on the output voltage in this study showed that the output voltage increased by 43% and 58% by increasing the size of the electrodes (area) from 2 × 2 to 4 × 4 and 6 × 6 cm2, respectively. Our results are consistent with the findings of the previous researchers (e.g., Oliot et al. 2017; Wang et al. 2010) in that evaluation of the electricity generation in various bacteria, such as Shewanella sp. demonstrated these bacteria not only generated the highest amount of electricity, but they also had significant roles in reducing environmental risks (Logan et al. 2019). Increasing the electrode's size enhanced electricity generation, and these results are consistent with our study (Oliot et al. 2017). While Wang et al. (2010) and Oliot et al. (2017) have reported the positive impacts of electrode size on generating electricity, there have been other research afterward that have not confirmed such effects for anode size (e.g., Rossie et al. 2019) or further developed the knowledge on cathode and anode performance during the electrical generation (e.g., Ueoka et al. 2016). Ueoka et al. (2016) demonstrate that anodes are the limiting element for generating electricity when the operation starts. However, cathodes become the limiting factor once anode performances are sufficiently raised. Rossie et al. (2019) also revealed that the anode's performance was unaffected when the anode brushes' diameter was decreased from 5.1 to 2.5 cm.

Moreover, other research showed that increasing the size of the electrodes caused an increase in electricity generation (Wang et al. 2010). Studies have shown that increasing the surface area of the anode electrode (electrode size) results in increasing the absorption of electrons from the bacteria and increasing the generation of electricity, which may be related to the accumulation of more bacteria on the surface of the electrode. In other words, more surface is provided to the bacteria for electron transfer. In the present study, electricity generation decreased by increasing the distance since increasing the distance of the anode electrodes caused a decrease in electron transfer due to the formation of nanowires by Shewanella oneidensis bacteria. The generated nanowires have variable lengths and increasing the distance between the electrodes increases the number of these nanowires in the electron transfer path. Therefore, it caused a decrease in the rate of electron transfer and an increase in the time of electron transfer.

Effect of electrode distance on output voltage

The effects of 2, 4, and 6 cm distances between the electrodes were evaluated on the system's output voltage. The findings of this study showed that the electrode distance did not have a significant impact on the output voltage (P-value > 0.05), while previous studies such as Sajana et al. (2013) suggested that the increasing the distance between the electrodes decrease the amount of soluble COD and increasing in electricity generation.

Effect of volume on output voltage

The effect of 2.5 and 5 L inoculation volumes on the system's output voltage was evaluated. The results demonstrated that the inoculated volume failed to significantly affect the output voltage (P-value > 0.05). Figure 4 displays the effect of changing the factors tested in this study on the output voltage of a dual-chamber plant microbial fuel cell.

Fig. 4
figure 4

Effect of combining the parameters on the output voltage of dual-chamber plant microbial fuel cell, a effect of electrode distance and electrode surface on the output voltage, b effect of inoculation volume and electrode surface on the output voltage, and c effect of electrode distance and inoculation volume

Effect of the plant microbial fuel cell on COD and BOD

The experimental results indicate a positive correlation between the duration of electricity generation and the reduction in chemical oxygen demand (COD) and biochemical oxygen demand (BOD) levels in the wastewater sample (Table 1). In a similar study, the plants of the Poaceae family have been used for treating wastewater and affecting the process of removing pollutants. The results demonstrated that these plants stored organic matter in their organs and removed them from water or the plant culture medium (Bui et al. 2018). Recent reports have shown that Shewanella sp. plays a significant role in generating electricity and reducing the COD of wastewater by 62% (Hassan et al. 2018). Logan et al. (2019) also showed that evaluation of the electricity generation in various bacteria, such as Shewanella sp., demonstrated these bacteria not only generated the highest amount of electricity but they also had important roles in reducing environmental risks. In the present study, using the dual chamber, PMFC decreased the COD and BOD of urban wastewater by 61.75% and 93.16%, respectively. Further, Escherichia coli and Shewanella oneidensis bacteria in MFC during 12 days have shown great potential for reducing the BOD of wastewater from sugar factory about 84.53% and 73.77%, respectively (Juliastuti et al. 2018). The Coulombic efficiency of these PMFCs in our study was measured to be 0.66–0.75%.

Table 1 COD and BOD removal of wastewater sample using PMFC

Various methods are used to remove contaminants, the most harmless of which is the biological method which uses microorganisms and plants. As mentioned, different factors, such as the composition of the culture medium, the structure of the fuel cell, bacterial genetics, and an increase in the membrane permeability and electrode potential, considerably influence the performance and efficiency of the MFC. The electrogenic bacteria Shewanella oneidensis released electrons by decomposing the hydrocarbons. These electrons were then collected by a graphite electrode embedded in the MFC in the next stage and were transferred to an electrical circuit to generate electricity. In the MFC, electrons accumulate in the anode electrode. Shewanella oneidensis bacteria transferred the electrons obtained from the decomposition of hydrocarbons to the anode electrode through the nanowires generated in the wastewater. Afterward, the electrons moved through an electrical circuit to the cathode electrode, where the electrons were transferred to the final electron acceptor. The electrons produced in this process were eventually transferred to oxygen or other acceptors through the cathode electrode. The results of previous studies in the literature proved the efficient role of MFC, microorganisms, and various plants such as Poaceae and Euphorbiaceae in the removal and treatment of wastewater and electricity generation (Bui et al. 2018; Adekunle et al. 2017). Therefore, the plant MFC designed in this study is based on the Shewanella oneidensis and Cyperus papyrus. Increasing the size of the electrodes has excellent potential for generating electricity and removing wastewater.

Conclusion

The successful removal of industrial and municipal pollutants from wastewater remains a significant challenge, despite advancements in various scientific and technological approaches. Among the available techniques, biological processes involving microorganisms and plants have emerged as the most environmentally friendly and sustainable solutions. In this research, we designed a dual-chamber plant microbial fuel cell (PMFC) utilizing the electrical-generating capabilities of Shewanella oneidensis bacteria and the purification efficiency of Cyperus papyrus. Through comprehensive experimentation, we thoroughly evaluated the impact of key factors, such as electrode size, electrode spacing, and inoculation volume, on the electricity generation in the PMFC.

One of the key findings of our research is the significant role of electrode size in enhancing the power output of the PMFC. This observation suggests that careful consideration of electrode dimensions can lead to improved electricity production, making this parameter an essential factor in the design and optimization of PMFC systems.

Additionally, we assessed the effects of electrode spacing and inoculation volume, which, interestingly, did not exhibit discernible impacts on the electricity production in our PMFC setup. Furthermore, the PMFC system exhibited an impressive capability to reduce COD and BOD levels in the wastewater samples. This further highlights the potential of PMFCs as a dual-purpose technology, not only for sustainable energy generation but also for efficient wastewater treatment. These findings not only underscore the significance of employing biological approaches in pollution abatement but also emphasize the potential of PMFCs as a sustainable and versatile technology for energy generation and wastewater treatment. By harnessing the bioelectricity generation abilities of Shewanella oneidensis and the pollutant-removing capabilities of Cyperus papyrus, PMFCs present a promising eco-friendly and sustainable solution for environmental remediation. Further research and optimization of PMFC systems can pave the way for sustainable and efficient solutions in the realm of clean energy production and wastewater treatment.