design of bidirectional dc dc converter for energy storage system in high power application