Title: Optimal Planning of Smart Grid with Renewable Energy Resources