openclimatefix / PVNet

PVnet main repo
MIT License
21 stars 5 forks source link

update backtest_sites.py #266

Closed AUdaltsova closed 1 month ago

AUdaltsova commented 1 month ago

Pull Request

Description

Decoupled pv padding from data so it uses config instead as had problems running without it and wrong padding (t0 index is not actually the true index when there is not enough data as it's calculated once with respect to proper batch shape and not for each sample)

How Has This Been Tested?

Reran small backtest to check the results ar the same

Checklist: