LIGHTNING AND STATIC PROTECTION SCHEME FOR INTELLIGENT ENERGY STORAGE