Application of Simulation in FMS