Simulation of the dynamics of a two-dimensional dislocation-disclination ensemble