NSW narrowly avoided blackouts after the Australian Energy Market Operator used emergency powers to ensure sufficient ...