PyPSA / pypsa-ariadne

High resolution, sector-coupled model of the German Energy System
https://ariadneprojekt.de/en/model-documentation-pypsa/
MIT License
6 stars 4 forks source link

additional_funcitonality: improve numeric printout in logs #26

Closed FabianHofmann closed 4 months ago

FabianHofmann commented 4 months ago

Here is a small example how we can improve the printout of numeric values in the logging to make it more readable:

INFO:constraints.general:Limiting emissions in country NL to 91.7% of 1990 levels, i.e. 149,310,318.80 tCO2/a

(ignore the file reference)

could be expanded to similar cases

lindnemi commented 4 months ago

looks good