ÁNGEL MIRALDA was proud of his 320 solar panels in a field near Benabarre, in northern Spain. They added 56 kilowatts of clean-energy capacity to a country that depended on oil imports.