Compensation of time-dependent persistent current effects in superconducting synchrotrons.