oemof / oemof-solph

A model generator for energy system modelling and optimisation (LP/MILP).
https://oemof.org
MIT License
294 stars 125 forks source link

RES Investment Optimisation delivers wrong results for flows #624

Closed lkbsys closed 5 years ago

lkbsys commented 5 years ago

When analysing the results of a RES-expansion optimisation, I ran into the following issue:

the investment results delivered 0 installed capacity, but the produced energy flow delivers some value. I later found out that this flow is equal to the specified "actual_value" for the investment calculation. Further, I also checked the results for other components with investment>0 and found out those flow results are also wrong, as they were not equal to investment * actual_value. The difference again was the actual_value, so:

I did not take a look into the code so far. Is this only an issue with the results or does this also affect the optimization model? Currently I am working with oemof 2.2.3, I have not tested this with oemof 3.1

/Lukas

lkbsys commented 5 years ago

Sry, typed faster than I could check my model definition and the code documentation, everything works fine.

/Lukas