Veda2.0 Released!


IRE_XBND problem
#1
I have tried to specify IRE_XBND for bounding the total exports from an external region.  Let's say this external region is OPEC, and the commodity is OIL.  But likewise, one should be able to use the external region IMPEXP.

I have tried it in a Trade scenario, but I am getting a spurious "Commodity is invalid" error (Step2).  The commodity is certainly valid, because VEDA creates the TOP_IRE links e.g. TOP_IRE('IMPEXP','OIL','REG1','OIL','IMPOIL1'), and so OIL is of course a perfectly valid commodity in the region IMPEXP.  In my tests, VEDA reads the IRE_XBND parameters quite correctly, but in "Step 2" it deletes them, giving the reason "Commodity is invalid", which is not true.

Can the VEDA developers give me an example of how to specify such a bound IRE_XBND('IMPEXP', '2030','OIL','ANNUAL','EXP','UP')=12345, e.g. for the Demo7 model?
Reply
#2
Thanks for pointing this out. It is indeed happening because Veda checks for valid region-commodity and the source list does not have external regions. We will fix this.
Reply
#3
Thanks!  But please consider doing that for IRE_XBND only, and not for any commodity attributes in any scenarios (that would cause problems).  IRE_XBND is a rather special case.
Reply
#4
How about ignoring cases where the region in question is an exogenous region?
Reply
#5
> How about ignoring cases where the region in question is an exogenous region?

Ehh... sorry I am not following here, can you elaborate?  IRE_XBND is valid for external regions, but other attributes are in general not.

[Edit:] If other attributes defined for external regions would continue to be ignored (as they are now), then yes, I reckon that would work. The IRE_XBND would then however survive, because the region is specified in Other_indexes?
Reply
#6
The check is done after resolving other_indexes, so it should be OK. I will send you an EXE to test later today.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  problem with kre storage frangb99 24 7,276 23-02-2024, 07:56 PM
Last Post: frangb99
  STORAGE MODELLING PROBLEM. frangb99 4 1,426 22-02-2024, 11:27 PM
Last Post: frangb99
  Optimization problem: TIMES code caicedoeng 1 811 12-02-2024, 11:32 AM
Last Post: Ravinder
  Problem unit conversion ArmineA 7 4,278 02-11-2022, 05:04 PM
Last Post: AKanudia
  Problem ~TFM_AVA table marie 1 2,015 06-10-2021, 06:45 PM
Last Post: marie
  Problem unit conversion Reports Julie 0 1,341 05-10-2021, 06:27 PM
Last Post: Julie
  Commodity balance problem [email protected] 2 2,896 02-09-2021, 06:40 PM
Last Post: [email protected]
  Problem with getting result values H.yu 14 13,843 12-08-2021, 06:13 PM
Last Post: H.yu
  Problem with version 237 suxin_thu 3 3,254 03-08-2021, 11:01 AM
Last Post: Ravinder
  Problem in setting Max Runs vahid.aryanpur 2 3,130 30-06-2021, 08:55 PM
Last Post: vahid.aryanpur

Forum Jump:


Users browsing this thread: 1 Guest(s)