Before the solar/wind revolution, Portugal had generated electricity from hydropower plants on its rivers for decades