Understanding optocoupler performance with collecor or emitter resistors
Excellent question - I remember struggling with this a while ago.

For a phototransistor, the key parameter is the current transfer ratio which is analogous to hfe (and shares many key parameters, such as variation vs. If).

The CTR is after all, I(out) / I(in).

In general, a phototransistor can be viewed as a photodiode where the output current is fed to the base of an ordinary transistor. 

I most definitely agree that there is no current into or out of the base in the normal sense for the device as drawn.

In the above cases, add a current source on the bases of the transistors where the current is proportional to incident energy and you will have quite an accurate representation of what is going on.







simulate this circuit &ndash; Schematic created using CircuitLab

Here is the representation I normally use.

The base emitter biasing is generated by incident light generating electron hole pairs which diffuse into the silicon; the light needs to be of sufficient energy, of course. 

Where does that current go? When the minority carriers reach the junction, they are swept across by the electric field set up from Collector Emitter bias.

The device acts as a (poor grade) current source, just as an ordinary bipolar device does, and there is an excellent description of just what is going on available.

For the above reasons, you can analyse a phototransistor just the same as a bipolar device provided you take into account the different parameters; a limitation is that you need to use currents (as you note, there is no specific voltage associated with the base).

Note: When looking at this sort of thing, I view it as an energy transfer function as that makes things a bit clearer - i.e. some energy went in and therefore that energy must appear somewhere else.