Simple total KW PV generation

Hello Everyone, 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 mass itself has the inclination. a friend of mine gave me this script and it doesnt seem to be working for some reason.

Excuse my beginner level!

many Thanks , Nahel

PV GEN TEST.gh (1.1 MB)

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

After A bit of search, its that bug with PVGEN , i tried replacing fixed ghuser files with new one didnt work anyone has any idea?