energy output optimization