Open fwitte opened 4 months ago
Interesting. Your code has the issue that you give lists that are too short ([15.5946]
). However, changing that (to 3*[15.5946]
) does not solve the issue.
At the same time, there is a test, test_gen_chp
, that runs without issues. Probably, the parameters lead to an infeasible problem.
The snippet is actually based on the the API docs example here https://oemof-solph.readthedocs.io/en/stable/reference/oemof.solph.components.html#module-oemof.solph.components._generic_chp. Interestingly, in that docstring example only the creation of the component is tested, not adding it to a energysystem and solving that.
Agree on the solving issue, I should have added a slack heat generator.
Describe the bug The example
To Reproduce
Expected behavior Model solves
Screenshots
Desktop (please complete the following information):