This document outlines Eugene Odum's principles of energy ecology and their application to greenhouses and local food supply. It discusses using passive solar design and natural processes to efficiently capture and store energy for greenhouse use. Different greenhouse growth systems and materials are evaluated. Optimizing orientation, insulation, ventilation and thermal mass can reduce energy demands. Greenhouses combine human and natural ecologies to locally generate and save energy while enhancing food security in a carbon-neutral way.