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
  Tradeoff for user-defined objective function Sandro_Luh 27 10,168 14-02-2023, 03:50 PM
Last Post: Antti-L
  user constraint on subset of emissions Stefan 2 2,175 10-11-2021, 08:26 PM
Last Post: Stefan
  DACCS Emissions Constraint not working UKTM User 10 7,176 07-10-2021, 03:30 PM
Last Post: UKTM User
  Functionality of the RPS constraint xavier 3 3,291 02-05-2021, 07:07 PM
Last Post: Antti-L
  User constraint for minimum storage activity Anjali 4 3,601 15-01-2021, 07:38 PM
Last Post: Anjali
  Issue with constraint: Error Code 172 NeilGrant 5 5,875 28-05-2020, 02:08 PM
Last Post: NeilGrant
  Aggregated constraint in a VT_file? Pernille.S 3 4,887 19-09-2019, 01:46 PM
Last Post: Antti-L
  Constraint on LUMPINV kristofferand 1 3,615 03-09-2019, 04:39 PM
Last Post: Antti-L
  Minimum Utilization Constraint on activity Giulia Realmonte 5 9,000 23-04-2019, 01:53 PM
Last Post: NeilGrant
  Help with user constraint newbie1 12 16,578 02-06-2018, 07:07 PM
Last Post: newbie1

Forum Jump:


Users browsing this thread: 1 Guest(s)