I stand corrected - I can see that as a good application, and also do-able. I was thinking resistors and capacitors, etc. 😳

But that won't change my answer much. Panels can be looked at as simple batteries, no? So you have a layout of panels connected in series or parallel. Assuming the panels are SketchUp Components, you can loop over the Model to find their quantity and location, and probably determine the connection based on position, type, and neighbors. Components can store attributes like their electrical characteristics which can be retrieved and used in the calculations.

That part seems fairly straight-forward.

The shade analysis might be troublesome. There are no built-in methods to determine where a shadow lies. We can get the model geometry, and the sun position and angle, then do some ray-casting; but I wouldn't know where to begin making the calculations.