Repsol has partnered Schroders Greencoat to acquire a 49% stake in a Spanish renewable portfolio valued at €580m ($626m).