Evaluation of circuit and its analytical function parameters for lightning and switching impulse