I am new to simulink and am simulating a PV module with a buck converter. As you see from the equation of the output current eq(1), there will be algebraic loop. I tried a unit delay and memory to break it, it works when I test the PV module alone with a variable resistance at the output and it yeled correct results. But a unit delay or memory blocks can change the dynamic behavior of the system, so is there a way to get around the algebraic loop problem ?