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
256 stars 80 forks source link

Improve PyGMO API #357

Closed fwitte closed 1 year ago

fwitte commented 1 year ago

You can now make use of the population and algorithm outside the run command. By this, you can run with a first algorithm and continue on the same population with a different algorithm at a later step. On top of that dynamic constraints are introduced. You can reference one value to a different one in the plant.

pep8speaks commented 1 year ago

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

Line 59:80: E501 line too long (81 > 79 characters) Line 60:80: E501 line too long (83 > 79 characters) Line 61:80: E501 line too long (87 > 79 characters) Line 117:1: E402 module level import not at top of file Line 157:1: E302 expected 2 blank lines, found 0 Line 191:80: E501 line too long (82 > 79 characters) Line 192:80: E501 line too long (80 > 79 characters) Line 205:80: E501 line too long (85 > 79 characters) Line 206:80: E501 line too long (87 > 79 characters) Line 207:80: E501 line too long (91 > 79 characters) Line 215:80: E501 line too long (81 > 79 characters) Line 276:9: E116 unexpected indentation (comment) Line 292:1: E305 expected 2 blank lines after class or function definition, found 0 Line 292:1: E402 module level import not at top of file Line 293:1: E402 module level import not at top of file

Line 10:1: E402 module level import not at top of file Line 11:1: E402 module level import not at top of file Line 12:1: E402 module level import not at top of file Line 13:1: E402 module level import not at top of file Line 14:1: E402 module level import not at top of file Line 15:1: E402 module level import not at top of file Line 27:1: E402 module level import not at top of file Line 43:1: E402 module level import not at top of file Line 55:1: E402 module level import not at top of file Line 105:1: E402 module level import not at top of file Line 186:1: E402 module level import not at top of file Line 187:1: E402 module level import not at top of file Line 207:1: E402 module level import not at top of file

Line 79:1: E402 module level import not at top of file Line 80:1: E402 module level import not at top of file Line 123:80: E501 line too long (82 > 79 characters)

Line 97:1: E402 module level import not at top of file Line 98:1: E402 module level import not at top of file

Line 11:1: E402 module level import not at top of file Line 25:1: E402 module level import not at top of file Line 75:1: E402 module level import not at top of file Line 76:1: E402 module level import not at top of file

Line 9:1: E402 module level import not at top of file Line 22:1: E402 module level import not at top of file Line 56:1: E402 module level import not at top of file Line 79:1: E402 module level import not at top of file Line 80:1: E402 module level import not at top of file

Comment last updated at 2022-09-05 19:18:55 UTC