Veda2.0 Released!


Balance equation on export and consumption of fuels
#1
Hi All, 

I'm trying to create some sort of equation that balances the export af the commodity "H2G" with the sum of consumption of the fuels "TRADSLU", "TRAHFOU" and "TRAKERU", which are consumed by demand technologies. 

I have tried a lot of different options, where I'm unsure of what I'm doing wrong. It doesn't, from my VEDA, create any sync-errors. 

Do you have any suggestions on how this could be done? 

Thank you all in advance!

Best regards,
Simon


Attached Files Thumbnail(s)
   
Reply
#2
I am not a VEDA expert, but I can see at least the following problems:

  ● You define UC_SETS: R_S: AllRegions and yet you use UC_RHSRT: that would not work, so please decide;
  ● You define variable terms on the RHS and yet, your constraint is not dynamic and so they won't work.

The UC_RHSxxx parameter(s) must match the constraint type.  If the type is "sum over regions" (R_S), you should use UC_RHST / UC_RHSTS / UC_RHS. And variable terms on the RHS can be defined only in dynamic (or pseudo-dynamic) constraints, while yours is not defined such. Also note that with your definition the constraint would be defined only from 2050 onwards.

Apart from these, I cannot see any problem. I would expect the constraint would work if you would decide upon the ambiguities described above. The second ambiguity could be easily resolved by e.g. moving the FLO terms onto the LHS side.
Reply
#3
Perfect, thanks Antti! Smile

I solved it with the following setup Smile


Attached Files Thumbnail(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error at line 904570: Equation infeasible due to rhs value frangb99 12 3,253 03-04-2024, 12:19 AM
Last Post: frangb99
  Commodity balance and PASTI within the modelling horizon vincedh 2 1,139 17-10-2023, 01:34 AM
Last Post: vincedh
  Import/export process flows Antti-L 16 5,144 11-10-2023, 07:57 PM
Last Post: AKanudia
  Error in Batch Export YuFeng 5 3,448 26-08-2022, 07:32 AM
Last Post: YuFeng
  chart export ArmineA 2 2,344 11-02-2022, 01:25 PM
Last Post: ArmineA
  BIO consumption dmytro 1 1,574 17-01-2022, 03:08 PM
Last Post: AKanudia
  Commodity balance problem [email protected] 2 2,842 02-09-2021, 06:40 PM
Last Post: [email protected]

Forum Jump:


Users browsing this thread: 1 Guest(s)