Security-and time-constrained OPF applications