Biofilm model for "Experimental and computational investigation of biofilm formation by Rhodopseudomonas palustris growth under two metabolic modes"