optimal energy conversion