Maximum energy storage of inductor