i am using pvlib.bifacial.pvfactors_timeseries
like this
pvlib.bifacial.pvfactors_timeseries(solar_azimuth=PosSol[\'azimuth\'],