epri-dev / StorageVET

StorageVET 2.0 is a valuation model for analysis of energy storage technologies and some other energy resources paired with storage. The tool can be used as a standalone model, or integrated with other power system models, thanks to its open-source Python framework. Download the executable environment and learn more at https://www.storagevet.com.
https://www.storagevet.com
BSD 3-Clause "New" or "Revised" License
63 stars 25 forks source link

feature request: Is an upgrade to python >=3.7 possible? #8

Open khalida opened 2 years ago

khalida commented 2 years ago

Is this project still being actively maintained - and if so is an upgrade to python 3.7 possible?

The reason I ask is that I wanted to use the CBC solver for some of the mixed interger linear programming problems, which in turn mean I needed to install cylp.

Getting a working installation of cylp took me quite some time (Windows 10, using miniconda3 for conda install dependencies wherever possible). The only wheel file I could find for cylp compiled for python 3.6 was for a pre-release version - here.

If upgrade to python >=3.7 not possible because of dependency package versions etc. then would you accept a pull-request for me to extend the READ-ME to cover installation of cylp on Windows? At the moment the trail of following the documentation would go:

  1. Need to use CBC solver - how to I get that installed - see: https://www.cvxpy.org/install/#install-with-cbc-clp-cgl-support
  2. OK - so need to install cylp, so looking at the readme: https://github.com/coin-or/CyLP suggests it should be possible to pip install cylp, however for me at least this doesnt work (I think because there's no released wheel for python<3.7?)
  3. Eventually found python 3.6 wheel at: https://pypi.org/project/cylp/0.9.0b1/#files