I am trying to implement a variable load using a controlled current source which varies according to the input voltage and current. further I am trying to implement MPPT control to control the duty cycle to obtain maximum power output in my model. I am however facing a zero voltage output in my simulation, thus zero power output. I am not sure where the error is in my simulation, any help would be appreciated.