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

Excel reader error #82

Open
AlessandroPozzetto opened this issue Jun 20, 2022 · 1 comment
Open

Excel reader error #82

AlessandroPozzetto opened this issue Jun 20, 2022 · 1 comment

Comments

@AlessandroPozzetto
Copy link

Hello community. When I run the excel reader file (https://github.com/oemof/oemof-examples/tree/master/oemof_examples/oemof.solph/v0.4.x/excel_reader) I get the following warning:

WARNING: Reassigning the non-component attribute dual on block (model).Model
with a new Component with type <class 'pyomo.core.base.suffix.Suffix'>.
This is usually indicative of a modelling error. To avoid this warning,
explicitly delete the attribute:
del Model.dual

It appears when the "om.receive_duals()" function is called.
I'm running the original code without any modifications from my side.

Can anybody help me in understanding what might be the reason and what its consequences might be?

Thank you very much in advance!

@p-snft
Copy link
Member

p-snft commented Jun 30, 2022

The issue should be fixed with oemof/oemof-solph#842, which is to be released with v0.5. To my understanding, there is no real failure.

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

No branches or pull requests

2 participants