Veda2.0 Released!


User constraint across technologies
#1
Good evening modellers,

what I am about to do is limiting the maximum capacity across a sum of technologies for each region, for each year for each time slice.
Let's say for example I have maximum biogas potentials of installed capacity for each region, but two technologies: One biogas system with CHP and one without.

I was trying around for quite some time and what I did in the end was:
Code:
~UC_Sets: R_E: RegXY                            
                            
            ~UC_T                
UC_N    Pset_PN    Attribute    LimType    UC_CAP    UC_RHSRTS    UC_RHSRTS~0    UC_Desc
UC_BioSumUsageXY    ELC_BIO        UP    1    0,522177    5    The limit for bio gas capacity counts for the sum of CHP and ELE plants
    CHP_BIO            1


This works. However, its quite cumbersome as one needs to repeat this manually for every region in the model (as every region has of course its own potential).
Unfortuantely the ~UC_T tables apparently do not interpret a column called "Region".

That's why I was wondering if there is a more elegant / quick why setting up a bound on the sum over technology capacities for each region?!

Thanks for your help in advance!
Reply
#2
UC_T does support a Region column, but it has to appear under or to the left of the UC_T tag. You can also use as a column header.

If it doesn't work, post the structure that you tried.
Reply
#3
Thanks, Amit. Just putting a region column left from the tag did the trick.

Is there anywhere a site in the documentation, in which is clearly described which type of table (~FI_T , ~TFM_INS , ~UC_T , ...) can / must have which columns and where they have to be placed ??
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to effectively impose land constraints on renewable technologies? Abdulaziz 1 272 26-01-2025, 07:11 PM
Last Post: Antti-L
  Help modeling storage technologies Abdulaziz 5 1,066 23-07-2024, 02:07 PM
Last Post: Abdulaziz
  Tradeoff for user-defined objective function Sandro_Luh 27 15,676 14-02-2023, 03:50 PM
Last Post: Antti-L
  user constraint on subset of emissions Stefan 2 2,709 10-11-2021, 08:26 PM
Last Post: Stefan
  DACCS Emissions Constraint not working UKTM User 10 9,060 07-10-2021, 03:30 PM
Last Post: UKTM User
  Functionality of the RPS constraint xavier 3 4,176 02-05-2021, 07:07 PM
Last Post: Antti-L
  User constraint for minimum storage activity Anjali 4 4,399 15-01-2021, 07:38 PM
Last Post: Anjali
  Issue with constraint: Error Code 172 NeilGrant 5 7,263 28-05-2020, 02:08 PM
Last Post: NeilGrant
  Aggregated constraint in a VT_file? Pernille.S 3 5,516 19-09-2019, 01:46 PM
Last Post: Antti-L
  Constraint on LUMPINV kristofferand 1 4,012 03-09-2019, 04:39 PM
Last Post: Antti-L

Forum Jump:


Users browsing this thread: 1 Guest(s)