Simple PV generation (total KW generated)

Hello Everyone, I know i am a bother to this forum but you are the only help i got.

for my grad project I am trying to do a simple total power generated by the PV’s from the roof of the building. the roof itself has the inclination. a friend of mine gave me this script and it doesnt seem to be working for some reason. maybe a problem with PVGen?

Excuse my beginner level!

many Thanks , Nahel

RHINO FILE: https://we.tl/t-5bZ5YlUGJJ

PV GEN TEST1.gh (1.1 MB)