Simple imitation of the behaviour of an opto-coupler with Current Transfer Ratio (CTR) of 500%
This model only operates with a linear relationship between output and input,
Real opto-coupler 's have a somewhat non linear response as the CTR varies with input current