HARDWARE IMPLEMENTATION OF A RESILIENT ENERGY MANAGEMENT SYSTEM X2026