Lifetime characterization via lognormal distribution of transformers in smart grids: design optimization