First of all, you have to forecast the wind speed or the sunlight radiation in candidate locations (you can also use available data presented in different papers, instead).
Then, you should devise a mathematical model for your wind turbine (WT) or PV (you can find a typical model in so many papers). Keep in mind that the economic model is considered in planning (long-term) studies.
Finally, solve the optimization model in order to get the optimal location of WTs or PVs.
I recommend you study the worthwhile papers of Dr. Geev Mokrani in this matter.
Regards,
Morteza Shabanzadeh
http://mortezash.blogfa.com/
Chapter Optimal Siting and Sizing of Wind Turbines Based on Genetic ...
Article Strategic placement of distribution network operator owned w...
Article Assessing Wind Turbines Placement in a Distribution Market E...
Article Optimal wind turbines placement within a distribution market...
Besically embedded generator means microgrid type i.e there is a very samal amount of energy generate form these type generator.....so if we use these type of generator in grid or in transmission line to bust the voltage then it will very flexible for the system.