How to protect and synchronize pumped-storage plants