UG ratchet simulation