In image my model to simulate PV array & MPPT with buck converter . The result from this model have two problem:
- At t=T=1/f occur current spike in diode current and Vpv up above Voc.
- In battery , charger current in t=0 is 3000A ! May be because internal resistor of battery = 0.004 ohm and voltage =12v --> 12/0.004 = 3000A.