When I try to run the PV Array in Simscape, the following error is returned:
Block diagram 'pvArray' contains 1 algebraic loop(s). To see more details about the loops use the command Simulink.BlockDiagram.getAlgebraicLoops('pvArray') or the command line Simulink debugger by typing sldebug('pvArray') in the MATLAB command window. To eliminate this message, set Algebraic loop to "none".
Component:Simulink | Category:Block diagram warning
Found algebraic loop containing:
pvArray/PV Array/Diode Rsh/Product5 (algebraic variable)
pvArray/PV Array/Diode Rsh/Product2
pvArray/PV Array/Diode Rsh/Product1
pvArray/PV Array/Diode Rsh/Math Function
pvArray/PV Array/Diode Rsh/Add
pvArray/PV Array/Diode Rsh/Product
pvArray/PV Array/Diode Rsh/Add1
pvArray/powergui/EquivalentModel1/State-Space
pvArray/PV Array/I_PV/do not delete this gain
pvArray/PV Array/I Filter/First-Order Filter/Model/D
pvArray/PV Array/I Filter/First-Order Filter/Model/Sum1 (algebraic variable)
pvArray/PV Array/Product2
pvArray/PV Array/V_PV/do not delete this gain
pvArray/PV Array/V Filter/First-Order Filter/Model/D
pvArray/PV Array/V Filter/First-Order Filter/Model/Sum1
pvArray/PV Array/Add1 (algebraic variable)
Component:Simulink | Category:Model
An error occurred while running the simulation and the simulation was terminated
Caused by:
Algebraic state in algebraic loop containing 'pvArray/PV Array/I Filter/First-Order Filter/Model/Sum1' computed at time 3.5826011128367485E-8 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
Best Answer