An innovative BESS management for dynamic frequency restoration