Optimal Design, Dispatch, And Reliable Operation Of Alternative Energy Sources And Storage Systems In Microgrids