Hi everyone,
I created an average model of a noninverting buck-boost converter with MPPT to make sure i have the maximum power at the output. When i run my program, everything goes fine until 10 ms. After that my voltage starts to drop drastically and also my output power drops. Also when i change G2 to 1000 (standard value 500), my program does not do what I would expect. When the irradiance rises, the output power should rise too. I think my conversion (diode and mosfet to current and voltage source) is not correct. Can someone give me something to look closer to, or does anyone knows a solution? I would like to thank you in advance.