Text this: Evolution of a beam dynamics model for the transport line in a proton therapy facility