Text this: Analysis on the impact of grounding on the system stability against surge and lightning