Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change interpolation method for capacity data #656

Open
tsmbland opened this issue Feb 6, 2025 · 0 comments
Open

Change interpolation method for capacity data #656

tsmbland opened this issue Feb 6, 2025 · 0 comments

Comments

@tsmbland
Copy link
Collaborator

tsmbland commented Feb 6, 2025

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

@github-project-automation github-project-automation bot moved this to 📋 Backlog in MUSE Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant