How to Use Reinforcement Learning to Facilitate Future Electricity Market Design? Part 2: Method and Applications