Identification of cardiac afterload dynamics from data