PV ARRAY ------>BOOST CONVERTER------> GRID
MPC---->prediction equations ---->optimal function ------>switching signal
MPPPT----> reference current ---->
I have my model equations of both switching cases ON and OFF,
and also MPPT which generates the reference current and Cost function
which gives decision whether to choose ON state or OFF state,
but the problem arises to give this switching signal to the IGBT of the boost converter.
please do help me with this simulation