In the Airbus A330, the RAT is located on the right wing (4th flap track fairing). The RAT powers the emergency generator via the Green hydarulic system. However when powered by the RAT, the emergency generator is inhibited when the slats are extended. Then the flight computers PRIM 1, SEC 1 and SEC 2 will be powered by the batteries!