Title: A self-contained, automated methodology for optimal flow control validated for transition delay