Virtual battery technology emerges as a promising solution in the realm of energy management. Unlike traditional batteries, which rely on physical interactions, virtual batteries utilize digital platforms to represent the behavior of a battery. This unique approach paves the way a broad spectrum of applications in domains such as grid optimization,