Electrical and noise on 2004 Acura TSX

My 04 acura tsx was making a loud almost knocking noise the entire time it would be running. Last night i was sitting at a red light when the battery indicator light came on and the car just lost all power. i thought it was the alternator and replaced it and charged the battery, but still nothing i also checked all fuses. any suggestions?

Asked by for the 2004 Acura TSX
did you check the oil ?