A worker cleans the panels in a solar power park run by the Costa Rican Electricity Institute (ICE) as the power company has managed to produce all of the electricity for the nation from renewable energy sources for more than 80 days straight on March 26, 2015 in Guanacaste, Costa Rica.

One by one, Japan is turning off the lights at the giant oil-fired power plants that propelled it to the ranks of the world's top industrialized nations. With nuclear power in the doldrums after the Fukushima disaster, it's solar energy that is becoming the alternative.

Solar power is set to become profitable in Japan as early as this quarter, according to the Japan Renewable Energy Foundation (JREF), freeing it from the need for government subsidies and making it the last of the G7 economies where the technology has become economically viable.