You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interpolate_capacity function is currently using linear interpolation. However, as pointed out here, linear interpolation doesn't make much sense because capacity profiles are step-wise. Forward filling (i.e. taking the previous specified value) would make more sense.
We can simply change interpolate_capacity to return data.reindex(year=year, method="ffill")
I've given this a try, but some of the results changed and I'd like to understand why before implementing this change
The text was updated successfully, but these errors were encountered:
The
interpolate_capacity
function is currently using linear interpolation. However, as pointed out here, linear interpolation doesn't make much sense because capacity profiles are step-wise. Forward filling (i.e. taking the previous specified value) would make more sense.We can simply change
interpolate_capacity
to returndata.reindex(year=year, method="ffill")
I've given this a try, but some of the results changed and I'd like to understand why before implementing this change
The text was updated successfully, but these errors were encountered: