Automatic control of the lifting flag system design