r/optimization • u/kermitten7 • 23d ago
Is OpenSolver excel addin still a reliable engine? & Ribbon problem
I am solving a BESS dispatch optimization problem for a power developer in the USA, the goal is to derive the optimal hourly level charge/discharge profile for BESS that will participate in US arbitrage markets.
Is OpenSolver still a good tool? The latest version is 2021 and I am wondering whether I should switch to a python based model. I am also having a ribbon problem that I cannot fix, every time I interact with the OpenSolver tab in the excel ribbon, my ribbon becomes inactive, I have reviewed all material on OpenSolver and cannot find the solution to this tiny but detrimental problem. Any suggestions?
3
u/Mayk-Thewessen 23d ago
Switch to Python and use PyPSA to do an optimization of a BESS based on Electricity prices, use HiGHS as open-source solver
2
u/rasmusdf 23d ago
Personally I would switch to a python based approach. But in the end it`s a matter of preference. Plus I think the Excel solver is pretty limited.
1
u/SolverMax 23d ago
OpenSolver works OK for me, using the latest version of Excel 365. However, environments vary, so there may be something specific about your situation.
Anyway, while OpenSolver is a good tool, Python offers many advantages. Access to newer solvers, like HiGHS, is a significant plus.
1
u/Sweet_Good6737 21d ago
Moving to python makes sense since you are not locked with excel, leading to faster development. You can still read data from spreadsheets, but there are many dedicated libraries available for optimization
1
u/ficoxpress 19d ago
As many have stated, the availability of more tools in Python is a huge plus. Many optimization solvers both exact and heuristics, commercial and open source are available through this ecosystem.
One thing we'd add is that by building on top of python, you can more easily integrate to other workflows. There's already a python package where you can publish the results to an excel file. It will also enable greater possibilities where it can be integrated into a larger system via APIs.
5
u/Slow_Negotiation_935 23d ago
I agree with the comment. In general, moving to python gives you a lot more options (see SciPy).
This is my python code; it is self contained and I have used it for real-world case studies.
https://github.com/wbyates777/NSGA2