Text this: Load flow model for UPFC with ESS and ATC determination