MicroGrids
MicroGrids copied to clipboard
An alternative solver
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?
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
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:
- optimize nominal capacities of PV, diesel and batteries (objective functions: minimal capital costs and maximum PV penetration) [with option to set diesel generators number]
- 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
Ok, what you describe seems possible to do with some work. Send me an email to:
To continue this discussion.