Energy balance modeling of Ge-on-Si waveguide avalanche photodetectors