Zaslat SMS: Bioenergetics of autotrophs and heterotrophs