Electro-optical characteristics of phodiodes: modelling and validation