Grid tie to Off grid conversion