Veda2.0 Released!


COMMODITY CONSTRAINTS
#1
Photo 

.docx   OILGSL.docx (Size: 320.34 KB / Downloads: 8) I tried the following constraint to bound the flow of imported gasoline. Having a very little knowledge of UC's, I want to verify it. It seems that constraint is somehow working but did not obey the rule, in this case "LO". IT MIGHT BE the HIGHER PRICE OF IMPORT (ASSUMED) because local refinery production is enhanced in following years.


Reply
#2
If you want to bound the flow of gasoline imported via IMPOILGSL, the best way is to use FLO_BND (or ACT_BND).
Did you consider using these attributes?

Using UC_COMNET as in your example does not bound the flow of gasoline imported via IMPOILGSL.  The constraint would bound the net (=excess) production of gasoline to 150, such that the total supply of gasoline would be 150 larger than the demand.
Reply
#3
(27-01-2017, 03:19 PM)Antti-L Wrote: If you want to bound the flow of gasoline imported via IMPOILGSL, the best way is to use FLO_BND (or ACT_BND).
Did you consider using these attributes?

Using UC_COMNET as in your example does not bound the flow of gasoline imported via IMPOILGSL.  The constraint would bound the net (=excess) production of gasoline to 150, such that the total supply of gasoline would be 150 larger than the demand.

Thanks Antti-L. After some minor changes, the model now shows the expected result. I changed the constraint with ACT but this constraint is not working with FLO attribute as I am more comfortable with it.


Attached Files
.xlsx   Scen_UC_OILBND.xlsx (Size: 10.17 KB / Downloads: 15)
Reply
#4
Yes, using UC_ACT certainly works, and so would of course UC_IRE, which must be used for trade processes instead of UC_FLO. 
UC_FLO does not work for trade processes, because they do not have any VAR_FLO variables. 

But as I mentioned above, the bounds are much easier to define by using FLO_BND (or ACT_BND):
[Image: attachment.php?aid=225]

The FLO_BND parameters above would accomplish the same lower bound of 120 for IMPOILGSL as your UC constraint.


Attached Files Thumbnail(s)
   
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)