SpineOpt.jl icon indicating copy to clipboard operation
SpineOpt.jl copied to clipboard

Update on the technical lifetime of a unit/storage/connection constraint

Open datejada opened this issue 1 year ago • 5 comments

Create a method so that the user can select either ">=" or "==" in the technical lifetime constraint and update the documentation

https://spine-tools.github.io/SpineOpt.jl/latest/mathematical_formulation/constraints/#Technical-lifetime-of-a-unit

datejada avatar Jun 30 '23 14:06 datejada

FYI: Look to the nodal balance constraint to look for inspiration.

datejada avatar Jul 07 '23 13:07 datejada

Is there an update on this issue? Today, I realised that the "unit_investment_lifetime" parameter is only the minimal lifetime. For longer modelling periods it would be helpful to have a maximum lifetime.

hannesfelipe avatar Aug 21 '23 13:08 hannesfelipe

@hannesfelipe We have not started on this issue yet but we should be rather soonish (give or take a few weeks).

tarskul avatar Aug 25 '23 11:08 tarskul

Note: consider the comments in #601 for the implementation

datejada avatar Aug 13 '24 07:08 datejada

Is there an update on this issue? Today, I realised that the "unit_investment_lifetime" parameter is only the minimal lifetime. For longer modelling periods it would be helpful to have a maximum lifetime.

Hi @hannesfelipe, The following PR #1060 has changes to consider different options in the lifetime constraint. If you want to double-check the changes, you can see them there and leave a comment if it is relevant. Once the PR is reviewed, I will merge it, so you can have it in the master branch of SpineOpt.

datejada avatar Aug 13 '24 12:08 datejada

@datejada thank you for the update. I think the approach with the ">=", "==", and "<=" options is very good. I am looking forward to use the option in our model.

hannesfelipe avatar Aug 19 '24 13:08 hannesfelipe

@datejada thank you for the update. I think the approach with the ">=", "==", and "<=" options is very good. I am looking forward to use the option in our model.

Hi @hannesfelipe, the changes are now available in the master branch for your use and testing. BR, Diego

datejada avatar Aug 21 '24 11:08 datejada