photodiode in photovoltaic mode

That would depend on what you want to accomplish, which you forgot to tell us.