Analysis of Energy Markets and Environmental Regulation