Spain produced 37% of its electricity from renewable energy sources in August, Spanish grid operator Red Electrica de Espana (REE) said in the latest estimates report.