Abstract : The contributions of this work are twofold. First, we developed an electrophysiological training simulator in SOFA which tackles the interactive issue in the context of cardiac arrhythmias. Coupled with this electrophysiology, we developed a mechanical model of the heart that can be personalized from MRI datasets. Our simulations are based on the SOFA platform. SOFA is an open-source framework targeted at real-time simulation with an emphasis on medical simulation, mainly developed at Inria. A large choice of efficient solvers, hyperelastic or viscous material laws are already implemented in SOFA. Moreover, it enables interactivity during the simulation (pacing, surgery planning, ...) and gives a good trade-off between accuracy and computational efficiency.