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

BUGFIX: GenericStorage investment initialization #989

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

Raul-Ciria-Aylagas
Copy link
Contributor

The init method was malfunctioning with the preferred way to declare investments in the attr nominal_storage_capacity. Probably due to code legacy from older versions.

The investment and nominal_storage_capacity attributes were mixed together and assigned in different parts of the initialization.

The __init__ method was malfunctioning with the preferred way to declare investments in the attr nominal_storage_capacity. Probably due to code legacy from older versions.
Copy link
Member

@p-snft p-snft left a comment

Choose a reason for hiding this comment

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

You're right, this bug is due to an incomplete change to the new way. Thanks for fixing it!

@p-snft p-snft merged commit 075fcc1 into oemof:dev Oct 11, 2023
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants