In what is being called an unprecedented decision, solar energy went head-to-head with natural gas in a competitive evaluation for utility resource planning — and solar came out on top.