Text this: Inter-area transfer capability assessment considering optimal flexible solutions of capacity benefit margin