Temporary state of power system based on controlled series compensator