I am trying to implement the simulation of a dual stage grid tied photovoltaic system. But I am a bit confused as to how the boost converter can output a constant voltage, as well as limit the current flowing from the solar panel. For instance up to certain input voltage level, output a constant voltage independent of the input voltage by using limited current flowing from the solar panel.