Coupled electromagnetic and thermal modelling of the quench behaviour of a plasma confinement magnet made from ReBCO HTS cables