Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Excel reader error #82

@AlessandroPozzetto

Description

@AlessandroPozzetto

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions