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

import error 'Network' from 'tespy.networks' #308

Closed Narratot closed 1 year ago

Narratot commented 2 years ago

O both Windows and Linux Systems i cannot use the current examples. I always get the error that the components dows not exist. (I use dedicated anaconda envs for that) But on Google Colab I was able to run the code without issues.

Narratot commented 2 years ago

Okay, it works if I use python 3.7. So please indicate the neccessary python version within the installation documentation.

fwitte commented 2 years ago

@Narratot, thank you very much for reporting. Can you specify, which python version threw the error with which version of TESPy? Python 3.7 and 3.8 should be allowed, others not (3.9 and higher mainly because CoolProp needs to be installed manually).

best regards

fwitte commented 2 years ago

@Narratot: The requirement for python < 3.9 might be dropped soon: https://github.com/oemof/tespy/issues/252