Algorithm module for project enph479-2013