Three-stage energy trading framework for retailers, charging stations, and electric vehicles: A game-theoretic approach