MicroGrids icon indicating copy to clipboard operation
MicroGrids copied to clipboard

An alternative solver

Open alisher592 opened this issue 3 years ago • 3 comments

Hi, I tried your to use your library, but I don't have access to cplex or gurobi solvers. So I tried GLPK and CBC solvers to make optimization with your example datasets but neither of these solvers gave the result (they didn't manage to reach optimum values of the objective function). Should I somehow get cplex and try again?

alisher592 avatar May 08 '21 19:05 alisher592

Hi,

Depending on what you want to accomplish, different solvers could be used. In general, the examples are focus on state of the art problems that might be difficult to solve with resources available for non-academic users. At the moment, the main repository is:

https://github.com/MicroGridsPy/Micro-Grids

This repository is slightly different to this one, it should be less difficult to solve.

Depending on what you want to do, I can help to adapt/change the models to accomplish your goals.

Regards,

Sergio

Slbalderrama avatar May 08 '21 19:05 Slbalderrama

Thank you for your quick response!

Yes, it would be very nice if you help me to adapt your library for my goals which can be formulated as follows:

  1. optimize nominal capacities of PV, diesel and batteries (objective functions: minimal capital costs and maximum PV penetration) [with option to set diesel generators number]
  2. optimize dispatching strategy for 8760 hours year (objective function: minimal operation costs)...

I tried to implement such problem using PyPSA, but found that it is impossible to set depth of disharge in that library.

Thanks in advance

alisher592 avatar May 09 '21 06:05 alisher592

Ok, what you describe seems possible to do with some work. Send me an email to:

[email protected]

To continue this discussion.

Slbalderrama avatar May 09 '21 08:05 Slbalderrama