Read the thesis to understand the basics, download eclipse latest version (where i have implemented using neon.2 version) - add common math3 3.6.1 version jar file to that of cloudsim 3.0.3 version, add the codes which are found in my github repository and run the VM consolidation using genetic algorithm strategy implemented using cloudsim
Calculate power function was written on datacentre broker class inaddition to existing cloudsim datacentre source code check out calculate power function around 800 line in datacentre broker class and evaluate power function on 751th line of code, My own code starts from line number 668 in data centre broker