Text this: Smart Microgrid approach for Distributed power generation of renewable energy