An apparatus for controlling at least one gradient coil of a magnetic resonance imaging system, the apparatus comprising: at least one computer hardware processor; and at least one computer-readable storage medium storing processor executable instructions that, when executed by the at least one computer hardware processor, cause the at least one computer hardware processor to perform a method comprising: receiving information specifying at least one target pulse sequence; determining a corrected pulse sequence to control the at least one gradient coil based on the at least one target pulse sequence and a hysteresis model of induced magnetization in the MRI system caused by operation of the at least one gradient coil; and controlling, using the corrected pulse sequence, the at least one gradient coil to generate one or more gradient pulses for imaging a patient, characterized in that the hysteresis model is a Preisach model comprising a plurality of weights, a respective plurality of lower magnetic field strength values and a respective plurality of upper magnetic field strength values, wherein each of the plurality of weights is associated with a respective one of the plurality of lower magnetic field strength values and a respective one of the upper magnetic field strength values, wherein the plurality of weights are used to adjust the at least one target pulse sequence to result in the corrected pulse sequence used to control the at least one gradient coil of the MRI system. at least one computer hardware processor; and at least one computer-readable storage medium storing processor executable instructions that, when executed by the at least one computer hardware processor, cause the at least one computer hardware processor to perform a method comprising: receiving information specifying at least one target pulse sequence; determining a corrected pulse sequence to control the at least one gradient coil based on the at least one target pulse sequence and a hysteresis model of induced magnetization in the MRI system caused by operation of the at least one gradient coil; and controlling, using the corrected pulse sequence, the at least one gradient coil to generate one or more gradient pulses for imaging a patient, characterized in that the hysteresis model is a Preisach model comprising a plurality of weights, a respective plurality of lower magnetic field strength values and a respective plurality of upper magnetic field strength values, wherein each of the plurality of weights is associated with a respective one of the plurality of lower magnetic field strength values and a respective one of the upper magnetic field strength values, wherein the plurality of weights are used to adjust the at least one target pulse sequence to result in the corrected pulse sequence used to control the at least one gradient coil of the MRI system. receiving information specifying at least one target pulse sequence; determining a corrected pulse sequence to control the at least one gradient coil based on the at least one target pulse sequence and a hysteresis model of induced magnetization in the MRI system caused by operation of the at least one gradient coil; and controlling, using the corrected pulse sequence, the at least one gradient coil to generate one or more gradient pulses for imaging a patient, characterized in that the hysteresis model is a Preisach model comprising a plurality of weights, a respective plurality of lower magnetic field strength values and a respective plurality of upper magnetic field strength values, wherein each of the plurality of weights is associated with a respective one of the plurality of lower magnetic field strength values and a respective one of the upper magnetic field strength values, wherein the plurality of weights are used to adjust the at least one target pulse sequence to result in the corrected pulse sequence used to control the at least one gradient coil of the MRI system.