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

add EU oil bus already when adding land transport to be able to run t… #100

Merged
merged 1 commit into from
May 25, 2021

Conversation

lisazeyen
Copy link
Collaborator

  • add EU oil bus already in function add_land_transport(n) to avoid warning of missing bus for loads and being able to run the model without the industry sector
  • when removing todays industrial electricity demand by scaling down total eletricity demand, remove "RuntimeWarning: invalid value encountered in double_scalars" by checking if the load is empty (for not dividing by zero)

…he model without industry and avoid warning of missing bus. Add a check for scaling down total electricity demand to avoid warning of invalid value in double_scalar
@fneum fneum self-requested a review May 22, 2021 12:46
Copy link
Member

@fneum fneum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accept as a hotfix. For the long-term, we could think of a function that initially adds all required buses depending on sectoral coverage.

@fneum fneum merged commit 0e3d21f into master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants