Spanish oil refiner Cepsa has locked in a partner that will build up to 5 GW of wind and solar farms in Spain to help power its green hydrogen production plants and charging stations for electric vehicles.