I am trying to construct a PV array in simulink. My motto is to observe characteristic for partial shading PV array with different irradiation's for each module.I have modeled individual PV modules as current sources with series and parallel combination of solar cells. According to equations a voltage feedback is required for this. To get this voltage feedback, I have connected a capacitor across current source. For an individual PV module its working fine as desired. Now when I am trying to connect two PV modules of 250W each in series and trying to observe characteristics across two modules by placing another capacitor in total. Instead of expected peak of 500W it is showing 330W.
How to connect two PV modules modeled as current source in series????
Please see the attached simulink file