Balancing algal photosynthesis, O2 consumption, and H2 recycling for sustained H2 photoproduction in pulse-illuminated algal cultures