
Veda2.0 Released!
COMMODITY CONSTRAINTS
|
![]()
27-01-2017, 03:19 PM
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.
29-01-2017, 10:58 PM
(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). 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.
30-01-2017, 12:55 AM
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): The FLO_BND parameters above would accomplish the same lower bound of 120 for IMPOILGSL as your UC constraint. |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)