Numerical modelling of dynamic resistance in high-temperature superconducting coated-conductor wires. (6th June 2018)