Anfonwch hwn fel neges destun: Stability analysis of power systems using network decomposition and local gain analysis