Modeling of two membrane bioreactor processes to evaluate methane production for power generation. The two approaches compared include an aerobic membrane bioreactor coupled with a traditional anaerobic digester plus direct treatment by an anaerobic digester.