Agent-Based Simulations of Energy Transitions