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

Fix: Checking dictionaries for specific keys #264

Closed fwitte closed 3 years ago

fwitte commented 3 years ago

Checking for keys ins dictionaries should not be done with in dict.keys() but with in dict instead.