Time evolution of tokamak plasmas in the presence of 3D conducting structures