A Scenario-Based Static Voltage Stability Analysis For External Constraints In Flow-Based Capacity Calculation