Failure modes, causes, and effects of algal photobioreactors used to control a spacecraft environment.