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

Fix nan's for efficiency2 #540

Open
trevorb1 opened this issue Feb 13, 2025 · 0 comments
Open

Fix nan's for efficiency2 #540

trevorb1 opened this issue Feb 13, 2025 · 0 comments
Labels
enhancement New feature or request Sector Sector Coupling Issue

Comments

@trevorb1
Copy link
Collaborator

Feature Request

To track state level emissions, links in sector studies are given a second efficiency. PyPSA gives a warning that for some links that do not have a second efficiency, nan's are getting assigned. Im not sure if this is caused by links added before or after.

Suggested Solution

Assign all efficiency2 nan values as 0

Additional Info

This is the warming:

WARNING:pypsa.consistency:Encountered nan's in static data for columns ['efficiency2'] of component 'Link'.
@trevorb1 trevorb1 added enhancement New feature or request Sector Sector Coupling Issue labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Sector Sector Coupling Issue
Projects
None yet
Development

No branches or pull requests

1 participant