Electromagnetic energy storage design