Linking energy flow with element cycling