Introduction

An electrochemical cell that employs bacteria as biocatalyst is called microbial fuel cell (MFC) [1]. An MFC can treat wastewater containing organic matters, which bacteria can consume, while simultaneously generating electricity. Molasses, as a by-product of cane sugar production process, has extensively been used to produce renewable energy such as ethanol and biogas. Wastewater from molasses-based distilleries can potentially be a substrate for MFCs [2].

Microbial fuel cells typically appear in two configurations: two chambers separated by a proton exchange membrane (PEM) or a single chamber. The focus here is in a membraneless single-chamber MFC [3]. The MFC has a cathode electrode with one side in contact with the liquid, while the other side is directly exposed to air. Oxygen in the air can passively diffuse through the cathode and involve in the reaction of oxygen reduction. This process requires no liquid aeration, which is energy intensive, thus saving cost and energy. A study [3] showed that the air–cathode MFC produced higher power output in the absence of PEM, which can obstruct the flow of protons. PEMs are also generally quite expensive. As a result, a membraneless single-chamber MFC is simple and inexpensive to build. Figure 1 shows a conceptual diagram of the MFC having molasses, of which primary sugar is sucrose (C12H22O11) [4], as a main source of energy.

Fig. 1
figure 1

A conceptual diagram of a membraneless single-chamber MFC

Computational simulation of an MFC requires a mathematical model that can predict the output and performance of the MFC. Knowledge in electrochemistry, reaction kinetics, and mass transport is required to derive the model. Various attempts to develop simulation models of biofilm on anode and two-chambered MFCs have been discussed [58]. The biofilm model only explained a portion of the MFC process, while this paper presents a model describing the entire process of a single-chambered MFC. This type of modeling has never been reported in any literature. Here the results from a computational simulation based on the model are reported, in contribution to an ongoing study on the kinetic nature of the MFC process.

Methods

For the MFC simulation of interest, the cathodic reaction was the reduction of oxygen [1] as follows:

O 2 + 4 H + + 4 e - 2 H 2 O
(1)

Sucrose was assumed to be the main substrate for the MFC, and made up about 50 % by weight of molasses [9]. With a similar stoichiometric approach as the oxidation of acetate [1], the equation for the oxidation of sucrose was derived. The anodic reaction is then given as follows:

C 12 H 22 O 11 + 25 H 2 O 12 HCO 3 - + 60 H + + 48 e -
(2)

The simulation was developed using Visual Basic program. The simulation program was mainly divided into two sequential segments; cathode and biofilm/anode. Each segment has a number of equations to be solved. The calculated outputs of the former segment were used by the latter.

Cathode

The cathode was assumed to have a layer of polytetrafluoroethylene (PTFE), which is permeable to oxygen but not water. The concentration profile of oxygen in the layer, which was a function of both time and location, was calculated using Fick’s second law of diffusion [10] as follows:

t O 2 PTFE = D O 2 , PTFE 2 y 2 O 2 PTFE
(3)

where

O 2 PTFE :

concentration of oxygen in the PTFE layer, mmol dm−3

D O 2 , PTFE :

diffusivity of oxygen in PTFE, μm2 min−1

y :

location in the PTFE layer, μm

Presumably, only oxygen molecules that completely diffused through the PTFE layer and became dissolved in water could be reduced to yield water molecules. The reduction reaction thus occurred only at the cathode/liquid interface. The rate of oxygen reduction was speculated to follow the Monod equation and the Butler–Volmer equation [7, 11]. The two equations were thus combined into the following equation.

r O 2 = k O 2 O 2 cat / liq K O 2 + O 2 cat / liq exp 1 - α cat γ e - / O 2 F RT E cat - E cat o
(4)

where

r O 2 :

rate of oxygen reduction per area, mmol dm−2 min−1

k O 2 :

rate constant of oxygen reduction per area, mmol dm−2 min−1

[ O 2 ] cat / liq :

concentration of oxygen at cathode/liquid interface, mmol dm−3

K O 2 :

half velocity constant for oxygen, mmol dm−3

α cat :

electron-transfer coefficient of cathode

γ e - / O 2 :

electron equivalence of oxygen, mmol-electron mmol-oxygen−1

F :

Faraday’s constant, C mol−1

R :

gas constant, J mol−1 K−1

T :

temperature, K

E c a t :

cathode voltage, V

E cat o :

standard cathode voltage, V

