Agent-based modeling and simulation of competitive wholesale electricity market