Yes, the Spanish law doesn't give a fixed rate. I've found it virtually impossible to understand.
There is a more recent law passed in 2007, and it's laid out in terms of maximums and minimums. But, I still don't understand it entirely. Part of it is regulated tariff and a premium for the first 15 years. And I'll give my consent to any government that does not deny a man a living wage-Billy Bragg
It does (or did -- I haven't looked up the latest version), at least fixed on an annual basis. As one of two possible choices for selling the electricity produced. For the other, the spot market version, the premium has a part that is fixed (again for a year), but there is a correction factor taking grid losses into account.
I've found it virtually impossible to understand.
If that helps, I found that amazingly, there are full English translations up on the net.
There is a more recent law passed in 2007
Apparenlty there were almost annual updates, including the one with the big cut in PV. *Lunatic*, n. One whose delusions are out of fashion.