text: The challenge for Spain was to transform that free resource into an industry that made economic sense and attracted investors. The first problem lawmakers encountered was price. Solar power, like wind and other renewable-energy sources, cant yet compete on price against electricity generated from natural gas or coal.