Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-period remaining value calculation #1018

Open
nailend opened this issue Nov 22, 2023 · 5 comments
Open

Multi-period remaining value calculation #1018

nailend opened this issue Nov 22, 2023 · 5 comments

Comments

@nailend
Copy link
Contributor

nailend commented Nov 22, 2023

Describe the bug

Since #982 the remaining value of a component exceeding the optimization horizon is subtracted from the total costs.
The remaining costs a determined using the ep_costs from the last investment period (see here)
, even if the investment was taken before and with a different value.

I was just told by @eldmum, that increasing the costs in later periods (which normally doesn't happen, due to a learning curve) this affects the costs of the periods before and might even make some investments for free, due to the discounting effects.

Normally this should not have an effect but is definitely worth a note in the documentation.

@jokochems what do you think?

To Reproduce
Steps to reproduce the behaviour:

  • multi-period investment
  • rising ep_costs
@jokochems
Copy link
Member

Well, first of all, you have to say that evaluating the remaining value is an optional thing to do.

Second, I think, while in general you are right about your remark and that edge case that can occur when using a learning curve approach, I don't see a strong argument why you would not be able to see higher ep_costs (of course, by assumption). I guess, this could happen - think of the increased PV and wind costs in the course of last year's energy crisis which was due to commodities such as steel as a major cost driver not underlying this learning curve assumption. So the idea was to keep it generic and oblige the modeler to make reasonable design choices her-/himself.

But I have to admit that I'm not an absolute expert when it comes to financial maths. We can discuss about how to proceed with that and I'd be eager to hear whether there is some sort of "standard" or "recommended" way how to address that. Also, I'm not aware of many models that consider remaining values. The first one that comes into my mind is OSeMOSYS.

@eldmum
Copy link

eldmum commented Nov 23, 2023

In this publication, a multi-period optimization model has been proposed. The salvage value, in case there is still lifetime after the optimization horizon, is calculated according to the equation here:

image

(Highlighted symbols are decision variables)

$R^{SLVG}_t$ is then discounted to present value by multiplying it with $(1 + r)^{(number of years - 1)}$.

@jokochems
Copy link
Member

Thanks @eldmum. I'll need to have a closer look into that slide and the paper.

I tried to keep it simple and linear and my idea was to integrate a salvage value, coming from a simple NPV resp. annuity calculation.

I don't like the idea of introducing binary variables as a general thing. This will increase model complexity which is critical for large-scale long-term multi-period models.

@jokochems
Copy link
Member

Just to add:

  • I seem to have misread / misunderstood the intial post a little. You were mentioning that case of rising costs over time.
  • I do share the concern that it a problem when the remaining value is greater or equal to the intial value. This does not hold in terms of a "real life" interpretation since you might just be lucky in terms of asset value development - think about the real estate market e.g. where selling more expensive than buying is "nothing special" - but in terms of the mathematical modelling.
  • There shouldn't be any options that come for free or at negative costs. The model would seek to deploy them to a pretty much unlimited extend.
  • Thus, I see the necessity to at least add a check and evaluate remaining value vs. initial investment. In case the remaining value is found to be greater than the initial value, the difference between the two should be limited to some threshold value > 0.

Though I introduced it, I'm not really using this feature. So feel free to draft a solution if you can. - I'm sorry, but I really don't have any capacities for development at the moment.

@p-snft
Copy link
Member

p-snft commented Nov 24, 2023

There shouldn't be any options that come for free or at negative costs. The model would seek to deploy them to a pretty much unlimited extend.

If this is the case, the optimal solution is to invest. If you do not set bounds, the problem is unbound. I would just allow it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants