Gravar-mail: Data-driven modelling ofAC losses in high-temperature superconducting coils