The cathode voltage was calculated using the Nernst equation as follows [1]:

E cat = E cat o - RT γ e - / O 2 F ln 1 O 2 cat / l i q H + cat / l i q 4
(5)

where

[ O 2 ] cat / l i q :

concentration of oxygen at cathode/liquid interface, mol dm−3

H + cat / l i q :

concentration of hydrogen ion at cathode/liquid interface, mol dm−3

Biofilm/anode

Sucrose was assumed to be the main substrate consumed by the bacteria, which were localized and dispersed throughout the biofilm. The biofilm was assumed to conduct electrons and considered to be part of the anode [5, 8, 11]. The rate of sucrose consumption was the same as the rate of exogenous respiration by the bacteria. The rate was described by the Nernst–Monod equation [5, 8] shown below. The active biomass referred to the live bacteria.

r exo = ρ b μ b X b Y b γ COD / Suc · Suc bio K Suc + Suc bio · 1 1 + exp - F RT η
(6)

where

r exo :

rate of exogenous respiration in biofilm, mmol dm−3 min−1

ρ b :

density of active biomass, mg-VS dm−3 (VS, volatile solids, a measure of biomass)

μ b :

specific growth rate of active biomass, min−1

X b :

volume fraction of active biomass (unitless) =  volume\;of\;active\;biomass bulk\;volume

Y b :

active biomass growth yield, mg-VS mg-COD−1

γ COD / Suc :

COD equivalence of sucrose, mg-COD mmol-sucrose−1

[ Suc ] bio :

concentration of sucrose in biofilm, mmol dm−3

K Suc :

half velocity constant for sucrose, mmol dm−3

η :

local potential in biofilm, V

Along with the exogenous respiration, from which the bacteria obtained most energy, the endogenous respiration, by which the bacteria oxidized their own cellular mass, provided additional energy. The rate of endogenous respiration was described as follows [5, 8]:

r endo = b endo ρ b X b 1 1 + exp - F RT η
(7)

where

r endo :

rate of endogenous respiration in biofilm, mg-VS dm−3 min−1

b endo :

endogenous decay coefficient of active biomass, min−1

Based on the steady-state electron balance and Ohm’s law, the local potential, which was the driving force for electron movement in the biofilm, was calculated using the balance equation as follows [5, 8]:

κ bio 2 z 2 η - F τ υ γ e - / Suc r exo + γ e - / b r endo = 0
(8)

where

κ bio :

biofilm conductivity, mS μm−1

z :

location in biofilm, μm

τ :

time conversion = 60 s min−1

υ :

volume conversion = 1015 μm3 dm−3

γ e - / Suc :

electron equivalence of sucrose, mmol-electron mmol-sucrose−1

γ e - / b :

electron equivalence of active biomass, mmol-electron mg-VS−1 (assuming C5H7O2N for VS [5])

The local voltage in the biofilm was related to the local potential and described by the following equation [5]. The local voltage at the biofilm/anode interface would be the anode voltage E ano .

E = η + E K ano
(9)

where

E :

local voltage in biofilm, V

E K ano :

Half-max-rate anode voltage, V

The half-max-rate anode voltage was defined as the voltage that occurred when the rate of sucrose consumption was half the maximum rate [5]. The voltage could be described as follows:

E K a n o = E ano o - RT F ln EA ano o K EA
(10)
E ano o :

standard anode voltage, V

EA ano o :

standard anodic concentration of biofilm as electron acceptor = 1 mol dm−3

K EA :

half velocity constant for biofilm as electron acceptor, mol dm−3

The open-circuit voltage of the MFC was determined as follows [1]:

E OC = E cat - E ano
(11)

where

E OC :

open-circuit voltage of MFC, V

In the biofilm, the concentration of sucrose was a function of both time and location. The mass balance of sucrose, as shown in Eq. 12, complied with both the anodic reaction and the diffusion of sucrose from the bulk liquid through the biofilm. In a similar fashion, the mass balances of hydrogen ion and bicarbonate ion were obtained, as shown in Eqs. 13 and 14, respectively.

t Suc bio = D Suc , b i o 2 z 2 Suc b i o - r exo
(12)

where

D Suc , bio :

diffusivity of sucrose in biofilm, μm2 min−1

t H + bio = D H + 2 z 2 H + bio + 60 r exo
(13)

where

H + bio :

concentration of hydrogen ion in biofilm, mmol dm−3

D H + :

