openclimatefix / uk-pv-national-xg

National PV forecasting using Gradient Boosted Methods.
4 stars 3 forks source link

scalling should be relative to mean #94

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

Should the Plevel scaling be relative to the mean

Current it is done here

But should it be done lower = pv_amount[1] - (pv_amount[1] - pv_amount[0]) * lower_scaling where lower_scaling=1.6, simialr with upper scalling uppwer = pv_amount[1] + (pv_amount[2] - pv_amount[1]) * upper_scaling

This makes all the scaling relative.

peterdudfield commented 1 year ago

The errors bars in production are too big, I think this above would solve it

Currenly is {10':780, 10':2409, '90':4137} would change to {10':1650, 10':2409, '90':2690}

jacobbieker commented 1 year ago

Okay, yeah, that makes sense to me