Embedded multi-port electronic power systems for electric vehicle energy management