diffusivity of hydrogen ion in water, μm2 min−1

t HCO 3 - bio = D HCO 3 - , bio 2 z 2 HCO 3 - bio + 12 r exo
(14)

where

HCO 3 - bio :

concentration of bicarbonate ion in biofilm, mmol dm−3

D HCO 3 - , bio :

diffusivity of bicarbonate ion in biofilm, μm2 min−1

All the parameters applied in the above equations were obtained from various literatures, as shown in Table 1. Some assumptions were made, since not all aspects of MFC have been thoroughly studied yet.

Table 1 Parameters in the simulation of the MFC

Numerical approximation

A numerical approximation technique was required to solve the above differential equations. The selected technique was the implicit finite difference method [10]. For instance, Eq. 3 was transformed into the following equation.

O 2 i , j - O 2 i , j - 1 t j - t j - 1 = D O 2 , PTFE O 2 i + 1 , j - 2 O 2 i , j + O 2 i - 1 , j z i - z i - 1 2
(15)

where

i :

index indicating location i

j :

index indicating time j

Equation 15 was rewritten into an equation of vectors and matrices that contained the values of the concentration of oxygen at every location in the PTFE layer. For example, if the layer is partitioned to consist of four locations inside, Eq. 15 then becomes the following equation. The subscript t indicates that all the concentrations in the vector are at time t.

1 Δ t O 2 1 O 2 2 O 2 3 O 2 4 t - O 2 1 O 2 2 O 2 3 O 2 4 t - Δ t = D O 2 , PTFE Δ z 2 - 2 1 0 0 1 - 2 1 0 0 1 - 2 1 0 0 1 - 2 O 2 1 O 2 2 O 2 3 O 2 4 t - O 2 0 0 0 O 2 5
(16)

where

Δ t :

t j - t j - 1  = time interval

Δ z :

z i - z i - 1  = distance interval

Equation 16 could be rewritten into an abbreviated general form as follows:

1 Δ t O 2 ̲ t - O 2 ̲ t - Δ t = D O 2 , PTFE Δ z 2 A O 2 ̲ t - a ̲
(17)

Equation 17 was then rearranged into the form of B x ̲ = b ̲ . Since the matrix B was a tridiagonal matrix, an algorithm for solving a tridiagonal system by elimination [17] was applied to solve for the vector x ̲ , which was O 2 ̲ t in this case, as shown in the following equation.

I - Δ t D O 2 , PTFE Δ z 2 A O 2 ̲ t = O 2 ̲ t - Δ t + Δ t D O 2 , PTFE Δ z 2 a ̲
(18)

where

I :

identity matrix

Results and discussion

The MFC simulation program accepted inputs including the initial amount of sucrose, pH, operation time, temperature, and biofilm thickness. The program allowed the user to modify values of some parameters, if more accurate values were acquired. Figure 2 shows some screen captures of the program. The program displayed the results in two formats; tables and plots. The results included, for example, the concentration of sucrose in the bulk liquid, the concentration of oxygen in the PTFE layer, the concentration of sucrose in the biofilm layer, the cathode and anode voltages, and the MFC open-circuit voltage.

Fig. 2
figure 2

Examples of screen captures of the MFC simulation program: the main window (a), the input window of the bulk liquid (b), and the result window (c)

Plots of sucrose concentration in the bulk liquid at various initial levels of chemical oxygen demand (COD) of molasses are shown in Fig. 3. The higher initial COD level of molasses resulted in the higher initial rates of diffusion into the biofilm and bacterial consumption of sucrose. The sucrose concentration quickly decreased in the first 50 min, slowly decreased at later time, and almost became steady eventually.

Fig. 3
figure 3

Plots of sucrose concentration in the bulk liquid over time at different initial concentrations of molasses

The concentration profiles of oxygen in the PTFE layer at different times are shown in Fig. 4. Thickness of the layer was assumed to be 100 μm. Oxygen concentration in the air was assumed to be in excess and thus constant. The bulk liquid was depleted of oxygen since it was completely consumed in the reduction reaction. As shown in the plots, the concentration almost quickly reached the linear saturation line in the first few minutes. The oxygen profile in the PTFE layer remained unchanged and unaffected by the changing sucrose concentration throughout the MFC operation.

Fig. 4
figure 4

Plots of oxygen concentration in the PTFE layer (100 μm thick) at different times

