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?
10-05-2022, 06:49 PM (This post was last modified: 12-05-2022, 02:47 PM by Antti-L.
Edit Reason: completeness
)
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.