A new model for the frequency evaluation in electrical and electronic systems due to nearby flashes