REAL-TIME OPTIMAL POWER FLOW