thanks for the replies. The current source + resistors on the right side was just a poor attempt to model the photovoltaic module. It's a 285W module, with the I-V curve that I've attached. The idea is to be able to use a PWM ramp at the Op Amp's Vin and being able to regulate a current flow from 0A to about 8A.
The original circuit was actually working, and I was given a hand written version of it. I just got access to the full circuit (see it attached), but I don't get how's that possible.
The main problem I see is that using such a tiny load resistor, the voltage and current at the base of the BJT go crazy high. Any comments are more than welcomed.
- - - Updated - - -
Please, note that the wire connected to the emisor and going upwards in the diagram, just goes to a current sensor and then to ground. Also, somebody made a mistake drawing the 500uOhm resistor, it's actually a 0.01Ohm resistor in the circuit