Text this: Criteria and countermeasures for voltage collapse