Posts: 7
Threads: 2
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2011
Hello,
today's question would be the following:
is it possible to create a constraint over the total flow of a commodity out a process across a set of countries
the process would have a cap_bnd for each country, + a bnd over the flow out of the process for a set of countries together.
Many thanks
Posts: 7
Threads: 2
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2011
If it is of any help, the sum can also be across all countries if needed, this makes no difference to me.
Thanks for your help.
Posts: 67
Threads: 11
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2010
You can build a Uc like this one in whixh you are using for ~UC_Sets: R_S instead of R_E and then AllRegions if you are summing over all regions in your model or a list of regions (Reg1,Reg2,Reg3).
The column identifier is UC_RHSTS (it is missing the R that is used for region).
|
~UC_SETS: R_S: AllRegions |
|
|
|
|
|
|
|
|
|
~UC_T |
|
|
|
|
UC_N |
Pset_PN |
Cset_CN |
Year |
UC_FLO |
UC_RHSTS~UP |
UC_RHSTS~UP~0 |
UC_Desc |
AU_FLO |
TECH1,TECH2,TECH3 |
COMM1 |
2005 |
1 |
10 |
1 |
Max Production across countries from Techs 1,2,3 |
|
TECH1,TECH2,TECH3 |
COMM1 |
2050 |
1 |
20 |
1 |
|
Posts: 7
Threads: 2
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jun 2011
Thanks Maurizio, it does work fine.