598 Views
Hi Oriol,
This is an interesting question - if I understand you correctly, you'd like to calculate the hypothetical primary requirements for electricity *not* generated. But in order to do so will require that you make an assumption about the efficiency and feedstock fuel for the marginal power plant which would have been used to generate the electricity, which was instead imported.
I would suggest adding Indicators (you must enable them in Basic Params) to your model to represent the primary energy in imports for each feedstock fuel separately. For example, if we make a simple assumption that the imported electricity would otherwise have been generated using the same mix of fuels and with the same efficiency, you could calculate the input requirements of FUEL X using an expression like:
Transformation\Electricity Generation:Inputs[GJ, Fuel=FUEL X] *
Transformation\Electricity Generation:Imports into Module[GJ, Fuel=Electricity] /
Transformation\Electricity Generation:Outputs by Output Fuel[GJ, Fuel=Electricity]
Note that this approach becomes much more complicated if you wish to truly calculate the *primary* requirements associated with each feedstock fuel (if they are secondary fuels like fuel oil, and you have also modeled the production of these fuels in your transformation branches), but I hope I've set you on the right path.
Best,
Taylor