Energy Markets and Planning