NREL / GEOPHIRES-X

MIT License
29 stars 24 forks source link

Carbon emission units [v3.4.42] #250

Closed softwareengineerprogrammer closed 3 months ago

softwareengineerprogrammer commented 3 months ago
  1. Include avoided CO2 emissions in kilotonnes in SHR examples
  2. Change example1_addons emissions unit to kilotonnes from tonnes (since CO2 emissions are typically expressed in kt)
  3. Refactor some unit conversion code to use pint instead of custom logic
  4. Unit test for interim exceptions while currency conversion is disabled (https://github.com/NREL/GEOPHIRES-X/issues/236)

image

Initially self-reviewed in https://github.com/softwareengineerprogrammer/GEOPHIRES-X/pull/31