An innovative system for real-time prediction of smart grid stability through adaptive power management | Synapse