Plasma Event TRiggering for Alarms (PETRA) is a flexible new system at JET for detecting plasma events to trigger exception handling responses. It provides a platform for all existing and new techniques which involve processing JET real-time data to identify when to change the trajectory of a plasma shot, and reduces the technical cost and risk in …