Closed orichters closed 2 years ago
I think this is the same problem as before - simply add dac to te2rlf, and then it will likely work. I don't understand why dac should not be included in te2rlf?!
should then be fixed together with https://github.com/remindmodel/remind/issues/771
Actually, I am now confused. after a comment from Kasha, I realized that dac is only in all_te and not in te when CDR is off. so I don't understand why reportLCOE sees dac in te at all?
The error is thrown here, because p_teAnnuity
is defined over te
, where dac
is not included.
Another problem with no CDR, a few lines below, is that the energy demand for DAC (p33_dac_fedem_el
and p33_dac_fedem_heat
) is not defined.
ok, so the problem is that there are specific calculations for dac which then break when dac is turned off and (currently) not included in the sets.
you could make this part of the reporting module-dependent, like the FE reporting is for transport/buildings/industry. Or add dac to te (and provide all necessary inputs) and force it to 0. I don't have a strong opinion which way is better
Personally, I would opt for letting it in the reporting, because if you run some scenarios with DAC and others without, you would rather have these number be set to zero than not have them in the reporting.
Hi all,
well this is a general problem of reportLCOE that it is not routinely tested when people make changes to REMIND or the reporting. So far, I think I was the only person using that script and I always solved compatibility issues from parameter/variable renamings etc. when I needed the script but not regularly.
@fschreyer, thanks for reviewing my changes!
With
CDR = off
in REMIND, so not the defaultDAC
, the LCOE reporting fails:Would be great if this was changed. I'm tagging the authors of
reportLCOE.R
.