The concentration profiles of sucrose in the biofilm layer are shown in Fig. 5. The biofilm thickness was assumed to be 60 μm [18] and the initial COD level of molasses in the bulk liquid to be 10,000 mg/L. The sucrose concentration quickly increased in the early period due to the diffusion of sucrose from the bulk liquid into the biofilm layer. The concentration eventually remained almost constant, since it was not different from the sucrose concentration in the bulk liquid, and thus it reached saturation. The rate of sucrose consumption by the bacteria was not as fast as the diffusion rate of sucrose.

Fig. 5
figure 5

Plots of sucrose concentration in the biofilm layer (60 μm thick) at different times. The initial COD level of molasses in the bulk liquid was 10,000 mg/L

The local voltage profiles in the biofilm layer are shown in Fig. 6. The local voltages gradually decreased, becoming more negative over time, as the rate of electron generation by the respirations increased due to more sucrose molecules diffused into the biofilm. Although the plots did not show it clearly, the voltages close to the anode were slightly higher than those close to the bulk liquid. As a result, the generated electrons flowed toward the anode with the higher voltage, and the electric current flowed in the opposite direction. The local voltage became more negative when increasing the initial COD level of molasses, but the difference in the magnitudes was very small.

Fig. 6
figure 6

Plots of local voltage in the biofilm layer (60 μm thick) at different times. The initial COD level of molasses in the bulk liquid was 10,000 mg/L

The effects of cathode thickness and biofilm thickness on the open-circuit voltage of the MFC are presented by plots in Fig. 7. The voltage values were obtained at 60 min. For the results in Fig. 7a, the biofilm thickness was kept at 60 μm, and the thickness of the PTFE layer was varied between 50 and 300 μm. As the thickness increased, the concentration of oxygen molecules that diffused through the cathode and participated in the reduction reaction decreased. This led to the lower cathode voltage, and thus the lower open-circuit voltage. The higher COD level of molasses resulted in the higher voltage, since more hydrogen ions were produced from the oxidation of sucrose and participated in the reduction.

Fig. 7
figure 7

Plots of the open-circuit voltages as a function of thickness of the PTFE layer (a) and thickness of the biofilm (b) at different initial COD levels of molasses

For the results in Fig. 7b, thickness of the PTFE layer was kept at 100 μm, and the biofilm thickness was varied between 10 and 260 μm. As the thickness increased, more bacteria were available to oxidize sucrose, which resulted in more produced electrons, the lower anode voltage, and the higher open-circuit voltage. The higher COD level of molasses resulted in the higher voltage, since more sucrose molecules were oxidized. The difference in the biofilm thickness had a greater effect on the voltage at the higher COD levels. Perhaps at the low amount of sucrose molecules, they were mostly consumed by the bacteria near the bulk liquid. As a result, the thicker biofilm with more bacteria did not result in a significant difference. In addition, if the biofilm were too thin, the bacteria in small numbers could not keep up with the high amount of sucrose. The voltage thus hardly increased with the increasing amount of sucrose.

When comparing between the effects of the PTFE layer and the biofilm on the voltage, at the COD levels >5,000 mg/L changing thickness of the biofilm resulted in a more significant effect on the voltage than changing thickness of the PTFE layer. The biofilm involved both the diffusion and bacterial oxidation of sucrose, while the PTFE layer only involved the diffusion of oxygen. The reduction of oxygen should only occur at the cathode/liquid interface.

Sevda et al. [19] studied air–cathode MFCs operating on molasses mixed sewage wastewater. Modeling after the reported MFC, several simulation parameters were adjusted. A few assumptions, however, had to be made, since certain parameters of the MFC system were not reported. With the COD level of 9,968 ± 32 mg/L, the reported MFC could yield an open-circuit voltage of 750–771 mV. At the same COD level, these numbers were lower than the voltage estimated by the simulation program, which could only go down to about 1,000 mV. Model validation with more experimental data and more accurate model parameters are needed, before the program can be used in prediction and optimization of the MFC performance in practice. Nevertheless, the simulation results regarding the kinetics of the MFC seemed to agree with the theories and provided better understanding of the process.

Conclusions

The simulation program was able to compute and provide the concentration profiles of sucrose (the main component of molasses) and an open-circuit voltage of the MFC. As the cathode thickness decreased or the biofilm increased, the voltage increased. The biofilm thickness had a greater effect on the voltage than the cathode thickness when the initial COD levels were >5,000 mg/L.