Mass and energy flow in closed ecosystems.