System Design And Analysis Of A Renewable Energy Source Powered Microgrid