I am working on microgrids project where i have designed a multi objective optimization algorithm for energy management of microgrid on MATLAB. Now i want to implement the same on hardware to get the actual results.
What do you mean "on hardware"? I think your algorithm will continue being "software" but implemented in a hardware for real-time operation. If this is the case, probably the quick way is to use the "rapid prototyping concept" from MathWorks. You need a Matlab Compiler to generate the code and a supported board for embedded control.
There is another intresting way to rapidly test your algorithm on real hardware target: As Adrian said, use Matlab to generate the code and then use the Processor in the Loop (PIL) option. There exist several low cost DSP or ARM targets that support this option.
I think some more clarity is required in the question posed by you, before a meaningful reply can be posted.
Could you please tell us what exactly the multi objective optimization algorithm for energy management of microgrid does ? What does it optimise, under what constraints, and above all: what exactly are you trying to achieve in this work??
What I understand from your query is: You have a microgrid test setup (physical) and you ve written an optimization algo which you intend to test its operation i.e., if the developed code works or not?
If such is the case you may require a field-programmable gate array (FPGA). The main
reason behind choosing an FPGA is its customizability. Many hardware parameters, such as data representation, parallelization level or clock frequency can be easily varied on reconfigurable platforms in order to estimate closed-loop performance and computational resource usage.