Spanish multi-energy company Repsol SA (BME:REP) on Thursday announced that it has signed an agreement to acquire a 40% stake in Chicago-based solar and storage projects developer Hecate Energy LLC.