Repository navigation
Conversation
|
Testing this surfaced another error in .\tests\test_optimization.py, which is somehow related to the handling of a |
|
This is the explanation and solution GitHub Copilot came up with: The root cause was incompatibility with oemof-solph 0.6.7 introduced by changes to the Root CauseIn oemof-solph 0.6.7,
SolutionThe fix extracts scalar values from _FakeSequence objects using their .value attribute before using them in constraint expressions. This was applied to four constraint rule functions in oemof_heatpipe.py:
For each rule:
|
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||
149fe85 to
578ccb0
Compare
|
Given that this is an LLM solution, it should be reviewed carefully. But for my tests it works with oemof-solph 0.6.4 and 0.6.7. I guess the backward-compatible lines are now not covered by tests anymore. |
Fix FutureWarning from
oemof.solph-0.6.7Fixes #195