Exergy Transfer by Heat, Work and Mass