I’m using oemof to create a combined dispatch & investment model. Right at the beginning of the model writing I stumbled upon an odd error message. My transformer modeling looks like
which returns me a "Using the investment object the nominal_value has to be set to None.".
Now, I find myself asking: how should I model it with oemof? Is it really necessary to include two transformers of the same type? one representing the existing capacity and the other for new investments into this technology…
Or did I simply overlooked something?
Actually you are right, this is not possible atm. You could set the ‘minimum’ attribute of the Investment object, but the investment costs will occur for this capacity, resulting in something different that you want.
I think this is something we could add easily (and I wonder why it’s not possible yet). Can you create an issue in the repository?
Guys, you’re fast! Thanks simnh for immediately starting to include this! I won’t write an additional issue as you already started resolving it. Let’s dicuss further in the PR.
You have reasonable doubts I think it is more a bug report than a user question and we should discuss it on github. Furthermore, this is related to the developing version an no official version.
We have to find out whether it is a bug or something else. To get close to the problem you could check the LP file (3 time steps). It also helps to create a very reduced example in which the results can be anticipated. As it is a beta version we need the commit you use.