Hello,
I am trying to get running a multi-period energy system. I have successfully implemented it and the model could solve, also using the solph.Investment() function within the Flow(nominal_capacity=). But I am having an issue with exporting the results:
If I try to use the standard operation oemof.solph.processing.results() I am receiving an error. I tried to find a solution, but since I am kind of new to oemof I find it very difficult to go into the oemof functions myself and find the cause of the error.
Can someone help me with this?
Thanks a lot in advance!
Hi @karombo!
Thanks for sharing your issue. I think fixing this might need some more context. It will probably not help you if I start speculating. (Sharing a complete broken model would be best.)
If you cannot share context, there there is a possible workaround: You can use solph.Results. This is our new, more direct functionality to get results. As of solph 0.6.4, these results are directly returned results = model.solve(). It does not do any hard-coded post-processing, thus it is less likely to cause problems. (If you also use time-series-aggregation, non-post-processed results might be a bit tedious to work with, though.)
Best regards,
Patrik
Thank you @pschoen ! With the new solph.Results function it works.