  For long-pulse tokamaks, one of the main challenges in control strategy is to
simultaneously reach multiple control objectives and to robustly handle in
real-time (RT) unexpected events (off-normal-events -- ONEs) with a limited set
of actuators. We have developed in our previous work a generic architecture of
the plasma control system (PCS) including a supervisor and an actuator manager
to deal with these issues. We present in this paper recent developments of
real-time decision-making by the supervisor to switch between different control
scenarios (normal, backup, shutdown, disruption mitigation, etc.) during the
discharge, based on off-normal-event states. We first standardize the
evaluation of ONEs and thereby simplify significantly the supervisor decision
logic, as well as facilitate the modifications and extensions of ONE states in
the future. The whole PCS has been implemented on the TCV tokamak, applied to
disruption avoidance with density limit experiments, demonstrating the
excellent capabilities of the new RT integrated strategy.
