- Use the "Robust discrete model" within the PV Array block, which can be found under the "Advanced Parameters" tab. This will break the algebraic loop within the PV Array block and will work more effectively with the discrete model in the "powergui". Unfortunately, it only allows for a constant temperature in the PV Array.
- If you would like to use a time dependent temperature in your PV Array, then you can make the following changes avoid errors:
- Reduce the sample time in the "powergui", algebraic loops require smaller time steps in order to be resolved, in an example I tried I found that 0.005s was effective.
- In the Advanced Parameters tab of the PV Array set the 'Measurement filter time constant' to a value larger than the sample time in the 'powergui'. In the example mentioned in the previous point, I used double the value of the sample time, 0.01s.
- The above 2 changes will allow the model to run without error; however, it may lead to significant oscillations in the voltage. You can remove these oscillations by adding an RLC branch in parallel with the circuit connected to the PV Array to damp the oscillations.