Veda2.0 Released!


User Constraint
#1
Hi,
I have to introduce some constraints in my model to pretend it to invest huge amounts of one technology in a single year.
I want to spread the constraint through several years with different limits. Is there any documentation apart from the one on the web that explain the creation of the user constrints?
this is my constraint, and I don't know why it is no working.
UC - Each Region/Period
~UC_Sets: R_E: AllRegions
~UC_Sets: T_E:
~UC_T: UC_COMPRD
UC_N Pset_Set Pset_PN Cset_Set Cset_CN Year LimType UC_FLO~2010 UC_FLO~0 2010 2012 2014 2016 2018 2020 UC_RHSRTS~LO~2010 UC_RSHRTS~LO~0 UC_Desc
UC_MinProdRen_Elec ELE EREN* ELC 1 5 -0.25 -0.271 -0.292 -0.313 -0.334 -0.355 0 5 Minimum Electricity Produced from Renewable Technologies
thanks!!
Reply
#2
Maria: The problem might be caused just by a very small typo:
Code:
<span style=": rgb255, 255, 0;">UC_RSHRTS~LO~0</span>
should be:
Code:
<span style=": rgb51, 255, 255;">UC_RHSRTS~LO~0</span>
As you know, without the interpolation option the constraint is generated only for 2010.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Tradeoff for user-defined objective function Sandro_Luh 27 15,731 14-02-2023, 03:50 PM
Last Post: Antti-L
  user constraint on subset of emissions Stefan 2 2,719 10-11-2021, 08:26 PM
Last Post: Stefan
  DACCS Emissions Constraint not working UKTM User 10 9,075 07-10-2021, 03:30 PM
Last Post: UKTM User
  Functionality of the RPS constraint xavier 3 4,186 02-05-2021, 07:07 PM
Last Post: Antti-L
  User constraint for minimum storage activity Anjali 4 4,423 15-01-2021, 07:38 PM
Last Post: Anjali
  Issue with constraint: Error Code 172 NeilGrant 5 7,271 28-05-2020, 02:08 PM
Last Post: NeilGrant
  Aggregated constraint in a VT_file? Pernille.S 3 5,522 19-09-2019, 01:46 PM
Last Post: Antti-L
  Constraint on LUMPINV kristofferand 1 4,019 03-09-2019, 04:39 PM
Last Post: Antti-L
  Minimum Utilization Constraint on activity Giulia Realmonte 5 10,036 23-04-2019, 01:53 PM
Last Post: NeilGrant
  Help with user constraint newbie1 12 18,561 02-06-2018, 07:07 PM
Last Post: newbie1

Forum Jump:


Users browsing this thread: 2 Guest(s)