Modelling and optimization of avalanche photodiode electrical parameters using multiobjective genetic algorithm