TECHNOLOGY FOCUS - BIOLOGY - Preferred System: The feedstock to the photobioreactor system is an exhaust gas from an external system. The external system is chosen from biomass pyrolysis system, energy conversion system, anaerobic bioreactor, and flue gas stack. The feedstock to the photobioreactor system is at least a portion of the fertilizer output from the anaerobic bioreactor system. The plant life irrigation water is received from reclaimed water from a biomass pyrolysis system. The photobioreactor receives reclaimed water from a biomass pyrolysis system. The enclosure is designed to receive solar energy. The enclosure is designed to receive heat from at least one of external system, hydronics system, and geothermal heat. The system has managed inputs and outputs. The biorefinery system further comprises control system including several autonomous agents for controlling several components in the system. The control system may be reactive, predictive, adaptive, or their combinations. The control system may be adaptive by using a solution process chosen from goal-directed behavior models, heuristic algorithms, and fluents. The solution process is competent to adapt to changes in its environment. The control system may receive information from another biorefinery system. The photobioreactor system further receives at least one of heat, nutrients, and solar energy to grow the algal colony. The algal colony is periodically harvested to produce an algal harvest. The algal harvest is consumed by at least one of an anaerobic bioreactor to produce nitrogenous fertilizer or an energy conversion system. The raceway system includes a mixing system including a mixing device and at least one divider in each raceway. The raceway system includes a mixing system including a mixing device and at least two dividers in each raceway. The photobioreactor system further comprises dewatering system for dewatering the algal colony. The water from the dewatered algal colony is returned to the raceway for inoculation. The dewatered algal colony is delivered to an anaerobic bioreactor system for digestion. The product has pH of 5.4-9.6. At least one of the autonomous agents mimics the biological system's ability to evolve and adapt to changes in its environment. The governing agent mimics the biological system's ability to evolve and adapt to changes in its environment. The autonomous agent is competent to continually discover new methods for effecting the change. ACTIVITY - Fertilizer. No biological data given.    MECHANISM OF ACTION - None given.    EXAMPLE - No suitable example given.