Dynamic games-based modeling of electricity markets