The baseline design for the process is illustrated in Figure . The front-end is comprised of an AD system that takes in raw manure and produces biogas along with digestate. The biogas is sent to a pair of scrubbers to remove any H2S, a corrosive compound that can damage downstream units, and CO2 present. The resulting product is a high-purity methane (CH4) stream that is either exported or routed to a cogeneration unit where it is mixed with air and combusted to generate electricity and heat. The products of methane combustion, a flue gas composed of N2, H2O, and CO2, are then mixed with the scrubbed CO2 and routed to the b-PBRs where the CO2 can be absorbed by the cyanobacteria via photosynthesis. The fraction of biogas exported off-site (sold to generate revenue) can be varied depending on market conditions, such as gas and electricity prices, capital costs of the power generation system, and the utility demands of the farm. In our baseline design, we set the export fraction to 71% of the biogas produced. This allows us to generate enough CO2 to meet the carbon requirements of the cyanobacteria cultivation system.