Durgesh Kumar, do you use analyzer-grid?, then you should to compile the datas and transfer to programs of Windows (first to '.txt' and after to Excel ('.xlsx')).
More ahead, going the harmonics values that exceed the norm of IEEE-92, after compile the value of var for calculate the value of capacitors to install.
Its optimization model is what you are exactly looking for. Meanwhile, its implementation is really easy using meta-heuristic optimization algorithms (e.g., GA, PSO, etc.) or free software such as GAMS.
Regards,
Morteza
http://mortezash.blogfa.com/
Conference Paper Robust Decision Making Tool for Optimal RES-ESS Mix of a Sma...
Data 4164 Robust Decision Making Tool in Smart Grid SG2014
As you are simulating practical conditions in Fluent, you should validate your results with the experimental data you have. First you make a grid that produces the same result as that of the experiments did within an acceptable limit (this may be 2-5 % typically). To make sure that your result is grid independent, you change the no. of grids globally not locally. Say you increase/decrease the no. of grids to 10% of your total grids and if the results do not vary then you can say your result is grid independent. You need to perform this at least for five different grids. To optimize your grid you need to find what is the minimum no. of grids that gives you the same results as obtained by the previous simulations within the acceptable error limit.