Electricity market simulator in Python