Multiphysics multilayer modelling and simulation of HTS REBCO magnets carrying direct currents under AC magnetic fields | Synapse