Grounding and energy protection techniques