Simulations of quantum double models