Actually I work on the problem of optimization of a microgrid, the optimization should take into consideration the whole power flows in the power system to satisfy the power balance with respect to conversion efficiency and all other imposed constraints.

So I have a lot of equations and formulations, then I wish to know the best method to simulate and to test this system?

- What's the best solver based on C++ or Java library that I can use it inside simulink model using block or s-function to optimise the powers flow by mixed integer linear programming of my power system and the way to do it?

I notice that I have a sumilink model of the power system simulated using real component of Matlab library, I mean for example to simulate PV arrays I used real component not formulations, so it's possible to use this solver embedded in simulink model to get results?

Finally, I searched a lot of a solver that I can call it easily in matlab simulink and use it inside a s-function using C++ code and also the best way to simulate this system directly in the simulink model without using command line because that make the system very hard regarding that the documentation and sources are very rare?

Please I don't ask for publications with the same problems because I lost a lot of time so I look for a direct sources and solutions?

Thanks.

Similar questions and discussions