Veda2.0 Released!


FLO_SUB can only be applied on one commodity for the same process?
#1
Hi 

An observation and perhaps a question if any have solved this?

Anyone what have worked with using the FLO_SUB attribute for one process with serveral input commodities. I have had the experience that when using the attribute this way the subsidy is one applied for one of the commodities, eventhough the process consume different commodities. I was in the believe that the FLO_SUB is working similar to FLO_TAX just with opposite effect on the objective function, however this is not the case. 

What i for now have done, is applying a negative FLO_TAX. This solution just comes with some problems if the model is used to show tax and subsidies to politicians and a commodity for some reason have both, as it is not the most logic solution.

Best 
Mikkel
Reply
#2
I cannot confirm your findings.
I just ran a test model with a process having two input fuels, and both having a FLO_SUB defined.
The results show both of them getting the subsidy, and both in the OBJ and in the annual cost reporting parameter Cost_Flox (when both inputs are used).

Therefore, more info would be needed to see why you are having some problem with it.
Could you provide a reproducible example?
Reply
#3
(30-01-2018, 07:07 PM)Antti-L Wrote: I cannot confirm your findings.
I just ran a test model with a process having two input fuels, and both having a FLO_SUB defined.
The results show both of them getting the subsidy, and both in the OBJ and in the annual cost reporting parameter Cost_Flox (when both inputs are used).

Therefore, more info would be needed to see why you are having some problem with it.  
Could you provide a reproducible example?

Hi Antti

Thanks for the reply

I have added a screen-shot of how it has been inserted (note: there are no empty rows in the excel file) and the results that show no subsidies for the process when consuming the fuel as it should have. If I instead use the FLO_TAX attribute and apply a negativ cost it works with the exact same table.

Best 
Mikkel


Attached Files Thumbnail(s)
   
Reply
#4
Thanks. Could you post also the run file for this model (the *.run file, in the work folder)?
Reply
#5
(30-01-2018, 08:08 PM)Antti-L Wrote: Thanks.  Could you post also the run file for this model (the *.run file, in the work folder)?

Sure Smile


Attached Files
.zip   EnergyAgreementtest11.zip (Size: 1.34 KB / Downloads: 3)
Reply
#6
I tried hard but so far I have no success in reproducing your problem.   Cry

Could you not consider helping by providing a reproducible case? It would save so much time and effort...
Reply
#7
(30-01-2018, 09:54 PM)Antti-L Wrote: I tried hard but so far I have no success in reproducing your problem.   Cry

Could you not consider helping by providing a reproducible case? It would save so much time and effort...

Antti, would it make things easier if Mikkel shared the DD files? Or do you preffer the actual model files? Either would work for us...

Thanks a lot for your help!
Olex
Reply
#8
The *.DD files and the *.RUN file for the run case that reproduces the issue shown by Mikkel would be great.
You could e.g. send me a download link via Dropbox or Google Drive in a private message.
Reply
#9
(31-01-2018, 01:03 AM)Antti-L Wrote: The *.DD files and the *.RUN file for the run case that reproduces the issue shown by Mikkel would be great.
You could e.g. send me a download link via Dropbox or Google Drive in a private message.
Hi 

Thanks for the help Olex Smile
I have attached a link to dropbox with the files https://www.dropbox.com/sh/10craynrxjku4...vEMda?dl=0 

Best 
Mikkel
Reply
#10
Thanks for providing me the test case.  One of the DD files was missing (elc_windmaxgrowth.dd), but I managed to run the model by commenting it out in the RUN file.

I found out that in the TIMES pre-processing there was indeed a bug, which manifested only when defining both taxes and subsidies on the same process flow at the same time. And you had defined also zero taxes on these input flows. I have fixed the issue now in the code, and tested the model again, and the subsidies were now taken into account correctly even when both taxes and subsidies are defined at the same time.

The fix will be in the next version, but meanwhile, you could just remove the zero taxes from these flows.

In addition, I would also suggest using top_check flags in the TFM_INS table when defining these subsidies with wildcard commodity filters. You are now defining also lots of spurious subsidy parameters on process flows that do not exist in the model.
Reply
#11
(31-01-2018, 04:51 PM)Antti-L Wrote: Thanks for providing me the test case.  One of the DD files was missing (elc_windmaxgrowth.dd), but I managed to run the model by commenting it out in the RUN file.

I found out that in the TIMES pre-processing there was indeed a bug, which manifested only when defining both taxes and subsidies on the same process flow at the same time. And you had defined also zero taxes on these input flows. I have fixed the issue now in the code, and tested the model again, and the subsidies were now taken into account correctly even when both taxes and subsidies are defined at the same time.

The fix will be in the next version, but meanwhile, you could just remove the zero taxes from these flows.

In addition, I would also suggest using top_check flags in the TFM_INS table when defining these subsidies with wildcard commodity filters. You are now defining also lots of spurious subsidy parameters on process flows that do not exist in the model.

Hi Antti 

Thanks a lot for the help Smile looking forward to the update, for now i will use your suggestion and remove the tax. 

I will take your suggestion into account and try implement it into your model, thanks.

Best 
Mikkel
Reply
#12
Hi again

Just out of curiosity, when do you plan on releasing the new version?

Best regards,
Mikkel
Reply
#13
In a few days' time. Why, you in a hurry? I saw you were using version 4.0.0 (from 2016!) from your listing file...
Reply
#14
Then it is no problem for me Smile we are trying to show the danish politicians, how to possible use TIMES for a near (2-3 months) energy agreement for Denmark.

That is in fact quiet interesting, i installed TIMES on this computer in October and thought i had a fairly new update. Time for an update then.

Thanks for the help once again
Reply
#15
(31-01-2018, 07:05 PM)MikkelBosack Wrote: Then it is no problem for me Smile we are trying to show the danish politicians, how to possible use TIMES for a near (2-3 months) energy agreement for Denmark.

That is in fact quiet interesting, i installed TIMES on this computer in October and thought i had a fairly new update. Time for an update then.

Thanks for the help once again

Actually, we are centralising the update process internally in DTU, as a way to make sure that everyone is using an up-to-date version of the source code. One person puts it on a git server and everyone pulls it from there. :-)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Disabling a process in a region Aymane 8 13,945 29-04-2024, 05:32 PM
Last Post: Antti-L
  SHARE-I/O for all process and all time horizon ejin 7 4,314 08-03-2023, 10:55 AM
Last Post: AKanudia
  Negative LCOE for processes with high FLO_SUB Sasha 2 2,436 08-07-2022, 04:40 PM
Last Post: Sasha
  About base year process and New tech guozhi1305 0 1,055 21-05-2022, 04:53 PM
Last Post: guozhi1305
  Addition of process elec from H2 not working srchlela 2 3,385 21-04-2021, 05:11 PM
Last Post: srchlela
  How to set emission factor for each year of a specific process during its lifetime? Xin Wang 14 22,343 06-01-2021, 11:17 PM
Last Post: Antti-L
  UC_COMPRD without COM_IE being applied james 1 3,288 12-03-2020, 07:18 PM
Last Post: Antti-L
  Commodity Names: Maximum length Sandro_Luh 3 5,465 05-03-2020, 07:23 PM
Last Post: Antti-L
  Source code for the commodity input/output for each process Shibo.liu 3 6,738 13-01-2020, 04:30 PM
Last Post: Antti-L
  Process/Commodity Set Definition Shibo.liu 2 4,901 24-12-2019, 04:19 PM
Last Post: Shibo.liu

Forum Jump:


Users browsing this thread: 3 Guest(s)