Power Flow Control and Network Stability in an All-Electric Ship