A formalism for simulating coupled metabolic and electrophysiological processes is presented. The resulting chemical kinetic and electrophysiological equations are solved numerically to create a cell simulator. Metabolic features of this simulator were adapted from Karyote, a multi-compartment biochemical cell modeling simulator. We present the mathematical formalism and its computational implementation as an integrated electrophysiological-metabolic model. Applications to Geobacter sulfurreducens in the environment and in a fuel cell are discussed.