06-06-2019, 01:59 PM
(03-06-2019, 10:34 PM)Antti-L Wrote: Small follow-up: The model you attached initially solved in 3695 seconds on my computer, which is a rather long time to wait. For curiosity, I tested if I can reduce the solution time by improving the numerical stability of the model. After only a few small adjustments, the solution time was reduced to 192 seconds. The time savings were thus about 95%. So, I think that may already demonstrate that your original model might well be characterized as badly scaled (there were indeed some very high / very low coefficients and some very high marginal prices).Thank you very much Antti for pointing out this.
In case it is of interest, the adjustments I made were the following:
• I removed dummy import flows from the model (had to add some supply of DEMHYGNINDcap & DEMHYGNINDmer in 2017)
• I disabled the dummy import processes (IMPNRGZ, IMPMATZ, IMPDEMZ) altogether
• I defined OILRES, OILCOM, GASRES and GASCOM at the ANNUAL level (DAYNITE was a bad choice, because the fuel techs were ANNUAL)
• I scaled your car-kilometres to billion vkm, to get a reasonable efficiency of 1.094 vkm/MJ for H2TRACAR (instead of ACT_EFF=1094238126)
• I set all ACT_COST that were defined between 0 and 1e−3 to 1e−3
• I set all NCAP_COST and NCAP_FOM that were defined below 1e−3 to zero
• I set all NCAP_AF(UP) that were defined below 1e−3 to zero.
In fact, I wanted to ask you about this long time for solving. From your last reply, I suspected that my model was badly scaled. The problem was that my model comprises of mainly three areas: electricity sector, hydrogen for mobility and hydrogen for industrial feedstock. Since electricity sector was all in PJ and MillionEuro, I set all other sectors also in PJ and MEuro to avoid later confusions and probable inconsistency in currency units. This is why many of my input values and output values were too small and caused problems. Then I kept my values in hydrogen sector in GJ units and adjusted the cost accordingly. This has improved the solving time considerably. But I didn't know that the solving time improved because of this

I have one question related to time taken for synchronising
1) In my model, there is a scenario file called IMP-Price. When synchronising this file, it takes very long time, around 3-4 hours. Any idea what could be the problem?
I have a follow up question on storage,
1) As you told in the earlier reply, there could be simultaneous inflow and outflow without investing in storage capacity. Did you see any capacity after improving the scale of my model? In my model, still there is no capacity investment for HYGNSTG_new for years before 2045. If this is not happening despite of improving the scaling of model, it means that I am not able to have an idea about of the storage capacity required. Do you have some suggestions to solve this problem?
I have a couple of questions related to electrolyser modelling. I will post it in the other thread.
Thanks & Regards
Abi Afthab