oemof / tespy

Thermal Engineering Systems in Python (TESPy). This package provides a powerful simulation toolkit for thermal engineering plants such as power plants, district heating systems or heat pumps.
https://tespy.readthedocs.io
MIT License
272 stars 85 forks source link

Add new Feature: Sankey diagrams for exergy flow plotting #251

Closed fwitte closed 3 years ago

fwitte commented 3 years ago

This PR adds a data generator for the plotly library to use sankey diagrams.

An automatically generated diagram could look like this:

newplot(5)

To finish up:

pep8speaks commented 3 years ago

Hello @fwitte! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 318:80: E501 line too long (97 > 79 characters) Line 427:80: E501 line too long (80 > 79 characters) Line 448:80: E501 line too long (80 > 79 characters)

Comment last updated at 2021-04-29 07:38:47 UTC
lgtm-com[bot] commented 3 years ago

This pull request introduces 1 alert when merging a976c1b939912454b8a34d662c95eaca340c2c4f into d032adccb81367ebc995be0a1adabf987fd6308a - view on LGTM.com

new alerts:

fwitte commented 3 years ago

To finish up:

lgtm-com[bot] commented 3 years ago

This pull request introduces 3 alerts when merging 849ff5057619e679437582afdfd0a23b01ebee60 into fd54570748827808b38866c402739ff7620a0b30 - view on LGTM.com

new alerts:

lgtm-com[bot] commented 3 years ago

This pull request introduces 3 alerts when merging fe575e4b72315d081e96b776f1fc7a37895a7467 into fd54570748827808b38866c402739ff7620a0b30 - view on LGTM.com

new alerts: