Text this: Design of the Security Analysis Mechanism with Complex Market Condition for Regional Power Grid