rl-institut / multi-vector-simulator

Multi-vector Simulation Tool assessing and optimizing Local Energy Systems (LES) for the E-LAND project
GNU General Public License v2.0
21 stars 10 forks source link

[Bug] Dependency issues when doing a clean installation #926

Closed smartie2076 closed 2 months ago

smartie2076 commented 2 years ago

I created a new environment today to run the MVS, but I am having dependency issues. I think it is oemof, but may also be Pyomo. I installed via pip install -e .[test,dev]. Error message:

16:41:19-INFO-Initializing oemof simulation.
16:41:19-INFO-Adding components to oemof energy system model...
16:41:45-WARNING-DEPRECATED: Using __getitem__ to return a set value from its (ordered)
position is deprecated.  Please use at()  (deprecated in 6.1, will be
removed in 7.0)
(called from C:\ProgramData\Miniconda3\envs\multi-vector-simulator\lib\site-packages\oemof\solph\models.py:338)

This issue terminates the MVS and should be fixed ASAP.

Checklist to make sure that the bug report ist complete:

smartie2076 commented 2 years ago

It was the Pyomo package. With Pyomo==5.7.2 the simulations ran again.