Characterisation and Modelling of High Purity Germanium Detectors for the LEGEND Experiment and Beyond