Simulator implementation of direct control allocation methods