May help may not but today my car died on me for a bit same symptoms as what you said and turned out that it was my poor air intake installation managed to suck some water in but was only water spray but was enough for my to lose all power over 2.5K revs. Got home let her sit for a bit, put original intake box in and she's back to normal with no damage or knocking