Renewables supply Portugal with about 47% of its energy needs.