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 electrolyzer documentation #335

Merged
merged 6 commits into from
Apr 29, 2022
Merged

fix electrolyzer documentation #335

merged 6 commits into from
Apr 29, 2022

Conversation

BenPortner
Copy link
Contributor

No description provided.

@pep8speaks
Copy link

pep8speaks commented Apr 29, 2022

Hello @BenPortner! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-04-29 15:32:12 UTC

>>> import shutil
>>> import numpy as np
Copy link
Member

@fwitte fwitte Apr 29, 2022

Choose a reason for hiding this comment

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

Thank you for noticing this, I wonder how the tests passed with the missing import... In this example it is only used to unset the volumetric flow of hydrogen to the compressor (L181/L182), I think I will remove it and use None instead. Originally, np.nan was used to unset values, None was introduced later. It seemed more convenient to me, since you do not necessarily need to import numpy.

@fwitte fwitte merged commit 3f9af10 into oemof:dev Apr 29, 2022
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.

None yet

3 participants