PhilippVerpoort / posted

POSTED: Potsdam open-source techno-economic database
https://doi.org/10.5281/zenodo.10639752
MIT License
1 stars 5 forks source link

Improve input unit flexibility in TEDFs #15

Open clarabachorz opened 1 month ago

clarabachorz commented 1 month ago

Some sources for the processes Methanol to Olefins and Naphtha Steam Cracking report functional units from simulations that can be given as kg/s instead of kg, for example. This is then reported relative to the product output, also in kg/s. However, unit_convert does not support such entries, raising that kg/s cannot be converted to kg. Additionally, such unit conversion issues are not caught with Exceptions, making it hard to identify the row affected.

Suggested Fixes:

PhilippVerpoort commented 1 month ago

Is it possible, by any chance, to report these as Input Capacity per Output Capacity? At least I think, posted shouldn't complain about the dimensionality of the units, at first. I think it should then be possible to create a variable mapping for those entries.

And I agree that there should be exceptions warning users about this.