Dynamic Simulation Program for the Whole Process of Power System Market