Simulating a reconfigurable manufacturing system