Veda2.0 Released!


Question on UC_ATTR
#1
Hi, 

I am trying to constrain to capacity growth of electricity producing power plants (gas power plants and wind farms) so that the models smoothly increase capacities instead of concentrating investment on a specific period. 

To do so, I tried to use the UC_ATTR attribute, however my constraint does not seem to work properly (runs always end being qualified "infeasible"). I consulted the documentation to construct this constraint. Is it properly formulated or is there any problem (see attachment) ? 

Thank you very much for your help 

Charlène


Attached Files Thumbnail(s)
   
Reply
#2
Yes, you seem to have a confusion about the growth coefficients.  You are using the dynamic type (t, t−1), activated by specifying GROWTH under UC_ATTR~RHS, which is fine as such, but you seem to be overlooking that important fact by yourself.  The coefficients are always treated as growth coefficients only on the side where GROWTH is specified, and thus on the RHS in this case.

For example, your equation for the maximum growth rate of wind capacities (first row of "Capacities_ELCWIND_Growth…") can be read as follows:

   1.5 × VAR_CAP(t, Elcwind)  ≤  1 × VAR_CAP(t−1, Elcwind) − 0.25

On the LHS, you see the coefficient 1.5 for VAR_CAP, which you have defined in the UC_CAP column.  On the RHS, the coefficient for VAR_CAP is 1, as defined in the UC_CAP~RHS column (growth coefficient=1, rendering as 1).  And finally, the RHS constant is −0.25, as defined in the UC_RHSRTS column.  I think these are pretty easily readable from your specification.  Anyway, to better see what this constraint does, we can divide both sides by 1.5 and get:

  VAR_CAP(t, Elcwind)  ≤  0.6666667 × VAR_CAP(t−1,Elcwind) − 0.16666667

You should see that the constraint is requiring the capacity of wind to be decreasing by over 33% between the successive periods t−1 and t.  Obviously, this cannot be what you intended, but can be expected to cause infeasibilities.  To solve the issue, just define the growth coefficients on the RHS side, and probably you also meant the RHS constant to have a positive sign…?
[+] 1 user Likes Antti-L's post
Reply
#3
Note also that the growth coefficients represent annual growth multipliers. Therefore, if you would use the 1.5 coefficient as a growth coefficient (by putting it on the RHS side), the maximum growth in wind capacity over a ten years' time would be 1.5^10 − 1 = 56.67 = 5667%.  I am not sure if that is what you meant, but I would consider it a very mild constraint on the capacity growth, allowing perhaps unrealistically high growth until 2050.
[+] 1 user Likes Antti-L's post
Reply
#4
(27-06-2025, 04:06 PM)Antti-L Wrote: Note also that the growth coefficients represent annual growth multipliers. Therefore, if you would use the 1.5 coefficient as a growth coefficient (by putting it on the RHS side), the maximum growth in wind capacity over a ten years' time would be 1.5^10 − 1 = 56.67 = 5667%.  I am not sure if that is what you meant, but I would consider it a very mild constraint on the capacity growth, allowing perhaps unrealistically high growth until 2050.

Thank you very much for your help ! There was indeed a big confusion on my side ! Now, the constraint seems to be working perfectly fine. The 1.5 coefficient was just a test, because I wanted to check if the problem was coming from the constraint being too strong. 

Attached the corrected form of the constraint, if it can be of any help to others. 

Thank you again, i wish you a nice week. 

Charlène


Attached Files Thumbnail(s)
   
[+] 1 user Likes charlene.barnet's post
Reply
#5
(27-06-2025, 04:06 PM)Antti-L Wrote: Note also that the growth coefficients represent annual growth multipliers. Therefore, if you would use the 1.5 coefficient as a growth coefficient (by putting it on the RHS side), the maximum growth in wind capacity over a ten years' time would be 1.5^10 − 1 = 56.67 = 5667%.  I am not sure if that is what you meant, but I would consider it a very mild constraint on the capacity growth, allowing perhaps unrealistically high growth until 2050.

Thank you very much for your help ! There was indeed a big confusion on my side ! Now, the constraint seems to be working perfectly fine. The 1.5 coefficient was just a test, because I wanted to check if the problem was coming from the constraint being too strong. 

Attached the corrected form of the constraint, if it can be of any help to others. 

Thank you again, i wish you a nice week. 

Charlène


Attached Files Thumbnail(s)
   
[+] 1 user Likes charlene.barnet's post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Question on EFF raghavsarda 6 286 18-06-2025, 03:55 PM
Last Post: Antti-L
  A quick question of VAR_Fin and VAR_Fout [email protected] 3 223 11-06-2025, 09:10 PM
Last Post: Antti-L
  A quick question of cost_salv and price [email protected] 1 199 05-06-2025, 11:39 PM
Last Post: Antti-L
  A quick question to further understand INPUT and SHARE-IN [email protected] 9 988 08-05-2025, 07:47 PM
Last Post: [email protected]
  A question about COM_FR [email protected] 2 409 08-05-2025, 07:35 PM
Last Post: [email protected]
  A quick question about Cost_INV [email protected] 8 939 25-04-2025, 08:19 PM
Last Post: Lukas
  A quick question about day-by-day connectiveness [email protected] 3 494 09-04-2025, 05:54 PM
Last Post: Antti-L
  PCG Observation and question Antti-L 19 7,915 06-02-2025, 12:42 AM
Last Post: olexandr
  A question about timeslice [email protected] 1 439 30-09-2024, 01:23 AM
Last Post: Antti-L
  A quick question about hydrogen storage [email protected] 0 395 11-09-2024, 12:17 AM
Last Post: [email protected]

Forum Jump:


Users browsing this thread: 3 Guest(s)