electric vehicle energy flow