An adaptive scheme for the approximation of dissipative systems