发送短信 : Simulation of photodetector functionality in an optical communication system