Simulator for resource scheduling in distributed systems